diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-10-02 08:02:51 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-10-02 08:02:51 +0000 |
commit | 2fed892f2746561207aa21a2660f4d8f3f79d24e (patch) | |
tree | 334ab850ec3035058d9ef26696b608eb96dfc359 /packages/linux-kernel/build-accel-ppp.sh | |
parent | c89609e997f5a9110bd148128df870e6c683c5f7 (diff) | |
download | vyos-build-2fed892f2746561207aa21a2660f4d8f3f79d24e.tar.gz vyos-build-2fed892f2746561207aa21a2660f4d8f3f79d24e.zip |
T6754: Delete Jenkins build packages
Diffstat (limited to 'packages/linux-kernel/build-accel-ppp.sh')
-rwxr-xr-x | packages/linux-kernel/build-accel-ppp.sh | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/packages/linux-kernel/build-accel-ppp.sh b/packages/linux-kernel/build-accel-ppp.sh deleted file mode 100755 index a2f8df52..00000000 --- a/packages/linux-kernel/build-accel-ppp.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -CWD=$(pwd) -KERNEL_VAR_FILE=${CWD}/kernel-vars - -ACCEL_SRC=${CWD}/accel-ppp -if [ ! -d ${ACCEL_SRC} ]; then - echo "Accel-PPP source not found" - exit 1 -fi - -if [ ! -f ${KERNEL_VAR_FILE} ]; then - echo "Kernel variable file '${KERNEL_VAR_FILE}' does not exist, run ./build_kernel.sh first" - exit 1 -fi - -cd ${ACCEL_SRC} -git reset --hard HEAD -git clean --force -d -x - -PATCH_DIR=${CWD}/patches/accel-ppp -if [ -d $PATCH_DIR ]; then - cd ${ACCEL_SRC} - for patch in $(ls ${PATCH_DIR}) - do - echo "I: Apply patch: ${PATCH_DIR}/${patch}" - patch -p1 < ${PATCH_DIR}/${patch} - done -fi - -. ${KERNEL_VAR_FILE} -mkdir -p ${ACCEL_SRC}/build -cd ${ACCEL_SRC}/build - -echo "I: Build Accel-PPP Debian package" -cmake -DBUILD_IPOE_DRIVER=TRUE \ - -DBUILD_VLAN_MON_DRIVER=TRUE \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DKDIR=${KERNEL_DIR} \ - -DLUA=5.3 \ - -DMODULES_KDIR=${KERNEL_VERSION}${KERNEL_SUFFIX} \ - -DCPACK_TYPE=Debian12 .. -make - -# Sign generated Kernel modules -${CWD}/sign-modules.sh . - -cpack -G DEB - -# rename resulting Debian package according git description -mv accel-ppp*.deb ${CWD}/accel-ppp_$(git describe --always --tags)_$(dpkg --print-architecture).deb |