I'm not going to dig through all that and figure out what's wrong,
you are obviously not following release(8) but have added a bunch
of your own stuff and something is broken as a result.

Your /mnt partition for building the ramdisks is not working.

Why?  I don't know.  I've built probably 200,000 releases using
this procedure, but I don't have your tweaks.

Raymundo Soto <abuhuss...@mailbox.org> wrote:

> 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.

Reply via email to