]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Rework tar archive handling 1736/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 5 Aug 2023 14:12:43 +0000 (16:12 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 5 Aug 2023 14:34:38 +0000 (16:34 +0200)
commite36f81225370389289caae98a6d4e5cf875e2cd8
treeef929375a90f21e9eb408d56cc281ca66e1ea3b0
parent4e3e339f32436de3b25edd5de55f22edd376405a
Rework tar archive handling

- Instead of relying on shutil.unpack_archive(), let's always use tar
- Introduce archive_tree() and extract_tree() to abstract tar archives
- Make sure tar always uses the user/group information from the root dir
- Enable all features
- Make sure tar doesn't overwrite directory permissions
mkosi/__init__.py
mkosi/distributions/debian.py
mkosi/distributions/gentoo.py
mkosi/run.py
mkosi/tree.py
mkosi/util.py