summaryrefslogtreecommitdiff
path: root/meta/unslung-standard-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/unslung-standard-image.bb')
-rw-r--r--meta/unslung-standard-image.bb40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/unslung-standard-image.bb b/meta/unslung-standard-image.bb
deleted file mode 100644
index 8edaa69979..0000000000
--- a/meta/unslung-standard-image.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-PR = "r1"
-
-IMAGE_LINGUAS = ""
-USE_DEVFS = "1"
-
-UNSLUNG_BASE_DEPENDS = "slingbox ipkg wget"
-UNSLUNG_BASE_PACKAGES = "slingbox ipkg wget"
-
-IMAGE_VARIANT ?= "standard"
-
-export IMAGE_BASENAME = "unslung-${IMAGE_VARIANT}"
-
-IPKG_INSTALL = "unslung-${IMAGE_VARIANT}-rootfs \
- ${UNSLUNG_BASE_PACKAGES} ${UNSLUNG_EXTRA_PACKAGES}"
-
-DEPENDS = "unslung-${IMAGE_VARIANT}-kernel unslung-${IMAGE_VARIANT}-rootfs \
- ${UNSLUNG_BASE_DEPENDS} ${UNSLUNG_EXTRA_DEPENDS}"
-
-RDEPENDS = "${UNSLUNG_BASE_PACKAGES} ${UNSLUNG_EXTRA_RDEPENDS}"
-
-RRECOMMENDS = "${UNSLUNG_EXTRA_RRECOMMENDS}"
-
-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 info from the local feed used to build the image
- rm -f ${IMAGE_ROOTFS}/usr/lib/ipkg/lists/*
- rm -f ${IMAGE_ROOTFS}/${sysconfdir}/version
-}
-
-python () {
- # Don't build unslung images unless we're targeting an nslu2
- mach = bb.data.getVar("MACHINE", d, 1)
- dist = bb.data.getVar("DISTRO", d, 1)
- if mach != 'nslu2' or dist != 'unslung':
- raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
-}