notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
firstboot-pkgs Install packages when the system first boots
1.7 sysutils on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.7Version of this port present on the latest quarterly branch.
Maintainer: cperciva@FreeBSD.org search for ports maintained by this maintainer
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.
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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):
firstboot-pkgs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.71.71.61.71.7-1.6-
FreeBSD:13:quarterly1.71.71.61.71.71.61.61.6
FreeBSD:14:latest1.71.71.61.71.71.6-1.6
FreeBSD:14:quarterly1.71.7-1.71.71.61.61.6
FreeBSD:15:latest1.71.7n/a1.7n/a1.61.61.6
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:
  1. There is no master site for this port.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7
12 Apr 2024 15:10:23
commit hash: 8c1c637b5eddbfe7abda49af796667250c3aba90commit hash: 8c1c637b5eddbfe7abda49af796667250c3aba90commit hash: 8c1c637b5eddbfe7abda49af796667250c3aba90commit hash: 8c1c637b5eddbfe7abda49af796667250c3aba90 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.6
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
1.6
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.6
10 Jun 2020 04:22:32
Revision:538369Original commit files touched by this commit
lwhsu search for other commits by this committer
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
Revision:432859Original commit files touched by this commit
brd search for other commits by this committer
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
Revision:430936Original commit files touched by this commit
amdmi3 search for other commits by this committer
- 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
Revision:382968Original commit files touched by this commit
jgh search for other commits by this committer
- 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
Revision:368591Original commit files touched by this commit
cperciva search for other commits by this committer
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
Revision:336602Original commit files touched by this commit
cperciva search for other commits by this committer
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
Revision:335875Original commit files touched by this commit
cperciva search for other commits by this committer
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
Revision:335864Original commit files touched by this commit
cperciva search for other commits by this committer
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
Revision:335824Original commit files touched by this commit
gjb search for other commits by this committer
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
Revision:335251Original commit files touched by this commit
cperciva search for other commits by this committer
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.

Number of commits found: 14