omit dash module
dash is be default omited in f17, but we use -o in command line so our omit modules list will overwrite the system configs, so dash will be installed to initramfs. Here avoid install dash by adding it to the '-o' list Also remove dash dependency from rpm spec Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
57f8e18d17
commit
b14b692242
@ -37,7 +37,6 @@ Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
Requires(pre): coreutils sed zlib
|
||||
Requires: busybox >= 1.2.0, dracut, dracut-network
|
||||
BuildRequires: dash
|
||||
BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-devel
|
||||
BuildRequires: pkgconfig intltool gettext
|
||||
BuildRequires: systemd-units
|
||||
|
2
mkdumprd
2
mkdumprd
@ -13,7 +13,7 @@ SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
|
||||
SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
|
||||
[ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
|
||||
extra_modules=""
|
||||
dracut_args=("--hostonly" "--add" "kdumpbase" "--add" "fstab-sys" "--add" "kernel-modules" "-c" "/dev/null" "-I" "/sbin/makedumpfile" "-o" "plymouth")
|
||||
dracut_args=("--hostonly" "--add" "kdumpbase" "--add" "fstab-sys" "--add" "kernel-modules" "-c" "/dev/null" "-I" "/sbin/makedumpfile" "-o" "plymouth dash")
|
||||
|
||||
add_dracut_arg() {
|
||||
while [ $# -gt 0 ];
|
||||
|
Loading…
Reference in New Issue
Block a user