diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-11-17 07:53:50 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-11-17 07:53:50 +0000 |
commit | 655aa8c859a04f87a9a07a52a2b700c644082aa5 (patch) | |
tree | 81618d5a9beab43d297bea8c505e8322e4bdb0aa /nslu2-binary-only | |
parent | 259cbc30feb02f7e320db981a88354919daa0537 (diff) |
Merge bk://openembedded.bkbits.net/packages-devel
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/17 07:16:00+10:30 (none)!rwhitby
Unslung now generates jffs2 images too
2004/11/16 22:13:02+10:30 (none)!rwhitby
Switchbox now drops to shell if a valid rootfs cannot be mounted
2004/11/16 21:51:03+10:30 (none)!rwhitby
Changed switchbox back to ext2.gz
2004/11/16 20:07:19+10:30 (none)!rwhitby
Merge
2004/11/16 20:05:22+10:30 (none)!rwhitby
Created switchbox distro
2004/11/16 00:14:27-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages-devel
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/16 00:12:50-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/15 22:52:37-08:00 (none)!jacques
added nslu2-linksys-libs to UNSLUNG_BASE_PACKAGES
removed makedevs
2004/11/15 19:28:14-08:00 (none)!jacques
Removed unslung specific references from the switchbox linuxrc jffs2 stanza
changed /bin/echo "0x1f04" to /bin/echo "0x0100" in ramfs stanza
2004/11/15 19:18:28-08:00 (none)!jacques
removed init from switchbox and added loop block dev builtin to -able kernel
BKrev: 419b038ez0VSSujPdTan9b9QhMaDrw
Diffstat (limited to 'nslu2-binary-only')
-rw-r--r-- | nslu2-binary-only/nslu2-switchbox-firmware.oe | 0 | ||||
-rw-r--r-- | nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe | 54 |
2 files changed, 54 insertions, 0 deletions
diff --git a/nslu2-binary-only/nslu2-switchbox-firmware.oe b/nslu2-binary-only/nslu2-switchbox-firmware.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/nslu2-switchbox-firmware.oe diff --git a/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe b/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe index e69de29bb2..f66e80388d 100644 --- a/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe +++ b/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe @@ -0,0 +1,54 @@ +SECTION = "base" + +PR = "r19" + +UNSLUNG_VERSION = "3.1-alpha" +UNSLUNG_VARIANT ?= "standard" + +DEPENDS = "nslu2-linksys-libs" + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-ramdisk-${PV}/${UNSLUNG_VARIANT}', '${FILE_DIRNAME}/unslung-ramdisk-${PV}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + +UNSLUNG_RAMDISK_EXTRA_SRC_URI ?= + +SRC_URI = "http://www.nslu2-linux.org/nslu2-linksys-ramdisk-2.3r25.tar.bz2 \ + file://README \ + file://linuxrc \ + file://flashfs \ + file://rc.unslung \ + file://unsling \ + file://unslung.patch \ + file://ipkg.conf \ + ${UNSLUNG_RAMDISK_EXTRA_SRC_URI}" + +S = "${WORKDIR}/nslu2-linksys-ramdisk-2.3r25" + +do_compile () { + sed -e s/X.Y/${UNSLUNG_VARIANT}-${UNSLUNG_VERSION}/ ${WORKDIR}/unslung.patch | patch -d ${S} -p3 + + sed -i -e s/@version#/@version#-uNSLUng-${UNSLUNG_VARIANT}-${UNSLUNG_VERSION}/ ${S}/home/httpd/html/home.htm + sed -i -e 's|> <|><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}/flashfs ${S}/sbin/flashfs + install -m 755 ${WORKDIR}/unsling ${S}/sbin/unsling + install -m 755 ${WORKDIR}/rc.unslung ${S}/etc/rc.d/rc.unslung + + install -m 755 ${WORKDIR}/ipkg.conf ${S}/etc/ipkg.conf + + 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" |