Skip to content

Commit 4daae44

Browse files
committed
HF-1512 [Hotfix for: ESCL-5669] Verification got stuck on the delphix prod engine - Case# 01489090
1 parent 3975de9 commit 4daae44

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

packages/openssh/config.sh

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2025 Delphix
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# shellcheck disable=SC2034
18+
19+
SKIP_COPYRIGHT_CHECKS=true
20+
DEFAULT_PACKAGE_GIT_URL=none
21+
22+
function fetch() {
23+
logmust apt-get source openssh
24+
}
25+
26+
function prepare() {
27+
logmust pushd openssh-9.6p1
28+
29+
# Enable xtrace for postinst hook
30+
logmust sed -i '1c\/bin/bash -x' debian/openssh-server.postinst
31+
32+
logmust sudo env DEBIAN_FRONTEND=noninteractive mk-build-deps --install \
33+
--tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' \
34+
debian/control
35+
36+
logmust popd
37+
}
38+
39+
function build() {
40+
logmust pushd openssh-9.6p1
41+
logmust set_changelog
42+
logmust dpkg-buildpackage -b -us -uc
43+
logmust mv ../*deb "$WORKDIR/artifacts"
44+
logmust popd
45+
}

0 commit comments

Comments
 (0)