VM feature: improve sed command line to replace root=... kernel option
authorMichael Prokop <mika@grml.org>
Sun, 13 May 2012 16:02:57 +0000 (18:02 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 13 May 2012 16:02:57 +0000 (18:02 +0200)
commit0452dadf9b0b523a54d186acfbc9c202b6d7cf85
treea21c116b679c921b304c4006159a78644541f679
parentda67da3cc80f7bf9bf92f97a5fa586b9b824f76a
VM feature: improve sed command line to replace root=... kernel option

Quoting bugreport:

| [...] I found an issue which renders
| every preconfigured BOOTPARAMS for vmfiles useless.
|
| Near the end of grml-debootstrap the grub config is changed to boot in
| virtual environments. Unfortunately the whole line is replaced to
| root=/dev/sda1 and each parameter that was previously set is gone by
| then.
|
| See attached a diff that just replaces the root device string.

Thanks: Conny Seidel <conny.seidel@amd.com> for bugreport + patch
grml-debootstrap