Port details |
- firstboot-pkgs Install packages when the system first boots
- 1.7 sysutils =5 1.7Version of this port present on the latest quarterly branch.
- Maintainer: cperciva@FreeBSD.org
- Port Added: 2013-11-30 00:17:10
- Last Update: 2024-04-12 15:10:23
- Commit Hash: 8c1c637
- People watching this port, also watch:: py39-pycparser, glib, libpciaccess, openvpn, libedit
- License: not specified in port
- Description:
- When the system first boots, install the pkg(8) tools (if not already
installed) and packages listed in the $firstboot_pkgs_list rc.conf
variable. If the installed packages added new rc.d scripts, 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- firstboot-pkgs>0:sysutils/firstboot-pkgs
- To install the port:
- cd /usr/ports/sysutils/firstboot-pkgs/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/firstboot-pkgs
- pkg install firstboot-pkgs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: firstboot-pkgs
- Flavors: there is no flavor information for this port.
- distinfo:
- There is no distinfo for this port.
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_firstboot-pkgs
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.7 12 Apr 2024 15:10:23 |
Muhammad Moinur Rahman (bofh) |
sysutils/firstboot-pkgs: Refactor examples
Some of the examples in the rc script points to older versions of ports
which are no longer in the tree. There is no change in the
dunctionality of the ports. This is just a cosmetic change.
Approved by: cperciva (slack) |
1.6 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.6 06 Apr 2021 14:31:13 |
Mathieu Arnold (mat) |
all: Remove all other $FreeBSD keywords. |
1.6 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.6 10 Jun 2020 04:22:32 |
lwhsu |
sysutils/firstboot-pkgs: Bootstrap and update pkg unconditionally
The background of this patch is available at:
https://lists.freebsd.org/pipermail/freebsd-cloud/2020-April/000234.html
Even a `pkg -N` success, the following `pkg install` may still fail because of
the repository version doesn't match between client and server.
Therefore, unconditionally bootstrap and update pkg at firstboot to ensure pkg
and local metadata are update-to-date.
Approved by: cperciva (maintainer)
MFH: 2020Q2
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24517 |
1.5 30 Jan 2017 17:48:07 |
brd |
sysutils/firstboot-pkgs: Loop through the list installing one at a time to
handle missing pkgs in the repo.
Reviewed by: allanjude
Approved by: cperciva, bdrewery (implicit) |
1.4 09 Jan 2017 10:04:06 |
amdmi3 |
- Add NO_ARCH
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by: portmgr blanket |
1.4 01 Apr 2015 22:48:35 |
jgh |
- minor cleanup
- options in favor of using pre
- extract_only to drop fetch target
- no_install to drop install target
Approved by: cperciva |
1.4 19 Sep 2014 19:02:34 |
cperciva |
Nominate myself for the useful-use-of-cat award.
pkg detects if its stdout is a terminal and prints many 'done%' lines,
which are useful for interactive use on modern terminals, but not so
useful on a serial console; piping through cat silences these. |
1.3 16 Dec 2013 02:36:23 |
cperciva |
pkg uses "is stdin a terminal?" to decide if it's running interactively
and thereby whether it should display a progress bar during downloads.
While rc.d scripts have a terminal attached, for the common case of
unattended installation of servers, this script is not being used
interactively; so redirect stdin from /dev/null to silence the progress
bars and reduce console spew.
The -q option could be used to accomplish this, but that would also
eliminate other more useful information, such as the names and versions
of packages being installed. |
1.2 08 Dec 2013 11:03:09 |
cperciva |
Fix dumb typo: Need to check if the number of rc.d scripts has changed
between pre-package-installation and post-package-installation, not
between pre- and pre-. |
1.1 08 Dec 2013 05:34:43 |
cperciva |
If firstboot_pkgs installs a package which contains an rc.d script,
request a reboot so that any newly-installed daemons will be launched. |
1.0 07 Dec 2013 10:50:23 |
gjb |
To prevent fallout of lowering __FreeBSD_version in releng/10.0 branch,
adjust OSVERSION evaluation in ports that specifically use '100050N'.
Approved by: affected maintainers (implicit)
Sponsored by: The FreeBSD Foundation |
1.0 30 Nov 2013 00:17:00 |
cperciva |
Add firstboot-pkgs:
When the system first boots, install the pkg(8) tools (if not already
installed) and packages listed in the $firstboot_pkgs_list rc.conf
variable.
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. |