Package Details: mkosi-git 24.3.r371.g2195d95e07-1

Git Clone URL: https://aur.archlinux.org/mkosi-git.git (read-only, click to copy)
Package Base: mkosi-git
Description: Build Legacy-Free OS Images
Upstream URL: https://github.com/systemd/mkosi
Licenses: LGPL2.1
Conflicts: mkosi
Provides: mkosi
Submitter: falconindy
Maintainer: lucaswerkmeister
Last Packager: lucaswerkmeister
Votes: 6
Popularity: 0.000049
First Submitted: 2016-07-16 02:20 (UTC)
Last Updated: 2024-10-12 20:40 (UTC)

Dependencies (46)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

gdiscry commented on 2023-04-19 08:56 (UTC)

I understand your point about pandoc. I use aurutils with a custom repository and build my packages in a chroot so that the build dependencies do not pollute my system, but I know that it's not the case for a lot users.

Nevertheless, while the pre-built manpage is updated for the releases, it's seldomly updated during development and a lot of its content is currently out of date.

lucaswerkmeister commented on 2023-04-18 18:21 (UTC)

Thanks, I updated the package dependencies. Pandoc used to be a dependency (semi-optional – see the git history of this package), but I took it out when I noticed that there seemed to be no need for it since there’s a built manpage already in the mkosi repository; I’d prefer not to add Pandoc back, to be honest.

gdiscry commented on 2023-04-18 11:57 (UTC)

There have been a few changes to the dependencies since the last release. These are the ones I know:

  • bubblewrap is a runtime dependency that replaces systemd-nspawn
  • systemd-ukify is an optional dependency to build bootable images
  • apt is an optional dependency to build Debian or Ubuntu images
  • debootstrap is not used anymore

Furthermore, the partitions and filesystems are now created by systemd-repart for the disk output format (replacing the raw_* output formats). mkosi does not use the filesystem tools directly anymore, except for btrfs-progs that is still needed for the subvolume output format. However, they are still indirectly useful as optional dependencies for systemd-repart.

There are also some optional dependencies introduced in earlier versions that are missing:

  • cpio for the output format of the same name.
  • zstd can be used for compression

Also, shouldn't pandoc-cli be in makedepends to always run python setup.py man?

lucaswerkmeister commented on 2022-03-18 12:25 (UTC)

Thanks, should be fixed now. Depending on your AUR helper, you might have to manually remove the existing mkosi clone to avoid an error like the following:

/home/lucas/git/aur/mkosi-git/mkosi is not a clone of https://github.com/systemd/mkosi.git

(Or manually update its remote URL instead of removing it, I guess.)

peckato1 commented on 2022-03-18 09:48 (UTC)

Hi, thanks for this package. I guess it needs a git protocol update in the source due to github changes.

Cloning into bare repository '/tmp/mkosi-git/mkosi'...
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

lucaswerkmeister commented on 2020-12-13 14:01 (UTC)

TOCTOU stands for “time-of-check to time-of-use” – it’s theoretically possible (though admittedly not likely) that the pandoc command becomes available or unavailable between the check (command -v pandoc) and the use (pandoc …). It’s better to try running pandoc directly, and handle a “command not found” error after it happens, than trying to predict whether it will be found or not (which does not guarantee that it will still be found when we try to actually run it).

willemw commented on 2020-12-13 13:58 (UTC)

@lucaswerkmeister: Can you explain that? I like to know why that is.

lucaswerkmeister commented on 2020-12-13 13:46 (UTC)

@willemw: No, that’s a TOCTOU race condition.

willemw commented on 2020-12-13 13:33 (UTC)

@lucaswerkmeister: Instead of the "# try to build the manpage ..." section, you could do:

command -v pandoc > /dev/null && pandoc -s -f markdown -t man mkosi.md -o mkosi.1

willemw commented on 2020-12-13 13:20 (UTC) (edited on 2020-12-13 13:40 (UTC) by willemw)

@lucaswerkmeister: or remove 'pandoc' from 'makedepends' and add a comment or a (colored) build message that it is an optional autodetected make dependency. Then we can run 'make -si' or an AUR helper as usual and are not forced to run 'makepkg --nodeps' separately (which could break the build).