]> git.ipfire.org Git - thirdparty/systemd.git/commit
debug-generator: Allow specifying name of unit-dropin credential
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 11 May 2024 14:42:24 +0000 (16:42 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 11 May 2024 17:46:15 +0000 (19:46 +0200)
commit82c2214539c9d65c029f4658c9cf2c7be53b9480
treed6a7c968636b2181bcfb96586b0f40b405b6810c
parentce78bae2b85c526f189bee019b770b3e07f5aff1
debug-generator: Allow specifying name of unit-dropin credential

A fixed name is too rigid, let's give users the ability to define
custom drop-in names which at the same time also allows defining
multiple dropins per unit.

We use ~ as the separator because:
- ':' is not allowed in credential names
- '=' is used to separate credential from value in mkosi's --credential
  argument.
- '-' is commonly used in filenames
- '@' already has meaning as the unit template specifier which might be
  confusing when adding dropins for template units
man/systemd-debug-generator.xml
src/debug-generator/debug-generator.c
src/shared/dropin.c
test/TEST-54-CREDS/test.sh
test/units/testsuite-54.sh