home: hub: mkinitfs

Download patch

ref: 2cc0294437af4605d80cf45bd720d120c31133a3
parent: ea70373de6cf50099d7c5676a57ca14c789dbf69
author: Natanael Copa <ncopa@alpinelinux.org>
date: Wed Apr 8 10:05:28 CDT 2015

init: do not eval /proc/cmdline

It breaks xen boot options like xen-pciback.hide=(01:00.0)

ref #3609

--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -381,9 +381,9 @@
 	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