summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-04-20 09:44:13 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-04-20 09:44:13 +0000
commit6720d73166bc065e596c0d7513ba5f56cb9f0484 (patch)
tree87eff702b52236b28f5ca4bc9f5b2f0664d0b88e
parent210df3ce941d17ac9c0602a9f36c55328c6f5503 (diff)
aplpy ipkg.patch courtesy pb_
BKrev: 4084f0edfWWvcHue_wA85kvalRsjNg
-rw-r--r--ipkg/ipkg_0.99.120.oe17
-rw-r--r--orinoco/orinoco-modules-0.15rc1/compile.patch (renamed from orinoco/orinoco-modules-20040313/compile.patch)0
-rw-r--r--orinoco/orinoco-modules-0.15rc1/spectrum.conf (renamed from orinoco/orinoco-modules-20040313/spectrum.conf)0
-rw-r--r--orinoco/orinoco-modules_0.15rc1.oe0
-rw-r--r--orinoco/orinoco-modules_20040313.oe21
5 files changed, 17 insertions, 21 deletions
diff --git a/ipkg/ipkg_0.99.120.oe b/ipkg/ipkg_0.99.120.oe
index 41c425784e..04c2d30305 100644
--- a/ipkg/ipkg_0.99.120.oe
+++ b/ipkg/ipkg_0.99.120.oe
@@ -7,3 +7,20 @@ SRC_URI = "cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=familiar/dist/ipkg;tag
S = "${WORKDIR}/ipkg/C"
inherit autotools libtool
+
+pkg_postinst () {
+#!/bin/sh
+if [ "x$D" != "x" ]; then
+ install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
+ # this needs to happen after S35mountall so that /tmp is available
+ echo -e "#!/bin/sh\nipkg-cl configure\nrm -f \$0" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S36configure
+ chmod 755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S36configure
+fi
+
+update-alternatives --install /usr/bin/ipkg ipkg /usr/bin/ipkg-cl 100
+}
+
+pkg_postrm () {
+#!/bin/sh
+update-alternatives --remove ipkg /usr/bin/ipkg-cl
+}
diff --git a/orinoco/orinoco-modules-20040313/compile.patch b/orinoco/orinoco-modules-0.15rc1/compile.patch
index e69de29bb2..e69de29bb2 100644
--- a/orinoco/orinoco-modules-20040313/compile.patch
+++ b/orinoco/orinoco-modules-0.15rc1/compile.patch
diff --git a/orinoco/orinoco-modules-20040313/spectrum.conf b/orinoco/orinoco-modules-0.15rc1/spectrum.conf
index e69de29bb2..e69de29bb2 100644
--- a/orinoco/orinoco-modules-20040313/spectrum.conf
+++ b/orinoco/orinoco-modules-0.15rc1/spectrum.conf
diff --git a/orinoco/orinoco-modules_0.15rc1.oe b/orinoco/orinoco-modules_0.15rc1.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/orinoco/orinoco-modules_0.15rc1.oe
diff --git a/orinoco/orinoco-modules_20040313.oe b/orinoco/orinoco-modules_20040313.oe
deleted file mode 100644
index b7c3321ab8..0000000000
--- a/orinoco/orinoco-modules_20040313.oe
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "A driver for wireless LAN cards based on Hermes(Orinoco) cards. \
-Also contains support for cards using downloadable firmware, i.e. the Symbol/Socket family."
-SECTION = "base"
-PRIORITY = "optional"
-MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
-LICENSE = "GPL"
-
-export CVS_RSH = "ssh"
-SRC_URI = "cvs://anoncvs@savannah.nongnu.org/cvsroot/orinoco;module=orinoco;date=${PV};method=ext \
- file://${FILESDIR}/compile.patch;patch=1"
-S = "${WORKDIR}/orinoco"
-
-inherit module
-
-do_install() {
- install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
- install -d ${D}/etc/pcmcia
- install -m 0755 *.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/
- install -m 0644 ${FILESDIR}/spectrum.conf ${D}/etc/pcmcia/
- install -m 0644 hermes.conf ${D}/etc/pcmcia/
-}