X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-skel.bb;h=c60e819fc6ae49d6d738a6bce31f21c7b04ba116;hb=1333994e699a2e388a2eeed669ad6af6da6a00ac;hp=b1c0d38d8e6a9f875e123ecec837ea00e2690026;hpb=1306afc2031decaab98eac84ed1e9719e4ebc447;p=openpandora.oe.git diff --git a/recipes/pandora-system/pandora-skel.bb b/recipes/pandora-system/pandora-skel.bb index b1c0d38..c60e819 100644 --- a/recipes/pandora-system/pandora-skel.bb +++ b/recipes/pandora-system/pandora-skel.bb @@ -5,7 +5,7 @@ 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 = "r1" +PR = "r32" SRC_URI = " \ file://.xinitrc \ @@ -15,29 +15,67 @@ SRC_URI = " \ file://pam_environment \ file://xsettings.xml \ file://pndXmodmap \ - file://asoundrc \ +# file://asoundrc \ + file://vimrc \ + file://ntpdate.sh \ # file://op_btenabled \ + file://PandoraQuickStart.pdf \ + file://PandoraQuickStart.desktop \ + file://GetPNDManager.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 -d ${D}${sysconfdir}/skel/Desktop + install -d ${D}${sysconfdir}/modutils/ + install -d ${D}${sysconfdir}/pandora/ + install -d ${D}${sysconfdir}/NetworkManager/ + install -d ${D}${sysconfdir}/NetworkManager/dispatcher.d/ + install -m 0755 ${WORKDIR}/ntpdate.sh ${D}${sysconfdir}/NetworkManager/dispatcher.d/ntpdate.sh 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}/asoundrc ${D}${sysconfdir}/skel/.asoundrc + install -m 0644 ${WORKDIR}/gtkrc-2.0 ${D}${sysconfdir}/skel/.gtkrc-2.0 # 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}/GetPNDManager.desktop ${D}${sysconfdir}/skel/Desktop/GetPNDManager.desktop + install -m 0755 ${WORKDIR}/PandoraQuickStart.pdf ${D}${sysconfdir}/pandora/PandoraQuickStart.pdf + + # modules to be autoloaded + echo fuse > ${WORKDIR}/fuse + install -m 0644 ${WORKDIR}/fuse ${D}${sysconfdir}/modutils/fuse + echo snd-pcm-oss > ${WORKDIR}/snd-pcm-oss + install -m 0644 ${WORKDIR}/snd-pcm-oss ${D}${sysconfdir}/modutils/snd-pcm-oss + echo snd-seq > ${WORKDIR}/snd-seq + install -m 0644 ${WORKDIR}/snd-seq ${D}${sysconfdir}/modutils/snd-seq + 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 + + # something creates these with wrong perms, so create here + install -d ${D}${sysconfdir}/skel/.cache + install -d ${D}${sysconfdir}/skel/.config/xfce4/xfconf + install -d ${D}${sysconfdir}/skel/.local/share +} + +pkg_postinst () { + update-modules +} + +pkg_postrm () { + update-modules } PACKAGE_ARCH = "${MACHINE_ARCH}" -FILES_${PN} += "${prefix} ${datadir}" +FILES_${PN} = "/*"