Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162512057
D57006.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D57006.diff
View Options
diff --git a/release/tools/basic-cloudinit.conf b/release/tools/basic-cloudinit.conf
--- a/release/tools/basic-cloudinit.conf
+++ b/release/tools/basic-cloudinit.conf
@@ -8,16 +8,17 @@
export CONFIG_DRIVE_SIZE=1M
# Packages to install into the image we're creating.
-# * firstboot-freebsd-update, to install security updates at first boot.
-export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} firstboot-freebsd-update"
+# * firstboot-pkg-upgrade, to install security updates at first boot.
+export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} firstboot-pkg-upgrade"
# Set to a list of third-party software to enable in rc.conf(5).
-export VM_RC_LIST="${VM_RC_LIST} firstboot_freebsd_update growfs sshd nuageinit"
+export VM_RC_LIST="${VM_RC_LIST} firstboot_pkg_upgrade growfs sshd nuageinit"
vm_extra_pre_umount() {
cat << EOF >> ${DESTDIR}/etc/rc.conf
dumpdev="AUTO"
ifconfig_DEFAULT="SYNCDHCP accept_rtadv"
+firstboot_pkg_upgrade_repos="FreeBSD-base"
# RSA host keys are obsolete and also very slow to generate
sshd_rsa_enable="NO"
EOF
diff --git a/release/tools/ec2-small.conf b/release/tools/ec2-small.conf
--- a/release/tools/ec2-small.conf
+++ b/release/tools/ec2-small.conf
@@ -25,18 +25,21 @@
# Packages to install into the image we're creating. In addition to packages
# present on all EC2 AMIs, we install:
# * ec2-scripts, which provides a range of EC2ification startup scripts,
-# * firstboot-freebsd-update, to install security updates at first boot,
+# * firstboot-pkg-upgrade, to install security updates at first boot,
# * firstboot-pkgs, to install packages at first boot, and
# * isc-dhcp44-client, used for IPv6 network setup.
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} ec2-scripts \
- firstboot-freebsd-update firstboot-pkgs isc-dhcp44-client"
+ firstboot-pkg-upgrade firstboot-pkgs isc-dhcp44-client"
# Services to enable in rc.conf(5).
export VM_RC_LIST="${VM_RC_LIST} ec2_configinit ec2_ephemeral_swap \
- ec2_fetchkey ec2_loghostkey firstboot_freebsd_update firstboot_pkgs \
+ ec2_fetchkey ec2_loghostkey firstboot_pkg_upgrade firstboot_pkgs \
growfs sshd"
vm_extra_pre_umount() {
+ # Limit firstboot_pkg_upgrade to the base system.
+ echo 'firstboot_pkg_upgrade_repos="FreeBSD-base"' >> ${DESTDIR}/etc/rc.conf
+
# Any EC2 ephemeral disks seen when the system first boots will
# be "new" disks; there is no "previous boot" when they might have
# been seen and used already.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 15, 1:15 AM (6 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35084897
Default Alt Text
D57006.diff (2 KB)
Attached To
Mode
D57006: Cloud releases: More firstboot_pkg_upgrade
Attached
Detach File
Event Timeline
Log In to Comment