Skip to content

Commit feeea12

Browse files
author
Delphix User
committed
Merge remote-tracking branch 'origin/6.0/stage' into 6.0/release
2 parents 2306378 + 3df3b33 commit feeea12

File tree

4 files changed

+53
-6
lines changed

4 files changed

+53
-6
lines changed

lib/common.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,9 +1075,8 @@ function get_kernel_version_for_platform_from_apt() {
10751075
# available, it is not always the case.
10761076
#
10771077

1078-
if [[ "$platform" == generic ]] &&
1079-
[[ "$UBUNTU_DISTRIBUTION" == bionic ]]; then
1080-
package=linux-image-generic-hwe-18.04
1078+
if [[ "$platform" != generic ]] && [[ "$UBUNTU_DISTRIBUTION" == focal ]]; then
1079+
package="linux-image-${platform}-lts-20.04"
10811080
else
10821081
package="linux-image-${platform}"
10831082
fi

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ delphix-rust
1414
delphix-sso-app
1515
drgn
1616
docker-python-image
17+
fio
1718
fluentd-gems
1819
gdb-python
1920
grub2

packages/adoptopenjdk/config.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,15 @@
1919
DEFAULT_PACKAGE_GIT_URL=none
2020
PACKAGE_DEPENDENCIES="make-jpkg"
2121

22-
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u332b09.tar.gz"
23-
_tarfile_sha256="adc13a0a0540d77f0a3481b48f10d61eb203e5ad4914507d489c2de3bd3d83da"
24-
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
22+
if [[ "$UPSTREAM_PRODUCT_BRANCH" == "master" ]]; then
23+
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u342b07.tar.gz"
24+
_tarfile_sha256="8252c0e11d542ea0f9ce6b8f147d1a2bea4a17e9fc299da270288f5a4f35b1f3"
25+
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
26+
else
27+
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u332b09.tar.gz"
28+
_tarfile_sha256="adc13a0a0540d77f0a3481b48f10d61eb203e5ad4914507d489c2de3bd3d83da"
29+
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
30+
fi
2531

2632
function prepare() {
2733
logmust install_pkgs "$DEPDIR"/make-jpkg/*.deb

packages/fio/config.sh

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2018, 2022 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+
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/fio.git"
20+
21+
function prepare() {
22+
logmust install_pkgs \
23+
libaio-dev \
24+
librdmacm-dev \
25+
libibverbs-dev \
26+
librbd-dev \
27+
libgtk2.0-dev \
28+
libcairo2-dev \
29+
libnuma-dev \
30+
flex \
31+
bison \
32+
libglusterfs-dev \
33+
libpmem-dev \
34+
libpmemblk-dev
35+
}
36+
37+
function build() {
38+
logmust cd "$WORKDIR/repo/"
39+
logmust dpkg-buildpackage -b -us -uc
40+
logmust mv "$WORKDIR"/*deb "$WORKDIR/artifacts/"
41+
}

0 commit comments

Comments
 (0)