|
|
@ -8,14 +8,14 @@ index 0000000..6d06fc7
|
|
|
|
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
|
|
|
|
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+if [ -e /etc/rcn.conf ]; then
|
|
|
|
+if [ -e /etc/rcn.conf ]; then
|
|
|
|
+ mkdir -p /tmp/mmc
|
|
|
|
+ #mkdir -p /tmp/mmc
|
|
|
|
+ mount /dev/mmcblk0p1 /tmp/mmc
|
|
|
|
+ #mount /dev/mmcblk0p1 /tmp/mmc
|
|
|
|
+ #rm -f /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr
|
|
|
|
+ #rm -f /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr
|
|
|
|
+ #cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
|
|
|
|
+ #cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
|
|
|
|
+ rm -f /tmp/mmc/uInitrd.net
|
|
|
|
+ #rm -f /tmp/mmc/uInitrd.net
|
|
|
|
+ sync
|
|
|
|
+ #sync
|
|
|
|
+ sync
|
|
|
|
+ #sync
|
|
|
|
+ umount /tmp/mmc
|
|
|
|
+ #umount /tmp/mmc
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ mkdir -p /target/boot/uboot
|
|
|
|
+ mkdir -p /target/boot/uboot
|
|
|
|
+ echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab
|
|
|
|
+ echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab
|
|
|
|