Dear misc@,

I am trying to compile a release for the first time and following the manpage 
is, as ever, relatively straightforward, but I get confused when it comes to 
xenocara:

My environment:
I set up two spare partitions for building a release, I have a /dest and a /rel 
partition mounted with NOPERM and with appropriate ownership ajd permissions 
configured.

So the manual for release(8) says:

> Xenocara uses DESTDIR and RELEASEDIR as described above. Use a different 
> DESTDIR for the Xenocara release than for the base release, as the contents 
> of DESTDIR will be removed.

So in my case, I set `/dest/base` for the OpenBSD base and and I will use 
`/dest/xenocara` for X. I will use `/rel/78` as my RELEASEDIR.

Then the manpage tells you to build xenocara, and adds,

> At this point, OpenBSD base system and X Window System tarballs are in 
> RELEASEDIR.

This makes sense - we used different DESTDIRS but as it all goes into one 
release, we use a shared RELEASEDIR.

But reading along comes the part I don't understand --

>The disk images install${VERSION}.img and install${VERSION}.iso are suitable 
>for installs without network connectivity. They contain the tarballs built in 
>the previous steps.
```
# export RELDIR=your-releasedir RELXDIR=your-xenocara-releasedir
# cd /usr/src/distrib/$(machine)/iso && make
# make install
```
> The two installer images are now stored in the local release directory.

Where did RELXDIR suddenly come from?!

Do I actually have to specify a different RELDIR for Xenocara during the build 
process, so say, store the base release in eg. `/rel/78` but store xenocara 
files in eg. `/rel/78xenocara`?

Or if I used a shared directory as I understand the manpage advises, do I 
specify the same dir for both RELDIR and RELXDIR? So eg
```
# export RELDIR=/rel/78 export RELXDIR=/rel/78
```

How am I to understand the instructions in the manual?

Thanks

requiem

Reply via email to