]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: Allow a few verbs to operate on directories as well as image files
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 6 Jul 2023 08:58:44 +0000 (10:58 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 6 Jul 2023 10:11:42 +0000 (12:11 +0200)
commit2292fa1e311d4c81d11d9de88cf9a9a6bef0befd
tree83d5f4a890c707dd38288fea2a120ee5290e3494
parenta130b095133b3f169ba14cdbbe6b3e3fb05686be
dissect: Allow a few verbs to operate on directories as well as image files

--copy-to, --copy-from, --list and --mtree are useful for image directories
as well as image files, so for those verbs, let's check if we were passed
a directory and skip all the image file setup if that's the case.
man/systemd-dissect.xml
src/dissect/dissect.c
test/units/testsuite-50.sh