diff options
author | Jeff Bailey <jbailey@ubuntu.com> | 2005-08-25 16:21:19 -0400 |
---|---|---|
committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-08-25 16:21:19 -0400 |
commit | f0a04306ac01b22e80cbd1d2a7578a1a3efa6e5f (patch) | |
tree | 1269fee28eaabc5b356e624fd08cac3660235d2d /scripts/functions | |
parent | 9a9de97229d09d9876575775a080a4056fcffcb5 (diff) | |
download | initramfs-tools-f0a04306ac01b22e80cbd1d2a7578a1a3efa6e5f.tar.gz initramfs-tools-f0a04306ac01b22e80cbd1d2a7578a1a3efa6e5f.zip |
initramfs-tools (0.23) breezy; urgency=low
"This suspense is terrible. I hope it will last."
- Oscar Wilde
* scripts/local: Quote ${ROOT} so that an empty value causes us
to drop to a shell.
Thanks to Matt Zimmerman for this fix!
- hook-functions (auto_add_modules): Add atiixp and opti621 to
the IDE set.
- hook-functions (dep_add_modules): Detect i2o and add i2o_block
(auto_add_modules): Include i2o_block.
- scripts/functions (i2o_boot_events): New function
(load_modules): Call it. (Ubuntu# 13806)
Thanks to Tollef Fog Heen for the i2o patch!
- debian/control: Depend on udev.
Thanks to Alexander Butenko for troubleshooting this with me.
- init: Move the /dev directory to the root filesystem.
Handle all the udev bind mounts as needed.
Make sure input and output is associated with dev/console.
- scripts/functions (parse_numeric): Exit if we're refering to a path.
Otherwise override root setting to be /dev/root.
- init: Call parse_numeric when setting the root variable.
- scripts/local-top/lvm: When using a numeric root, call vgchange -ay
Don't attempt to start LVM on regular partitions.
(Ubuntu #13365, #13778, and some of #13399)
- scripts/local-top/lvm: Cope with -'s in the Volume Group and
logical volume names. (Ubuntu #13387)
Thanks to Stephen Shirley for the patch!
-- Jeff Bailey <jbailey@ubuntu.com> Thu, 25 Aug 2005 11:48:15 -0400
initramfs-tools (0.22) breezy; urgency=low
* Fix argument handling in force_load hook-function
* Add "sleep 3" to scripts/nfs as a nasty hack around bug #12942
-- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 Aug 2005 23:50:16 -0700
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions index 10918f8..956b1c3 100644 --- a/scripts/functions +++ b/scripts/functions @@ -181,6 +181,15 @@ scsi_boot_events() } +i2o_boot_events() +{ + [ -e /sys/bus/i2o/devices/ ] || return + + for device in /sys/bus/i2o/devices/*; do + [ -e ${device}/block ] && modprobe i2o_block + done +} + load_modules() { depmod -a @@ -217,10 +226,15 @@ load_modules() ide_boot_events scsi_boot_events + + i2o_boot_events } parse_numeric() { case $1 in + /*) + return + ;; *:*) minor=${1#*:} major=${1%:*} @@ -232,5 +246,6 @@ parse_numeric() { esac mknod /dev/root b ${major} ${minor} + ROOT=/dev/root } |