aboutsummaryrefslogtreecommitdiff
path: root/sysutils/firstboot-pkgs
Commit message (Collapse)AuthorAgeFilesLines
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-1/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* sysutils/firstboot-pkgs: Bootstrap and update pkg unconditionallyLi-Wen Hsu2020-06-102-6/+4
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=538369
* sysutils/firstboot-pkgs: Loop through the list installing one at a time toBrad Davis2017-01-302-4/+4
| | | | | | | | | | handle missing pkgs in the repo. Reviewed by: allanjude Approved by: cperciva, bdrewery (implicit) Notes: svn path=/head/; revision=432859
* - Add NO_ARCHDmitry Marakasov2017-01-091-6/+1
| | | | | | | | | - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL Approved by: portmgr blanket Notes: svn path=/head/; revision=430936
* - minor cleanupJason Helfman2015-04-011-5/+4
| | | | | | | | | | | - options in favor of using pre - extract_only to drop fetch target - no_install to drop install target Approved by: cperciva Notes: svn path=/head/; revision=382968
* Nominate myself for the useful-use-of-cat award.Colin Percival2014-09-192-3/+5
| | | | | | | | | 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. Notes: svn path=/head/; revision=368591
* pkg uses "is stdin a terminal?" to decide if it's running interactivelyColin Percival2013-12-162-2/+2
| | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=336602
* Fix dumb typo: Need to check if the number of rc.d scripts has changedColin Percival2013-12-082-2/+2
| | | | | | | | between pre-package-installation and post-package-installation, not between pre- and pre-. Notes: svn path=/head/; revision=335875
* If firstboot_pkgs installs a package which contains an rc.d script,Colin Percival2013-12-083-2/+15
| | | | | | | request a reboot so that any newly-installed daemons will be launched. Notes: svn path=/head/; revision=335864
* To prevent fallout of lowering __FreeBSD_version in releng/10.0 branch,Glen Barber2013-12-071-1/+1
| | | | | | | | | | adjust OSVERSION evaluation in ports that specifically use '100050N'. Approved by: affected maintainers (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=335824
* Add firstboot-pkgs:Colin Percival2013-11-303-0/+75
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. Notes: svn path=/head/; revision=335251