mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
packages: wide-dhcpv6: rename build script
This commit is contained in:
parent
d127e81f0c
commit
747c86ad8c
2
packages/wide-dhcpv6/Jenkinsfile
vendored
2
packages/wide-dhcpv6/Jenkinsfile
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user