Commit c6d39c87 authored by Anton Midyukov's avatar Anton Midyukov

initrd-bootchain: add variable BOOTCHAIN_TMPFS_SIZE

parent 23e7ca57
...@@ -22,3 +22,4 @@ use/initrd-bootchain: ...@@ -22,3 +22,4 @@ use/initrd-bootchain:
@$(call try,BOOTCHAIN_OEM_CIFS_NETINST,/netinst) @$(call try,BOOTCHAIN_OEM_CIFS_NETINST,/netinst)
@$(call try,BOOTCHAIN_LOGFILE,/var/log/chaind.log) @$(call try,BOOTCHAIN_LOGFILE,/var/log/chaind.log)
@$(call try,BOOTCHAIN_LOG_VT,3) @$(call try,BOOTCHAIN_LOG_VT,3)
@$(call try,BOOTCHAIN_TMPFS_SIZE,50%)
...@@ -30,6 +30,7 @@ all: debug ...@@ -30,6 +30,7 @@ all: debug
-e "s,@oem_cifs_netinst@,$(BOOTCHAIN_OEM_CIFS_NETINST)," \ -e "s,@oem_cifs_netinst@,$(BOOTCHAIN_OEM_CIFS_NETINST)," \
-e "s,@bc_logfile@,$(BOOTCHAIN_LOGFILE)," \ -e "s,@bc_logfile@,$(BOOTCHAIN_LOGFILE)," \
-e "s,@bc_log_vt@,$(BOOTCHAIN_LOG_VT)," \ -e "s,@bc_log_vt@,$(BOOTCHAIN_LOG_VT)," \
-e "s,@bc_tmpfs_size@,$(BOOTCHAIN_TMPFS_SIZE)," \
$(BOOTCHAIN_CFG) $(BOOTCHAIN_CFG)
debug: debug:
......
...@@ -16,6 +16,9 @@ BC_FGVT_ACTIVATE=@bc_fgvt_activate@ ...@@ -16,6 +16,9 @@ BC_FGVT_ACTIVATE=@bc_fgvt_activate@
# Full path to the bootchain log or character special device name # Full path to the bootchain log or character special device name
BC_LOGFILE=@bc_logfile@ BC_LOGFILE=@bc_logfile@
# Specify the TMPFS size, by default it is 50% of available memory
# BC_TMPFS_SIZE=@bc_tmpfs_size@
# Common timeout in seconds for all waitdev steps: # Common timeout in seconds for all waitdev steps:
# this make possible using fallback after last waitdev step # this make possible using fallback after last waitdev step
WAITDEV_TIMEOUT=@waitdev_timeout@ WAITDEV_TIMEOUT=@waitdev_timeout@
......
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