Commit d3882587 authored by Anton Midyukov's avatar Anton Midyukov

initrd-bootchain: allow BOOTCHAIN_LOGFILE, BOOTCHAIN_LOG_VT to be reassigned

parent be0c99ee
......@@ -19,3 +19,5 @@ use/initrd-bootchain: use/uuid-iso
@$(call try,BOOTCHAIN_OEM_SRV_NETINST,)
@$(call try,BOOTCHAIN_OEM_NFS_NETINST,/srv/public/netinst)
@$(call try,BOOTCHAIN_OEM_CIFS_NETINST,/netinst)
@$(call try,BOOTCHAIN_LOGFILE,/var/log/bootchained.log)
@$(call try,BOOTCHAIN_LOG_VT,3)
......@@ -28,6 +28,8 @@ all: debug
-e "s,@oem_srv_netinst@,$(BOOTCHAIN_OEM_SRV_NETINST)," \
-e "s,@oem_nfs_netinst@,$(BOOTCHAIN_OEM_NFS_NETINST)," \
-e "s,@oem_cifs_netinst@,$(BOOTCHAIN_OEM_CIFS_NETINST)," \
-e "s,@bc_logfile@,$(BOOTCHAIN_LOGFILE)," \
-e "s,@bc_log_vt@,$(BOOTCHAIN_LOG_VT)," \
$(BOOTCHAIN_CFG)
debug:
......
......@@ -8,13 +8,13 @@
# mntdir=/dev/bootchain
# Change VT number to show log on specified TTY, empty value turns off this VT
# BC_LOG_VT=3
BC_LOG_VT=@bc_log_vt@
# Delay in seconds before auto-activate interactive VT, empty value for switch immediately
BC_FGVT_ACTIVATE=@bc_fgvt_activate@
# Full path to the bootchain log or character special device name
# BC_LOGFILE=/var/log/bootchained.log
BC_LOGFILE=@bc_logfile@
# Common timeout in seconds for all waitdev steps:
# this make possible using fallback after last waitdev step
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment