Date: Thu, 08 Jan 2026 08:59:55 +0000 From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: William Carrel <william.a@carrel.org> Subject: git: 709c1049fe0c - main - GCE: Fix growfs path Message-ID: <695f720b.f1f5.66e79e14@gitrepo.freebsd.org>
index | next in thread | raw e-mail
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"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695f720b.f1f5.66e79e14>
