FreeBSD Bugzilla – Attachment 195490 Details for
Bug 230071
sysutils/py-google-compute-engine: Enable growfs service on every boot for GCE instance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to FreeBSD's ports
0001-Fix-disk-enlargement-on-GCE-instances.patch (text/plain), 1.06 KB, created by
gustavo.scalet
on 2018-07-26 21:46:58 UTC
(
hide
)
Description:
patch to FreeBSD's ports
Filename:
MIME Type:
Creator:
gustavo.scalet
Created:
2018-07-26 21:46:58 UTC
Size:
1.06 KB
patch
obsolete
>From e242a89855865dbba04c31e617e1010e91c14df3 Mon Sep 17 00:00:00 2001 >From: Gustavo Serra Scalet <gustavo.scalet@collabora.com> >Date: Thu, 26 Jul 2018 18:28:40 -0300 >Subject: [PATCH] Fix disk enlargement on GCE instances > >Now the py-google-compute-engine package will check and update the main >partition growth on everyboot, in case the disk has been enlarged during >the last powerdown. >--- > sysutils/py-google-compute-engine/Makefile | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/sysutils/py-google-compute-engine/Makefile b/sysutils/py-google-compute-engine/Makefile >index 162ad1e1e..7e2ae9a1d 100644 >--- a/sysutils/py-google-compute-engine/Makefile >+++ b/sysutils/py-google-compute-engine/Makefile >@@ -40,4 +40,10 @@ post-install: > ${INSTALL_DATA} ${FILESDIR}/google_set_hostname \ > ${STAGEDIR}/etc/dhclient-exit-hooks > >+ # Enable growfs on every boot, and not just the first >+ @${REINPLACE_CMD} -e 's|firstboot_growfs_enable|growfs_enable|' \ >+ /etc/rc.conf >+ @${REINPLACE_CMD} -e '/KEYWORD: firstboot/d' \ >+ /etc/rc.d/growfs >+ > .include <bsd.port.mk> >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230071
: 195490