rc.pandora-state: Now puts a "Yes" into /tmp/nocleanwarn if the system has not shutdo...
[openpandora.oe.git] / recipes / pandora-system / pandora-skel.bb
index 8169e8f..1155032 100644 (file)
@@ -2,18 +2,55 @@ DESCRIPTION = "Default 'new user' files on the OpenPandora."
 
 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"
+# /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
+RDEPENDS = "shadow"
 
-PR = "r0"
+PR = "r17"
 
 SRC_URI = " \
-          file://.xinitrc \     
+  file://.xinitrc \     
+  file://bashrc \
+  file://profile \
+  file://mplayconfig \
+  file://pam_environment \
+  file://xsettings.xml \
+  file://pndXmodmap \
+  file://asoundrc \
+  file://vimrc \
+  file://fuse \
+  file://snd-pcm-oss \
+#  file://op_btenabled \
+  file://PandoraQuickStart.pdf \
+  file://PandoraQuickStart.desktop \
+  file://gtkrc-2.0 \
 "
 
+# 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 0777 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/         
+  install -d ${D}${sysconfdir}/skel/
+  install -d ${D}${sysconfdir}/skel/Desktop
+  install -d ${D}${sysconfdir}/modutils/
+  install -d ${D}${sysconfdir}/pandora/
+  install -m 0644 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/.xinitrc
+  install -m 0644 ${WORKDIR}/vimrc ${D}${sysconfdir}/skel/.vimrc
+  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 -m 0644 ${WORKDIR}/pndXmodmap ${D}${sysconfdir}/skel/.pndXmodmap
+  install -m 0644 ${WORKDIR}/asoundrc ${D}${sysconfdir}/skel/.asoundrc
+  install -m 0644 ${WORKDIR}/gtkrc-2.0 ${D}${sysconfdir}/skel/.gtkrc-2.0
+  install -m 0644 ${WORKDIR}/fuse ${D}${sysconfdir}/modutils/fuse
+  install -m 0644 ${WORKDIR}/snd-pcm-oss ${D}${sysconfdir}/modutils/snd-pcm-oss
+#  install -m 0644 ${WORKDIR}/op_btenabled ${D}${sysconfdir}/skel/.op_btenabled
+  install -m 0755 ${WORKDIR}/PandoraQuickStart.desktop ${D}${sysconfdir}/skel/Desktop/PandoraQuickStart.desktop
+  install -m 0755 ${WORKDIR}/PandoraQuickStart.pdf ${D}${sysconfdir}/pandora/PandoraQuickStart.pdf
+  
+  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
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"