[molecules/*beagle*] reorganize files and directives
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user