From: Harald Hoyer Date: Fri, 24 Jan 2014 14:26:43 +0000 (+0100) Subject: dracut.sh: create early cpio dir for acpi tables X-Git-Tag: 035~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd08059f497adfc75f6f96ce5b8ce55892e5b0f1;p=thirdparty%2Fdracut.git dracut.sh: create early cpio dir for acpi tables --- diff --git a/dracut.sh b/dracut.sh index 6d0e84ec8..2142e2df1 100755 --- a/dracut.sh +++ b/dracut.sh @@ -798,7 +798,7 @@ readonly initdir="$(mktemp --tmpdir="$TMPDIR/" -d -t initramfs.XXXXXX)" exit 1 } -if [[ $early_microcode = yes ]]; then +if [[ $early_microcode = yes ]] || ( [[ $acpi_override = yes ]] && [[ -d $acpi_table_dir ]] ); then readonly early_cpio_dir="$(mktemp --tmpdir="$TMPDIR/" -d -t early_cpio.XXXXXX)" [ -d "$early_cpio_dir" ] || { printf "%s\n" "dracut: mktemp --tmpdir='$TMPDIR/' -d -t early_cpio.XXXXXX failed." >&2