From 99c888b5eabbb7008bf4451bc62c277f28bb925f Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 16 Sep 2023 12:34:48 +0200 Subject: Only accept installs of usrmerge on unmerged-usr systems As of bookworm, merged-usr is mandatory, and people got caught in the crosshairs of the dpkg fsys-unmessusr debacle and inadvertently reverted back to an unmerged configuration and continue to remain on an unsupported system unknowingly. Help them by erroring out when they are installing packages on /, they are not in a chroot, and a usrmerge package is available. --- CMake/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMake') diff --git a/CMake/config.h.in b/CMake/config.h.in index e875c3735..65f983fa9 100644 --- a/CMake/config.h.in +++ b/CMake/config.h.in @@ -79,3 +79,6 @@ /* Group of the root user */ #cmakedefine ROOT_GROUP "${ROOT_GROUP}" + +/* Whether to check for and require merged usr if a usrmerge package is available. */ +#cmakedefine REQUIRE_MERGED_USR -- cgit v1.2.3-70-g09d2