summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-08-25 16:21:19 -0400
committerJeff Bailey <jbailey@ubuntu.com>2005-08-25 16:21:19 -0400
commitf0a04306ac01b22e80cbd1d2a7578a1a3efa6e5f (patch)
tree1269fee28eaabc5b356e624fd08cac3660235d2d /hook-functions
parent9a9de97229d09d9876575775a080a4056fcffcb5 (diff)
downloadinitramfs-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 'hook-functions')
-rw-r--r--hook-functions13
1 files changed, 11 insertions, 2 deletions
diff --git a/hook-functions b/hook-functions
index 8642af9..8ff5267 100644
--- a/hook-functions
+++ b/hook-functions
@@ -6,7 +6,7 @@ catenate_cpiogz() {
force_load()
{
- manual_add_modules ${module}
+ manual_add_modules ${@}
echo ${@} >>${DESTDIR}/conf/modules
}
@@ -106,6 +106,10 @@ dep_add_modules()
if [ -e /sys/bus/scsi/devices/ ]; then
manual_add_modules sd_mod
fi
+
+ if [ -e /sys/bus/i2o/devices/ ]; then
+ manual_add_modules i2o_block
+ fi
}
@@ -123,7 +127,7 @@ auto_add_modules()
done
# ide
- for x in ide-cd ide-disk ide-generic aec62xx alim15x3 amd74xx atuuxo cmd64x cs5520 cs5530 cy82c693 generic hpt34x hpt366 ns87415 pdc202xx_new pdc202xx_old piix rz1000 sc1200 serverworks siimage sis5513 slc82c105 slc90e66 triflex trm290 via82cxxx; do
+ for x in ide-cd ide-disk ide-generic aec62xx alim15x3 amd74xx atiixp atuuxo cmd64x cs5520 cs5530 cy82c693 generic hpt34x hpt366 ns87415 opti621 pdc202xx_new pdc202xx_old piix rz1000 sc1200 serverworks siimage sis5513 slc82c105 slc90e66 triflex trm290 via82cxxx; do
manual_add_modules ${x}
done
@@ -132,6 +136,11 @@ auto_add_modules()
manual_add_modules ${x}
done
+ # i2o
+ for x in i2o_block; do
+ manual_add_modules ${x}
+ done
+
}
usage()