The branch releng/12.4 has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e648a628a66a09973154b442ac1266316be20506

commit e648a628a66a09973154b442ac1266316be20506
Author:     Kyle Evans <[email protected]>
AuthorDate: 2023-10-12 02:51:07 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2023-11-08 01:01:37 +0000

    freebsd-update: create deep BEs by default
    
    The -r flag to bectl needs to go away, and we need to just do the right
    thing.  In the meantime, we can apply an -r in freebsd-update as a
    minimal fix to stop creating partial backups in these (non-default) deep
    BE setups.
    
    PR:             267535
    (cherry picked from commit 989c5f6da99081b1f2b76ec09e91078e531e1250)
    (cherry picked from commit 5c2a559876d123ba386612319bf42e7b32dee590)
    
    Approved by:    so
    Security:       FreeBSD-EN-23:13
---
 usr.sbin/freebsd-update/freebsd-update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/freebsd-update/freebsd-update.sh 
b/usr.sbin/freebsd-update/freebsd-update.sh
index 324e838fd8a7..b9eb1066c58e 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -918,7 +918,7 @@ install_create_be () {
                        echo -n "Creating snapshot of existing boot 
environment... "
                        VERSION=`freebsd-version -ku | sort -V | tail -n 1`
                        TIMESTAMP=`date +"%Y-%m-%d_%H%M%S"`
-                       bectl create ${VERSION}_${TIMESTAMP}
+                       bectl create -r ${VERSION}_${TIMESTAMP}
                        if [ $? -eq 0 ]; then
                                echo "done.";
                        else

Reply via email to