Date: Sat, 10 Jan 2026 17:04:42 +0000 From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: William Carrel <william.a@carrel.org> Subject: git: 24a20efd93be - stable/15 - GCE: Fix growfs path Message-ID: <696286aa.31376.5b66f898@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=24a20efd93bed43f505ddfc2022e8d02563838a1 commit 24a20efd93bed43f505ddfc2022e8d02563838a1 Author: William Carrel <william.a@carrel.org> AuthorDate: 2026-01-08 08:49:42 +0000 Commit: Xin LI <delphij@FreeBSD.org> 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"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696286aa.31376.5b66f898>
