diff options
Diffstat (limited to 'config/hooks/kernel-image.sh.chroot')
-rwxr-xr-x | config/hooks/kernel-image.sh.chroot | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/config/hooks/kernel-image.sh.chroot b/config/hooks/kernel-image.sh.chroot index 28b7f44..67059c4 100755 --- a/config/hooks/kernel-image.sh.chroot +++ b/config/hooks/kernel-image.sh.chroot @@ -7,13 +7,17 @@ echo "Trying to flashing kernel..." /usr/sbin/flash-kernel || echo "Failed to flash kernel! Don't worry, will mangle" echo "Mangling kernel..." -mkdir /tmp/initrd-repack -(cd /tmp/initrd-repack ; \ - zcat /boot/initrd.img-* | cpio -i ; \ - rm -f conf/param.conf ; \ - find . | cpio --quiet -o -H newc | \ - gzip -9 > /boot/initrd.img) -rm -rf /tmp/initrd-repack + +# XXX: temporary +cp /boot/initrd.img-* /boot/initrd.img + +#mkdir /tmp/initrd-repack +#(cd /tmp/initrd-repack ; \ +# zcat /boot/initrd.img-* | cpio -i ; \ +# rm -f conf/param.conf ; \ +# find . | cpio --quiet -o -H newc | \ +# gzip -9 > /boot/initrd.img) +#rm -rf /tmp/initrd-repack (cd /boot ; \ cp /usr/lib/linux-image-*/kirkwood-dreamplug.dtb dtb ; \ |