]> git.ipfire.org Git - thirdparty/mkosi.git/log
thirdparty/mkosi.git
5 years agoAdd photon to CI 486/head
Daan De Meyer [Fri, 31 Jul 2020 20:10:07 +0000 (21:10 +0100)] 
Add photon to CI

We build tdnf along with the centos dependencies as it needs libsolv as
well and splitting everything up in separate steps is relatively more
complexity for a little extra run time.

We should look into caching the dependency building so we don't rebuild
the same dependencies each build.

5 years agoFix photon default release
Daan De Meyer [Fri, 31 Jul 2020 21:48:27 +0000 (22:48 +0100)] 
Fix photon default release

5 years agoRename CI steps
Daan De Meyer [Fri, 31 Jul 2020 20:13:32 +0000 (21:13 +0100)] 
Rename CI steps

5 years agoInstall zypper along with all other apt packages
Daan De Meyer [Fri, 31 Jul 2020 20:08:49 +0000 (21:08 +0100)] 
Install zypper along with all other apt packages

Simpler build config > minimal performance win

5 years agoMerge pull request #489 from DaanDeMeyer/ci-bootable
Daan De Meyer [Mon, 3 Aug 2020 16:42:29 +0000 (17:42 +0100)] 
Merge pull request #489 from DaanDeMeyer/ci-bootable

Add bootable builds to CI

5 years agoAdd bootable CI builds 489/head
Daan De Meyer [Sun, 2 Aug 2020 18:38:29 +0000 (19:38 +0100)] 
Add bootable CI builds

5 years agoEnable BIOS on all distros
Daan De Meyer [Sat, 1 Aug 2020 20:14:44 +0000 (21:14 +0100)] 
Enable BIOS on all distros

5 years agoGracefully handle BIOS + --minimize/gpt_squashfs combo
Daan De Meyer [Sun, 2 Aug 2020 18:44:17 +0000 (19:44 +0100)] 
Gracefully handle BIOS + --minimize/gpt_squashfs combo

Using grub on generated_root() images currently has problems as there is
a circular dependency between the root partition wanting to have grub
installed before being generated and grub wanting the root partition to
be generated before being installed.

It might be possible to get this working but until we do it's better to
explicitly fail when users try to do this.

5 years agoGracefully handle hybrid BIOS/UEFI images on Clear Linux
Daan De Meyer [Sun, 2 Aug 2020 18:32:58 +0000 (19:32 +0100)] 
Gracefully handle hybrid BIOS/UEFI images on Clear Linux

Clear Linux's bootloader clr-boot-manager supports either BIOS or UEFI
but not both.

5 years agoFail gracefully when trying to install Clear Linux on btrfs
Daan De Meyer [Sun, 2 Aug 2020 18:29:43 +0000 (19:29 +0100)] 
Fail gracefully when trying to install Clear Linux on btrfs

Clear Linux does not yet support btrfs.

5 years agoOnly mount necessary loop device and partitions when installing bootloaders
Daan De Meyer [Sun, 2 Aug 2020 12:22:59 +0000 (13:22 +0100)] 
Only mount necessary loop device and partitions when installing bootloaders

5 years agoDon't try to install systemd-boot on Clear Linux
Daan De Meyer [Sat, 1 Aug 2020 22:32:15 +0000 (23:32 +0100)] 
Don't try to install systemd-boot on Clear Linux

Clear Linux has its own modified version of systemd-boot already.

5 years agoInstall systemd on Clear Linux
Daan De Meyer [Sun, 2 Aug 2020 12:22:44 +0000 (13:22 +0100)] 
Install systemd on Clear Linux

5 years agoAdd workspace-command debug option
Daan De Meyer [Sun, 2 Aug 2020 12:02:22 +0000 (13:02 +0100)] 
Add workspace-command debug option

5 years agoFix BIOS on OpenSUSE
Daan De Meyer [Sat, 1 Aug 2020 21:29:31 +0000 (22:29 +0100)] 
Fix BIOS on OpenSUSE

5 years agoFix CentOS EPEL bootloader installation
Daan De Meyer [Sat, 1 Aug 2020 20:48:42 +0000 (21:48 +0100)] 
Fix CentOS EPEL bootloader installation

5 years agoAdd plain_squashfs to output formats that cannot be booted.
Daan De Meyer [Sat, 1 Aug 2020 20:41:49 +0000 (21:41 +0100)] 
Add plain_squashfs to output formats that cannot be booted.

5 years agoFail gracefully when trying to use btrfs on CentOS 8
Daan De Meyer [Sat, 1 Aug 2020 20:39:09 +0000 (21:39 +0100)] 
Fail gracefully when trying to use btrfs on CentOS 8

5 years agoInstall correct grub package on openmandriva and mageia
Daan De Meyer [Sat, 1 Aug 2020 20:36:02 +0000 (21:36 +0100)] 
Install correct grub package on openmandriva and mageia

5 years agoWorkaround nspawn PATH bug
Daan De Meyer [Sat, 1 Aug 2020 14:13:47 +0000 (15:13 +0100)] 
Workaround nspawn PATH bug

See https://github.com/systemd/systemd/pull/16645

5 years agoRequire --merged-usr support in debootstrap.
Daan De Meyer [Mon, 27 Jul 2020 20:12:42 +0000 (21:12 +0100)] 
Require --merged-usr support in debootstrap.

Let's assume debootstrap is recent enough to support --merged-usr. The
option was added in 2016 so it should be widely available now.

5 years agoadd whitespace
Joerg Behrmann [Fri, 31 Jul 2020 16:57:12 +0000 (18:57 +0200)] 
add whitespace

5 years agoci: add openSUSE
Joerg Behrmann [Fri, 31 Jul 2020 16:08:08 +0000 (18:08 +0200)] 
ci: add openSUSE

5 years agoDrop semaphore CI
Daan De Meyer [Thu, 30 Jul 2020 18:32:16 +0000 (19:32 +0100)] 
Drop semaphore CI

Superseded by Github Actions

5 years agoMerge unit-test and mypy workflows
Daan De Meyer [Thu, 30 Jul 2020 18:36:25 +0000 (19:36 +0100)] 
Merge unit-test and mypy workflows

Reduces duplication and saves us one machine usable for the main CI
workflow.

5 years agoDon't depend on python3 being at /usr/bin/python3
Daan De Meyer [Thu, 30 Jul 2020 18:10:15 +0000 (19:10 +0100)] 
Don't depend on python3 being at /usr/bin/python3

5 years agoMerge pull request #476 from DaanDeMeyer/dnf-improvements
Daan De Meyer [Thu, 30 Jul 2020 18:27:26 +0000 (19:27 +0100)] 
Merge pull request #476 from DaanDeMeyer/dnf-improvements

Dnf refactoring

5 years agoAdd docbook-xsl to CI packages 476/head
Daan De Meyer [Thu, 30 Jul 2020 18:08:01 +0000 (19:08 +0100)] 
Add docbook-xsl to CI packages

This makes sure xsltproc doesn't go to the internet to find the
stylesheet.

5 years agoAdd Mageia to CI
Daan De Meyer [Thu, 30 Jul 2020 16:13:28 +0000 (17:13 +0100)] 
Add Mageia to CI

5 years agoReduce dnf duplication
Daan De Meyer [Wed, 29 Jul 2020 22:31:40 +0000 (23:31 +0100)] 
Reduce dnf duplication

5 years agoIncrease default root size to 3G
Daan De Meyer [Sun, 19 Jul 2020 20:48:59 +0000 (21:48 +0100)] 
Increase default root size to 3G

1G isn't sufficient for a default ubuntu focal bootable image. Let's
up the size for a better new user experience.

We also remove the special casing for XFS since it should comfortably
fit under the 3G as well.

5 years agoMerge pull request #477 from DaanDeMeyer/centos-systemd-udev
Daan De Meyer [Thu, 30 Jul 2020 11:13:52 +0000 (12:13 +0100)] 
Merge pull request #477 from DaanDeMeyer/centos-systemd-udev

CentOS/Fedora fixes

5 years agoInstall systemd by default on Fedora 477/head
Daan De Meyer [Wed, 29 Jul 2020 22:53:57 +0000 (23:53 +0100)] 
Install systemd by default on Fedora

This makes sure a default mkosi Fedora image can be booted using nspawn.
Currently, this failes because of missing init (systemd).

5 years agoInstall systemd-udev on bootable CentOS images
Daan De Meyer [Wed, 29 Jul 2020 22:51:54 +0000 (23:51 +0100)] 
Install systemd-udev on bootable CentOS images

The udev daemon and rules are split off from the main systemd package
because they aren't necessary in containers. When we're doing bootable
images, we definitely want systemd-udev to be installed.

5 years agoCheck if scripts are executable
Daan De Meyer [Tue, 28 Jul 2020 20:58:37 +0000 (21:58 +0100)] 
Check if scripts are executable

Easy to forget and annoying to find out in the middle of mkosi
execution.

5 years agoRemove mkosi.default from repo and add it to .gitignore
Daan De Meyer [Tue, 28 Jul 2020 18:46:58 +0000 (19:46 +0100)] 
Remove mkosi.default from repo and add it to .gitignore

Causes more issues that it solves. Currently, one always has to be
careful to specify --default /dev/null when running in the mkosi project
directory to avoid options from the mkosi.default file taking effect.
The mkosi.default file also only works on distros with dnf. Removing it
and putting it into the .gitignore also makes it easier for developers
to put their own symlink to their distro of choice in place.

5 years agoUse Ubuntu Focal in all Github Actions workflows
Daan De Meyer [Tue, 28 Jul 2020 18:14:35 +0000 (19:14 +0100)] 
Use Ubuntu Focal in all Github Actions workflows

We also stop installing Python via setup-python as the version in
Focal should be more than recent enough.

5 years agoMerge pull request #442 from DaanDeMeyer/better-interrupt-handling
Daan De Meyer [Tue, 28 Jul 2020 18:43:27 +0000 (19:43 +0100)] 
Merge pull request #442 from DaanDeMeyer/better-interrupt-handling

Add better CTRL+C handling when running a subprocess

5 years agoDelay KeyboardInterrupt() handling when running a subprocess 442/head
Daan De Meyer [Mon, 27 Jul 2020 18:39:16 +0000 (19:39 +0100)] 
Delay KeyboardInterrupt() handling when running a subprocess

Because we weren't giving subprocess time to gracefully exit, we'd
often get "Device or resource is busy" errors when CTRL+C'ing mkosi
as we we'd try to unmount directories while a subprocess was still
running in it. By delaying handling of SIGINT while a subprocess is
running, the subprocess can exit gracefully which prevents EBUSY errors
from occurring when running cleanup code. To allow interrupting hanging
subprocesses, we only delay the first SIGINT we receive. If a user
presses CTRL+C again, we exit immediately as before.

5 years agoDon't install bootable packages when building the build image
Daan De Meyer [Mon, 27 Jul 2020 20:51:15 +0000 (21:51 +0100)] 
Don't install bootable packages when building the build image

5 years agoRequire --bootable when using --qemu-headless
Daan De Meyer [Mon, 27 Jul 2020 21:57:28 +0000 (22:57 +0100)] 
Require --bootable when using --qemu-headless

--qemu-headless doesn't make sense without --bootable.

5 years agoUpdate default releases
Daan De Meyer [Mon, 27 Jul 2020 21:34:29 +0000 (22:34 +0100)] 
Update default releases

5 years agoUnify error handling
Daan De Meyer [Mon, 27 Jul 2020 18:38:21 +0000 (19:38 +0100)] 
Unify error handling

- Use single exception: MkosiException
- Throw MkosiException from die
- Print error immediately in die instead of in main exception handler.
  This makes sure the error message is written to the terminal before
  all the cleanup messages from the context managers.
- Convert some existing exceptions to MkosiException so they don't print
  a stacktrace.

5 years agoCI: Run apt-get update before installing dependencies
Daan De Meyer [Sun, 26 Jul 2020 13:11:04 +0000 (14:11 +0100)] 
CI: Run apt-get update before installing dependencies

5 years agoadd support for OpenMandriva Linux distribution
tpgxyz [Thu, 23 Jul 2020 11:08:33 +0000 (13:08 +0200)] 
add support for OpenMandriva Linux distribution

5 years agoMerge pull request #452 from DaanDeMeyer/simplify-ci
Daan De Meyer [Tue, 21 Jul 2020 20:37:08 +0000 (21:37 +0100)] 
Merge pull request #452 from DaanDeMeyer/simplify-ci

Simplify CI

5 years agoAdded prepare script
Márton Morvai [Mon, 6 Jul 2020 09:23:46 +0000 (11:23 +0200)] 
Added prepare script

Added documentation for prepare script
Added prepare script to unit tests

5 years agoFix --qemu-headless so it works for all bootloaders.
Daan De Meyer [Sun, 19 Jul 2020 21:13:02 +0000 (22:13 +0100)] 
Fix --qemu-headless so it works for all bootloaders.

5 years agoInstall systemd by default on centos systems.
Daan De Meyer [Sun, 19 Jul 2020 10:53:28 +0000 (11:53 +0100)] 
Install systemd by default on centos systems.

--bootable is intended to install a bootloader into the image. mkosi
boot should always work which means we need systemd in the image by
default.

5 years agoAdd build-script option to --debug
Daan De Meyer [Sat, 18 Jul 2020 22:45:30 +0000 (23:45 +0100)] 
Add build-script option to --debug

Drops the user into a shell if the build script fails with a non-zero
exit code. We still fail the build afterwards so the user can
immediately start again after he fixes his build script.

5 years agoFix --qemu-headless test.
Daan De Meyer [Sun, 19 Jul 2020 11:42:50 +0000 (12:42 +0100)] 
Fix --qemu-headless test.

Fully updates test_config_parser with --qemu-headless.

5 years agoAdd --qemu-headless option
Daan De Meyer [Thu, 16 Jul 2020 21:36:53 +0000 (22:36 +0100)] 
Add --qemu-headless option

This option streamlines launching headless qemu virtual machines from
the command line via mkosi's qemu verb. When this option is specified,
mkosi configures the image for headless connections and adds the
-nographic option when launching the vm via mkosi's qemu verb. Instead
of launching a separate window, qemu connects the host's terminal to the
vm via the serial console. This allows working with the vm from the
comfort of your own terminal instead of the linux console which is used
when qemu starts the vm in a separate window.

We make sure all terminal features still work by overriding the TERM
value for serial-getty@ttyS0 in the vm with the TERM value from the
host's terminal emulator which we get from the TERM environment variable
that mkosi is started with.

5 years agoImplemented bootable CentOS 8
Jose Teuttli [Mon, 1 Jun 2020 17:30:43 +0000 (10:30 -0700)] 
Implemented bootable CentOS 8

5 years agoFix detect_distribution on ubuntu 452/head
Daan De Meyer [Sun, 19 Jul 2020 10:12:54 +0000 (11:12 +0100)] 
Fix detect_distribution on ubuntu

5 years agoSimplify CI
Daan De Meyer [Fri, 17 Jul 2020 19:31:53 +0000 (20:31 +0100)] 
Simplify CI

5 years agoci: enable mypy on PRs
Joerg Behrmann [Sat, 18 Jul 2020 18:14:57 +0000 (20:14 +0200)] 
ci: enable mypy on PRs

5 years agoMerge pull request #456 from behrmann/photon-dead-code
Daan De Meyer [Sat, 18 Jul 2020 15:55:57 +0000 (16:55 +0100)] 
Merge pull request #456 from behrmann/photon-dead-code

Fix unreachable code for Photon boot protocols

5 years agoDon't print stacktrace when a binary is not found.
Daan De Meyer [Fri, 17 Jul 2020 21:49:14 +0000 (22:49 +0100)] 
Don't print stacktrace when a binary is not found.

5 years agoMake test for uefi boot protocol on Photon reachable 456/head
Joerg Behrmann [Sat, 18 Jul 2020 14:51:02 +0000 (16:51 +0200)] 
Make test for uefi boot protocol on Photon reachable

Fixes #455

5 years agomypy: enable warning for unreachable code
Joerg Behrmann [Sat, 18 Jul 2020 14:50:10 +0000 (16:50 +0200)] 
mypy: enable warning for unreachable code

5 years agoMerge pull request #389 from behrmann/mypy4
Daan De Meyer [Fri, 17 Jul 2020 17:31:40 +0000 (18:31 +0100)] 
Merge pull request #389 from behrmann/mypy4

Make mkosi mypy strict compliant and add mypy to testing

5 years agoci: pin mypy version until python/mypy#8962 is resolved 389/head
Joerg Behrmann [Mon, 6 Jul 2020 10:10:51 +0000 (12:10 +0200)] 
ci: pin mypy version until python/mypy#8962 is resolved

Starting with 0.780 (including current 0.782) the type arguments for
shutil.copyfileobj cannot be infered.

5 years agoci: add mypy check
Joerg Behrmann [Mon, 2 Dec 2019 10:17:05 +0000 (11:17 +0100)] 
ci: add mypy check

5 years agosetup: add mypy section to setup.cfg
Joerg Behrmann [Mon, 2 Dec 2019 10:15:35 +0000 (11:15 +0100)] 
setup: add mypy section to setup.cfg

5 years agomkosi: make mkosi mypy --strict compliant
Joerg Behrmann [Tue, 29 Oct 2019 10:20:00 +0000 (11:20 +0100)] 
mkosi: make mkosi mypy --strict compliant

This commit makes mkosi compliant against running mypy in strict mode (with mypy
0.750).

- All missing type declarations are added,
- generic types are made explicit,
- __class__ usage is made explicit, and
- no longer necessary casts are removed.

5 years agomkosi: add explicit check for loopdev being not None to placate mypy
Joerg Behrmann [Mon, 6 Jul 2020 09:22:35 +0000 (11:22 +0200)] 
mkosi: add explicit check for loopdev being not None to placate mypy

mypy throws an error on checking the mount_image function

> mkosi:969: error: Argument 1 to "partition" has incompatible type "Optional[str]"; expected "str"
> mkosi:972: error: Argument 1 to "partition" has incompatible type "Optional[str]"; expected "str"

because as of yet it cannot deduce, that loopdev will only be non-None if
args.esp_partno or args.xbootldr_partno are non-None as well, since they will
only be non-None on bootable images, which necessarily will be disk images, and
loopdev will only be None on non-disk images, i.e.

disk image -> loopdev is not None and args.esp_partno maybe None
non-disk image -> loopdev is None and args.esp_partno is None

5 years agoRemove noop step in run_finalize_script
Daan De Meyer [Sat, 4 Jul 2020 18:48:33 +0000 (19:48 +0100)] 
Remove noop step in run_finalize_script

5 years agoUse open_close contextmanager for dir_fd
Daan De Meyer [Thu, 2 Jul 2020 20:20:42 +0000 (22:20 +0200)] 
Use open_close contextmanager for dir_fd

5 years agoRevert "Call pacman-key --refresh-keys in Arch CI"
Daan De Meyer [Sat, 4 Jul 2020 20:27:47 +0000 (21:27 +0100)] 
Revert "Call pacman-key --refresh-keys in Arch CI"

This reverts commit 1eff6aa2bc3d4c1df4d05d25876f67547d14248b.

5 years agoStop gpg-agent and friends even when execution is interrupted
Daan De Meyer [Tue, 30 Jun 2020 20:26:20 +0000 (22:26 +0200)] 
Stop gpg-agent and friends even when execution is interrupted

5 years agoCall pacman-key --refresh-keys in Arch CI
Daan De Meyer [Thu, 2 Jul 2020 10:30:10 +0000 (12:30 +0200)] 
Call pacman-key --refresh-keys in Arch CI

This refreshes local keys from the upstream keyserver. This should
mitigate having to update archlinux-keyring all the time somewhat.

5 years agoCall finalize script as described in documentation
Márton Morvai [Thu, 11 Jun 2020 14:42:54 +0000 (16:42 +0200)] 
Call finalize script as described in documentation

Finalize script is now called as last step before build script in first
stage and as last step before image is made read-only/generated image is
made in second stage.

Finalize script is not called when creating cached images.

5 years agoStop ignoring umount errors
Daan De Meyer [Tue, 30 Jun 2020 20:13:56 +0000 (22:13 +0200)] 
Stop ignoring umount errors

This was hiding a rather nasty bug in pacstrap/unshare. Silencing
the umount errors complicated finding the actual error so let's not
ignore unmounting errors.

5 years agoMerge pull request #413 from liam-mcb/centos-mageia-packages
Daan De Meyer [Thu, 2 Jul 2020 11:21:53 +0000 (13:21 +0200)] 
Merge pull request #413 from liam-mcb/centos-mageia-packages

Fix packages and build packages not being installed on Centos and Mageia.

5 years agoCentOS: Use mirrorlist.fedoraproject.org for EPEL mirrors 413/head
Daan De Meyer [Thu, 2 Jul 2020 11:08:04 +0000 (13:08 +0200)] 
CentOS: Use mirrorlist.fedoraproject.org for EPEL mirrors

5 years agoAdd CentOS 8 repositories.
Liam McBirnie [Fri, 15 May 2020 11:19:21 +0000 (13:19 +0200)] 
Add CentOS 8 repositories.

5 years agoFix packages and build packages not being installed on Centos and Mageia
Liam McBirnie [Sat, 11 Apr 2020 19:27:48 +0000 (21:27 +0200)] 
Fix packages and build packages not being installed on Centos and Mageia

5 years agoMerge pull request #439 from DaanDeMeyer/root-over-workspace
Lucas De Marchi [Wed, 1 Jul 2020 15:20:51 +0000 (08:20 -0700)] 
Merge pull request #439 from DaanDeMeyer/root-over-workspace

Pass root around instead of workspace

5 years agoPass root around instead of workspace 439/head
Daan De Meyer [Tue, 30 Jun 2020 09:44:36 +0000 (11:44 +0200)] 
Pass root around instead of workspace

Most of the functions operate on the image root instead of the
workspace so it makes sense to pass the root directory instead of
the workspace. Access to the workspace directory is done via the
workspace function that simply returns the parent directory of the
root directory.

This commit only refactors code and does not change behavior.

5 years agoArch: Update CI dependencies
Daan De Meyer [Wed, 1 Jul 2020 07:23:59 +0000 (09:23 +0200)] 
Arch: Update CI dependencies

- libarchive 3.4.3
- archlinux-keyring 20200622

5 years agomkosi: fix `-t submodule` output
Ivan Shapovalov [Tue, 23 Jun 2020 16:11:27 +0000 (19:11 +0300)] 
mkosi: fix `-t submodule` output

By the time we get to creating the root submodule, the directory already exists
because we self-bind-mount it in mount_image(), and it is too late to convert it
because of the same.

Thus, move the root subvolume creation into its own step just prior to
mount_image().

Fixes #396.

5 years agoMerge pull request #422 from Werkov/opensuse-fixes
Daan De Meyer [Mon, 29 Jun 2020 18:27:45 +0000 (20:27 +0200)] 
Merge pull request #422 from Werkov/opensuse-fixes

Various openSUSE fixes

5 years agoFix: No empty string argument if no options provided
zigarrre [Thu, 18 Jun 2020 17:56:25 +0000 (19:56 +0200)] 
Fix: No empty string argument if no options provided

Empty string as last argument caused mount to fail.

5 years agoAdd OVMF path to openSUSE qemu-ovmf 422/head
Michal Koutný [Fri, 15 May 2020 17:27:06 +0000 (19:27 +0200)] 
Add OVMF path to openSUSE qemu-ovmf

The OVMF files on openSUSE are in yet another unlisted path.

5 years agoInstall openSUSE packages in one go
Michal Koutný [Fri, 15 May 2020 17:22:00 +0000 (19:22 +0200)] 
Install openSUSE packages in one go

Minimal pattern may install packages that are conflicting with packages
installed in the second stage and that requires manual resolution (e.g.
replace busybox-coreutils with coreutils).
As there is no need to do installation in two steps, install all
packages in one zypper call, making it resolve potential conflicts
itself.

5 years agoAlways fill machine_id in built image
Michal Koutný [Wed, 13 May 2020 14:15:41 +0000 (16:15 +0200)] 
Always fill machine_id in built image

The build script may run commands relying on machine_id and since we
don't run build script with full-fledged PID 1, uuid passed from
systemd-nspawn won't be effective. Hence for the build stage use
machine_id even for non-bootable images (as per note in build_stuff,
it's not the first such use).

5 years agoopenSUSE: Download RPMs in advance
Michal Koutný [Wed, 13 May 2020 11:41:14 +0000 (13:41 +0200)] 
openSUSE: Download RPMs in advance

In order to have full file-lists for zypper to check for conflicts.

5 years agoFix --skip-final-phase builds referencing None
Michal Koutný [Wed, 6 May 2020 13:19:12 +0000 (15:19 +0200)] 
Fix --skip-final-phase builds referencing None

If we skip the second stage, we shoud work with results of the first
stage, not nothing, otherwise we fail:

> ‣ Skipping (second) final image build phase.
> Traceback (most recent call last):
>   File "/projects/mkosi/mkosi", line 4895, in <module>
>     main()
>   File "/projects/mkosi/mkosi", line 4891, in main
>     run_verb(a)
>   File "/projects/mkosi/mkosi", line 4866, in run_verb
>     build_stuff(args)
>   File "/projects/mkosi/mkosi", line 4691, in build_stuff
>     raw = qcow2_output(args, raw)
>   File "/projects/mkosi/mkosi", line 2981, in qcow2_output
>     assert raw is not None
> AssertionError

5 years agoFactor securetty disabling and apply to debian (#429)
potens1 [Tue, 16 Jun 2020 20:07:59 +0000 (22:07 +0200)] 
Factor securetty disabling and apply to debian (#429)

Refactor securetty disabling and apply to debian

5 years agoArch: Re-enable mkinitcpio install hook after running pacman
Daan De Meyer [Sun, 31 May 2020 11:59:51 +0000 (13:59 +0200)] 
Arch: Re-enable mkinitcpio install hook after running pacman

This makes sure that later kernel updates via pacman still work as
expected.

5 years agoMerge pull request #424 from DaanDeMeyer/arch-securetty
Lucas De Marchi [Sun, 31 May 2020 03:10:03 +0000 (20:10 -0700)] 
Merge pull request #424 from DaanDeMeyer/arch-securetty

Arch: Fix root login when using systemd-nspawn

5 years agoMerge pull request #421 from DaanDeMeyer/improve-perf
Zbigniew Jędrzejewski-Szmek [Sat, 30 May 2020 14:54:15 +0000 (16:54 +0200)] 
Merge pull request #421 from DaanDeMeyer/improve-perf

Arch: Improve perf + fix pacman warnings/errors

5 years agoMerge pull request #427 from potens1/master
Zbigniew Jędrzejewski-Szmek [Sat, 30 May 2020 09:52:22 +0000 (11:52 +0200)] 
Merge pull request #427 from potens1/master

Clean the tab idents

5 years agoRemove redundents indents and align some params. 427/head
Nicolas Di Pietro [Fri, 29 May 2020 16:37:40 +0000 (18:37 +0200)] 
Remove redundents indents and align some params.

5 years agoChange tab indents to spaces
Nicolas Di Pietro [Fri, 29 May 2020 08:16:45 +0000 (10:16 +0200)] 
Change tab indents to spaces

Nothing more has been changed to have a clean commit about that.

5 years agoUpdate editorconfig for space indent.
Nicolas Di Pietro [Fri, 29 May 2020 07:56:20 +0000 (09:56 +0200)] 
Update editorconfig for space indent.

This will not be effective right now since the main file is NOT mkosi.py
Only for future usage

5 years agoArch: Move run_pacman and run_pacstrap definitions to their call sites 421/head
Daan De Meyer [Wed, 27 May 2020 17:59:02 +0000 (19:59 +0200)] 
Arch: Move run_pacman and run_pacstrap definitions to their call sites

5 years agoArch: Remove pacstrap retired -d flag
Daan De Meyer [Wed, 27 May 2020 17:56:05 +0000 (19:56 +0200)] 
Arch: Remove pacstrap retired -d flag

5 years agoArch: Remove unnecessary synchronization.
Daan De Meyer [Wed, 27 May 2020 17:53:59 +0000 (19:53 +0200)] 
Arch: Remove unnecessary synchronization.

pacstrap already synchronizes for us.

5 years agomkosi: add Fedora 32
Vishal Verma [Wed, 27 May 2020 01:31:54 +0000 (19:31 -0600)] 
mkosi: add Fedora 32

Add the Fedora 32 GPG key to the list, and update mkosi.fedora to 32.