[molecules/beaglebone] reorganize molecules, drop 16GB image in favour of 2GB

This commit is contained in:
Fabio Erculiani 2012-01-31 20:40:04 +01:00
parent 179cdd0bb4
commit ea86e42014
5 changed files with 41 additions and 40 deletions

View File

@ -1,5 +1,12 @@
# List of packages to add on the BeagleBoard xM
packages_to_add:
app-misc/sabayonlive-tools,
app-misc/sabayon-skel,
app-admin/syslog-ng,
net-fs/nfs-utils,
net-misc/ntp,
sys-apps/keyboard-configuration-helpers,
sys-apps/language-configuration-helpers,
sys-kernel/linux-beaglebone
# List of packages to remove from the BeagleBoard xM image

View File

@ -1,24 +0,0 @@
%import /sabayon/molecules/arm-base.common
%import /sabayon/molecules/beaglebone.common
# Release desc (the actual release description)
release_desc: armv7a BeagleBone
# Release Version (used to generate release_file)
release_version: 8
# Specify image file name (image file name will be automatically
# produced otherwise)
image_name: Sabayon_Linux_8_armv7a_BeagleBone_Base_16GB.img
# Specify the image file size in Megabytes. This is mandatory.
# To avoid runtime failure, make sure the image is large enough to fit your
# chroot data.
image_mb: 16000
# Path to boot partition data (MLO, u-boot.img etc)
source_boot_directory: /sabayon/boot/arm/beaglebone
# External script that will generate the image file.
# The same can be copied onto a MMC by using dd
image_generator_script: /sabayon/scripts/beaglebone_image_generator_script.sh

View File

@ -9,12 +9,12 @@ release_version: 8
# Specify image file name (image file name will be automatically
# produced otherwise)
image_name: Sabayon_Linux_8_armv7a_BeagleBone_Base_8GB.img
image_name: Sabayon_Linux_8_armv7a_BeagleBone_Base_2GB.img
# Specify the image file size in Megabytes. This is mandatory.
# To avoid runtime failure, make sure the image is large enough to fit your
# chroot data.
image_mb: 7800
image_mb: 2000
# Path to boot partition data (MLO, u-boot.img etc)
source_boot_directory: /sabayon/boot/arm/beaglebone

View File

@ -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=()

View File

@ -6,19 +6,39 @@
env-update
. /etc/profile
setup_boot() {
# enable sshd by default
rc-update add sshd default
# select the first available kernel
eselect uimage set 1
# setup root password to... root!
echo root:root | chpasswd
# cleaning up deps
rc-update --update
}
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_serial() {
# Setup serial login
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO0 vt100" >> /etc/inittab
}
setup_boot
setup_users
setup_serial
exit 0