[molecules/beaglebone] reorganize molecules, drop 16GB image in favour of 2GB
This commit is contained in:
@@ -38,14 +38,12 @@ export LANGUAGE="en_US.UTF-8"
|
||||
|
||||
if [ "${ACTION}" = "weekly" ]; then
|
||||
ARM_SOURCE_SPECS=(
|
||||
"sabayon-arm-beaglebone-base-2G.spec"
|
||||
"sabayon-arm-beaglebone-base-4G.spec"
|
||||
"sabayon-arm-beaglebone-base-8G.spec"
|
||||
"sabayon-arm-beaglebone-base-16G.spec"
|
||||
)
|
||||
ARM_SOURCE_SPECS_IMG=(
|
||||
"Sabayon_Linux_DAILY_armv7a_BeagleBone_Base_2GB.img"
|
||||
"Sabayon_Linux_DAILY_armv7a_BeagleBone_Base_4GB.img"
|
||||
"Sabayon_Linux_DAILY_armv7a_BeagleBone_Base_8GB.img"
|
||||
"Sabayon_Linux_DAILY_armv7a_BeagleBone_Base_16GB.img"
|
||||
)
|
||||
SOURCE_SPECS=()
|
||||
SOURCE_SPECS_ISO=()
|
||||
|
||||
@@ -6,19 +6,39 @@
|
||||
env-update
|
||||
. /etc/profile
|
||||
|
||||
# enable sshd by default
|
||||
rc-update add sshd default
|
||||
setup_boot() {
|
||||
# enable sshd by default
|
||||
rc-update add sshd default
|
||||
# select the first available kernel
|
||||
eselect uimage set 1
|
||||
# cleaning up deps
|
||||
rc-update --update
|
||||
}
|
||||
|
||||
# select the first available kernel
|
||||
eselect uimage set 1
|
||||
setup_users() {
|
||||
# setup root password to... root!
|
||||
echo root:root | chpasswd
|
||||
# setup normal user "sabayon"
|
||||
(
|
||||
if [ ! -x "/sbin/sabayon-functions.sh" ]; then
|
||||
echo "no /sbin/sabayon-functions.sh found"
|
||||
exit 1
|
||||
fi
|
||||
. /sbin/sabayon-functions.sh
|
||||
sabayon_setup_live_user "sabayon" || exit 1
|
||||
# setup "sabayon" password to... sabayon!
|
||||
echo "sabayon:sabayon" | chpasswd
|
||||
)
|
||||
}
|
||||
|
||||
# setup root password to... root!
|
||||
echo root:root | chpasswd
|
||||
# cleaning up deps
|
||||
rc-update --update
|
||||
setup_serial() {
|
||||
# Setup serial login
|
||||
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO0 vt100" >> /etc/inittab
|
||||
}
|
||||
|
||||
# Setup serial login
|
||||
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO0 vt100" >> /etc/inittab
|
||||
setup_boot
|
||||
setup_users
|
||||
setup_serial
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user