Merge pull request #771 from n3rdopolis/patch-1
Correct update-initramfs command (add -t for cases where there already is one on disk)
This commit is contained in:
commit
58b2abc9ac
@ -27,7 +27,8 @@ def run():
|
||||
|
||||
:return:
|
||||
"""
|
||||
return_code = target_env_call(["update-initramfs", "-k", "all", "-u"])
|
||||
return_code = target_env_call(["update-initramfs", "-k", "all", "-c",
|
||||
"-t"])
|
||||
|
||||
if return_code != 0:
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user