summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/unslung-image-able.oe (renamed from meta/unslung-ext3flash-image.oe)0
-rw-r--r--meta/unslung-image-base.oe29
-rw-r--r--meta/unslung-image-ext3flash.oe (renamed from meta/unslung-standard-image.oe)0
-rw-r--r--meta/unslung-image-standard.oe (renamed from meta/unslung-vfatdisk2-image.oe)0
-rw-r--r--meta/unslung-image-vfatdisk2-image.oe0
-rw-r--r--meta/unslung-image-vfatdisk2.oe0
-rw-r--r--meta/unslung-image.oe2
7 files changed, 30 insertions, 1 deletions
diff --git a/meta/unslung-ext3flash-image.oe b/meta/unslung-image-able.oe
index e69de29bb2..e69de29bb2 100644
--- a/meta/unslung-ext3flash-image.oe
+++ b/meta/unslung-image-able.oe
diff --git a/meta/unslung-image-base.oe b/meta/unslung-image-base.oe
index e69de29bb2..061b77c9bc 100644
--- a/meta/unslung-image-base.oe
+++ b/meta/unslung-image-base.oe
@@ -0,0 +1,29 @@
+IMAGE_LINGUAS = ""
+USE_DEVFS = "1"
+
+UNSLUNG_BASE_PACKAGES = "nslu2-unslung-ramdisk slingbox ipkg wget"
+
+IPKG_INSTALL = "${UNSLUNG_BASE_PACKAGES}"
+
+DEPENDS ?= "virtual/kernel ${UNSLUNG_BASE_PACKAGES}"
+IMAGE_BASENAME ?= "unslung"
+
+UNSLUNG_DEVICE_TABLE = "${@oe.which(oe.data.getVar('OEPATH', d, 1), 'files/device_table-unslung.txt')}"
+EXTRA_IMAGECMD_ext2.gz = "-f ${UNSLUNG_DEVICE_TABLE}"
+
+IMAGE_PREPROCESS_COMMAND += "unslung_clean_image; "
+
+inherit image_ipk
+
+# Note that anything in this function must be repeatable without having to rebuild the rootfs
+unslung_clean_image () {
+
+ # Remove all traces of the ipkg stuff we did to get this rootfs
+ rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg
+ if [ -f ${IMAGE_ROOTFS}/usr/bin/ipkg-cl ]; then
+ rm -f ${IMAGE_ROOTFS}/usr/bin/ipkg
+ mv ${IMAGE_ROOTFS}/usr/bin/ipkg-cl ${IMAGE_ROOTFS}/usr/bin/ipkg
+ fi
+ rm -f ${IMAGE_ROOTFS}/usr/bin/update-alternatives
+
+}
diff --git a/meta/unslung-standard-image.oe b/meta/unslung-image-ext3flash.oe
index e69de29bb2..e69de29bb2 100644
--- a/meta/unslung-standard-image.oe
+++ b/meta/unslung-image-ext3flash.oe
diff --git a/meta/unslung-vfatdisk2-image.oe b/meta/unslung-image-standard.oe
index e69de29bb2..e69de29bb2 100644
--- a/meta/unslung-vfatdisk2-image.oe
+++ b/meta/unslung-image-standard.oe
diff --git a/meta/unslung-image-vfatdisk2-image.oe b/meta/unslung-image-vfatdisk2-image.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/meta/unslung-image-vfatdisk2-image.oe
diff --git a/meta/unslung-image-vfatdisk2.oe b/meta/unslung-image-vfatdisk2.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/meta/unslung-image-vfatdisk2.oe
diff --git a/meta/unslung-image.oe b/meta/unslung-image.oe
index dc51ef35e6..f17a295c5f 100644
--- a/meta/unslung-image.oe
+++ b/meta/unslung-image.oe
@@ -1 +1 @@
-DEPENDS = "unslung-standard-image unslung-ext3flash-image unslung-vfatdisk2-image"
+DEPENDS = "unslung-standard-image unslung-ext3flash-image unslung-vfatdisk2-image unslung-able-image"