diff --git a/after-install.sh b/after-install.sh new file mode 100644 index 0000000..2c93eab --- /dev/null +++ b/after-install.sh @@ -0,0 +1,2 @@ +#!/bin/bash +depmod -a \ No newline at end of file diff --git a/build_chroot.sh b/build_chroot.sh index 1458e83..944a4b6 100644 --- a/build_chroot.sh +++ b/build_chroot.sh @@ -25,7 +25,7 @@ make KSRC=/usr/src/linux-headers-6.3.13-060313-generic O="" modules mkdir -p package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/ cp *.ko package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/ ls -a -fpm -a amd64 -s dir -t deb -n rtl88x2bu-x86 -v 2.5-evo-$(date '+%m%d%H%M') -C package -p rtl88x2bu-x86.deb --before-install before-install.sh +fpm -a amd64 -s dir -t deb -n rtl88x2bu-x86 -v 2.5-evo-$(date '+%m%d%H%M') -C package -p rtl88x2bu-x86.deb --before-install before-install.sh --after-install after-install.sh echo "copied deb file" echo "push to cloudsmith"