diff options
author | maximilian attems <max@stro.at> | 2007-09-08 21:49:42 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2007-09-08 21:49:42 +0200 |
commit | 4b1ed160ed49e8ba7959a4e699fdb16dcb0accc0 (patch) | |
tree | fd7176367309274c238378628547d6fa4fd9a47e /hook-functions | |
parent | 156f5a6ee96ee8f507523c2b75604c4ed124e138 (diff) | |
download | initramfs-tools-4b1ed160ed49e8ba7959a4e699fdb16dcb0accc0.tar.gz initramfs-tools-4b1ed160ed49e8ba7959a4e699fdb16dcb0accc0.zip |
hook-functions: reorder dep_add_modules()
do fstype stuff on top.
Diffstat (limited to 'hook-functions')
-rw-r--r-- | hook-functions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hook-functions b/hook-functions index cb2c75d..07e5cda 100644 --- a/hook-functions +++ b/hook-functions @@ -221,6 +221,9 @@ dep_add_modules() exit 1 fi + # Add rootfs + force_load "${FSTYPE}" + # lvm luks root if [ "${root#/dev/mapper/}" != "${root}" ]; then minor=$((0x$(stat --format "%T" ${root}) % 256)) @@ -248,9 +251,6 @@ dep_add_modules() exit 1 fi - # Add rootfs - force_load "${FSTYPE}" - root_dev_path=$(readlink -f /sys/block/${block}/device) sys_walk_mod_add ${root_dev_path} |