diff --git a/scripts/nand-install.sh b/scripts/nand-install.sh index 3ba4d5d..d780de5 100644 --- a/scripts/nand-install.sh +++ b/scripts/nand-install.sh @@ -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