Commit graph

5 commits

Author SHA1 Message Date
Colin Percival
7b5782e2bf 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.
2013-12-16 02:36:23 +00:00
Colin Percival
d626e7e328 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-.
2013-12-08 11:03:09 +00:00
Colin Percival
a10cfe706f If firstboot_pkgs installs a package which contains an rc.d script,
request a reboot so that any newly-installed daemons will be launched.
2013-12-08 05:34:43 +00:00
Glen Barber
0dd076723f 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
2013-12-07 10:50:23 +00:00
Colin Percival
eee107ae75 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.
2013-11-30 00:17:00 +00:00