image-policy: introduce parse_image_policy_argument() helper
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Apr 2023 13:38:01 +0000 (22:38 +0900)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Apr 2023 09:17:28 +0000 (11:17 +0200)
commit06e78680e3c36589b785f90ecda64d124905a3f7
tree4e30e25ea6b5d15e3156ec783cfef15744df9b27
parent771805eb44ec42228d9d85f4d35962ff8459bb77
image-policy: introduce parse_image_policy_argument() helper

Addresses
https://github.com/systemd/systemd/pull/25608/commits/84be0c710d9d562f6d2cf986cc2a8ff4c98a138b#r1060130312,
https://github.com/systemd/systemd/pull/25608/commits/84be0c710d9d562f6d2cf986cc2a8ff4c98a138b#r1067927293, and
https://github.com/systemd/systemd/pull/25608/commits/84be0c710d9d562f6d2cf986cc2a8ff4c98a138b#r1067926416.

Follow-up for 84be0c710d9d562f6d2cf986cc2a8ff4c98a138b.
20 files changed:
src/analyze/analyze.c
src/boot/bootctl.c
src/core/load-fragment-gperf.gperf.in
src/core/load-fragment.c
src/core/load-fragment.h
src/coredump/coredumpctl.c
src/dissect/dissect.c
src/firstboot/firstboot.c
src/gpt-auto-generator/gpt-auto-generator.c
src/journal/journalctl.c
src/machine-id-setup/machine-id-setup-main.c
src/nspawn/nspawn.c
src/partition/repart.c
src/shared/image-policy.c
src/shared/image-policy.h
src/sysext/sysext.c
src/systemctl/systemctl.c
src/sysupdate/sysupdate.c
src/sysusers/sysusers.c
src/tmpfiles/tmpfiles.c