summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb')
-rw-r--r--org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb b/org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
new file mode 100644
index 0000000..0fa7d69
--- /dev/null
+++ b/org.handhelds.familiar/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Linksys NSLU2 Stock Firmware Ramdisk."
+PACKAGE_ARCH = "nslu2"
+SECTION = "base"
+PRIORITY = "required"
+PR = "r1"
+
+SRC_URI = "http://nslu.sf.net/downloads/nslu2-linksys-ramdisk-2.3r63.tar.bz2"
+
+do_install () {
+ ( cd ${S} ; tar cvf - . ) | ( cd ${D} ; tar xvf - )
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "/"
+
+python () {
+ # Don't build unless we're targeting an nslu2
+ if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+ raise bb.parse.SkipPackage("NSLU2 ramdisk only builds for the Linksys NSLU2")
+}