]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Call 'mkosi.finalize' script 281/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 4 Nov 2018 13:17:55 +0000 (14:17 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Nov 2018 15:54:37 +0000 (16:54 +0100)
commitb8c1a39e002531693c360be9dd3f170bb64ea36e
treee27e83e163b9c942df76da69c489f68e890b6e95
parent8058bd35053f569dfda19f311ea717a29aa5f612
Call 'mkosi.finalize' script

This is similar to 'mkosi.postinst', but is called in the host. This
makes it much easier to copy-in files. It is also much quicker when
creating images for a foreign architecture.

v2:
- s/postinst2/finalize/g
- call the script first with "build" too
- pass the root directory as $BUILDROOT (like rpmbuild) and not as
  a positional argument. (This is easier to consume for scripts and
  also easier to extend with additional variables in the future.)
- update to use args_find_path()
README.md
mkosi