wb_editors
906
правок
Brainroot (обсуждение | вклад) |
Brainroot (обсуждение | вклад) |
||
Строка 66: | Строка 66: | ||
apt-get update | apt-get update | ||
apt-get install -y kpartx zip device-tree-compiler u-boot-tools=2016.11+dfsg1-4 libfdt1 binutils | apt-get install -y kpartx zip device-tree-compiler u-boot-tools=2016.11+dfsg1-4 libfdt1 binutils | ||
mount -t devtmpfs none /dev | mount -t devtmpfs none /dev | ||
rm -rf | #echo "Remove exist rootfs for re-create (if need)" | ||
#rm -rf /rootfs/$WBDEV_TARGET | |||
# | #rm -rf ./output/rootfs_wb6x | ||
ROOTFS=./output/rootfs_wb6x /root/rootfs/create_rootfs.sh 6x | export ROOTFS=./output/rootfs_wb6x | ||
echo "Create new clean rootfs" | |||
echo Create | rm -rf $ROOTFS | ||
/root/rootfs/create_rootfs.sh 6x | |||
echo "Create .fit image" | |||
./image/create_images.sh 6x | |||
echo "correct rights" | |||
chmod a+rw -R ./output/images/ | |||
rm tmp.sh | rm tmp.sh | ||
EOFcommand | EOFcommand |