summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-10-13 22:27:15 +0200
committerJonas Smedegaard <dr@jones.dk>2018-10-13 22:29:25 +0200
commit56d35b8b5225878b9b55842a6b3d03616c3dc46a (patch)
treefdb487fe1f380d026c5cfa373f4f2968a9cfcd8b
parent23ce860ea34afabf862d704c710d6f9fd9cf51a0 (diff)
Tweak console only for d-i images.1.0b14
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fcd4164..c137b3c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# * http_proxy - proxy URL (for APT), e.g. http://example.net:9999/
# * apt_cacher_host - apt-cacher host (for all downloads), e.g. example.net
# * approx_host - approx host (for all downloads), e.g. example.net
-# * noscreen - set to "true" to use default (serial) instead of HDMI+USB
+# * noscreen - set to "true" to use default (serial, not HDMI) with d-i
# * noquiet - set to "true" to not quiet down default boot messages
# * nogfx - set to "true" to minimize video buffers
# * bootargs - set custom bootargs, e.g. BOOT_DEBUG=5 log_host=example.org preseed/interactive=true
@@ -298,8 +298,6 @@ partition/$(1)/$(2)/$(4)/$(3)/boot.cmd: \
$$(eval uuid = $$(shell cat partition/$(1)/$(2)/$(4)/rootfs.img.uuid))
mkdir -p $$(dir $$@)
perl -0777 -p \
- $(if $(console),\
- -e 's/^(?=[^#])/setenv console $(console)\n/m;') \
-e "s'@@LINUX_KERNEL_CMDLINE_DEFAULTS@@''g;" \
-e "s'@@LINUX_KERNEL_CMDLINE@@'$(strip $(if $(noquiet),,quiet) $(bootargs))'g;" \
-e "s'@@UBOOT_PREBOOT_EXTRA@@''g;" \