[molecules/*beagle*] reorganize files and directives
This commit is contained in:
parent
1ddcc107ec
commit
c078a702ac
@ -1,6 +1,7 @@
|
|||||||
# List of packages to add on the BeagleBoard xM
|
# List of packages to add on the BeagleBoard xM
|
||||||
packages_to_add:
|
packages_to_add:
|
||||||
lxde-base/lxdm,
|
lxde-base/lxdm,
|
||||||
|
sys-kernel/linux-beagle,
|
||||||
x11-base/xorg-server,
|
x11-base/xorg-server,
|
||||||
x11-drivers/xf86-video-omapfb
|
x11-drivers/xf86-video-omapfb
|
||||||
|
|
||||||
|
6
molecules/beaglebone.common
Normal file
6
molecules/beaglebone.common
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# List of packages to add on the BeagleBoard xM
|
||||||
|
packages_to_add:
|
||||||
|
sys-kernel/linux-beaglebone
|
||||||
|
|
||||||
|
# List of packages to remove from the BeagleBoard xM image
|
||||||
|
packages_to_remove:
|
@ -1,7 +1,8 @@
|
|||||||
%import /sabayon/molecules/arm-base.common
|
%import /sabayon/molecules/arm-base.common
|
||||||
|
%import /sabayon/molecules/beaglebone.common
|
||||||
|
|
||||||
# Release desc (the actual release description)
|
# Release desc (the actual release description)
|
||||||
release_desc: armv7a BeagleBone Base
|
release_desc: armv7a BeagleBone
|
||||||
|
|
||||||
# Release Version (used to generate release_file)
|
# Release Version (used to generate release_file)
|
||||||
release_version: 8
|
release_version: 8
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
%import /sabayon/molecules/arm-base.common
|
%import /sabayon/molecules/arm-base.common
|
||||||
|
%import /sabayon/molecules/beaglebone.common
|
||||||
|
|
||||||
# Release desc (the actual release description)
|
# Release desc (the actual release description)
|
||||||
release_desc: armv7a BeagleBone Base
|
release_desc: armv7a BeagleBone
|
||||||
|
|
||||||
# Release Version (used to generate release_file)
|
# Release Version (used to generate release_file)
|
||||||
release_version: 8
|
release_version: 8
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
%import /sabayon/molecules/arm-base.common
|
%import /sabayon/molecules/arm-base.common
|
||||||
|
%import /sabayon/molecules/beaglebone.common
|
||||||
|
|
||||||
# Release desc (the actual release description)
|
# Release desc (the actual release description)
|
||||||
release_desc: armv7a BeagleBone Base
|
release_desc: armv7a BeagleBone
|
||||||
|
|
||||||
# Release Version (used to generate release_file)
|
# Release Version (used to generate release_file)
|
||||||
release_version: 8
|
release_version: 8
|
||||||
|
@ -9,11 +9,7 @@ env-update
|
|||||||
# enable sshd by default
|
# enable sshd by default
|
||||||
rc-update add sshd default
|
rc-update add sshd default
|
||||||
|
|
||||||
# TODO: error out here when linux-beaglebone is there
|
# select the first available kernel
|
||||||
# "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
|
|
||||||
|
|
||||||
eselect uimage set 1
|
eselect uimage set 1
|
||||||
|
|
||||||
# setup root password to... root!
|
# setup root password to... root!
|
||||||
@ -21,8 +17,8 @@ echo root:root | chpasswd
|
|||||||
# cleaning up deps
|
# cleaning up deps
|
||||||
rc-update --update
|
rc-update --update
|
||||||
|
|
||||||
# setup serial console
|
# setup serial login
|
||||||
sed -i "s;s0:.*;s0:12345:respawn:/sbin/agetty 115200 ttyO2 vt100;" /etc/inittab || exit 1
|
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO2 vt100" >> /etc/inittab
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
@ -9,11 +9,7 @@ env-update
|
|||||||
# enable sshd by default
|
# enable sshd by default
|
||||||
rc-update add sshd default
|
rc-update add sshd default
|
||||||
|
|
||||||
# TODO: error out here when linux-beaglebone is there
|
# select the first available kernel
|
||||||
# "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
|
|
||||||
|
|
||||||
eselect uimage set 1
|
eselect uimage set 1
|
||||||
|
|
||||||
# setup root password to... root!
|
# setup root password to... root!
|
||||||
@ -21,5 +17,8 @@ echo root:root | chpasswd
|
|||||||
# cleaning up deps
|
# cleaning up deps
|
||||||
rc-update --update
|
rc-update --update
|
||||||
|
|
||||||
|
# Setup serial login
|
||||||
|
echo "s0:12345:respawn:/sbin/agetty 115200 ttyO0 vt100" >> /etc/inittab
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user