diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/openprotium-init/files/boot/disk | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/openprotium-init/files/boot/disk')
-rw-r--r-- | packages/openprotium-init/files/boot/disk | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/packages/openprotium-init/files/boot/disk b/packages/openprotium-init/files/boot/disk deleted file mode 100644 index e1096e225a..0000000000 --- a/packages/openprotium-init/files/boot/disk +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# boot from the hard disk partition "$1" (which -# must be given) using options from the rest of -# the command line. -# -# Use the standard init path (see /etc/init.d/rcS) -export PATH=/sbin:/bin:/usr/sbin:/usr/bin -# -# Load the helper functions -. /etc/default/functions -. /etc/default/modulefunctions -# -# -if test -n "$1" -then - device="$1" - shift - # proc is needed for UUID mount and module load - mount -t proc proc /proc - # load USB & SCSI storage modules (/proc required!) - if [ "$(machine)" != "storcenter" ]; then - echo "boot: loading modules required for disk boot" - loaddiskmods - # waiting for disk (FIXME) - sleep=6 - test "$sleep" -gt 0 && sleep "$sleep" - else - scc -l redflash -f auto - fi - # - # fire the boot - echo "boot: rootfs: mount $* $device [$UUID]" - # - # Mount read-write because before exec'ing init - # If a UUID is given (in the environment) this - # is used in preference to the device, but if - # the UUID mount fails a standard device mount - # is attempted. - if test -n "$UUID" && - mount "$@" -U "$UUID" /mnt || - mount "$@" "$device" /mnt - then - # checkmount checks for sh, chroot, init - # and /mnt (i.e. /mnt/mnt in this case) - if checkmount /mnt - then - # if mounted, then move /dev to the new root - mount --bind /dev /mnt/dev - # pivot to /initrd if available, else /mnt - cd / - if test -d /mnt/initrd - then - swivel mnt initrd - else - swivel mnt mnt - fi - # swivel failed - fi - # Failure: unmount the partition - umount /mnt - fi -fi -# fallback - use the flash boot -exec /boot/flash |