During install, if FileVault is enabled, warn that per-user supervision

trees won't work. Bump version.
This commit is contained in:
schmonz 2023-05-10 19:22:33 +00:00
parent e0f6ca0580
commit 1e5ff04a81
2 changed files with 16 additions and 3 deletions

View file

@ -1,10 +1,20 @@
# $NetBSD: INSTALL,v 1.7 2022/12/17 21:36:11 triaxx Exp $
# $NetBSD: INSTALL,v 1.8 2023/05/10 19:22:33 schmonz Exp $
RCDBOOT_STYLE=@RCDBOOT_STYLE@
RCD_SCRIPTS_DIR=@RCD_SCRIPTS_DIR@
UNPRIVILEGED=@UNPRIVILEGED@
EGDIR=@EGDIR@
warning_filevault() {
${CAT} <<EOF
===========================================================================
WARNING: With FileVault enabled, per-user supervision trees won't work.
===========================================================================
EOF
}
case "${STAGE}" in
POST-INSTALL)
@ -17,6 +27,9 @@ POST-INSTALL)
else
launchctl load -w /Library/LaunchDaemons/org.pkgsrc.rc.d-boot.plist
fi
if fdesetup status | awk '{print $3}' | grep -q '^On\.$'; then
warning_filevault
fi
;;
freebsd-native)
;;

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.14 2022/12/28 20:24:50 schmonz Exp $
# $NetBSD: Makefile,v 1.15 2023/05/10 19:22:33 schmonz Exp $
#
PKGNAME= rc.d-boot-20221225
PKGNAME= rc.d-boot-20230510
CATEGORIES= pkgtools
MAINTAINER= schmonz@NetBSD.org