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:
Adriaan de Groot 2017-08-10 15:43:13 -04:00 committed by GitHub
commit 58b2abc9ac

View file

@ -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 (