git: 709c1049fe0c - main - GCE: Fix growfs path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jan 2026 08:59:55 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/src/commit/?id=709c1049fe0c6d0217e81268d4f33f7191474453
commit 709c1049fe0c6d0217e81268d4f33f7191474453
Author: William Carrel <william.a@carrel.org>
AuthorDate: 2026-01-08 08:49:42 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-01-08 08:59:06 +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
MFC after: 1 day
---
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 558641821b16..6bbd26b5835f 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"