1
0
mirror of https://github.com/systemd/systemd synced 2025-10-09 13:44:44 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Jóhann B. Guðmundsson
eb34cce178 fix: point to the correct drop-ins subdirectory for confs 2021-04-22 09:36:14 +02:00
Lennart Poettering
5a44565cb7 gpt: we actually honour the ReadOnly= flag on XBOOTLDR partitions too
The partition type is defined in our Discoverable Partition Spec, and we
honour the flag for it, hence allow setting it too.
2021-04-22 09:34:41 +02:00
14 changed files with 15 additions and 14 deletions

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the user.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See systemd-user.conf(5) for details. # See systemd-user.conf(5) for details.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the coredump.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/coredump.conf' to display the full config. # Use 'systemd-analyze cat-config systemd/coredump.conf' to display the full config.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the homed.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/homed.conf' to display the full config. # Use 'systemd-analyze cat-config systemd/homed.conf' to display the full config.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the journal-remote.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See journal-remote.conf(5) for details. # See journal-remote.conf(5) for details.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the journal-upload.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See journal-upload.conf(5) for details. # See journal-upload.conf(5) for details.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the journald.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. # Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the logind.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config. # Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the networkd.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See networkd.conf(5) for details. # See networkd.conf(5) for details.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the oomd.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/oomd.conf' to display the full config. # Use 'systemd-analyze cat-config systemd/oomd.conf' to display the full config.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the pstore.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See pstore.conf(5) for details. # See pstore.conf(5) for details.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the resolved.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config. # Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.

View File

@ -158,7 +158,8 @@ bool gpt_partition_type_knows_read_only(sd_id128_t id) {
GPT_HOME, GPT_HOME,
GPT_SRV, GPT_SRV,
GPT_VAR, GPT_VAR,
GPT_TMP) || GPT_TMP,
GPT_XBOOTLDR) ||
gpt_partition_type_is_root_verity(id) || /* pretty much implied, but let's set the bit to make things really clear */ gpt_partition_type_is_root_verity(id) || /* pretty much implied, but let's set the bit to make things really clear */
gpt_partition_type_is_usr_verity(id); /* ditto */ gpt_partition_type_is_usr_verity(id); /* ditto */
} }

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the sleep.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See systemd-sleep.conf(5) for details. # See systemd-sleep.conf(5) for details.

View File

@ -7,7 +7,7 @@
# #
# Entries in this file show the compile time defaults. Local configuration # Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in # should be created by either modifying this file, or by creating "drop-ins" in
# the system.conf.d/ subdirectory. The latter is generally recommended. # the timesyncd.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins. # Defaults can be restored by simply deleting this file and all drop-ins.
# #
# See timesyncd.conf(5) for details. # See timesyncd.conf(5) for details.