]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Make source directories ephemeral when running scripts 2041/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Nov 2023 13:04:26 +0000 (14:04 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Nov 2023 16:09:34 +0000 (17:09 +0100)
commit40454fdcebbe10ad9f42fe120c4b6d9e0c9788ad
treef1331feb5af772f417798401a36d1d329aa96311
parent94c1e78a496713e006fc576f56e62216eb70ea57
Make source directories ephemeral when running scripts

Various tools like to write to the source directory, which we want
to avoid. Let's make source directories ephemeral when running scripts
so tools can write to it as much as they want but we can throw away all
those changes when we're done running scripts.

Specifically, this makes running rpmbuild as documented in
docs/building-rpm-from-source.md a lot nicer as the source directory won't be
polluted with all manner of temporary files anymore.
NEWS.md
mkosi/__init__.py
mkosi/resources/mkosi.md