Skip to content

Commit 5b78343

Browse files
committed
quickpkg: enable include-unmodified-config by default
If the user has not modified an installed config file, there should be no risk of exposing secret information by including the file. This makes quickpkg behave more reasonably with FEATURES="config-protect-if-modified", which has been enabled by default since 304dfb0. Bug: https://bugs.gentoo.org/939896 Signed-off-by: Mike Gilbert <[email protected]>
1 parent 7b7b261 commit 5b78343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: bin/quickpkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,9 @@ if __name__ == "__main__":
420420
parser.add_argument(
421421
"--include-unmodified-config",
422422
choices=["y", "n"],
423-
default="n",
423+
default="y",
424424
metavar="<y|n>",
425-
help="include files protected by CONFIG_PROTECT that have not been modified since installation (as a security precaution, default is 'n')",
425+
help="include files protected by CONFIG_PROTECT that have not been modified since installation",
426426
)
427427
options, args = parser.parse_known_args(sys.argv[1:])
428428
if not options.ignore_default_opts:

0 commit comments

Comments
 (0)