<div dir="ltr">Excellent!<br><br>That is what I need, Thank you so much for your help.<div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2025 at 8:48 PM Weitian LI <<a href="mailto:liweitianux@live.com">liweitianux@live.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On 2/13/25 3:20 PM, Sayed Mohammad Badiezadegan wrote:<br>
> Hi everybody,<br>
> <br>
> Regarding my last email about customizing the DragonflyBSD including <br>
> only GnuFortran (when booting live), I installed DragonflyBSD on a <br>
> VirtualBOX and then I installed GCC13.<br>
> <br>
> Now, I run:<br>
> <br>
> *# nano /usr/src/nrelease/MakeFile*<br>
> <br>
> But, I can not find a line containing<br>
> <br>
> * CHROOT_PKG_ADD +=*<br>
<br>
I don't know where you found this, but it's not used by the current <br>
nrelease framework.<br>
<br>
> So, where should I insert these lines:<br>
> <br>
> *CHROOT_PKG_ADD += lang/gcc12 *<br>
> * CHROOT_PKG_ADD += math/lapack math/blas math/openblas *<br>
> <br>
> Any advice is welcome.<br>
> Thank you,<br>
> <br>
<br>
The nrelease framework is used to build our release and snapshot images <br>
(ISO and IMG).<br>
<br>
To build a custom image with extra packages, just do:<br>
<br>
$ cd /usr/src/nrelease<br>
$ make release binpkgs \<br>
DPORTS_EXTRA_PACKAGES="lang/gcc12 math/lapack math/blas <br>
math/openblas"<br>
<br>
When it finishes, the ISO and IMG images are at /usr/obj/release.<br>
<br>
You can find the available nrelease targets and options with:<br>
<br>
$ make -f /usr/src/nrelease/Makefile<br>
<br>
and it current shows:<br>
<br>
------------------------------------------<br>
Targets:<br>
release - full build from scratch<br>
quick - attempt to do an incremental rebuild<br>
realquick - attempt to restart after world & kernel<br>
restartpkgs - attempt to restart at the pkg building stage<br>
<br>
Optional targets:<br>
nopkgs - do not install any packages<br>
binpkgs - use binary packages with pkg(8)<br>
gui - do a GUI release<br>
<br>
Variables:<br>
DPORTS_EXTRA_PACKAGES: add additional packages<br>
GITURL_SRC: override the Git URL to source repository<br>
GITURL_DPORTS: override the Git URL to dports repository<br>
IMGSIZE: override the size of .img (in 512-byte sectors)<br>
IMGSIZE_MB: override the size of .img (in units of MB)<br>
NREL_MAKE_JOBS: override the default value (sysctl hw.ncpu)<br>
PKG_<port>: specify the package name for port <port><br>
WITHOUT_SRCS: do not package source code if set<br>
------------------------------------------<br>
<br>
Hope it helps you.<br>
<br>
Cheers,<br>
-- <br>
Weitian / Aaron<br>
</blockquote></div>