From f3ca6c60b7b544ad1593bb15105e70008480a757 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 27 Jun 2004 20:15:08 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into dixie.nexus.co.uk:/home/pb/oe/oe-packages 2004/06/27 21:12:58+01:00 nexus.co.uk!pb avoid installing unnecessary cruft into /etc/pcmcia BKrev: 40df2accX1SuD0TA8dNWMWwli3Y6gQ --- pcmcia-cs/pcmcia-cs_3.2.7.oe | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'pcmcia-cs') diff --git a/pcmcia-cs/pcmcia-cs_3.2.7.oe b/pcmcia-cs/pcmcia-cs_3.2.7.oe index 0306e78743..24af162e81 100644 --- a/pcmcia-cs/pcmcia-cs_3.2.7.oe +++ b/pcmcia-cs/pcmcia-cs_3.2.7.oe @@ -3,6 +3,7 @@ SECTION = "base" PRIORITY = "required" LICENSE = "GPL" DEPENDS = "virtual/kernel" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz" S = "${WORKDIR}/pcmcia-cs-${PV}" @@ -42,6 +43,9 @@ do_compile() { oe_runmake all HAS_XPM= FLIBS="" XMANDIR="" } +INSTALL_ETC = "ftl ide ieee1394 memory network parport scsi serial wireless" +INSTALL_ETC_DATA = "config config.opts ftl.opts ide.opts ieee1394.opts memory.opts network.opts parport.opts scsi.opts serial.opts shared wireless.opts" + do_install() { install -d ${D}/${sbindir} for f in cardmgr/cardctl cardmgr/cardmgr cardmgr/ide_info cardmgr/ifport cardmgr/ifuser cardmgr/pcinitrd flash/ftl_check flash/ftl_format @@ -49,8 +53,17 @@ do_install() { install -m 0755 $f ${D}/${sbindir}/ done install -d ${D}/${sysconfdir}/init.d \ - ${D}/${sysconfdir}/pcmcia - cp -a etc/* ${D}/${sysconfdir}/pcmcia/ + ${D}/${sysconfdir}/pcmcia \ + ${D}/${sysconfdir}/pcmcia/cis + for i in ${INSTALL_ETC}; do + install etc/${i} ${D}/${sysconfdir}/pcmcia/ + done + for i in ${INSTALL_ETC_DATA}; do + install -m 0644 etc/${i} ${D}/${sysconfdir}/pcmcia/ + done + for i in etc/cis/*; do + install -m 0644 $i ${D}/${sysconfdir}/pcmcia/cis/ + done install -m 0755 etc/rc.pcmcia ${D}/${sysconfdir}/init.d/pcmcia } -- cgit v1.2.3