pandora-skel: don't use .asoundrc
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 21 Apr 2014 18:41:47 +0000 (21:41 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 21 Apr 2014 18:41:47 +0000 (21:41 +0300)
We use global /etc/asound.conf , .asoundrc is a duplicate that makes
updating /etc/asound.conf hard as alsa gives .asoundrc priority and
.asoundrc in user's home never gets updated.

recipes/pandora-system/pandora-skel.bb

index 1e05b50..7135719 100644 (file)
@@ -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 = "r28"
+PR = "r29"
 
 SRC_URI = " \
   file://.xinitrc \     
@@ -15,7 +15,7 @@ SRC_URI = " \
   file://pam_environment \
   file://xsettings.xml \
   file://pndXmodmap \
-  file://asoundrc \
+#  file://asoundrc \
   file://vimrc \
   file://fuse \
   file://ntpdate.sh \
@@ -43,7 +43,7 @@ do_install() {
   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}/fuse ${D}${sysconfdir}/modutils/fuse
   install -m 0644 ${WORKDIR}/snd-pcm-oss ${D}${sysconfdir}/modutils/snd-pcm-oss