|
|
@ -1,26 +1,12 @@
|
|
|
|
diff --git a/lib/chroot-setup.sh b/lib/chroot-setup.sh
|
|
|
|
diff --git a/usr/lib/finish-install.d/08rcn-omap b/usr/lib/finish-install.d/08rcn-omap
|
|
|
|
index 61bc6ae..a889e23 100644
|
|
|
|
new file mode 100755
|
|
|
|
--- a/lib/chroot-setup.sh
|
|
|
|
index 0000000..6d06fc7
|
|
|
|
+++ b/lib/chroot-setup.sh
|
|
|
|
--- /dev/null
|
|
|
|
@@ -110,6 +110,12 @@ EOF
|
|
|
|
+++ b/usr/lib/finish-install.d/08rcn-omap
|
|
|
|
APT_LISTCHANGES_FRONTEND=none
|
|
|
|
@@ -0,0 +1,20 @@
|
|
|
|
export APT_LISTCHANGES_FRONTEND
|
|
|
|
+#!/bin/sh -e
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
|
|
|
|
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -120,6 +126,27 @@ chroot_cleanup () {
|
|
|
|
|
|
|
|
mv /target/sbin/initctl.REAL /target/sbin/initctl
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+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
|
|
|
@ -28,18 +14,13 @@ index 61bc6ae..a889e23 100644
|
|
|
|
+ cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
|
|
|
|
+ cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
|
|
|
|
+ rm -f /tmp/mmc/uInitrd
|
|
|
|
+ rm -f /tmp/mmc/uInitrd
|
|
|
|
+ mv /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd
|
|
|
|
+ mv /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd
|
|
|
|
|
|
|
|
+ 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
|
|
|
|
+
|
|
|
|
|
|
|
|
+ cp -r /lib/modules/`uname -r`/ /target/lib/modules/
|
|
|
|
+ cp -r /lib/modules/`uname -r`/ /target/lib/modules/
|
|
|
|
+ cp -r /lib/firmware/ /target/lib/
|
|
|
|
+ #cp -r /lib/firmware/ /target/lib/
|
|
|
|
+ rm -f /etc/rcn.conf
|
|
|
|
+ rm -f /etc/rcn.conf
|
|
|
|
+
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
+fi
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
|
|
# Undo the mounts done by the packages during installation.
|
|
|
|
|
|
|
|
# Reverse sorting to umount the deepest mount points first.
|
|
|
|
|
|
|
|
# Items with count of 1 are new.
|
|
|
|
|
|
|
|