mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2025-01-14 08:01:36 +01:00
comment and style
This commit is contained in:
parent
dfaaf2c919
commit
7a297ff7d6
1 changed files with 1 additions and 4 deletions
5
build.sh
5
build.sh
|
@ -211,15 +211,12 @@ cp $CWD/bin/nand1-boot-cubietruck-arch.tgz $DEST/output/sdcard/root
|
||||||
# set hostname
|
# set hostname
|
||||||
echo darkstar > $DEST/output/sdcard/etc/HOSTNAME
|
echo darkstar > $DEST/output/sdcard/etc/HOSTNAME
|
||||||
|
|
||||||
|
# setup fstab
|
||||||
### declare root partition in fstab
|
### declare root partition in fstab
|
||||||
echo '/dev/mmcblk0p1 / ext4 defaults 1 1' >> $DEST/output/sdcard/etc/fstab
|
echo '/dev/mmcblk0p1 / ext4 defaults 1 1' >> $DEST/output/sdcard/etc/fstab
|
||||||
|
|
||||||
### mount /tmp as tmpfs
|
### mount /tmp as tmpfs
|
||||||
echo 'tmpfs /tmp tmpfs defaults,nosuid,size=30% 0 0' >> $DEST/output/sdcard/etc/fstab
|
echo 'tmpfs /tmp tmpfs defaults,nosuid,size=30% 0 0' >> $DEST/output/sdcard/etc/fstab
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# modules to load
|
# modules to load
|
||||||
cat >> $DEST/output/sdcard/etc/rc.d/rc.modules <<EOT
|
cat >> $DEST/output/sdcard/etc/rc.d/rc.modules <<EOT
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
Loading…
Reference in a new issue