]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
update to work with jessie develop
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 19 Mar 2015 21:11:08 +0000 (17:11 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 19 Mar 2015 21:11:08 +0000 (17:11 -0400)
around 3.15, the linux kernel stopped parsing arguments passed to it
after a -- argument:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=51e158c12aca3c9ac63988611a97c05109b14dc9

This breaks the usual debian-installer approach of putting kernel
arguments that you want to persist in the install after the --
argument.

We work around this by just putting the arguments we want to persist
both before and after the --.  yuck.

di-maker

index e5247dd112a0e6b4481aee3d22e136ca74182003..e24df356ca65ef962a2386d24b7928f5897d7cf3 100755 (executable)
--- a/di-maker
+++ b/di-maker
@@ -48,7 +48,7 @@ esac
 KERNEL=linux
 INITRAMFS=initrd.gz
 BOOTINSTRUCTIONS="
-  linux /$KERNEL verbose -- console=ttyS0,115200n8 
+  linux /$KERNEL verbose console=ttyS0,115200n8 -- console=ttyS0,115200n8 
   initrd /$INITRAMFS
 "