diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-16 01:26:46 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-16 01:26:46 +0000 |
commit | 8cd816fb5a418e831cca69f12db67f600e3d9119 (patch) | |
tree | da27a038f09bdeef35a431cda21751b4cd947998 /nslu2-binary-only | |
parent | f35fca62c5e6f5cc92e80641e31860d1b5b02e8c (diff) |
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into handhelds.org:/home/kergoth/code/packages
2004/11/15 17:37:03-05:00 giantshoulder.com!g2
Change ROOTFS_SIZE to the smallest value (mod 128) that works 3840
2004/11/16 07:33:28+10:30 (none)!rwhitby
Initial jffs2 support in unslung-image
2004/11/14 23:08:14+10:30 (none)!rwhitby
Unslung switchbox now works somewhat
2004/11/13 20:02:57-08:00 (none)!jacques
added linuxrc to URI and forced static build
2004/11/14 13:20:09+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/14 13:19:56+10:30 (none)!rwhitby
Stripped more features from switchbox
2004/11/13 18:33:34-08:00 (none)!jacques
added linuxrc and linuxrc install to switchbox (linuxrc is just a copy of the unslung-ramdisk one ATM)
2004/11/13 17:10:58-08:00 (none)!jacques
initial very minimal switchbox bb config
2004/11/14 11:32:22+10:30 (none)!rwhitby
Added switchbox - a minimal busybox for switching between root device options in /linuxrc on an NSLU2 device
2004/11/14 08:26:40+10:30 (none)!rwhitby
Removed JFFS from unslung-able kernel - JFFS2 does not require it.
2004/11/13 22:40:16+10:30 (none)!rwhitby
Added support for more flash partitions, and JFFS2 filesystems.
2004/11/12 00:28:05-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/11 22:31:58+10:30 (none)!rwhitby
Enabled CONFIG_MTD_REDBOOT_PARTS in unslung-able-kernel's defconfig
2004/11/11 00:42:41-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/11 00:38:58+10:30 (none)!rwhitby
Unslung: fixed slugbug#24 - If /.ext3flash exists, then /dev/sda1 is remounted with the noatime option between the running of quotacheck (which is what turns off the noatime option) and the running of quotaon.
2004/11/09 22:37:05+10:30 (none)!rwhitby
Added ext3flash functionality to startup scripts, keyed on the existence of a /.ext3flash file. Also updated the README.
2004/11/08 22:40:38+10:30 (none)!rwhitby
Enabled devfs in the Unslung-able kernel (but did not enable auto mounting)
2004/11/07 19:35:32-05:00 uottawa.ca!stephane
Reverted SCL I2C pin to default of 6 after pushing my local change by accident.
2004/11/07 19:14:08-05:00 uottawa.ca!stephane
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into gauss.mathstat.uottawa.ca:/local/nslu2/openslug/packages
2004/11/07 18:11:11-05:00 uottawa.ca!stephane
First stab at integrating kernel 2.6.9 into OE for NSLU2.
2004/11/07 09:16:24+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/07 09:15:34+10:30 (none)!rwhitby
Bumped package and Unslung version, in preparation for Unslung public beta
2004/11/06 12:48:04-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/06 23:24:13+10:30 (none)!rwhitby
Now copied README to unslung disk
2004/11/06 22:32:31+10:30 (none)!rwhitby
Unslung 2.11-beta release candidate
2004/11/06 22:05:40+10:30 (none)!rwhitby
Removed ext3flash, ext1vfat2, and vfatdisk2 variants. The ext3flash-on-disk1 functionality has been added to the stock firmware, and the vfatdisk2 variant never worked properly anyway.
2004/11/06 16:07:27+10:30 (none)!rwhitby
Added ext3flash-on-disk1.patch, and included it in all unslung kernels
2004/11/06 09:01:17+10:30 (none)!rwhitby
Made unsling remove /bin/wget on upgraded unslung disks
2004/11/06 08:35:03+10:30 (none)!rwhitby
Removed the ipkg info from the local feed (used in building the Unslung ramdisk) from the Unslung image.
2004/11/05 23:49:31+10:30 (none)!rwhitby
Added ext1vfat2 variant
2004/11/05 16:11:01+10:30 (none)!rwhitby
Made all unslung variants use the -standard variant as a base, instead of the pseudo -base variant.
2004/11/05 00:21:59+10:30 (none)!rwhitby
Fixed the nslu2-linux-kernel kernel-suffix
2004/11/05 00:07:21+10:30 (none)!rwhitby
Reverted linksys-kernel defconfig to original
2004/11/04 23:22:44+10:30 (none)!rwhitby
Fixed the typo in unslung-image.oe
2004/11/04 23:17:52+10:30 (none)!rwhitby
Renamed all unslung files to a more consistent naming scheme
2004/11/04 20:15:58+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/04 13:54:46+10:30 (none)!rwhitby
Split nslu2-unslung-libs out of nslu2-unslung-ramdisk (and it's variants) so that we don't confuse the shlibs code. Also stopped the patcher dross being copied into the ramdisks.
2004/11/04 11:33:44+10:30 (none)!rwhitby
Added RPROVIDES to Unslung ramdisk variants
2004/11/03 10:54:13-10:00 (none)!dereky
unslung.conf:
Added RAID kernel modules.
2004/11/04 01:37:37+10:30 (none)!rwhitby
Moved the unslung-specific patches from the linksys directory to the unslung directory
2004/11/04 01:20:23+10:30 (none)!rwhitby
Added UNSLUNG_{KERNEL,RAMDISK}_EXTRA_SRC_URI to unslung kernel and ramdisk
2004/11/04 00:16:05+10:30 (none)!rwhitby
Added the limit1gb variant, and took that functionality out of the standard variant
2004/11/04 00:11:54+10:30 (none)!rwhitby
Moved 1Gb limit stuff into a separate variant
2004/11/04 00:11:23+10:30 (none)!rwhitby
Moved 1Gb limit stuff into a separate variant
2004/11/04 00:10:57+10:30 (none)!rwhitby
Moved 1Gb limit stuff into a separate variant
2004/11/03 23:48:38+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/03 23:47:57+10:30 (none)!rwhitby
Reorganisation of Unslung kernel variants
2004/11/03 21:21:44+11:00 black.lan!peteru
Version up for libusb.
2004/11/03 16:58:02+11:00 black.lan!peteru
Change order of include so that SRC_URI is not clobbered when building varianted ramdisk images.
Move the mount of usbdevfs to a more suitable location.
2004/11/03 15:51:08+11:00 black.lan!peteru
Ensure that the image contains ramdisk files from Linksys.
2004/11/03 13:36:38+10:30 (none)!rwhitby
Added UNSLUNG_EXTRA_{DEPENDS,RDEPENDS,RRECOMMENDS}
2004/11/03 11:24:21+10:30 (none)!rwhitby
Missed unslung-image-vfatdisk2
2004/11/03 11:20:26+10:30 (none)!rwhitby
Fixed Unslung ramdisk FILESPATH
2004/11/03 10:57:38+11:00 black.lan!peteru
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into black.lan:/home/slug/bk/packages
2004/11/03 10:57:07+11:00 black.lan!peteru
Updated with missing changes.
2004/11/02 17:37:54-06:00 handhelds.org!kergoth
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into handhelds.org:/home/kergoth/code/packages-nslu2
2004/11/03 10:11:25+10:30 (none)!rwhitby
Fixed UNSLUNG-SUFFIX in the ramdisk variants
2004/11/02 17:37:35-06:00 handhelds.org!kergoth
Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notifications when doing syncs.
2004/11/03 10:36:21+11:00 black.lan!peteru
Added missing changes to support variants.
BKrev: 419957569UY_WhtfFG7t7k9gaKf8xQ
Diffstat (limited to 'nslu2-binary-only')
24 files changed, 0 insertions, 595 deletions
diff --git a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe b/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe deleted file mode 100644 index cf0b85de56..0000000000 --- a/nslu2-binary-only/nslu2-firmware-binary_2.3r25.oe +++ /dev/null @@ -1,17 +0,0 @@ -SECTION = "base" -DEPENDS = "slugtool-native unzip-native" -PACKAGES = "" -INHIBIT_DEFAULT_DEPS = "1" -PR = "r2" - -SRC_URI = "ftp://ftp.linksys.com/pub/network/nslu2-fw-2.3r25.zip" -S = "${WORKDIR}" - -do_compile () { - slugtool unpack NSLU2_V23R25.bin - install -d ${STAGING_LIBDIR}/nslu2-binaries - install -m 0755 Redboot ${STAGING_LIBDIR}/nslu2-binaries/ - install -m 0755 SysConf ${STAGING_LIBDIR}/nslu2-binaries/ - install -m 0755 ramdisk.gz ${STAGING_LIBDIR}/nslu2-binaries/ - install -m 0755 Trailer ${STAGING_LIBDIR}/nslu2-binaries/ -} diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/ipkg.conf b/nslu2-binary-only/nslu2-linksys-firmware_2.3r25.oe index e69de29bb2..e69de29bb2 100644 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/ipkg.conf +++ b/nslu2-binary-only/nslu2-linksys-firmware_2.3r25.oe diff --git a/nslu2-binary-only/nslu2-linksys-libs_2.3r25.oe b/nslu2-binary-only/nslu2-linksys-libs_2.3r25.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/nslu2-linksys-libs_2.3r25.oe diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-able_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-able_2.3r25.oe deleted file mode 100644 index 7491cb9eef..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-able_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "able" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/able', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-ext3flash_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-ext3flash_2.3r25.oe deleted file mode 100644 index 08bef7314f..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-ext3flash_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "ext3flash" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/ext3flash', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-standard_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-standard_2.3r25.oe deleted file mode 100644 index 4645caedae..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-standard_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "standard" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/standard', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk-vfatdisk2_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk-vfatdisk2_2.3r25.oe deleted file mode 100644 index ee31cf3626..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk-vfatdisk2_2.3r25.oe +++ /dev/null @@ -1,8 +0,0 @@ -UNSLUNG_VARIANT = "vfatdisk2" - -# Add overlays and patches to the standard ramdisk here -# SRC_URI += "file://ipkg.conf" - -include nslu2-unslung-ramdisk_2.3r25.oe - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/nslu2-unslung-ramdisk/vfatdisk2', '${FILE_DIRNAME}/nslu2-unslung-ramdisk', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/able/linuxrc b/nslu2-binary-only/nslu2-unslung-ramdisk/able/linuxrc deleted file mode 100644 index 4b364b2032..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/able/linuxrc +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -echo "Firmware Version: `cat /.unslung`" - -mounted= - -/bin/mount -t proc proc /proc -/bin/mount -t usbdevfs usbdevfs /proc/bus/usb -echo "0x0100" > /proc/sys/kernel/real-root-dev - -/bin/sleep 10 - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sda2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sda2 ..." - mounted=/mnt/tmpmnt - echo "0x0802" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sdb2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sdb2 ..." - mounted=/mnt/tmpmnt - echo "0x0812" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] ; then - echo "Root filesystem will be mounted from /dev/ram0 ..." -fi - -/bin/umount /proc - -exit 0 diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/flashfs b/nslu2-binary-only/nslu2-unslung-ramdisk/flashfs deleted file mode 100644 index c5d63c8e0e..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/flashfs +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su> -# Modified for Unslung by Rod Whitby -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -VERSION="$(cat /.unslung)" -FLASHFS=/share/flash/data/flashfs.tar.gz - -case "$1" in - status) - echo "$VERSION" - ;; - start) - if [ -f ${FLASHFS} ]; then - tar -C / -zxf ${FLASHFS} - fi - ;; - clear) - rm -f ${FLASHFS} - ;; - load) - tar -C / -zxvf ${FLASHFS} - ;; - list) - tar -C / -ztf ${FLASHFS} - ;; - save) - [ -f /unslung/.files ] && FILES=$(cat /unslung/.files) - rm -f /tmp/flash.tar.gz - tar -C / -zcvf /tmp/flash.tar.gz /unslung $FILES && - cp /tmp/flash.tar.gz ${FLASHFS} && - ls -l ${FLASHFS} && - echo "Saved." - ;; - *) - echo "Usage: $0 status|clear|load|list|save" - ;; -esac diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc b/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc deleted file mode 100644 index d80b748f08..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/linuxrc +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -echo "Firmware Version: `cat /.unslung`" - -mounted= - -/bin/mount -t proc proc /proc -echo "0x0100" > /proc/sys/kernel/real-root-dev - -/bin/sleep 10 - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sda2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sda2 ..." - mounted=/mnt/tmpmnt - echo "0x0802" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] && /bin/mount -rt ext3 /dev/sdb2 /mnt/tmpmnt ; then - - if [ -x /mnt/tmpmnt/bin/init ] && - [ -d /mnt/tmpmnt/unslung ] && [ -r /mnt/tmpmnt/.unslung ] && - [ "`cat /.unslung`" = "`cat /mnt/tmpmnt/.unslung`" ] ; then - echo "Root filesystem will be mounted from /dev/sdb2 ..." - mounted=/mnt/tmpmnt - echo "0x0812" > /proc/sys/kernel/real-root-dev - [ -r $mounted/unslung/rc.linuxrc ] && . $mounted/unslung/rc.linuxrc - fi - - /bin/umount /mnt/tmpmnt -fi - -if [ -z "$mounted" ] ; then - echo "Root filesystem will be mounted from /dev/ram0 ..." -fi - -/bin/umount /proc - -exit 0 diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung b/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung deleted file mode 100644 index 86bfdf0029..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/rc.unslung +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -if ( [ -f /unslung/rc.unslung ] && . /unslung/rc.unslung ) ; then return 0 ; fi - -# Start all init scripts in /opt/etc/init.d -# executing them in numerical order. -# -for i in /opt/etc/init.d/S??* ;do - - # Ignore dangling symlinks (if any). - [ ! -f "$i" ] && continue - - case "$i" in - *.sh) - # Source shell script for speed. - ( - trap - INT QUIT TSTP - set start - . $i - ) - ;; - *) - # No sh extension, so fork subprocess. - $i start - ;; - esac -done diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/unsling b/nslu2-binary-only/nslu2-unslung-ramdisk/unsling deleted file mode 100644 index f0345aba70..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/unsling +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh - -# Only do this if we have booted from the ramdisk. - -if [ "`cat /proc/sys/kernel/real-root-dev`" != 256 ] ; then - echo "Cannot unsling an active unslung root partition!" - exit 0 -fi - -# Set or seach for target disk - -if [ $# -gt 1 ] ; then - echo "Usage: $0 [flash|hdd]" - exit 1 -fi - -if [ $# -eq 1 ] ; then - if [ "$1" = "flash" -o "$1" = "hdd" ] ; then - targ=/share/$1/conf - else - echo "Usage: $0 [flash|hdd]" - exit 1 - fi -elif [ -d /share/hdd/conf/lost+found ] ; then - targ=/share/hdd/conf -elif [ -d /share/flash/conf/lost+found ] ; then - targ=/share/flash/conf -else - echo "Cannot locate target root partition" - exit 1 -fi - -echo "Target root partition is $targ" - -echo "Removing conflicts from old unslung root partition." -rm -f $targ/bin/ipkg - -# Unsling it! - -copyfiles=".unslung bin dev etc home lib linuxrc mnt sbin usr" - -echo "Copying ramdisk files to new unslung root partition." -cd / -tar cf - $copyfiles | ( cd $targ ; tar xf - ) - -# Create other required directories. - -echo "Creating required mount points and empty directories." - -rm -rf $targ/tmp && mkdir $targ/tmp - -[ ! -d $targ/share ] && mkdir $targ/share -[ ! -d $targ/share/flash ] && mkdir $targ/share/flash -[ ! -d $targ/share/flash/conf ] && mkdir $targ/share/flash/conf -[ ! -d $targ/share/flash/data ] && mkdir $targ/share/flash/data -[ ! -d $targ/share/hdd ] && mkdir $targ/share/hdd -[ ! -d $targ/share/hdd/conf ] && mkdir $targ/share/hdd/conf -[ ! -d $targ/share/hdd/data ] && mkdir $targ/share/hdd/data -[ ! -d $targ/mnt ] && mkdir $targ/mnt -[ ! -d $targ/mnt/backup ] && mkdir $targ/mnt/backup -[ ! -d $targ/mnt/repair ] && mkdir $targ/mnt/repair -[ ! -d $targ/mnt/tmpmnt ] && mkdir $targ/mnt/tmpmnt -[ ! -d $targ/proc ] && mkdir $targ/proc -[ ! -d $targ/upload ] && mkdir $targ/upload -[ ! -d $targ/var ] && mkdir $targ/var -[ ! -d $targ/var/empty ] && mkdir $targ/var/empty -[ ! -d $targ/var/lock ] && mkdir $targ/var/lock -[ ! -d $targ/var/log ] && mkdir $targ/var/log -[ ! -d $targ/var/run ] && mkdir $targ/var/run -[ ! -d $targ/var/tmp ] && mkdir $targ/var/tmp - -# Ensure /unslung is there. - -if [ ! -d $targ/unslung ] ; then - - echo "Creating new /unslung directory on unslung root partition." - - mkdir $targ/unslung - -else - echo "Preserving existing /unslung directory on unslung root partition." -fi - -# Ensure /root is there. - -if [ ! -d $targ/root ] ; then - - echo "Creating new /root directory on unslung root partition." - - mkdir $targ/root - -else - echo "Preserving existing /root directory on unslung root partition." -fi - -# Ensure /opt is there. - -if [ ! -d $targ/opt ] ; then - - echo "Creating new /opt directory on unslung root partition." - - mkdir $targ/opt - -else - echo "Preserving existing /opt directory on unslung root partition." -fi - -echo "Unslinging any default root passwords." - -[ -f $targ/passwd ] && sed -i -e 's/^root:WeeOvKUvbQ6nI:0:0:root:/root:t1PLUeOinN\/eI:0:0:root:/' $targ/passwd -[ -f $targ/usr/local/passwd ] && sed -i -e 's/^root:WeeOvKUvbQ6nI:0:0:root:/root:t1PLUeOinN\/eI:0:0:root:/' $targ/usr/local/passwd - -exit 0 diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch b/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch deleted file mode 100644 index 3eba560611..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk/unslung.patch +++ /dev/null @@ -1,224 +0,0 @@ -diff -BurN /dev/null/nslu/.unslung /mnt/nslu/.unslung ---- /dev/null/nslu/.unslung 1970-01-01 09:30:00.000000000 +0930 -+++ /mnt/nslu/.unslung 2004-08-30 21:46:35.000000000 +0930 -@@ -0,0 +1 @@ -+V2.3R25-uNSLUng-X.Y -\ No newline at end of file -diff -BurN /dev/null/nslu/etc/passwd /mnt/nslu/etc/passwd ---- /dev/null/nslu/etc/passwd 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/passwd 2004-08-30 09:02:51.000000000 -0400 -@@ -1,4 +1,4 @@ --root:WeeOvKUvbQ6nI:0:0:root:/root:/bin/sh -+root:t1PLUeOinN/eI:0:0:root:/root:/bin/sh - bin:x:1:1:bin:/bin: - lp:x:4:7:lp:/share/spool: - mail:x:8:12:mail:/var/spool/mail: -diff -BurN /dev/null/nslu/etc/profile /mnt/nslu/etc/profile ---- /dev/null/nslu/etc/profile 1969-12-31 19:00:00.000000000 -0500 -+++ /mnt/nslu/etc/profile 2004-08-30 09:02:51.000000000 -0400 -@@ -0,0 +1,2 @@ -+export PATH=$PATH:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin -+export LD_LIBRARY_PATH=/opt/lib -diff -BurN /dev/null/nslu/etc/rc /mnt/nslu/etc/rc ---- /dev/null/nslu/etc/rc 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc 2004-09-01 21:47:47.000000000 -0400 -@@ -1,4 +1,7 @@ - ## Simple beta script to verify csr -+ -+if ( [ -f /unslung/rc ] && . /unslung/rc ) ; then return 0 ; fi -+ - /usr/bin/Set_Led r_blinking & - mount -t proc proc /proc - mount -o remount,rw /dev/root / -diff -BurN /dev/null/nslu/etc/rc.d/rc.1 /mnt/nslu/etc/rc.d/rc.1 ---- /dev/null/nslu/etc/rc.d/rc.1 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.1 2004-09-01 21:56:17.000000000 -0400 -@@ -1,5 +1,7 @@ - #!/bin/sh - -+if ( [ -f /unslung/rc.1 ] && . /unslung/rc.1 ) ; then return 0 ; fi -+ - #/sbin/ifconfig ixp0 hw ether 00:C0:02:01:01:04 - /bin/echo "Starting Set CGI_ds.conf:"; /etc/rc.d/rc.bootbin; check_status - -@@ -17,6 +19,10 @@ - /bin/echo "Starting Crond :"; . /etc/rc.d/rc.crond - /bin/echo "Starting Rest Task :"; . /etc/rc.d/rc.local - -+if [ -f /.unslung ] ; then -+ /bin/echo "Starting UNSLUNG Packages:"; ( . /etc/rc.d/rc.unslung ) -+fi -+ - /usr/bin/Set_Led ready - /usr/bin/Set_Led beep1 - /bin/echo "Checking disk status :"; /usr/sbin/CheckDiskFull 2 >/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.crond /mnt/nslu/etc/rc.d/rc.crond ---- /dev/null/nslu/etc/rc.d/rc.crond 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.crond 2004-09-01 21:56:37.000000000 -0400 -@@ -1,5 +1,7 @@ - #!/bin/sh - -+if ( [ -r /unslung/rc.crond ] && . /unslung/rc.crond ) ; then return 0 ; fi -+ - if [ -n "`pidof crond`" ] ;then - /bin/killall crond 2>/dev/null - fi -diff -BurN /dev/null/nslu/etc/rc.d/rc.halt /mnt/nslu/etc/rc.d/rc.halt ---- /dev/null/nslu/etc/rc.d/rc.halt 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.halt 2004-09-01 21:57:01.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -r /unslung/rc.halt ] && . /unslung/rc.halt ) ; then return 0 ; fi -+ - /bin/killall -2 upnpd &>/dev/null - /bin/killall nmbd &>/dev/null - /bin/killall smbd &>/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.local /mnt/nslu/etc/rc.d/rc.local ---- /dev/null/nslu/etc/rc.d/rc.local 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.local 2004-09-01 21:57:17.000000000 -0400 -@@ -1,5 +1,9 @@ - #!/bin/sh -+ - HOSTNAME=`hostname` -+ -+if ( [ -r /unslung/rc.local ] && . /unslung/rc.local ) ; then return 0 ; fi -+ - /usr/sbin/CheckResetButton 2>/dev/null - /usr/sbin/CheckPowerButton 2>/dev/null - /usr/sbin/do_umount 2>/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.modules /mnt/nslu/etc/rc.d/rc.modules ---- /dev/null/nslu/etc/rc.d/rc.modules 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.modules 2004-09-01 21:57:34.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.modules ] && . /unslung/rc.modules ) ; then return 0 ; fi -+ - insmod pbuttons &>/dev/null - insmod rbuttons &>/dev/null - insmod x1226-rtc &>/dev/null -diff -BurN /dev/null/nslu/etc/rc.d/rc.network /mnt/nslu/etc/rc.d/rc.network ---- /dev/null/nslu/etc/rc.d/rc.network 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.network 2004-09-01 21:57:46.000000000 -0400 -@@ -1,3 +1,6 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.network ] && . /unslung/rc.network ) ; then return 0 ; fi -+ - /sbin/ifup; #check_status - /bin/echo "call rc.network!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" -diff -BurN /dev/null/nslu/etc/rc.d/rc.quickset /mnt/nslu/etc/rc.d/rc.quickset ---- /dev/null/nslu/etc/rc.d/rc.quickset 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.quickset 2004-09-01 21:57:57.000000000 -0400 -@@ -1,3 +1,6 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.quickset ] && . /unslung/rc.quickset ) ; then return 0 ; fi -+ - /usr/sbin/QuickSet; check_status - /usr/sbin/USB_Detect; check_status -diff -BurN /dev/null/nslu/etc/rc.d/rc.quota /mnt/nslu/etc/rc.d/rc.quota ---- /dev/null/nslu/etc/rc.d/rc.quota 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.quota 2004-09-01 21:58:08.000000000 -0400 -@@ -1,5 +1,7 @@ - #!/bin/sh - -+if ( [ -f /unslung/rc.quota ] && . /unslung/rc.quota ) ; then return 0 ; fi -+ - # Check and turn on disk quota. - if [ -x "/usr/bin/quotacheck" ] - then -diff -BurN /dev/null/nslu/etc/rc.d/rc.reboot /mnt/nslu/etc/rc.d/rc.reboot ---- /dev/null/nslu/etc/rc.d/rc.reboot 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.reboot 2004-09-01 21:58:19.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -r /unslung/rc.reboot ] && . /unslung/rc.reboot ) ; then return 0 ; fi -+ - /bin/killall -2 upnpd 2>/dev/null - sleep 4 - /sbin/ifdown ixp0 -diff -BurN /dev/null/nslu/etc/rc.d/rc.reset_usrgrpshare /mnt/nslu/etc/rc.d/rc.reset_usrgrpshare ---- /dev/null/nslu/etc/rc.d/rc.reset_usrgrpshare 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.reset_usrgrpshare 2004-09-01 21:58:36.000000000 -0400 -@@ -1,2 +1,5 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.reset_usrgrpshare ] && . /unslung/rc.reset_usrgrpshare ) ; then return 0 ; fi -+ - /usr/sbin/reset_ugs; -diff -BurN /dev/null/nslu/etc/rc.d/rc.rstimezone /mnt/nslu/etc/rc.d/rc.rstimezone ---- /dev/null/nslu/etc/rc.d/rc.rstimezone 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.rstimezone 2004-09-01 21:58:47.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.rstimezone ] && . /unslung/rc.rstimezone ) ; then return 0 ; fi -+ - #TIME=`/usr/sbin/hwclock` - /usr/sbin/Set_TimeZone >/dev/null - #/bin/date -s "$TIME" -diff -BurN /dev/null/nslu/etc/rc.d/rc.samba /mnt/nslu/etc/rc.d/rc.samba ---- /dev/null/nslu/etc/rc.d/rc.samba 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.samba 2004-09-01 21:58:57.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.samba ] && . /unslung/rc.samba ) ; then return 0 ; fi -+ - if [ -n "`pidof smbd`" ] ; then - killall smbd 2>/dev/null - fi -diff -BurN /dev/null/nslu/etc/rc.d/rc.sysinit /mnt/nslu/etc/rc.d/rc.sysinit ---- /dev/null/nslu/etc/rc.d/rc.sysinit 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.sysinit 2004-09-01 21:59:04.000000000 -0400 -@@ -1,7 +1,16 @@ - #!/bin/sh -+ - export PATH=/bin:/sbin:/usr/bin:/usr/sbin -+ -+if [ -f /.unslung ] ; then -+ export PATH=${PATH}:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin -+fi -+ - . /etc/rc.d/rc.functions - . /etc/sysconfig/network -+ -+if ( [ -f /unslung/rc.sysinit ] && . /unslung/rc.sysinit ) ; then return 0 ; fi -+ - mkdir -p /var/lock/samba >/dev/null - /bin/echo "Creating ramfs for /var/lock/samba:"; mount -t ramfs none /var/lock/samba -o maxsize=64 - /bin/echo "Limit the space of log folder:"; mount -t ramfs none /var/log -o maxsize=128 -diff -BurN /dev/null/nslu/etc/rc.d/rc.thttpd /mnt/nslu/etc/rc.d/rc.thttpd ---- /dev/null/nslu/etc/rc.d/rc.thttpd 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.thttpd 2004-09-01 21:59:13.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.thttpd ] && . /unslung/rc.thttpd ) ; then return 0 ; fi -+ - if [ -n "`pidof thttpd`" ] ;then - /bin/killall thttpd 2>/dev/null - fi -diff -BurN /dev/null/nslu/etc/rc.d/rc.xinetd /mnt/nslu/etc/rc.d/rc.xinetd ---- /dev/null/nslu/etc/rc.d/rc.xinetd 2004-07-27 23:37:55.000000000 -0400 -+++ /mnt/nslu/etc/rc.d/rc.xinetd 2004-09-01 21:59:34.000000000 -0400 -@@ -1,4 +1,7 @@ - #!/bin/sh -+ -+if ( [ -f /unslung/rc.xinetd ] && . /unslung/rc.xinetd ) ; then return 0 ; fi -+ - if [ -n "`pidof inetd`" ] ;then - killall inetd 2>/dev/null - # killall -9 inetd &>/dev/null -diff -BurN /dev/null/nslu/usr/local/passwd /mnt/nslu/usr/local/passwd ---- /dev/null/nslu/usr/local/passwd 2004-07-27 23:37:56.000000000 -0400 -+++ /mnt/nslu/usr/local/passwd 2004-08-30 09:02:51.000000000 -0400 -@@ -1,4 +1,4 @@ --root:WeeOvKUvbQ6nI:0:0:root:/root:/bin/sh -+root:t1PLUeOinN/eI:0:0:root:/root:/bin/sh - bin:x:1:1:bin:/bin: - lp:x:4:7:lp:/share/spool: - mail:x:8:12:mail:/var/spool/mail: diff --git a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe b/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe deleted file mode 100644 index b45ff2d34a..0000000000 --- a/nslu2-binary-only/nslu2-unslung-ramdisk_2.3r25.oe +++ /dev/null @@ -1,36 +0,0 @@ -SECTION = "base" - -PR = "r9" - -UNSLUNG_VERSION = 2.7-alpha -UNSLUNG_SUFFIX = - -SRC_URI = "http://www.nslu2-linux.org/nslu2-linksys-ramdisk-2.3r25.tar.bz2 \ - file://linuxrc \ - file://flashfs \ - file://rc.unslung \ - file://unsling \ - file://unslung.patch \ - file://ipkg.conf" -S = "${WORKDIR}/nslu2-linksys-ramdisk-2.3r25" - -do_compile () { - sed -e s/X.Y/${UNSLUNG_VERSION}${UNSLUNG_SUFFIX}/ ${WORKDIR}/unslung.patch | patch -d ${S} -p3 - sed -i -e s/@version#/@version#-uNSLUng-${UNSLUNG_VERSION}${UNSLUNG_SUFFIX}/ ${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 - ln -s /opt/doc ${S}/home/httpd/html/Unslung -} - -do_install () { - ( cd ${S} ; tar cvf - . ) | ( cd ${D} ; tar xvf - ) -} - -PACKAGES = "${PN}" -FILES_${PN} = "/" diff --git a/nslu2-binary-only/unslung-able-ramdisk_2.3r25.oe b/nslu2-binary-only/unslung-able-ramdisk_2.3r25.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-able-ramdisk_2.3r25.oe diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/README b/nslu2-binary-only/unslung-ramdisk-2.3r25/README new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/README diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/able/mount_usbdevfs.patch b/nslu2-binary-only/unslung-ramdisk-2.3r25/able/mount_usbdevfs.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/able/mount_usbdevfs.patch diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/flashfs b/nslu2-binary-only/unslung-ramdisk-2.3r25/flashfs new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/flashfs diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/ipkg.conf b/nslu2-binary-only/unslung-ramdisk-2.3r25/ipkg.conf new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/ipkg.conf diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/linuxrc b/nslu2-binary-only/unslung-ramdisk-2.3r25/linuxrc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/linuxrc diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/rc.unslung b/nslu2-binary-only/unslung-ramdisk-2.3r25/rc.unslung new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/rc.unslung diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/unsling b/nslu2-binary-only/unslung-ramdisk-2.3r25/unsling new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/unsling diff --git a/nslu2-binary-only/unslung-ramdisk-2.3r25/unslung.patch b/nslu2-binary-only/unslung-ramdisk-2.3r25/unslung.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-ramdisk-2.3r25/unslung.patch diff --git a/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe b/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/nslu2-binary-only/unslung-standard-ramdisk_2.3r25.oe |