This commit is contained in:
Igor Pečovnik 2014-01-12 15:30:42 +01:00
parent 1c84dec6d5
commit 68b2899437

View file

@ -71,6 +71,8 @@ echo "Creating NAND bootfs ... few seconds"
mount /dev/nand1 /mnt
wget https://www.dropbox.com/s/7puy5v0v3pk7y6a/nand1-cubietruck-debian-boot.tgz
tar xfz nand1-cubietruck-debian-boot.tgz -C /mnt/
rm nand1-cubietruck-debian-boot.tgz
rm nand_mbr.backup
cp /boot/* /mnt/
sed -e 's/root=\/dev\/mmcblk0p1/nand_root=\/dev\/nand2/g' /boot/uEnv.txt > /mnt/uEnv.txt
umount /mnt