provide /etc/sysconfig/pcmcia to select PCIC for arm systems
authorPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 14:46:41 +0000 (14:46 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 29 Aug 2004 14:46:41 +0000 (14:46 +0000)
BKrev: 4131ec51whEfeNB7okMTtU9720xm-g

pcmcia-cs/files/arm/pcmcia [new file with mode: 0644]
pcmcia-cs/files/pcmcia [new file with mode: 0644]
pcmcia-cs/pcmcia-cs_3.2.8.oe

diff --git a/pcmcia-cs/files/arm/pcmcia b/pcmcia-cs/files/arm/pcmcia
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/pcmcia-cs/files/pcmcia b/pcmcia-cs/files/pcmcia
new file mode 100644 (file)
index 0000000..e69de29
index 433092e..7247a62 100644 (file)
@@ -3,11 +3,12 @@ SECTION = "base"
 PRIORITY = "required"
 LICENSE = "GPL"
 DEPENDS = "virtual/kernel"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \
           file://busybox.patch;patch=1 \
           file://network.patch;patch=1 \
+          file://pcmcia \
           file://ide.opts \
           file://wireless.opts \
           file://network.conf"
@@ -73,6 +74,8 @@ do_install() {
                install -m 0644 $i ${D}/${sysconfdir}/pcmcia/cis/
        done
        install -m 0755 etc/rc.pcmcia ${D}/${sysconfdir}/init.d/pcmcia
+       install -d ${D}/${sysconfdir}/sysconfig
+       install -m 0755 ${WORKDIR}/pcmcia ${D}/${sysconfdir}/sysconfig/pcmcia
 }
 
 FILES_${PN} = "${sbindir} ${sysconfdir}"