X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-skel.bb;h=5245c746818dcbf4d9c2b767e7b70cf889000c07;hb=6b422168e931dd501533112593482e796c6d648e;hp=1fcd3d46f13052d1dd86d41f215be669c3b89bfa;hpb=f61cf6b726104a1e8314929612909224917f6475;p=openpandora.oe.git diff --git a/recipes/pandora-system/pandora-skel.bb b/recipes/pandora-system/pandora-skel.bb index 1fcd3d4..5245c74 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 = "r2" +PR = "r31" 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} = "/*"