diff --git a/lib/debian-finish.sh b/lib/debian-finish.sh index ebd9596..e600c42 100644 --- a/lib/debian-finish.sh +++ b/lib/debian-finish.sh @@ -144,13 +144,6 @@ __EOF__ chmod u+x /etc/init.d/board_tweaks.sh insserv board_tweaks.sh || true -#Install Correct Kernel Image: (this will fail if the boot partition was re-formated) -if [ -f /boot/uboot/linux-image-*arm*.deb ] ; then - dpkg -x /boot/uboot/linux-image-*arm*.deb / - update-initramfs -c -k `uname -r` - rm -f /boot/uboot/linux-image-*arm*.deb || true -fi - if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then if [ -f /boot/vmlinuz-`uname -r` ] ; then cp /boot/vmlinuz-`uname -r` /boot/uboot/zImage diff --git a/lib/ubuntu-finish.sh b/lib/ubuntu-finish.sh index 9983b75..77f26e1 100644 --- a/lib/ubuntu-finish.sh +++ b/lib/ubuntu-finish.sh @@ -177,13 +177,6 @@ cat > /etc/init/board_tweaks.conf <<-__EOF__ __EOF__ -#Install Correct Kernel Image: (this will fail if the boot partition was re-formated) -if [ -f /boot/uboot/linux-image-*arm*.deb ] ; then - dpkg -x /boot/uboot/linux-image-*arm*.deb / - update-initramfs -c -k `uname -r` - rm -f /boot/uboot/linux-image-*arm*.deb || true -fi - if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then if [ -f /boot/vmlinuz-`uname -r` ] ; then cp /boot/vmlinuz-`uname -r` /boot/uboot/zImage