tools: add -n shortcut for --dry-run

Accept -n as a short option for --dry-run in bootctl,
systemd-oomd, systemd-sysusers, and systemd-tmpfiles.

For systemd-repart, make -n equivalent to --dry-run=yes,
while keeping --dry-run=BOOL available.

Follow-up for: 2479f0bb09
This commit is contained in:
dongshengyuan
2026-07-29 03:47:58 +09:00
committed by Yu Watanabe
parent efc207d7ab
commit f5ffb38606
16 changed files with 31 additions and 15 deletions
-1
View File
@@ -2739,7 +2739,6 @@ SPDX-License-Identifier: LGPL-2.1-or-later
- teach tmpfiles.d m/M to move / atomic move + symlink old -> new
- add new line type for setting btrfs subvolume attributes (i.e. rw/ro)
- tmpfiles: add new line type for setting fcaps
- add -n as shortcut for --dry-run in tmpfiles & sysusers & possibly other places
- add new line type for moving files from some source dir to some
target dir. then use that to move sysexts/confexts and stuff from initrd
tmpfs to /run/, so that host can pick things up.