non port: sysutils/firstboot-freebsd-update/files/firstboot_freebsd_update.in |
Number of commits found: 5 |
Tuesday, 30 Jan 2024
|
21:26 Colin Percival (cperciva)
sysutils/firstboot-freebsd-update: HTTP_TIMEOUT=5
If a system with firstboot_freebsd_update_enable="YES" boots without
access to the FreeBSD Update mirrors (e.g. an EC2 instance which has
an EC2 security group settings which block outbound HTTP) the boot
will hang until it times out. The default timeout of 120 seconds is
suboptimal.
Run freebsd-update with a timeout of 5 seconds, and bump the package
version to 1.4 to reflect this change.
Reported by: mgrooms@shrew.net
PR: 276720
Sponsored by: https://www.patreon.com/cperciva
39126a2 |
Thursday, 24 Jun 2021
|
20:37 Colin Percival (cperciva)
sysutils/firstboot-freebsd-update: Add --not-running-from-cron
On systems without a working console, running freebsd-update fetch
from an rc script triggers the "should not be run non-interactively"
error. Solve this by telling freebsd-update to skip that check.
Reported by: Mike Bristow
7d65d24 |
Tuesday, 31 Mar 2015
|
01:26 cperciva
Teach the firstboot-freebsd-update script to disable itself if it is run
on something other than *-BETA*, *-RC*, or *-RELEASE*. There won't be
any bits available to download, and if we don't disable it then the first
boot will be slowed down due to freebsd-update trying all of the available
mirrors.
|
Monday, 28 Oct 2013
|
00:06 cperciva
Set ${firstboot_freebsd_update_enable} to NO by default.
Bump version to 1.1 for the change.
|
Sunday, 20 Oct 2013
|
22:03 swills
Run 'freebsd-update fetch' when the system first boots; and if updates are
downloaded, install them and request a reboot.
Obviously, this port is not useful after a system is already running; it is
intended to be included as part of the installation or disk image building
process.
PR: ports/183130
Submitted by: cperciva@FreeBSD.org
|
Number of commits found: 5 |