]> git.openpandora.org Git - openembedded.git/commitdiff
Rename updates after the recent nslu2 merge.
authorChris Larson <clarson@kergoth.com>
Thu, 9 Dec 2004 01:41:27 +0000 (01:41 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 9 Dec 2004 01:41:27 +0000 (01:41 +0000)
BKrev: 41b7ad47lCNmwOlCvE1A_nD66bIcBw

12 files changed:
busybox/slingbox_1.00.bb
busybox/switchbox_1.00.bb
linux/nslu2-linksys-kernel_2.4.22.bb
linux/openslug-kernel_2.6.9.bb
linux/unslung-standard-kernel_2.3r25.bb
meta/openslug-image.bb
meta/unslung-standard-image.bb
nslu2-binary-only/nslu2-linksys-firmware_2.3r25.bb
nslu2-binary-only/nslu2-linksys-libs_2.3r25.bb
nslu2-binary-only/nslu2-linksys-ramdisk_2.3r25.bb
nslu2-binary-only/nslu2-switchbox-firmware.bb
nslu2-binary-only/unslung-standard-rootfs_2.3r25.bb

index d9849b59d5793b8d32d5b830f118c0414ac5b965..155052eabdff332911f9fcd703204dc759764f59 100644 (file)
@@ -15,8 +15,8 @@ S = "${WORKDIR}/busybox-${PV}"
 
 python () {
        # Don't build slingbox unless we're targeting an nslu2
-       if oe.data.getVar("MACHINE", d, 1) != "nslu2":
-               raise oe.parse.SkipPackage("switchbox only builds for the Linksys NSLU2")
+       if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+               raise bb.parse.SkipPackage("switchbox only builds for the Linksys NSLU2")
 }
 
 export EXTRA_CFLAGS = "${CFLAGS}"
index b9e4fb0648f9ce6d701afec1339bbcf3d7e58b15..59b422a5fda3629884f45e13b134a71f66d9dbf1 100644 (file)
@@ -17,8 +17,8 @@ S = "${WORKDIR}/busybox-${PV}"
 
 python () {
        # Don't build switchbox unless we're targeting an nslu2
-       if oe.data.getVar("MACHINE", d, 1) != "nslu2":
-               raise oe.parse.SkipPackage("switchbox only builds for the Linksys NSLU2")
+       if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+               raise bb.parse.SkipPackage("switchbox only builds for the Linksys NSLU2")
 }
 
 LDFLAGS =+ "-static"
index f7c41a4a11dc248263af3a38105447450b596bae..0421d69c6e9828ecefe0810848f0823f1edc40cc 100644 (file)
@@ -18,8 +18,8 @@ S = "${WORKDIR}/linux-2.4.22"
 
 python () {
        # Don't build unless we're targeting an nslu2
-       if oe.data.getVar("MACHINE", d, 1) != "nslu2":
-               raise oe.parse.SkipPackage("NSLU2 kernel only builds for the Linksys NSLU2")
+       if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+               raise bb.parse.SkipPackage("NSLU2 kernel only builds for the Linksys NSLU2")
 }
 
 COMPATIBLE_HOST = 'arm.*-linux'
index 3e94b29e81ec726e7772902c7b6fabddc08fa918..0e48638e5bc1e326be8fd3dd0a5ea6c2adfb5c81 100644 (file)
@@ -51,8 +51,8 @@ addtask deploy before do_build after do_compile
 
 python () {
        # Don't build openslug kernel unless we're targeting an nslu2
-       mach = oe.data.getVar("MACHINE", d, 1)
-       dist = oe.data.getVar("DISTRO", d, 1)
+       mach = bb.data.getVar("MACHINE", d, 1)
+       dist = bb.data.getVar("DISTRO", d, 1)
        if mach != 'nslu2' or dist != 'openslug':
-               raise oe.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
+               raise bb.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
 }
index 53a23d5a81d98986358b8a31cf9ecc3d60468000..678582fb2d8e1edbb499d9828f93778c5ee9d1a0 100644 (file)
@@ -22,8 +22,8 @@ FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel-${PV}/${UNS
 
 python () {
        # Don't build unslung kernel unless we're targeting an nslu2
-       mach = oe.data.getVar("MACHINE", d, 1)
-       dist = oe.data.getVar("DISTRO", d, 1)
+       mach = bb.data.getVar("MACHINE", d, 1)
+       dist = bb.data.getVar("DISTRO", d, 1)
        if mach != 'nslu2' or dist != 'unslung':
-               raise oe.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
+               raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
 }
index 94f91963daa40caf1e73db6d20098212c51837ed..9f672ff9dd25e723cb4c646840a3b74688c425bb 100644 (file)
@@ -26,8 +26,8 @@ inherit image_ipk
 
 python () {
        # Don't build openslug images unless we're targeting an nslu2
-       mach = oe.data.getVar("MACHINE", d, 1)
-       dist = oe.data.getVar("DISTRO", d, 1)
+       mach = bb.data.getVar("MACHINE", d, 1)
+       dist = bb.data.getVar("DISTRO", d, 1)
        if mach != 'nslu2' or dist != 'openslug':
-               raise oe.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
+               raise bb.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
 }
index 9104c7ef382f82d8c1e28127ecaf3529588e7096..8edaa699794ebd24b3c70f05a8a08234c8c4c8a5 100644 (file)
@@ -33,8 +33,8 @@ unslung_clean_image () {
 
 python () {
        # Don't build unslung images unless we're targeting an nslu2
-       mach = oe.data.getVar("MACHINE", d, 1)
-       dist = oe.data.getVar("DISTRO", d, 1)
+       mach = bb.data.getVar("MACHINE", d, 1)
+       dist = bb.data.getVar("DISTRO", d, 1)
        if mach != 'nslu2' or dist != 'unslung':
-               raise oe.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
+               raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
 }
index 9630ecf2bf2c38655f69beeac2418bc2e20d7bf4..12b7b82fc1e05052fec1703741a295d3185fa31e 100644 (file)
@@ -9,8 +9,8 @@ S = "${WORKDIR}"
 
 python () {
        # Don't build unless we're targeting an nslu2
-       if oe.data.getVar("MACHINE", d, 1) != "nslu2":
-               raise oe.parse.SkipPackage("NSLU2 firmware only builds for the Linksys NSLU2")
+       if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+               raise bb.parse.SkipPackage("NSLU2 firmware only builds for the Linksys NSLU2")
 }
 
 do_compile () {
index 7b6b963b6b3b32d172e2c6c4034ff24ef0bd96b1..90f768d417da2a342f52c5a889dd3f7b95b3d292 100644 (file)
@@ -17,6 +17,6 @@ FILES_${PN} = "/lib"
 
 python () {
        # Don't build unless we're targeting an nslu2
-       if oe.data.getVar("MACHINE", d, 1) != "nslu2":
-               raise oe.parse.SkipPackage("NSLU2 stock firmware libraries only builds for the Linksys NSLU2")
+       if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+               raise bb.parse.SkipPackage("NSLU2 stock firmware libraries only builds for the Linksys NSLU2")
 }
index d7748912a66a9bb72b1a7d22eb8891ae584049a3..f20a2779a3825e057c277f4d9e2f7e232a401c93 100644 (file)
@@ -15,6 +15,6 @@ FILES_${PN} = "/"
 
 python () {
        # Don't build unless we're targeting an nslu2
-       if oe.data.getVar("MACHINE", d, 1) != "nslu2":
-               raise oe.parse.SkipPackage("NSLU2 ramdisk only builds for the Linksys NSLU2")
+       if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+               raise bb.parse.SkipPackage("NSLU2 ramdisk only builds for the Linksys NSLU2")
 }
index 0f86d88decee0c44c74867277447a87013d484c1..fb06aa5fdd5ad62d1eb112eecc3f3827875753d3 100644 (file)
@@ -9,9 +9,9 @@ S = "${WORKDIR}"
 
 python () {
        # Don't build switchbox firmware unless we're targeting an nslu2
-       mach = oe.data.getVar("MACHINE", d, 1)
+       mach = bb.data.getVar("MACHINE", d, 1)
        if mach != 'nslu2':
-               raise oe.parse.SkipPackage("Switchbox is only relevant for the Linksys NSLU2")
+               raise bb.parse.SkipPackage("Switchbox is only relevant for the Linksys NSLU2")
 }
 
 do_compile () {
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f3be5fba17ac57b3ec8e003712d31508c50a0163 100644 (file)
@@ -0,0 +1,76 @@
+SECTION = "base"
+
+PR = "r28"
+
+UNSLUNG_VERSION = "3.8-alpha"
+UNSLUNG_VARIANT ?= "standard"
+
+DEPENDS = "nslu2-linksys-libs"
+
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-rootfs-${PV}/${UNSLUNG_VARIANT}', '${FILE_DIRNAME}/unslung-rootfs-${PV}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
+
+SRC_URI = "http://nslu.sf.net/downloads/nslu2-linksys-ramdisk-2.3r25.tar.bz2 \
+          file://README \
+          file://linuxrc \
+          file://unsling \
+          file://resling \
+          file://rc.unslung \
+          file://rc-diversion.patch;patch=1 \
+          file://rc.1-diversion.patch;patch=1 \
+          file://rc.crond-diversion.patch;patch=1 \
+          file://rc.halt-diversion.patch;patch=1 \
+          file://rc.local-diversion.patch;patch=1 \
+          file://rc.modules-diversion.patch;patch=1 \
+          file://rc.network-diversion.patch;patch=1 \
+          file://rc.quickset-diversion.patch;patch=1 \
+          file://rc.quota-diversion.patch;patch=1 \
+          file://rc.reboot-diversion.patch;patch=1 \
+          file://rc.reset_usrgrpshare-diversion.patch;patch=1 \
+          file://rc.rstimezone-diversion.patch;patch=1 \
+          file://rc.samba-diversion.patch;patch=1 \
+          file://rc.sysinit-diversion.patch;patch=1 \
+          file://rc.thttpd-diversion.patch;patch=1 \
+          file://rc.xinetd-diversion.patch;patch=1 \
+          file://root-passwd.patch;patch=1 \
+          file://create-ramdisks.patch;patch=1 \
+          file://remount-noatime.patch;patch=1 \
+          file://initialise-mtab.patch;patch=1 \
+          "
+
+S = "${WORKDIR}/nslu2-linksys-ramdisk-2.3r25"
+
+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")
+}
+
+do_compile () {
+       echo "V2.3R25-uNSLUng-${UNSLUNG_VARIANT}-${UNSLUNG_VERSION}" > ${S}/.unslung
+
+       sed -i -e s/@version#/@version#-uNSLUng-${UNSLUNG_VARIANT}-${UNSLUNG_VERSION}/ ${S}/home/httpd/html/home.htm
+       sed -i -e 's|>&nbsp;<|><a href="Unslung" class="mainmenu" target="_top">Unslung Doco</a><|' \
+               ${S}/home/httpd/html/manhead.htm
+
+       install -m 755 ${WORKDIR}/linuxrc ${S}/linuxrc
+       install -m 755 ${WORKDIR}/unsling ${S}/sbin/unsling
+       install -m 755 ${WORKDIR}/resling ${S}/sbin/resling
+       install -m 755 ${WORKDIR}/rc.unslung ${S}/etc/rc.d/rc.unslung
+
+       install -d ${S}/opt/doc
+       install -m 755 ${WORKDIR}/README ${S}/opt/doc/README
+       ln -s /opt/doc ${S}/home/httpd/html/Unslung
+
+       # Remove the libraries, because they are in nslu2-linksys-libs now
+       rm -rf ${S}/lib
+}
+
+do_install () {
+       ( cd ${S} ; tar -c -v -f - --exclude '*\~*' --exclude '.patches' . ) | ( cd ${D} ; tar xvf - )
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "/"
+RDEPENDS_${PN} = "nslu2-linksys-libs"