ttys - Add 'ifconsole' option to ttys entries * Add the 'ifconsole' option. This allows you to construct a line as shown below to enable a getty (e.g. on a serial port) only if the tty is the system console. ttyd0 "/usr/libexec/getty std.9600" dialup on secure ifconsole The ifconsole option also silently disables any devices which do not exist, removing unnecessary console spam. * Modify libc and init to handle the new flag. * Modify the nrelease build and ttys defaults to use this option for ttyd0, ttyd1, ttyd2, and ttyd3. * Avoids previously reported issues with system crashes on certain machines whos serial ports are not implemented properly without having to fully disable the default ttyd* getty feature. If the serial port isn't the console, it won't be enabled. * Add a sysctl to the kernel which init needs to test whether a tty is the console or not. Suggested-by: swildner
nrelease: Solve the initial initrd creation better. Hard links in cd9660, while not taking up more space in the ISO or on the CD, all have distinct inode numbers, which causes them to be treated like individual files when copying them somewhere. This caused the initrd to overflow when we built it from the installer after booting from the ISO. This commit puts initrd creation into the nrelease process instead, making use of mkinitrd(8)'s -c option which allows us to override the contents directory to the ${ISOROOT}'s /usr/share/initrd. Reported-by: opvalues Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2798>
Remove various pkgsrc remains. * Remove pkgsrcaudit periodic script. * Remove pkg_radd(1) and pkg_search. pkg(8) will do. * Remove pkgsrc(7) manual page. * Remove test/fastbulk (meant to be a faster alternative to pbulk but it never took off). * Remove searching of /usr/pkgsrc searching via whereis(1). * Various small adjustments.
nrelease: Do not provide default make.conf files. The git package delivered on the installation media is special in the sense that it is built with certain options not set to prevent it from pulling in python and perl as dependencies (to keep the ISOs small, mainly). Once the system is installed, storage size is no longer really an issue, so there is no need to have those options in the make.conf we install. After this commit, a manually built git package should match the binary package which we provide.