41 Commits
Author SHA1 Message Date
lotherkandClaude Sonnet 5.5 a09daa2093 make: the kernel is built by 'make' and installed by 'make install'
installworld puts no kernel on the system.  build now ends with build.sh kernel=$(KERNEL), install
runs tools/kernel-install.sh on the result: /netbsd with /netbsd.old kept, and the same on
/cgdboot of an encrypted installation, as mxupgrade(8) does.  No restart.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 11:36:55 +00:00
lotherkandClaude Sonnet 5.5 de462fda88 make: the default build runs userland before the distribution
'make all install' has to be the whole update on a running Makronix.  'build' ran build.sh
distribution only, so the makronix set (mcde, /usr/pkg) was never built by it, only by
'make release'.  Same two steps as release 2/7 and 3/7, in one lock.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 09:39:29 +00:00
lotherkandClaude Sonnet 5.5 ca01d56c9d build: the userland builds in a chroot on Makronix; release gains the userland step; set list, mxupgrade, installimage and pins follow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 22:01:30 +00:00
lotherk 93aa5bacf2 MCDE: make debian / debian-install -- the desktop as one Debian package
Konrad, 2026-11-22: "i want mcde to support 'make debian' and it'll fully
create and download all required build dependencies and shit and make debian
debian-install would make the deb and all and then even install" and
"inkluding our own motif stuff xyz".

tools/mcde-debian.sh does the three steps in one lock:

  build    installs the build dependencies through apt-get (the ones
           configure.ac stops on and each -dev the tree compiles against),
           builds MCDE from a copy of ext/src/mcde with the path step of
           tools/mcde-host.sh, installs into build/mcde-debian-stage, strips,
           and packs build/mcde-debian/mcde_<version>_<arch>.deb
  install  installs that package
  clean    removes both directories

The package carries its own Motif: libXm, libMrm, libUil, the uil compiler
and the headers live in /usr/mdt, so the desktop runs from its own toolkit
and never from the system's libxm4 (--with-private-motif, as Konrad asked).

Four things cost a run each and are written where they bit:

- dpkg-shlibdeps matches a shlibs line on the SONAME version (libXm.so.4 ->
  4), not on the file version (4.0.4).  With 4.0.4 it ignored the line, found
  the system's libxm4 and put it in Depends.
- -L is the override file dpkg-shlibdeps READS; -T is where it writes the
  substvars it produced.  The first version passed -T and got nothing.
- -x$PKG, or the package depends on itself (every binary links /usr/mdt/lib).
- The version carries the commit, so a rebuild leaves a second .deb beside
  the first and `dpkg -i *.deb' installs both -- the older wins.  One package,
  one file: the old one goes.

debian-mcde/ holds what the package manager cannot do for the desktop: the
control paragraph, a postinst that indexes the fonts MCDE carries under
/usr/mdt/fonts for the X server, and the session entry (Type=XSession,
/usr/share/xsessions/mcde.desktop) -- without it a display manager lists the
host's desktops and not MCDE.

Verified on this host (2026-11-22):
  bmake debian from an empty build/mcde-debian exit=0,
    build/mcde-debian/mcde_0.1.0+git420f66c19e_amd64.deb (42M, 180280 KiB
    installed, 4583 files)
  Depends is free of libxm4/libuil4/libmrm4 and free of mcde itself
  the package carries usr/mdt/lib/libXm.so.4.0.4, libMrm, libUil and the
    uil compiler; /etc/pam.d/dtlogin and dtsession are conffiles
  dpkg -i installs it, postinst runs
  ldd /usr/mdt/bin/dtwm -> /usr/mdt/lib/libXm.so.4 (its own)
  on a private Xvfb: dtsession, dtwm, dtlaunch, dtpad, dtfile and the
    front panel (Applications/Files/Desktop/System/Network) run, no errors
  bmake debian-install exit=0, "mcde 0.1.0+git420f66c19e install ok
    installed", 0 upgraded / 0 newly installed

AGENTS.md and docs/BUILD-CONTRACT.md list mcde-debian.sh among the tools that
need the build lock, next to mcde-host.sh.

t0768
2026-11-22 17:35:17 +00:00
lotherkandClaude Opus 5.5 118b19a171 make usb: remove the image's work files before and after the build; keep one image backup
The install image left about 34 GB of work files in build/obj/distrib/amd64/
installimage (work/, work.rootfs, imgroot.fs, work.img), and a killed run
left install(1)'s temporary copy in RELEASEDIR/images (6.3 GB,
Makronix-0.99.11-amd64-install.img.inst.f7YyCj).  The root disk was at 99%
(15 GB free) while make usb still had 20 GB to write.

make usb now runs NetBSD's clean target of Makefile.bootimage before and
after install-image and removes *.img.inst.* first.  keep-images.sh keeps
one build/keep-* by default instead of two (each holds 10-20 GB).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 19:31:40 +00:00
lotherk 91c13b435f make release: show each step, run the media steps from the top directory
Each of the five steps prints '==> make release [time] n/5 what', the last
line says 'done' or which step failed with its exit code (Konrad: release
should show its steps, not nothing).  build.sh starts with 'cd src': it runs
in a subshell now, and sourcesets/iso/usb are called with -C $(TOP) -- in
b207c2c8ad they would have run in src/ against NetBSD's own Makefile.
2026-11-18 14:22:29 +00:00
lotherk b207c2c8ad make release builds the whole release: sets, source set, ISO, USB image
Konrad, 2026-11-18: 'make release heisst ein RELEASE, ein RELEASE enthaelt
natuerlich ALLES'.  release now runs build.sh release, then sourcesets, iso
and usb inside its own (re-entrant) lock; iso and usb keep checking the stamp
with -c, so nothing built in the same run is discarded.  cdtest no longer
calls iso a second time.  AGENTS.md and docs/BUILD-CONTRACT.md say so.
2026-11-18 14:21:06 +00:00
lotherk 4db19eff54 make usb: create the install image's object directory first
build.sh install-image runs no 'make obj'.  With
build/obj/distrib/amd64/installimage removed (by hand, 2026-11-18) nbmake
built the image inside src/distrib/amd64/installimage; the untracked files
there are part of build-stamp's key, so the next make release/iso/usb
stopped with 'sources changed'.  usb now makes the directory before
build.sh.
2026-11-18 14:14:09 +00:00
lotherk 5982a0ddde build: lock cdtest and the native MCDE builds; tools refuse outside the lock
- cdtest takes one lock around release, iso and the VM test; the nested
  make calls reuse it through BUILD_LOCK_HELD (re-entrant).  MAKE_CMD keeps
  make -n cdtest from executing the recipe: GNU make runs a recipe with
  $(MAKE) even under -n, and the rest of the line starts a VM.
- mcde-linux and mcde-host take the lock too; they read ext/src/mcde and
  the distfiles a release reads.
- build-lock.sh: --held for the tools, --check for read-only callers, pid
  plus process start time for stale locks, the child is killed on INT/TERM,
  and nested calls reuse the outer lock.
- build-stamp, cd2, cd3, cd-source, images, srctree-stage, userland,
  mcde-linux and mcde-host refuse to run outside the lock (the file and the
  message name the way in: make or tools/build-lock.sh).
2026-11-16 12:10:23 +00:00
lotherk bef43b88b9 build: absolute tool paths inside the build-lock shell
The lock wraps a recipe in one shell and $(BUILD_SH) is "cd src && ./build.sh
...", so the relative tools/cd2.sh and tools/cd3.sh after it were "not
found": make iso stopped after iso-image (build/logs/
iso-2026-11-16-signed4.log).  The sourcesets lock had the same for
tools/sign-release.sh after build.sh.  Every tool call inside the lock
strings is $(TOP)/... now.

Measured: make release && make iso exit 0; the DVD and CD 3 carry
pkg_summary.gz.sig, and the summary extracted from the DVD verifies through
the root key -> release key chain.
2026-11-16 11:58:38 +00:00
lotherk 6d0c92ae38 signify: sign the release automatically, verify it before an upgrade
- make sourcesets signs RELEASEDIR/source/sets/SHA512 inside the build lock
  when SIGNIFY_SECKEY is set (tools/sign-release.sh auto); a build without
  the key says so and stays unsigned.
- make iso signs the package summary first; tools/cd3.sh puts
  pkg_summary.gz.sig next to the summary on the DVD and on every package CD.
- tools/cd-source.sh carries SHA512.sig on the source DVD and the README
  names the two verification commands.
- tools/upgrade-verify.sh: verifies root key -> release key -> SHA512 and
  then the SHA512 of the set files; the upgrade command (tasksd t0055) calls
  it before sysupgrade/pkg_add run as root.

Measured 2026-11-16: the source SHA512 signed with the release key verifies
through the chain ("signed by the root key", "good signature"), the copy
extracted from the source DVD too, the package summary verifies, and
upgrade-verify checks src.tgz (5.8 GB) against SHA512.  `make iso` itself
was not run to the end: a commit in another session changed src/ during the
release, so build-stamp refused the packaging
(build/logs/release-iso-2026-11-16-signed.log).
2026-11-16 10:38:59 +00:00
lotherk 2d08b490dc build: make is the build again; lock the remaining targets
- all: build is the first target; a bare make ran only stamp (the first
  target in the file) and exited 0, so a user thought a build had happened
  while no set or ramdisk was touched.
- usb: the stamp check and the source-set check run inside the lock now; a
  concurrent build could change the release between the check and the
  install-image.
- isosrc, compress, test and install take the lock too: they read or write
  the release and DESTDIR, and tools/test.sh says the tests do not run
  beside a build.
2026-11-16 10:38:12 +00:00
lotherk b3b2e6849c build: one build at a time in one tree
A second make in the same tree runs clean_METALOG while the first one's
copy-releasedir still reads METALOG.sanitised; the CD staging then dies
with a missing file (t0286, build/logs/release-2026-11-16-guide.log).
The root Makefile's build, release, stamp, iso, usb, sourcesets, tools,
kernel, userland and clean-sanity targets now take tools/build-lock.sh,
which refuses a second build with the holder's pid and takes over a
stale lock.  The lock is documented in the root and tools AGENTS.md.
2026-11-16 09:09:45 +00:00
lotherk 76b17bef76 source DVD: its own medium
The sources are one set (src.tgz, 5.5 GB) and they get their own data DVD
instead of riding on the install DVD: `make isosrc' now runs
tools/cd-source.sh, which writes
RELEASEDIR/images/Makronix-<version>-amd64-source.iso with
source/sets/src.tgz, MD5, SHA512 and a README that names the commands
(ISO 9660 with Rock Ridge, the same nbmakefs the other media use).

The install DVD and the CDs carry no sources.  The installer side --
selecting the source set for the full profile and asking for this disc when
it is not in the drive (MSG_nextcd_source, cd_has_sets accepts
source/sets) -- is in the working tree with the sysinst profile work
(tasksd t0260) and not in this commit.

Measured: make isosrc -> Makronix-0.99.10-amd64-source.iso, 5.5 GB, 3m49s;
the image lists README, source/sets/src.tgz, MD5, SHA512
(build/logs/isosrc-2026-11-15b.log).  docs/OFFLINE-BUILD.md has the size and
the DVD class (dual layer).
2026-11-15 22:36:39 +00:00
lotherk bfb8f1a32e source set: one tree, usr/src, the whole repository
The source medium carried six sets: NetBSD's src, gnusrc, syssrc and
sharesrc at /usr/src, xsrc at /usr/xsrc and msrc at /usr/msrc.  Makronix is
one tree, so there is one set now: src.tgz, unpacked to /usr/src, with the
repository as it is -- src/, xsrc/, ext/, pkgsrc/, mobile/, www/, docs/,
tools/, the root files, PINS, packages.list, distfiles.lst and distfiles/
(only the archives of the Makronix packages).

- makesrctars -m packs the staged tree as usr/src and skips the split sets.
  It keeps the modes and the links of the repository (pkgsrc and tools run
  their scripts directly); build.sh gets the directory as MAKROSRCDIR.
- tools/srctree-stage.sh replaces tools/msrc-stage.sh.  It copies git's file
  list of the root repository and of pkgsrc (tracked files plus the untracked
  Makronix recipes: AGENTS.md, wm/mcde, x11/mcde-motif,
  filesystems/afpfs-ng), stages the distfiles, and puts the pkgsrc patch
  names that ustar cannot store into pkgsrc-longnames.cpio.
- makesrctars removes source sets of the old layout from
  RELEASEDIR/source/sets before it writes, so no stale gnusrc/msrc/xsrc can
  travel on a medium.

Measured: tools/srctree-stage.sh -> 462655 entries, 11 GB, 214 names in
pkgsrc-longnames.cpio; make sourcesets verified distfiles.lst (2010 archives,
0 missing, 0 wrong hash) and wrote RELEASEDIR/source/sets/src.tgz
(build/logs/sourcesets-2026-11-15.log).

The installer side is not in this commit: it is being changed in the same
tree by the sysinst profile work (tasksd t0260) -- one SET_SRC, the long-name
extraction from /usr/src/pkgsrc, the messages and sysinst.8.
docs/OFFLINE-BUILD.md, docs/BUILD-VM.md, docs/LICENSES.md and GOAL.md
describe the one tree.
2026-11-15 21:45:20 +00:00
lotherk 53ff99c635 make usb: install the image raw, skip the second BIOS image (t0246)
The stick image is written with dd(1) or booted directly, so the gzip round
trip and the second 10 GiB copy (MBR-only BIOS image; the GPT image boots on
BIOS through gptmbr too) only cost time.  make usb asks for the raw image
(INSTIMG_RAW=yes) and for one image (INSTIMG_BIOS=no); Makefile.bootimage's
defaults stay NetBSD's.  make compress still packs a download.
2026-11-15 20:02:45 +00:00
lotherk e451e6d5b0 tools: add test-tools.sh and hook make test before media tests (t0232)
Add tools/test-tools.sh (POSIX sh, scratch dir, no network/build):
pkglist.sh (PACKAGES_LIST), keep-images.sh, mxupgrade -n and
makronix-set.sh against crafted pkgdb (relative @cwd, @ignore/+COMMENT,
@pkgdir, space-in-name warning, METALOG dirs) with a broken-relative-@cwd
red case. Wire as first step of make test (no new target).

Fix mxupgrade.8 mandoc lint: Li http/https/ftp/ssh trailing delimiters and
Xr order (the 5 STYLE/WARNING items requested).

Evidence: sh tools/test-tools.sh => result: 31 ok, 0 bad (RC=0);
dash -n/sh -n clean; mandoc -Tlint now reports only 'referenced manual not
found' for sysupgrade/etcupdate/postinstall/sysupgrade.conf (external).
2026-11-15 13:32:38 +00:00
lotherkandClaude Sonnet 5.5 a9eb2d5e05 pkgsrc-cross.mk.conf: MCDE without docs and appbuilder in a cross build, the flex host settings; Makefile: KERNEL variable; the state the 0.99.10 image of 2026-11-15 02:11 was built from
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 04:42:12 +00:00
lotherkandIceman Contributor Free c6e152fae6 sourcesets: fail on stale distfiles, carry ext/ and fork archives
- makronix-distfiles.sh: new 'verify' compares distfiles.lst with the
  current recipes before sourcesets trusts it; resolve the shared DISTDIR
  without the literal ${MAKRONIX_TOP}.
- mcde-dist.sh/ext-dist.sh: also put the archive they make into
  build/distfiles (what msrc stages), so the list and the archive agree.
- msrc-stage.sh: include ext/ (forks and recipes) in the source set.
- Makefile: sourcesets runs verify before check.
- distfiles.lst: regenerated; adds the afpfs-ng fork archive and the
  current mcde archive, drops entries of packages no longer built.

Fixes the offline-source breakage in tasksd t0071.

Co-authored-by: Iceman Contributor Free <noreply@opencode.ai>
2026-11-14 06:37:45 +00:00
lotherkandIceman Contributor Free 3b224a0c9e build: refuse USB image without source sets (/source)
Require releasedir/source/sets before 'make usb' and make the amd64
installimage fail if RELEASEDIR/source/sets is missing, so a stick cannot
be produced without the source sets sysinst installs (tasksd t0047).

Co-authored-by: Iceman Contributor Free <noreply@opencode.ai>
2026-11-14 05:32:41 +00:00
lotherkandClaude Opus 5.5 357d0b7810 Makefile: make install runs build.sh install=/ -- installworld is no build.sh operation
build.sh knows install=DIR (src/BUILDING:573) and stops on anything else
with "Unknown OPERATION" (src/build.sh:1569), so make install failed on
every host (review 2026-11-13, tasksd t0069).  build.sh refuses / for a
cross build itself (3059-3066); the Makefile's own refusal on a non-NetBSD
host stays (measured here: exit 2 with its message).  Not yet run on
NetBSD.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 22:35:49 +00:00
lotherkandClaude Opus 5.5 175e4d29c4 X in the base again: build.sh -x -X xsrc, X11_TYPE=native; unpatched packages as NetBSD binaries
- Makefile: -x -X $(XSRC); build-stamp keys on xsrc/ too; PINS and
  makronix-pins.sh carry xsrc/BASE.
- pkgsrc-cross.mk.conf: X11_TYPE=native (pkgsrc uses the sysroot's /usr/X11R7).
- packages.list: no pkgsrc X any more (the X sets carry server, drivers,
  fonts, clients); built here only the forks of ext/ (MCDE, Motif,
  afpfs-ng) and flex; vim, git, samba, netatalk, sshfs, borg, pulseaudio,
  pavucontrol, cups, firefox, thunderbird and the games (RetroArch with
  all libretro cores, ScummVM with BASS and FOTAQ, Tux Racer) are the
  NetBSD project's binaries (kind fetch).
- pkg-binaries.sh: resolve by PKGPATH (samba4 is samba-4.x), an empty
  queue no longer trips set -u; cd3.sh top.list by PKGPATH as well.
- userland.sh: the host tools of the whole dependency closure.
- AGENTS.md, GOAL.md: the decision and why (measured: "The X-server can
  not be started on display :0").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:14:39 +00:00
lotherkandClaude Sonnet 5.5 efa96ca4f7 One package list: packages.list (kinds set/repo/fetch, @ARCH), read by tools/pkglist.sh; userland.sh detects cross or native and builds all of it; nothing is built in a VM any more
Removed: packages.{amd64,aarch64,binary*}.list, tools/packages.vm.list,
tools/vm-pkgbuild.sh, tools/vm-pkgcollect.sh, tools/vmbuild/, make binaries.
A package that fails no longer stops the others; they are named at the end.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 17:50:29 +00:00
lotherkandClaude Sonnet 5.5 a7528850c1 Makefile: no userland-cross target; the existing targets are enough
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 13:48:08 +00:00
lotherkandClaude Sonnet 5.5 f19af59a82 afpfs-ng is cross-built, not built in the VM: userland.sh fetches a fork of ext/ for the cross half; make userland-cross
The VM is for testing (Konrad, 2026-11-13).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 13:46:22 +00:00
lotherkandClaude Opus 5.5 85fd446593 tools: make mcde-host -- MCDE for this host's desktop in /usr/mdt
The desktop on the Linux build host runs MCDE from /usr/mdt, built by hand
on 2026-11-11 (build/logs/mcde-host-install2-2026-11-11.log) without the
path step of the pkgsrc recipe (ext/src/mcde/pkgsrc/Makefile, pre-configure:
/usr/dt, /etc/dt, /usr/bin/X11 replaced in every file).  Without it
dtsearchpath (libCliSrv/Environ.C:59-61) gave the session
DTDATABASESEARCHPATH=$HOME/.dt/types,/etc/dt/appconfig/types/%L: no data
types, and dtwm no front panel ("panel fehlt", Konrad, 2026-11-13).

tools/mcde-host.sh copies the tree to build/mcde-host with that step (a
substituted file rewritten only when its text changes, with the source's
time, so motif/ does not run its aclocal-1.15), configures for /usr/mdt
and /etc/mdt, builds, and with MCDE_DIRS=install copies the second-level
directories of the stage (usr/mdt, etc/cde, etc/pam.d, var/spool) below /
as root:root without group or other write.  The first version copied
"stage/ /" with rsync -a and gave /, /etc, /usr and /var the user as owner
and mode 775; that was put back by hand at once (root:root 755, measured
with stat) and is what the second-level copy prevents.

Measured: make mcde-host MCDE_DIRS=install exit 0
(build/logs/mcde-host-install-2026-11-13b.log); afterwards / /etc /usr
/var /etc/pam.d root:root 755, no file below /usr/mdt or /etc/cde not
root's or writable by group or others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 06:26:01 +00:00
lotherkandClaude Opus 5.5 870676e771 make binaries: the binary packages built in the build VM, as a repository for the media
The project's binaries need X in the base, Makronix has X from pkgsrc.
userland.sh binaries (make binaries; BINARIES=... before the lists name
them) builds packages.binary*.list in the build VM, vm-pkgbuild.sh repo packs
them with their run-time closure and pkg_summary.gz, and the host unpacks the
repository into build/packages/ARCH/All, where tools/cd3.sh takes it from.
The VM's mk.conf gets DEPENDS_TARGET=package-install (every dependency as a
binary package); a dependency installed before gets its package from its
PKGPATH.  vmprep() is the VM preparation that vm() and binaries() share.
The lists name PKGPATHs (still paused); cd3.sh, pkg-binaries.sh and the
tests' wanted() take the last part as the name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:18:20 +00:00
lotherk e7bd6d9407 tree: drop xsrc, track src, X from pkgsrc
- xsrc/ deleted; X11_TYPE=modular, Xorg and the X libraries come from pkgsrc
  (packages.list), in the cross configuration and the build VM.
- overlay/ and patches/ are gone; their content is in src/ (commit 64934f16).
- Makefile: no -x/-X, no overlay target, stamp no longer syncs an overlay.
- makronix-pins.sh: src/BASE + pkgsrc; msrc-stage: no .git/xsrc, src comes
  from the NetBSD source sets.
- AGENTS/GOAL/docs updated to the new model (src tracked, refs/ read-only).
- mobile: kernel source is refs/linux/7.0.0, patches stay in
  mobile/kernel/patches; fetch-kernel clones it locally and checks the pin.
2026-11-09 23:30:07 +00:00
lotherkandClaude Opus 5.5 68ddd3a7a0 mcde: builds on Linux (GCC 15); dtfile gets toolbar, sidebar, history, free space; make mcde-linux, mcde-shot
- configure.ac: the C dialect (-std=gnu11 and five GCC 14 downgrades) is
  configure's own, also handed to dtksh's ksh93 build (MCDE_DIALECT_CFLAGS).
- The pkgsrc placeholders folded in from wm/cde (@PREFIX@, @VARBASE@,
  @PKG_SYSCONFDIR@) are configure options now: --with-logfiles-dir,
  --with-config-dir, --with-local-bindir; and --with-pamdir (dtlogin,
  dtsession) and --with-calendar-dir (dtcm, rpc.cmsd) replace paths that
  were fixed.  Defaults unchanged; the recipe passes its paths.
- dtfile: programs/dtfile/Navigation.c -- Back/Forward with a history per
  window, views Icons/Small/List, places in a sidebar, free space in the
  status line (statvfs).  Screenshot: build/mcde-shots/dtfile-7.png.
- make mcde-linux (tools/mcde-linux.sh): the development build on this host,
  every system path under build/mcde-root.  tools/mcde-shot.sh: run a
  program on a private Xvfb with ttsession and dtwm, empty environment and
  its own HOME, take a screenshot.  tools/ext-sync.sh: ext recipes into
  pkgsrc/<cat>/<name>.

Measured: build/logs/mcde-linux-install3-2026-11-09.log (mcde-linux exit=0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:32:32 +00:00
lotherkandClaude Sonnet 5.5 074f559615 Remove the Apple special image: no tools/apple-image.sh, no make apple-amd64
A Mac that needs rEFInd boots a rEFInd stick and picks the Makronix stick.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:19:24 +00:00
lotherkandClaude Sonnet 5.5 dbd45ff4f0 images raw, packed on request: images.sh, make compress; apple image raw; tests take raw images
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 22:13:25 +00:00
lotherkandClaude Sonnet 5.5 24d85d1ed0 Makefile: the target is apple-amd64
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:19:48 +00:00
lotherkandClaude Sonnet 5.5 f27c8d6f96 Makefile: make apple (rEFInd image from the existing install image)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 18:19:24 +00:00
lotherkandClaude Sonnet 5.5 879beda8c6 make test: media check, one full installation (DVD), smoke tests; patch 0016: packages on the MBR image
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 16:06:13 +00:00
lotherkandClaude Sonnet 5.5 2cda72050a Rebrand: Makronix 0.99.9, based on NetBSD
Kernel banner, boot loaders, motd, /etc/release, getty banner, boot.cfg menus,
sysinst messages and the media names say Makronix (patch 0015, overlay).
kern.ostype stays NetBSD on purpose.  install-simple: 38 PASS.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:52:49 +00:00
lotherkandClaude Sonnet 5.5 d857e4fd59 Makefile: make usb (bootable installation image for a USB stick)
build.sh install-image from what make release made: NetBSD-*-amd64-install.img.gz
(GPT, EFI and BIOS) and NetBSD-*-amd64-bios-install.img.gz (MBR, BIOS only).
Measured 2026-11-08: the GPT image boots in QEMU/UEFI to sysinst.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 08:17:29 +00:00
lotherkandClaude Sonnet 5.5 840782e24c sysinst, media, tests: desktop defaults, four CDs, Portuguese, AHCI test VMs
- sysinst simple mode: sshd on with root login by password, npf firewall,
  mDNS (mdnsd, nsswitch), PulseAudio, CUPS, dbus; extra programs from N
  package CDs (extras.c); cgd root fix (mnt2_mounted)
- Portuguese (pt_BR) catalogs and patch 0013; welcome text for DVD/CDs
- media: console=auto (0008), RAM-disk installer with two CDs (0012),
  package CDs and DVD packages (cd3.sh), userland.sh for the build VM
- tests: line-by-line checks, mDNS pattern, UEFI Enter loop, VMSH_AHCI
  (QEMU 11.1.2 loses PIIX IDE interrupts under load)
- docs: UPDATING.md, npf-default.conf, AGENTS.md updates

Measured 2026-11-07: simple 37 PASS, DVD+sources 42 PASS, cgd BIOS 35 PASS;
cgd UEFI with console=auto not green yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 21:09:35 +00:00
lotherkandClaude Sonnet 5.5 6c714a0ea7 tools, Makefile, package lists: media (CD 2, CD 3), install tests, build VM, source sets, binary packages
make iso now also writes CD 2 (makronix set) and CD 3 (binary packages); make sourcesets/isosrc make the source sets and the DVD with them. tools: cd2.sh cd3.sh, install-simple.sh install-cgd.sh (end-to-end tests on the serial console), vmsh.sh devvm.sh (QEMU sessions, the kept build VM), vm-pkgbuild.sh vm-pkgcollect.sh (native pkgsrc builds), pkg-binaries.sh (the project's binary packages), host-nfs-setup.sh (NFS for the build VM; loopback-only through an nftables rule), makronix-distfiles.sh makronix-pins.sh msrc-stage.sh. Package lists: common, per platform, and binary.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:53:21 +00:00
makronix fbe0f4ed1b handoff: measured state of the FDE medium, and the build order that fixes it
The installer cannot read its own CD: cd9660.kmod is 62 hours older than the
kernel inside the same ISO, so the module does not load. build.sh iso-image
only packages releasedir; the kmods come from distribution. Two steps, in this
order, with the timestamp check as the gate.

docs/HANDOFF-2026-11-05.md carries the measurements, the file map and what is
already proven (unencrypted GPT/EFI install boots to login:).
2026-11-05 16:00:21 +00:00
makronix 3f7e52fcfe build stamp: derived artefacts are keyed by content, not by timestamps.
A patch to sysinst left the INSTALL ramdisk and the install CD from an earlier
run in place, and the test measured the previous code.
2026-11-03 21:54:54 +00:00
makronix 32032ec800 skeleton: three entry points, the conventions, and the tick that keeps work moving. 2026-11-02 22:30:44 +00:00