Skip to content

Instantly share code, notes, and snippets.

@lucasdemarchi
Created October 2, 2018 18:06
Show Gist options
  • Save lucasdemarchi/28a5b193d0eec71d1a597766bad4a77c to your computer and use it in GitHub Desktop.
Save lucasdemarchi/28a5b193d0eec71d1a597766bad4a77c to your computer and use it in GitHub Desktop.
diff --git a/mkosi b/mkosi
index af37a54..a23eac9 100755
--- a/mkosi
+++ b/mkosi
@@ -1127,20 +1127,18 @@ gpgkey={gpg_key}
gpg_key=gpg_key,
release_url=release_url,
updates_url=updates_url))
- packages = [
- "systemd",
- "fedora-release",
- "passwd",
+ boot_packages = [
"kernel-core",
"systemd-udev",
"binutils",
]
if args.bios_partno:
- packages.add("grub2-pc")
+ boot_packages.append("grub2-pc")
invoke_dnf(args, workspace,
args.repositories if args.repositories else ["fedora", "updates"],
- packages,
+ ["systemd", "fedora-release", "passwd" ],
+ boot_packages,
config_file)
reenable_kernel_install(args, workspace, masked)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment