Final fixes for nand-sata-installer ... checked many options. Bump one version ... rebuild

This commit is contained in:
Igor Pecovnik 2016-10-23 13:41:08 +02:00
parent 44f20bfcb0
commit 1d2cf43b09
2 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@
#
# common options
REVISION="5.22$SUBREVISION" # all boards have same revision
REVISION="5.23$SUBREVISION" # all boards have same revision
ROOTPWD="1234" # Must be changed @first login
MAINTAINER="Igor Pecovnik" # deb signature
MAINTAINERMAIL="igor.pecovnik@****l.com" # deb signature

View File

@ -164,9 +164,13 @@ create_armbian()
else
sed -e 's,setenv rootdev.*,setenv rootdev '"$satauuid"',g' -i /boot/boot.ini
fi
echo "$satauuid / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1" >> /mnt/rootfs/etc/fstab
fi
mkdir -p /mnt/rootfs/media/mmc/boot
echo "$sduuid /media/mmc ext4 defaults 0 0" >> /mnt/rootfs/etc/fstab
echo "/media/mmc/boot /boot none bind 0 0" >> /mnt/rootfs/etc/fstab
echo "$satauuid / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1" >> /mnt/rootfs/etc/fstab
fi
echo "tmpfs /tmp tmpfs defaults,nosuid 0 0" >> /mnt/rootfs/etc/fstab
cat /etc/fstab | grep swap >> /mnt/rootfs/etc/fstab
umountdevice "/dev/sda"
} # create_armbian