From 2cc0294437af4605d80cf45bd720d120c31133a3 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 8 Apr 2015 15:05:28 +0200 Subject: init: do not eval /proc/cmdline It breaks xen boot options like xen-pciback.hide=(01:00.0) ref #3609 --- initramfs-init.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'initramfs-init.in') diff --git a/initramfs-init.in b/initramfs-init.in index 0e16a73..cd7d71e 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -381,9 +381,9 @@ find_boot_repositories() { fi } -# read the kernel options. We use eval set so we can handle things like -# acpi_osi="!Windows 2006" -eval set -- `cat /proc/cmdline` +# read the kernel options. we need surve things like: +# acpi_osi="!Windows 2006" xen-pciback.hide=(01:00.0) +set -- $(cat /proc/cmdline) myopts="alpine_dev autodetect autoraid chart cryptroot cryptdm debug_init dma init_args keep_apk_new modules ovl_dev pkgs quiet root_size root -- cgit v1.2.3