File tree Expand file tree Collapse file tree 4 files changed +53
-6
lines changed Expand file tree Collapse file tree 4 files changed +53
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ delphix-rust
1414delphix-sso-app
1515drgn
1616docker-python-image
17+ fio
1718fluentd-gems
1819gdb-python
1920grub2
Original file line number Diff line number Diff line change 1919DEFAULT_PACKAGE_GIT_URL=none
2020PACKAGE_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
2632function prepare() {
2733 logmust install_pkgs " $DEPDIR " /make-jpkg/* .deb
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments