summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb')
-rw-r--r--packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb b/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
new file mode 100644
index 0000000000..af5a2dabbd
--- /dev/null
+++ b/packages/nslu2-binary-only/nslu2-linksys-ramdisk_2.3r63.bb
@@ -0,0 +1,22 @@
+DEFAULT_PREFERENCE_unslung = "-1"
+
+DESCRIPTION = "Linksys NSLU2 Stock Firmware Ramdisk."
+PACKAGE_ARCH = "nslu2"
+SECTION = "base"
+PRIORITY = "required"
+PR = "r0"
+
+SRC_URI = "http://www.you-need-to-create-this-yourself.com/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")
+}