Updating the Desktop Makronix is one system: the base, the X server, the desktop and the packages that came with the release move together. The package tools update the packages that were installed with them; a Makronix release updates everything else. This chapter is the practical order. From System Settings Open System Settings and choose Software Update. The dialog reads the source from the first line of /etc/makronix/update, shows what it found, and asks for the administrator's password before it changes anything. It runs sysupgrade for the base system and then pkg_add -uu for the registered packages. The machine must be rebooted afterwards. The source is a directory, a file:// address or an https:// address. http:// and ftp:// are refused: a base system that is fetched over an unencrypted connection is a base system that can be changed on the way. An https:// source is protected by TLS; a file:// source is as trusted as the medium it is on. This release does not verify a signature on the sets, so use a source you control and keep the previous medium until the new system has started. From the command line # cat /etc/makronix/update https://example.invalid/makronix/0.99.10/amd64 # sysupgrade auto "$(cat /etc/makronix/update)" # postinstall -s /usr/src/etc fix # etcupdate -s /usr/src/etc # pkg_add -uu # reboot The order matters: the base system first, then the configuration merge, then the packages, then the reboot. If sysupgrade fails, stop there; a half-updated base with new packages is harder to repair than either one alone. MCDE and the makronix set The desktop is part of the makronix set, which the installer unpacks as part of the system. It is not in the package database, so pkg_add -u does not update it; a new Makronix release does. The same is true of the base system's programs (vim, git-base, sysupgrade) and of the libraries MCDE needs. A person who builds Makronix from source updates the desktop by building the new tree and installing its release; the next chapter describes the build. A person who only uses the desktop updates it with the release's own update dialog or medium. The guide itself The guide is generated from docs/guide and installed with the release. After a change to the guide's source, rebuild it and install the five forms: $ cd /usr/src $ sh docs/guide/build.sh all $ sh docs/guide/build.sh install The build needs pandoc, xmllint, mandoc, Chrome or Google Chrome for the PDF, and a host build of MCDE for the information library. build.sh check verifies that every form was produced; the details are in docs/guide/AGENTS.md. If an update goes wrong The old kernel is /netbsd.old and the loader's menu can start it. The old configuration is in /etc/rc.conf.old after postinstall or etcupdate replaced it. On an encrypted system, the kernel the machine starts is the copy in /cgdboot; explains how to put the old one back. A machine that does not start is not a machine that is lost. Start the medium, mount the root file system and read the logs; the data is still there, and the source set can rebuild the system around it.