From: Daan De Meyer Date: Mon, 19 Aug 2024 13:15:40 +0000 (+0200) Subject: Do not generate random seed when running bootctl install X-Git-Tag: v25~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c710dd26cbe84c67e2a076627826cf704097a03;p=thirdparty%2Fmkosi.git Do not generate random seed when running bootctl install --- diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 45f9aef4b..3400a1818 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -1112,6 +1112,8 @@ def install_systemd_boot(context: Context) -> None: env={"SYSTEMD_ESP_PATH": "/efi", "SYSTEMD_XBOOTLDR_PATH": "/boot"}, sandbox=context.sandbox(binary="bootctl", mounts=[Mount(context.root, "/buildroot")]), ) + # TODO: Use --random-seed=no when we can depend on systemd 256. + Path(context.root / "efi/loader/random-seed").unlink(missing_ok=True) if context.config.shim_bootloader != ShimBootloader.none: shutil.copy2(