diff options
-rwxr-xr-x | scripts/DB410C/21-customize | 5 | ||||
-rwxr-xr-x | scripts/DB820C/21-customize | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/DB410C/21-customize b/scripts/DB410C/21-customize index e3b7d15..497b6dc 100755 --- a/scripts/DB410C/21-customize +++ b/scripts/DB410C/21-customize @@ -23,6 +23,11 @@ else chroot $target /usr/sbin/update-initramfs -c -k ${KVERS} fi +# Hold the kernel package to avoid kernel upgrade +# This is a workaround to avoid upgrade the kernel (hence the modules in /lib/modules) +# without updating the boot image +$ROOTCMD apt-mark hold linux-image-${KVERS} + OUT=$FAI/out mkdir -p $OUT cp $target/boot/vmlinuz-${KVERS} $OUT/ diff --git a/scripts/DB820C/21-customize b/scripts/DB820C/21-customize index e3a1053..6355ae7 100755 --- a/scripts/DB820C/21-customize +++ b/scripts/DB820C/21-customize @@ -13,6 +13,11 @@ else chroot $target /usr/sbin/update-initramfs -c -k ${KVERS} fi +# Hold the kernel package to avoid kernel upgrade +# This is a workaround to avoid upgrade the kernel (hence the modules in /lib/modules) +# without updating the boot image +$ROOTCMD apt-mark hold linux-image-${KVERS} + OUT=$FAI/out mkdir -p $OUT cp $target/boot/vmlinuz-${KVERS} $OUT/ |