diff options
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 |