diff --git a/scripts/natty-tweaks.diff b/scripts/natty-tweaks.diff index 9ab839b..a3116b9 100644 --- a/scripts/natty-tweaks.diff +++ b/scripts/natty-tweaks.diff @@ -3,7 +3,7 @@ new file mode 100755 index 0000000..6d06fc7 --- /dev/null +++ b/usr/lib/finish-install.d/08rcn-omap -@@ -0,0 +1,44 @@ +@@ -0,0 +1,46 @@ +#!/bin/sh -e +cp /etc/flash-kernel.conf /target/etc/flash-kernel.conf +cp /etc/ttyO2.conf /target/etc/init/ttyO2.conf @@ -40,9 +40,11 @@ index 0000000..6d06fc7 + + rm -f /etc/rcn.conf + ++ mount -o bind /sys /target/sys + chroot /target update-initramfs -c -k `uname -r` + chroot /target mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-`uname -r` /boot/uInitrd + cp /target/boot/uInitrd /tmp/mmc/uInitrd ++ umount /target/sys + + sync + umount /tmp/mmc