first-boot-wizard.sh: Removed second 800MHz profile (not needed anymore).
[openpandora.oe.git] / recipes / pandora-system / pandora-skel.bb
1 DESCRIPTION = "Default 'new user' files on the OpenPandora."
2
3 COMPATIBLE_MACHINE = "omap3-pandora"
4
5 # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
6 RDEPENDS = "shadow"
7
8 PR = "r16"
9
10 SRC_URI = " \
11   file://.xinitrc \     
12   file://bashrc \
13   file://profile \
14   file://mplayconfig \
15   file://pam_environment \
16   file://xsettings.xml \
17   file://pndXmodmap \
18   file://asoundrc \
19   file://vimrc \
20   file://fuse \
21   file://snd-pcm-oss \
22 #  file://op_btenabled \
23   file://PandoraQuickStart.pdf \
24   file://PandoraQuickStart.desktop \
25   file://gtkrc-2.0 \
26 "
27
28 # xsettings.xml is a hack until I can figure out why XDG configs are not setting the icon theme for Xfce/GTK+
29
30 do_install() {
31   install -d ${D}${sysconfdir}/skel/
32   install -d ${D}${sysconfdir}/skel/Desktop
33   install -d ${D}${sysconfdir}/modutils/
34   install -d ${D}${sysconfdir}/pandora/
35   install -m 0644 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/.xinitrc
36   install -m 0644 ${WORKDIR}/vimrc ${D}${sysconfdir}/skel/.vimrc
37   install -m 0644 ${WORKDIR}/bashrc ${D}${sysconfdir}/skel/.bashrc
38   install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/skel/.profile
39   install -m 0644 ${WORKDIR}/pam_environment ${D}${sysconfdir}/skel/.pam_environment
40   install -m 0644 ${WORKDIR}/pndXmodmap ${D}${sysconfdir}/skel/.pndXmodmap
41   install -m 0644 ${WORKDIR}/asoundrc ${D}${sysconfdir}/skel/.asoundrc
42   install -m 0644 ${WORKDIR}/gtkrc-2.0 ${D}${sysconfdir}/skel/.gtkrc-2.0
43   install -m 0644 ${WORKDIR}/fuse ${D}${sysconfdir}/modutils/fuse
44   install -m 0644 ${WORKDIR}/snd-pcm-oss ${D}${sysconfdir}/modutils/snd-pcm-oss
45 #  install -m 0644 ${WORKDIR}/op_btenabled ${D}${sysconfdir}/skel/.op_btenabled
46   install -m 0755 ${WORKDIR}/PandoraQuickStart.desktop ${D}${sysconfdir}/skel/Desktop/PandoraQuickStart.desktop
47   install -m 0755 ${WORKDIR}/PandoraQuickStart.pdf ${D}${sysconfdir}/pandora/PandoraQuickStart.pdf
48   
49   install -d ${D}${sysconfdir}/skel/Applications/Settings/xfce4/xfconf/xfce-perchannel-xml
50   install -m 0644 ${WORKDIR}/xsettings.xml ${D}${sysconfdir}/skel/Applications/Settings/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
51   
52   install -d ${D}${sysconfdir}/skel/.mplayer/
53   install -m 0644 ${WORKDIR}/mplayconfig ${D}${sysconfdir}/skel/.mplayer/config
54 }
55
56 PACKAGE_ARCH = "${MACHINE_ARCH}"
57
58 FILES_${PN} += "${prefix} ${datadir}"