[molecules/beagleboard-xm] finalize .spec file
This commit is contained in:
parent
ac0d43c97f
commit
d3ac16fb55
@ -1,13 +1,14 @@
|
||||
# List of packages to add on the BeagleBoard xM
|
||||
packages_to_add:
|
||||
@lxde,
|
||||
app-admin/syslog-ng,
|
||||
app-admin/sudo,
|
||||
app-arch/xarchiver,
|
||||
app-editors/leafpad,
|
||||
app-misc/sabayonlive-tools,
|
||||
app-misc/sabayon-skel,
|
||||
app-office/abiword,
|
||||
app-admin/syslog-ng,
|
||||
app-text/epdfview,
|
||||
lxde-base/lxde-meta,
|
||||
lxde-base/lxdm,
|
||||
lxde-base/lxpolkit,
|
||||
gnome-extra/nm-applet-gtk2,
|
||||
@ -19,6 +20,7 @@ packages_to_add:
|
||||
sys-apps/keyboard-configuration-helpers,
|
||||
sys-apps/language-configuration-helpers,
|
||||
sys-kernel/linux-beagle,
|
||||
sys-process/vixie-cron,
|
||||
x11-base/xorg-server,
|
||||
x11-drivers/xf86-input-evdev,
|
||||
x11-drivers/xf86-video-omapfb,
|
||||
|
@ -19,11 +19,27 @@ setup_displaymanager() {
|
||||
fi
|
||||
}
|
||||
|
||||
setup_desktop_environment() {
|
||||
if [ -f "/usr/share/xsessions/LXDE.desktop" ]; then
|
||||
echo "[Desktop]" > /etc/skel/.dmrc
|
||||
echo "Session=LXDE" >> /etc/skel/.dmrc
|
||||
elif [ -n "/usr/share/xsessions/xfce.desktop" ]; then
|
||||
echo "[Desktop]" > /etc/skel/.dmrc
|
||||
echo "Session=xfce" >> /etc/skel/.dmrc
|
||||
|
||||
else
|
||||
# Fluxbox is always there
|
||||
echo "[Desktop]" > /etc/skel/.dmrc
|
||||
echo "Session=fluxbox" >> /etc/skel/.dmrc
|
||||
fi
|
||||
}
|
||||
|
||||
setup_boot() {
|
||||
# enable sshd by default
|
||||
rc-update add sshd default
|
||||
# enable logger by default
|
||||
rc-update add syslog-ng boot
|
||||
rc-update add vixie-cron boot
|
||||
# enable dbus, of course, and also NetworkManager
|
||||
rc-update add dbus boot
|
||||
rc-update add NetworkManager default
|
||||
@ -74,6 +90,7 @@ setup_serial() {
|
||||
}
|
||||
|
||||
setup_displaymanager
|
||||
setup_desktop_environment
|
||||
setup_users
|
||||
setup_boot
|
||||
setup_serial
|
||||
|
Loading…
Reference in New Issue
Block a user