Commit Graph

17603 Commits

Author SHA1 Message Date
nia a72de12762 sparc64 follows x86 and gets an installdvd image with all sets 2024-04-24 15:39:58 +00:00
nia 6c62cea2ba Add "DVD" ISOs for x86 that don't have to follow CD size limitations.
These include all available sets.
2024-04-24 11:29:34 +00:00
nia 9cbaeab3a8 Give lots of room for further expansion of the sparc64 CD image 2024-04-24 05:16:16 +00:00
christos 8d70431e8b VAX boot.fs: Fix owner/group/permissions for VAX's boot.fs (Jan-Benedict Glaw)
(Initial patch from Christos Zoulas.)  Don't create an archive based on local
permission bits and owner/group. Instead, feed a small manifest into `pax`
and let it to its work.

  NB: Don't also feed in an entry for the current directory ".", as `pax` will
then archive all files in the current directory, in `readdir()` order.
2024-04-23 22:00:37 +00:00
christos 1b36f85ce6 `nm`: Generate a stable symbol table (Jan-Benedict Glaw)
Release artifacts may contain symbol lists. Binutils's `nm` sorts them by
symbol name, locale based. Inserting a plain `sort` (with `LC_ALL=C`) here
sorts them by address, and (with several symbols pointing to the same address)
sorting by name is also stable (think of embedded '_'.)
2024-04-23 21:58:57 +00:00
nia 50dd28a100 Reduce the size of the i386 ISO to help it fit on a CD-ROM
Exclude tests and html man pages.
2024-04-23 20:37:07 +00:00
nia 9afa3b4167 Exclude compat sets from ISO images that struggle to fit on a CD-ROM
When debug is excluded, also exclude the compat debug sets.
2024-04-23 12:25:57 +00:00
martin 39f3caee78 Add new test program 2024-04-23 07:33:24 +00:00
nia f7dfb79875 Move MIPS N64 compat out of {base,debug}32 into {base,debug}64
martin requested separation by ABI and it doesn't make much sense
to have 64-bit binaries in a set called 32.
2024-04-22 14:41:24 +00:00
pho 76248f073a Add a test for kern/58149
aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
2024-04-22 07:24:22 +00:00
jakllsch 2c9c248e72 Install xsetwallpaper(1) manual page
Should fix PR 58172.
2024-04-18 19:17:14 +00:00
christos 97246cf21d more plugin set fixes 2024-04-17 13:23:32 +00:00
christos 2ab201d46f Set LC_ALL=C before calling sort so that it works consistently. Unfortunately
ENVIRON["LC_ALL"] = "C"; does not work like in gawk (Jan-Benedict Glaw)
2024-04-16 23:40:36 +00:00
christos 2f8da1f3f1 fix compat build of filter-aaaa.so.0 2024-04-16 19:15:36 +00:00
maya 79aee05283 restore amd64 live image support for resize root after combined mbr/gpt commit
we need to resize_gpt now, as it takes precedence over mbr/disklabel
this change brings us to behave like the evbarm images.

XXX: we don't seem to touch disklabel and MBR, but they exist. Not sure whether
that has any negative repercussions, maybe another system might regard MBR as the
sole source of truth when GPT also exists.
2024-04-16 16:13:44 +00:00
martin 0e23ad0629 mipsn64 has ld.elf_so-n32 for compat (and -o32), not ld.elf_so-64 2024-04-16 14:15:53 +00:00
martin 124fe5e84c Mipsn64* has no 64bit compat, its userland is native n64 - instead it
has n32 compat.
2024-04-15 12:24:53 +00:00
maya 1de18f2164 amd64 live image: support EFI as well as BIOS boot
The biggest caveat is that there's a small number of machines that try to
EFI boot but fail, so would prefer a BIOS only image. I'm not adding a
separate BIOS only image because the live image is pretty niche.
(For regular installation images, we do create a separate BIOS-only version)
2024-04-13 18:38:17 +00:00
nakayama 1927f9fe53 "./usr/libdata/debug/usr/lib/@ARCH_SUBDIR@/security" directory is
created by mtree regardless of MKDEBUG option, so move the entry from
debug32 to base32.
2024-04-13 08:50:18 +00:00
hannken 6053b8da68 Files libgcc_eh_g.a and libgcc_s_g.a are debuglib, not debug. 2024-04-12 14:22:51 +00:00
wiz a13182364e mark *32 libc++ with libcxx 2024-04-12 11:40:09 +00:00
wiz 0a8d830c32 add libc++ files to *32 sets 2024-04-11 15:29:16 +00:00
nia a749751a21 sync categories with main debug set - somehow missed in test build... 2024-04-11 08:19:30 +00:00
riastradh b73702cbe4 Nix /var/run/named entry from set lists.
Normally we don't do this, but /var/run/named is

(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.

However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.

Do the same with /var/run/lwresd just in case.

PR misc/57877
2024-04-11 02:15:39 +00:00
nia e7890c79c1 Add missing directory from the new set of PAM files that get installed 2024-04-10 16:14:26 +00:00
kre a217a3cac7 Revert previous, we have no /etc/skel/.editrc (currently anyway).
This change looks to have been accidentally included in the big
sets reduction/division.

This should fix the builds.
2024-04-09 21:02:17 +00:00
nia 545236f400 Add new sets: base32, debug32, manhtml
- base32 contains (when MKCOMPAT=yes) shared libraries for 32-bit
  compatibility, previously included in base

- debug32 contains (when MKCOMPAT=yes) debug symbols and static libraries
  containing debug symbols for 32-bit compatiblity, previously included
  in debug

- manhtml contains (when MKHTML=yes) the HTML files previously included
  in 'man', which are of limited utility without third-party software.

The motivation for this change is to be able to easily exclude sets
from CD-ROM images that go over the size limit without xz compression
(which many NetBSD platforms struggle to extract at acceptable speeds).
2024-04-09 15:17:21 +00:00
nakayama b1e388c0fa Remove unnecessary characters left over from the previous commit. 2024-04-08 10:26:17 +00:00
kre 15fd71c48c Revert last, unbreak build. Unless the bind Makefiles start installing
a /var/run/named file (which in general would be wrong, as most sites run
named in a chroot these days) the file is obsolete, and should not, and
does not, get generated by the build, nor should it be included in any
sets.

Ideally we'd have an "optional" flag for the sets files, to allow them
to mention files that might exist, and don't matter (and are not included
in the sets), but that's a bigger change than is needed just to fix the
builds.
2024-04-07 21:33:12 +00:00
christos 8693216f97 /var/run/named is not obsolete 2024-04-07 15:02:08 +00:00
christos 4bd940221b specify the paper size for PostScript 2024-04-05 23:05:04 +00:00
christos 6b2da37d70 - Create 3 new variables:
MAKELINKLIB that follows MKLINKLIB but can be overwritten by Makefiles
  MAKESTATICLIB that follows MKSTATICLIB but can be overwritten by Makefiles
  LINKINSTALL that follows MAKELINKLIB but can be overwritten by Makefiles
  These give enough control to the module Makefiles so that they don't need
  to override the default library install rules which break the debug sets.
- Remove /usr/libexec/named which duplicated /usr/lib/named
2024-04-05 01:15:59 +00:00
thorpej 99cf5fb567 Add an example devpubd hook that looks for Minipro-compatible EEPROM
programmers and sets the access permissions to 0660.
2024-03-30 16:47:55 +00:00
thorpej 4e13543e2b Add an example devpubd hook that detects the generic USB interface
portion of a Tigard debug board and changes the permissions of the
appropriate /dev/ugenN.* nodes to allow access without superuser
permissions, suitable for using e.g. openocd with the device.

This example can be easily modified to support other generic USB devices
that have user-space drivers where running as the superuser is not desired.
2024-03-30 06:42:10 +00:00
thorpej 70f7362772 Add an example devpubd hook that makes stable path names, using symlinks,
for USB serial interfaces, regardless of where the interface is connected
or the order of enumeration.  This requires the USB device to have a
"serialnumber" to function.  Examples:

- uftdi serial adapter with two ports:

	/dev/tty-uftdi-FT64S4YP-1 -> /dev/ttyU0
	/dev/tty-uftdi-FT64S4YP-2 -> /dev/ttyU1

- uslsa serial adapter:

	/dev/tty-uslsa-01E7ABCC -> /dev/ttyU4

This allows something like the following in /etc/remote:

sun3:dv=/dev/tty-uftdi-FT64S4YP-1:br#9600:pa=none:dc:

That path will always be stable regardless of which /dev/ttyU* node is
actually assigned when the serial adapter is plugged in.
2024-03-30 06:29:01 +00:00
thorpej 870369fb30 Add an examples directory for devpubd hooks. 2024-03-30 06:11:58 +00:00
uwe d9e38a11b0 distrib/notes: add back the sentence final dot after .Lk
It was omitted in previous b/c of a bug in .Lk that was fixed
in PR bin/58074
2024-03-25 13:35:28 +00:00
martin 51641d9aad Use single-arg "Lk" macro for a link so we can get reasonable results
both in .more and .html output (still a bit odd, but better than before IMHO).
2024-03-24 13:18:02 +00:00
martin eaa45076fb Various style fixes (and some of VAX related errors and copy&pastos),
from Mouse on tech-install.
2024-03-24 12:53:19 +00:00
riastradh 40cfbdd6f3 acpihed(4): New driver for PNP0C33 to notify apei(4).
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.

PR kern/58046
2024-03-21 02:36:01 +00:00
riastradh 4b159fe528 apei(4): New driver for ACPI Platform Error Interfaces.
For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm.  Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.

PR kern/58046
2024-03-20 17:11:42 +00:00
riastradh 9a55048f5c x86: Release the ramdisks too.
This way we will get cgdroot.fs (and zfsroot.fs too) in the release.

PR misc/57534
2024-03-20 13:51:35 +00:00
christos a47d0a4f5e Fix reproducible builds (Jan-Benedict Glaw) 2024-03-20 00:31:54 +00:00
riastradh 1e152b590b libcrypto: Add some trivial tests for truncated SHA-512 variants.
These should use more of the test vectors from

https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing#Testing

but this will do for now to detect the buffer overrun rake we left
lying around for ourselves.

PR lib/58039
2024-03-15 15:32:07 +00:00
riastradh 9c98722158 evbarm/instkernel/sshramdisk: Put firmware in the right paths.
Maybe this should also be wired up to `release' to put the ramdisk in
the releasedir so we detect destdir path leakage like this had.

PR port-evbarm/58035
2024-03-15 02:20:58 +00:00
rillig 897cdf26ba tests/stat: test the left-aligned and right-aligned 'S' format 2024-03-14 21:00:32 +00:00
christos b250f22a56 Fix reproducible build (Jan-Benedict Glaw) 2024-03-14 15:41:54 +00:00
mrg aa397e14a2 allow XZ_OPT to be overriden. 2024-03-09 06:50:15 +00:00
christos 81e2be5eb1 Add _dlauxinfo.3 2024-03-07 22:15:52 +00:00
macallan 6cd4d7a2ec install stireg.h 2024-03-04 10:19:13 +00:00