mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-26 21:11:54 +01:00
When building a VM or USB-run image the boot args come from a preset template which does not include the cros_debug flag. If this flag is present we maintain it in this new boot configuration. The way we do it is by replacing the string "cros_legacy" (which originates with the template) with "cros_legacy cros_debug". TEST=Build VM from a developer and test image and check grep "cros_debug" /proc/cmdline. BUG=chromium-os:17392 Change-Id: I2cb578274cf9596bf863ec835b1c921fff252a04 Reviewed-on: http://gerrit.chromium.org/gerrit/3808 Reviewed-by: Chris Sosa <sosa@chromium.org> Reviewed-by: Gaurav Shah <gauravsh@chromium.org> Tested-by: Arkaitz Ruiz Alvarez <arkaitzr@chromium.org>
Description
Languages
Shell
93%
Python
6.9%