Customize the live boot

Sayed Mohammad Badiezadegan mbzadegan at gmail.com
Fri Feb 14 11:47:50 PST 2025


Excellent!

That is what I need, Thank you so much for your help.


On Thu, Feb 13, 2025 at 8:48 PM Weitian LI <liweitianux at live.com> wrote:

> Hi,
>
> On 2/13/25 3:20 PM, Sayed Mohammad Badiezadegan wrote:
> > Hi everybody,
> >
> > Regarding my last email about customizing the DragonflyBSD including
> > only GnuFortran (when booting live), I installed DragonflyBSD on a
> > VirtualBOX and then I installed GCC13.
> >
> > Now, I run:
> >
> > *# nano /usr/src/nrelease/MakeFile*
> >
> > But, I can not find a line containing
> >
> > *  CHROOT_PKG_ADD +=*
>
> I don't know where you found this, but it's not used by the current
> nrelease framework.
>
> > So, where should I insert these lines:
> >
> > *CHROOT_PKG_ADD += lang/gcc12 *
> > *   CHROOT_PKG_ADD += math/lapack math/blas math/openblas *
> >
> > Any advice is welcome.
> > Thank you,
> >
>
> The nrelease framework is used to build our release and snapshot images
> (ISO and IMG).
>
> To build a custom image with extra packages, just do:
>
> $ cd /usr/src/nrelease
> $ make release binpkgs \
>        DPORTS_EXTRA_PACKAGES="lang/gcc12 math/lapack math/blas
> math/openblas"
>
> When it finishes, the ISO and IMG images are at /usr/obj/release.
>
> You can find the available nrelease targets and options with:
>
> $ make -f /usr/src/nrelease/Makefile
>
> and it current shows:
>
> ------------------------------------------
> Targets:
>    release     - full build from scratch
>    quick       - attempt to do an incremental rebuild
>    realquick   - attempt to restart after world & kernel
>    restartpkgs - attempt to restart at the pkg building stage
>
> Optional targets:
>    nopkgs      - do not install any packages
>    binpkgs     - use binary packages with pkg(8)
>    gui         - do a GUI release
>
> Variables:
>    DPORTS_EXTRA_PACKAGES: add additional packages
>    GITURL_SRC: override the Git URL to source repository
>    GITURL_DPORTS: override the Git URL to dports repository
>    IMGSIZE: override the size of .img (in 512-byte sectors)
>    IMGSIZE_MB: override the size of .img (in units of MB)
>    NREL_MAKE_JOBS: override the default value (sysctl hw.ncpu)
>    PKG_<port>: specify the package name for port <port>
>    WITHOUT_SRCS: do not package source code if set
> ------------------------------------------
>
> Hope it helps you.
>
> Cheers,
> --
> Weitian / Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250214/f6b2e01c/attachment.htm>


More information about the Users mailing list