diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-09 12:53:31 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-09 12:53:31 +0200 |
commit | 747c86ad8cd2ba761612f89f395bb2454ed6975f (patch) | |
tree | ec02b5bb5745e172a38cdd5541a4757a3a47ff37 /packages | |
parent | d127e81f0ca1ad7d358f376c0112a5c9c4d16a88 (diff) | |
download | vyos-build-747c86ad8cd2ba761612f89f395bb2454ed6975f.tar.gz vyos-build-747c86ad8cd2ba761612f89f395bb2454ed6975f.zip |
packages: wide-dhcpv6: rename build script
Diffstat (limited to 'packages')
-rw-r--r-- | packages/wide-dhcpv6/Jenkinsfile | 2 | ||||
-rwxr-xr-x | packages/wide-dhcpv6/build.sh (renamed from packages/wide-dhcpv6/build-wide.sh) | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/packages/wide-dhcpv6/Jenkinsfile b/packages/wide-dhcpv6/Jenkinsfile index fbb1b0a4..d4f9c7f6 100644 --- a/packages/wide-dhcpv6/Jenkinsfile +++ b/packages/wide-dhcpv6/Jenkinsfile @@ -23,7 +23,7 @@ def pkgList = [ ['name': 'wide-dhcpv6', 'scmCommit': 'debian/20080615-23', 'scmUrl': 'https://salsa.debian.org/debian/wide-dhcpv6', - 'buildCmd': '''cd ..; ./build-wide.sh'''], + 'buildCmd': '''cd ..; ./build.sh'''], ] // Start package build using library function from https://github.com/vyos/vyos-build diff --git a/packages/wide-dhcpv6/build-wide.sh b/packages/wide-dhcpv6/build.sh index 6da4534b..87cab92b 100755 --- a/packages/wide-dhcpv6/build-wide.sh +++ b/packages/wide-dhcpv6/build.sh @@ -2,24 +2,22 @@ CWD=$(pwd) set -e -WIDE_SRC=wide-dhcpv6 - -if [ ! -d ${WIDE_SRC} ]; then +SRC=wide-dhcpv6 +if [ ! -d ${SRC} ]; then echo "Source directory does not exists, please 'git clone'" exit 1 fi - PATCH_DIR=${CWD}/patches if [ -d $PATCH_DIR ]; then for patch in $(ls ${PATCH_DIR}) do echo "I: Apply patch: ${patch} to main repository" - cp ${PATCH_DIR}/${patch} ${WIDE_SRC}/debian/patches/ - echo ${patch} >> ${WIDE_SRC}/debian/patches/series + cp ${PATCH_DIR}/${patch} ${SRC}/debian/patches/ + echo ${patch} >> ${SRC}/debian/patches/series done fi -cd ${WIDE_SRC} +cd ${SRC} echo "I: Build Debian Package" dpkg-buildpackage -uc -us -tc -b |