mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-11-16 19:50:31 +01:00
copy nandinstall script /root
This commit is contained in:
parent
5fb96cabda
commit
aff36348cc
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -198,6 +198,10 @@ cd $DEST/output/sdcard/etc/init.d
|
||||||
cp $SRC/scripts/cubian-resize2fs $DEST/output/sdcard/etc/init.d
|
cp $SRC/scripts/cubian-resize2fs $DEST/output/sdcard/etc/init.d
|
||||||
cp $SRC/scripts/cubian-firstrun $DEST/output/sdcard/etc/init.d
|
cp $SRC/scripts/cubian-firstrun $DEST/output/sdcard/etc/init.d
|
||||||
|
|
||||||
|
# script to install to NAND
|
||||||
|
cp $SRC/scripts/nand-install.sh $DEST/output/sdcard/root
|
||||||
|
|
||||||
|
|
||||||
# make it executable
|
# make it executable
|
||||||
chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/init.d/cubian-*"
|
chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/init.d/cubian-*"
|
||||||
# and startable on boot
|
# and startable on boot
|
||||||
|
|
Loading…
Reference in a new issue