This commit is contained in:
2026-04-02 23:04:24 +02:00
parent 04e647a74d
commit 3326c407b7
2 changed files with 11 additions and 1 deletions

View File

@@ -23,4 +23,11 @@ exec lh_config \
--mirror-binary-security "$BASE__SECURITY_REPO_URL" \
--mirror-chroot "$BASE__REPO_URL" \
--mirror-chroot-security "$BASE__SECURITY_REPO_URL" \
--binary-images iso \
--bootloader syslinux \
--syslinux-timeout 5 \
--syslinux-menu true \
--bootstrap debootstrap \
--debconf-frontend noninteractive \
--debian-installer live \
"$LIVE_DIR"

View File

@@ -13,4 +13,7 @@ def write_env_file(path: Path, values: Mapping[str, str]) -> None:
path.parent.mkdir(parents=True, exist_ok=True)
with path.open('w', encoding='utf-8') as handle:
for key in sorted(values):
handle.write(f'{key}={_escape(str(values[key]))}\n')
_val = values[key]
if isinstance(_val,bool):
_val = "True" if _val is True else "False"
handle.write(f'{key}={_escape(str(_val))}\n')