Re: release bundling failed in /src/distrib
Raymundo Soto <[email protected]> Wed, 9 Oct 2019 20:28:37 +0200 (CEST)
| Newsgroups | gmane.os.openbsd.sparc |
|---|---|
| Message-ID | <[email protected]> |
Either I somehow managed to erase key parts of my previous e-mail, or they were automatically erased by the system because they contained verbatim commands.
Anyway,
It looks like you skipped mandatory steps in the release(8) manual page.
Of course it might look that way, I just don't know what minuscule detail I missed. Here is what I did in all detail:
First of all, of course, follow the instructions to build the stable kernel, reboot, then build the userland, sysmerge, MAKEDEV ALL (then reboot again just in case), which means that I have a complete build in /usr/obj.
Then, AFAICT, follow release(8) verbatim:
Literally add this line to my fstab to mount the noperm fs as mfs:
swap /dest mfs rw,nosuid,noperm,-P/var/dest,-s1.5G,noauto 0 0
then using doas to have root privileges,
mkdir -p /var/dest/{,x}base
chown -R build /var/dest
chmod -R 700 /var/dest
mount /dest
This is my doas.conf:
permit setenv { DESTDIR=/dest/base RELEASEDIR=/home/admin/release/releasedir } admin
Finally, cd /usr/src/etc && doas make release
throws me the error I was talking about.