From: David-John Willis Date: Fri, 15 Jan 2010 21:38:01 +0000 (+0000) Subject: pandora-skel: Add a few more tweaks 'read: nasty hacks :(' to /etc/skel. X-Git-Tag: Release-2010-05/1~119 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=bdac321b8853200801b9a51ddd1008f03a90cae2 pandora-skel: Add a few more tweaks 'read: nasty hacks :(' to /etc/skel. --- diff --git a/recipes/pandora-system/pandora-skel.bb b/recipes/pandora-system/pandora-skel.bb index 9784460..05c8b6f 100644 --- a/recipes/pandora-system/pandora-skel.bb +++ b/recipes/pandora-system/pandora-skel.bb @@ -5,21 +5,29 @@ COMPATIBLE_MACHINE = "omap3-pandora" # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;) RDEPENDS = "shadow" -PR = "r2" +PR = "r5" SRC_URI = " \ file://.xinitrc \ file://bashrc \ file://profile \ file://mplayconfig \ + file://pam_environment \ + file://xsettings.xml \ " +# xsettings.xml is a hack until I can figure out why XDG configs are not setting the icon theme for Xfce/GTK+ + do_install() { install -d ${D}${sysconfdir}/skel/ - install -m 0644 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/ + install -m 0644 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/.xinitrc install -m 0644 ${WORKDIR}/bashrc ${D}${sysconfdir}/skel/.bashrc install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/skel/.profile - + install -m 0644 ${WORKDIR}/pam_environment ${D}${sysconfdir}/skel/.pam_environment + + install -d ${D}${sysconfdir}/skel/Applications/Settings/xfce4/xfconf/xfce-perchannel-xml + install -m 0644 ${WORKDIR}/xsettings.xml ${D}${sysconfdir}/skel/Applications/Settings/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml + install -d ${D}${sysconfdir}/skel/.mplayer/ install -m 0644 ${WORKDIR}/mplayconfig ${D}${sysconfdir}/skel/.mplayer/config } diff --git a/recipes/pandora-system/pandora-skel/pam_environment b/recipes/pandora-system/pandora-skel/pam_environment new file mode 100644 index 0000000..a773fd2 --- /dev/null +++ b/recipes/pandora-system/pandora-skel/pam_environment @@ -0,0 +1,9 @@ +# +# This file is parsed by pam_env module +# +# Syntax: simple "KEY=VAL" pairs on separate lines +# + +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games" + +export PATH diff --git a/recipes/pandora-system/pandora-skel/profile b/recipes/pandora-system/pandora-skel/profile index 979793e..0f73ddd 100644 --- a/recipes/pandora-system/pandora-skel/profile +++ b/recipes/pandora-system/pandora-skel/profile @@ -5,6 +5,9 @@ if [ -f ~/.bashrc ]; then fi # path set by /etc/profile -# export PATH + +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games" + +export PATH mesg n diff --git a/recipes/pandora-system/pandora-skel/xsettings.xml b/recipes/pandora-system/pandora-skel/xsettings.xml new file mode 100644 index 0000000..de0c38c --- /dev/null +++ b/recipes/pandora-system/pandora-skel/xsettings.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +