nfs) shift 2;;
flash) ;;
ram) ;;
- altboot)
- ;;
*) echo "turnup: boot_rootfs($type, $ffs, $device): unknown type" >&2
return 1;;
esac
echo "turnup: boot_rootfs: failed to write $ffs/linuxrc.new" >&2
return 1
};;
- altboot)
- ln -s "boot/altboot" "$ffs"/linuxrc.new || {
- echo "turnup: boot_rootfs: failed to create $ffs/linuxrc.new" >&2
- return 1
- };;
*) { echo '#!/bin/sh'
# echo 'modprobe ehci-hcd'
# echo 'modprobe ohci-hcd'
local ffs typ status
case "$1" in
- flash|ram|altboot)type="$1"
+ flash|ram)type="$1"
shift;;
*) echo "turnup: boot_reset($1): invalid type" >&2
return 1;;
nfs "$@";;
flash) boot_reset flash;;
ram) boot_reset ram;;
-altboot)
- boot_reset altboot;;
preserve)
shift
sysconf save "$@";;
ram
Boot (once) into a ramdisk, subsequent boots will be to
the flash file system.
- altboot
- Hand over boot control to the altboot utility.
preserve
Save the system configuration to the SysConf partition, you
will need to create the SysConf partition from the boot loader
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r81"
+PR = "r82"
SRC_URI = "file://boot/flash \
file://boot/disk \
install -m 0755 boot/$p ${D}/boot
done
- # Support for altboot
- ln -s /sbin/init.altboot ${D}/boot/altboot
-
# Configuration files
install -m 0644 conffiles ${D}${sysconfdir}/default