fix initcpio issue from 3.3 merge
Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
parent
056a5c29cb
commit
341fecd3ff
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# Calamares is Free Software: see the License-Identifier above.
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
#
|
#
|
||||||
|
import libcalamares
|
||||||
from libcalamares.utils import debug, target_env_call
|
from libcalamares.utils import debug, target_env_call
|
||||||
import os
|
import os
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
@ -127,7 +127,7 @@ def write_mkinitcpio_lines(hooks, modules, files, root_mount_point):
|
|||||||
line = 'HOOKS="{!s}"'.format(' '.join(hooks))
|
line = 'HOOKS="{!s}"'.format(' '.join(hooks))
|
||||||
elif line.startswith("MODULES"):
|
elif line.startswith("MODULES"):
|
||||||
line = 'MODULES="{!s}"'.format(' '.join(modules))
|
line = 'MODULES="{!s}"'.format(' '.join(modules))
|
||||||
elif lines.startswith("FILES"):
|
elif line.startswith("FILES"):
|
||||||
line = 'FILES="{!s}"'.format(' '.join(files))
|
line = 'FILES="{!s}"'.format(' '.join(files))
|
||||||
mkinitcpio_file.write(line + "\n")
|
mkinitcpio_file.write(line + "\n")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user