mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-02 06:40:08 +01:00
don't parse yaml files twice when using copytoram
since recently /run/archiso/copytoram is bind-mounted to /run/archiso/bootmnt. This means sysrescue-configuration.lua should just load yaml files from /run/archiso/bootmnt and not both, otherwise they would be loaded twice.
This commit is contained in:
parent
c0cb014d46
commit
711a9f6ea5
|
|
@ -212,7 +212,8 @@ config = { }
|
|||
-- Merge one yaml file after the other in lexicographic order
|
||||
-- ==============================================================================
|
||||
print ("====> Merging configuration with values from yaml files ...")
|
||||
confdirs = {"/run/archiso/bootmnt/sysrescue.d", "/run/archiso/copytoram/sysrescue.d"}
|
||||
-- bootmnt is bind-mounted in case of copytoram, so it doesn't need to be searched explicitly
|
||||
confdirs = {"/run/archiso/bootmnt/sysrescue.d"}
|
||||
|
||||
-- Process local yaml configuration files
|
||||
for _, curdir in ipairs(confdirs) do
|
||||
|
|
|
|||
Loading…
Reference in a new issue