nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users Use pw(8) to add the 'installer' user and use chpass(1) to disable passwords for the 'installer' and 'root' users. So we can drop the customized 'master.passwd' file and be in sync with the one in usr/src/etc.
nrelease: Remove superfluous files * The 'pwd.db' and 'spwd.db' files should be generated by pwd_mkdb(8). * The 'login.conf' is not customized and thus not needed. Anyway, the 'gui' framework is still using the deprecated pkgsrc framework and has not been maintained for years...
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 - Adjust source inclusion, cleanups * When including sources only include the git repo, do not also include the broken-out source. * Add more slop to the size calculation for the usb image * tmpfs entries in /etc/fstab should specify 'dummy' as the device, not 'tmpfs'. * Add /usr/obj as a tmpfs mount. * misc cleanups.
nrelease - gui - Change window manager, cpdup additional directories * Change to fvwm2 * Autostart two xterms and clocks * Add simple button bar with two buttons 'xterm' and 'firefox'. * Installer now also installs /usr/src and /usr/pkgsrc from the stick.
nrelease - Provide default /etc/X11, better rc.conf * Don't make users agonize over /etc/X11, provide one even if we aren't the gui. Also provide it in /etc.hdd so it gets installed onto the HD. * This also fixes the problem where the gui install was failing to install /etc/X11 onto the HD. * The normal and gui installs were not installing reasonable rc.conf defaults. Do so.
nrelease - gui build adjustments * Remove packages that failed to build. Unfortunately rxvt was one of them. Note that I did some manual build hacks to other packages to build which aren't committed to pkgsrc. * Fix size calculation for usb disk img. * Adjust fluxbox menu firefox3->firefox and urxvt->xterm.
Hopefully fix mountroot on our LiveCDs. Before the recent loader changes, the root device to use for CD-ROM booting (/dev/cd0) was properly passed from the loader to the kernel so the entry in fstab was never used. However, with the new loader code this doesn't happen anymore (for yet unknown reasons), so the fstab entry is tried and fails, because it is wrong. So for now, adjust our fstabs to use /dev/cd0.
nrelease: Remove LiveDVD specific kernel configs and loader menu. These were introduced in order to also offer SMP kernels (with and without APIC_IO) from the LiveDVD. But we don't want to maintain 4 extra kernel configs just for that purpose, especially since we have x86_64 support now which would require introducing even more configs. The whole concept has to be re-thought. So until we come up with a better solution, get rid of it and go with the usual GENERIC/VKERNEL (X86_64_GENERIC/VKERNEL64 on x86_64) combination just like we do for the LiveCD.