[molecules/*beagle*] reorganize files and directives

This commit is contained in:
Fabio Erculiani
2012-01-27 23:48:19 +01:00
parent 1ddcc107ec
commit c078a702ac
7 changed files with 20 additions and 15 deletions

View File

@@ -9,11 +9,7 @@ env-update
# enable sshd by default
rc-update add sshd default
# TODO: error out here when linux-beaglebone is there
# "equo update" is done by inner_source_chroot_update script
# which directive is appended by iso_build.sh script
equo install sys-kernel/linux-beagle
# select the first available kernel
eselect uimage set 1
# setup root password to... root!
@@ -21,8 +17,8 @@ echo root:root | chpasswd
# cleaning up deps
rc-update --update
# setup serial console
sed -i "s;s0:.*;s0:12345:respawn:/sbin/agetty 115200 ttyO2 vt100;" /etc/inittab || exit 1
# setup serial login
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO2 vt100" >> /etc/inittab
exit 0

View File

@@ -9,11 +9,7 @@ env-update
# enable sshd by default
rc-update add sshd default
# TODO: error out here when linux-beaglebone is there
# "equo update" is done by inner_source_chroot_update script
# which directive is appended by iso_build.sh script
equo install sys-kernel/linux-beaglebone
# select the first available kernel
eselect uimage set 1
# setup root password to... root!
@@ -21,5 +17,8 @@ echo root:root | chpasswd
# cleaning up deps
rc-update --update
# Setup serial login
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO0 vt100" >> /etc/inittab
exit 0