The branch stable/15 has been updated by delphij:

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

commit 24a20efd93bed43f505ddfc2022e8d02563838a1
Author:     William Carrel <[email protected]>
AuthorDate: 2026-01-08 08:49:42 +0000
Commit:     Xin LI <[email protected]>
CommitDate: 2026-01-10 17:03:25 +0000

    GCE: Fix growfs path
    
    The sed command was missing the ${DESTDIR} prefix, meaning it was
    attempting to modify the build host's /etc/rc.d/growfs instead of
    the target image's script. Tested in an arm64 builder that builds
    as non-root.
    
    PR:             kern/292081
    
    (cherry picked from commit 709c1049fe0c6d0217e81268d4f33f7191474453)
---
 release/tools/gce.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/tools/gce.conf b/release/tools/gce.conf
index e0d7d883fb14..934007759279 100644
--- a/release/tools/gce.conf
+++ b/release/tools/gce.conf
@@ -39,7 +39,7 @@ vm_extra_pre_umount() {
 
        # Enable growfs on every boot, not only the first, as as instance's 
disk can
        # be enlarged post-creation
-       sed -i -e '/KEYWORD: firstboot/d' /etc/rc.d/growfs
+       sed -i -e '/KEYWORD: firstboot/d' ${DESTDIR}/etc/rc.d/growfs
 
        cat << EOF >> ${DESTDIR}/etc/rc.conf
 dumpdev="AUTO"

Reply via email to