Skip to content

Commit 306dfad

Browse files
author
Paul Dagnelie
authored
TOOL-21304 Add support for delphix-go repository to linux-pkg (#287)
1 parent ec1a734 commit 306dfad

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ challenge-response
99
cloud-init
1010
crash-python
1111
crypt-blowfish
12+
delphix-go
1213
delphix-platform
1314
delphix-rust
1415
delphix-sso-app

packages/delphix-go/config.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2021 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/delphix-go.git"
20+
21+
function build() {
22+
logmust mkdir -p "$WORKDIR/repo"
23+
logmust dpkg_buildpackage_default
24+
}

packages/zfs/config.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# shellcheck disable=SC2034
1818

1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/zfs.git"
20-
PACKAGE_DEPENDENCIES="@linux-kernel delphix-rust dwarves"
20+
PACKAGE_DEPENDENCIES="@linux-kernel delphix-rust delphix-go dwarves"
2121

2222
UPSTREAM_GIT_URL="https://github.com/openzfs/zfs.git"
2323
UPSTREAM_GIT_BRANCH="master"
@@ -56,6 +56,7 @@ function prepare() {
5656
zlib1g-dev
5757
logmust install_kernel_headers
5858
logmust install_pkgs "$DEPDIR"/delphix-rust/*.deb
59+
logmust install_pkgs "$DEPDIR"/delphix-go/*.deb
5960
logmust install_pkgs "$DEPDIR"/dwarves/*.deb
6061
}
6162

0 commit comments

Comments
 (0)