[scripts] properly setup /boot fstab for the Efika MX, Odroid and Raspi

This commit is contained in:
Fabio Erculiani
2013-06-16 15:06:29 +02:00
parent 058018a2f8
commit b22e1550c2
4 changed files with 11 additions and 8 deletions

View File

@@ -44,6 +44,13 @@ setup_desktop_environment() {
fi
}
setup_bootfs_fstab() {
# add /dev/mmcblk0p1 to /etc/fstab
local boot_part_type="${1}"
echo "/dev/mmcblk0p1 /boot ${boot_part_type} defaults 0 2" >> /etc/fstab
}
setup_boot() {
sd_enable sshd
sd_enable vixie-cron
@@ -68,4 +75,4 @@ setup_users() {
# also add "sabayon" to disk group
usermod -a -G disk sabayon
) || return 1
}
}