diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-07-28 05:52:02 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-07-28 17:53:45 +0200 |
commit | 6a585950c5a014c35e449861b6b2040dca2d2516 (patch) | |
tree | cdf5aa65a7d55e54299baa6bca187ccf1dd43ad9 /install | |
parent | b8459a2ac067b05925d660fdf2b62855eae544da (diff) | |
download | mkinitcpio-6a585950c5a014c35e449861b6b2040dca2d2516.tar.gz mkinitcpio-6a585950c5a014c35e449861b6b2040dca2d2516.tar.xz |
implement --moduleroot option
This might be useful for creating an initramfs image as part of a kernel
package.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install')
-rw-r--r-- | install/autodetect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect index b2d3687..20648e4 100644 --- a/install/autodetect +++ b/install/autodetect @@ -10,7 +10,7 @@ build() { # treat this as an alias, since ext3 might be aliased to ext4. IFS=$'\n' read -rd '' -a resolved < \ - <(modprobe -S "$KERNELVERSION" -R "$1" 2>/dev/null) + <(modprobe -M "$MODULEROOT" -S "$KERNELVERSION" -R "$1" 2>/dev/null) if (( ${#resolved[*]} )); then printf '%s\n' "${resolved[@]}" >>"$MODULE_FILE" |