freebsd-dev/tools/tools/nanobsd
Warner Losh 804b78634d Mount and unmount devfs around calls to add packages.
pkg now uses /dev/null for some of its operations. NanoBSD's packaging
stuff didn't mount that for the chroot it ran in, so any config that
added packages would see the error:
	pkg: Cannot open /dev/null:No such file or directory
when trying to actually add those packages. It's easy enough for
nanobsd to mount /dev and it won't hurt anything that was already
working and may help things that weren't (like this). I moved the
mount/unmount pair to be in the right push/pop order from the
submitted patch.

PR: 238727
Submitted by: mike tancsa
Tested by: Karl Denninger
2019-06-21 03:49:36 +00:00
..
dhcpd nanobsd: exclude .git (and .hg) in the same places we exclude .svn 2019-05-24 15:21:23 +00:00
embedded Rework UEFI ESP generation 2018-12-20 19:39:37 +00:00
Files/root Fix comment typo. 2016-11-23 16:54:27 +00:00
pcengines sys: Remove DEV_RANDOM device option 2019-06-21 00:16:30 +00:00
rescue Switch the default pager for most commands to less 2018-08-08 19:24:20 +00:00
defaults.sh Mount and unmount devfs around calls to add packages. 2019-06-21 03:49:36 +00:00
fill_pkg.sh
FlashDevice.sub
legacy.sh Fix backward conditional. 2018-02-03 21:56:38 +00:00
mtree-dedup.awk Remove 'All Rights Reserved' 2018-05-09 20:41:03 +00:00
nanobsd.sh Add -I to just run the imaging part of nanobsd so you can test out 2017-12-11 02:44:10 +00:00