]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "repart: Ensure files end up owned by root in generated filesystems"
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 23 Jan 2023 13:47:00 +0000 (14:47 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 23 Jan 2023 15:33:03 +0000 (16:33 +0100)
commitff1b55ffdf7ba7294e9e9d00393acbac426295c9
tree834f334619427f5ddda6a3deb4cd85348afc38c3
parent49fb6e97d2ffeb026829e6e6d780816abea407ae
Revert "repart: Ensure files end up owned by root in generated filesystems"

This reverts commit e59678b2cf42e4206ddabc959d3cf9a5a865ecdc.

We also modify the repart integration tests to make them pass with the
changes in this commit. In short, we have to make sure every file is
owned by the user executing repart. We use tee instead of cat since it
makes that easier. This also has the benefit of improving debugability
as seeing the config file contents on stdout makes it easier to know
which test is failing.
src/partition/repart.c
src/shared/mkfs-util.c
test/units/testsuite-58.sh