diff --git a/usr/lib/finish-install.d/08rcn-omap b/usr/lib/finish-install.d/08rcn-omap new file mode 100755 index 0000000..6d06fc7 --- /dev/null +++ b/usr/lib/finish-install.d/08rcn-omap @@ -0,0 +1,20 @@ +#!/bin/sh -e +cp /etc/e2fsck.conf /target/etc/e2fsck.conf + +if [ -e /etc/rcn.conf ]; then + mkdir -p /tmp/mmc + mount /dev/mmcblk0p1 /tmp/mmc + rm -f /tmp/mmc/boot.scr + mv /tmp/mmc/user.scr /tmp/mmc/boot.scr + rm -f /tmp/mmc/uInitrd.net + sync + umount /tmp/mmc + + + mkdir -p /target/boot/uboot + echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab + cp -r /lib/modules/`uname -r`/ /target/lib/modules/ + cp -r /lib/firmware/ /target/lib/ + rm -f /etc/rcn.conf +fi +