Date: Thu, 21 May 2026 21:22:00 +0000 From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b9ee42d7712b - releng/15.1 - EC2: Don't enable firstboot_pkgs in small flavour Message-ID: <6a0f7778.1e288.52deb1ee@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch releng/15.1 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=b9ee42d7712b809eedf2a70fef9e59139e51ef8c commit b9ee42d7712b809eedf2a70fef9e59139e51ef8c Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2026-05-16 18:58:13 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2026-05-21 21:21:13 +0000 EC2: Don't enable firstboot_pkgs in small flavour The EC2 "base" flavour installs the devel/py-awscli package at boot time by default; we don't do this in the "small" flavour, so the default behaviour was to update the FreeBSD-ports repository and then do nothing with it. Turn off firstboot_pkgs by default; if someone is using the "small" flavour of AMIs and wants to install packages at instance launch time, they simply need to add 'firstboot_pkgs_enable="YES"' to /etc/rc.conf (which they must already be editing via user-data, in order to provide the list of packages they want installed). Approved by: re (cperciva) Sponsored by: Amazon MFC after: 3 days MFC to: stable/15 Relnotes: EC2 "small" images now have firstboot_pkgs_enable="NO". (cherry picked from commit 61df4be487cfbfd27b0959e1eb66ef0d8f84562f) (cherry picked from commit a9e71a2e1ade6f0ce4a59f3a1a2153e1c0eb29b0) --- release/tools/ec2-small.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/tools/ec2-small.conf b/release/tools/ec2-small.conf index f5904d5ea4ba..6da4444bc835 100644 --- a/release/tools/ec2-small.conf +++ b/release/tools/ec2-small.conf @@ -33,7 +33,7 @@ export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} ec2-scripts \ # Services to enable in rc.conf(5). export VM_RC_LIST="${VM_RC_LIST} ec2_configinit ec2_ephemeral_swap \ - ec2_fetchkey ec2_loghostkey firstboot_pkg_upgrade firstboot_pkgs \ + ec2_fetchkey ec2_loghostkey firstboot_pkg_upgrade \ growfs sshd" vm_extra_pre_umount() {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0f7778.1e288.52deb1ee>
