Solved 15.0-RELEASE the beginning of something bad? .. not

Maybe I'am talking from ignorance, but my experiencie was this

the installer give 2 new instalation options "Distribution sets or Packages" , ok for now
I choose "Packages" , everything fine, but I want to install my new kernel, I get and error, google here and there and is related
to the "PkgBase new metod" ,ok , I dont find any solution yet

I start a fresh instalation and choose "Distribution" and everything works fine, kernel compile and ports compile

but then I read this from RELEASE announcement

Code:
 During installation, bsdinstall(8) prompts the user to choose between two installation methods:

 Distribution Sets (Traditional Method): This is the method used in previous FreeBSD releases. Systems installed this    way continue to use the freebsd-update(8) utility for updates. Support for distribution sets is planned for removal in  FreeBSD 16, but will continue (along with freebsd-update support) for the lifetime of the FreeBSD 15 stable branch.

Packages (pkgbase / New Method): The base system is installed as a set of packages from the "FreeBSD-base" repository. Systems installed this way are managed entirely using the pkg(8) tool. This method is used by default for all VM images and images published in public clouds. In FreeBSD 15.0, pkgbase is offered as a technology preview, but it is expected to become the standard method for managing base system installations and upgrades in future releases.

I'mean , the "Distribution Sets" is planning to be removed and only pkgbase stays?
so, I will cant compile from ports and build a custom kernel in the future?

forgive mi ignorance about this, but I'am wrong? or is a new "relative easy" way to do this things with the new "pkgbase" method?
 
I will cant compile from ports
This has nothing to do with pkgbase. Packages have been available since forever (even before PKGNG; pkg(8)), the packages are built from ports. You're still able to build from ports or create your own packages/repositories are you not?

and build a custom kernel in the future
Just a misunderstanding. You still can. But might need to do this in different way. Instead of the 'traditional' installkernel/installworld targets you use the packagekernel/packageworld/packages targets to build your own custom pkgbase packages.
Code:
     packageworld     Archive the results of distributeworld, placing the
                      results in DISTDIR.  This target is used while building
                      a release; see release(7).
Code:
     packagekernel     Archive the results of distributekernel, placing the
                       results in DISTDIR.  This target is used while building
                       a release; see release(7).
Code:
     packages          Create a pkg(7) repository containing packages that can
                       be used to create or upgrade an installation of the
                       base system.  The output repository is placed in the
                       object directory, under repo/${PKG_ABI} where PKG_ABI
                       is the pkg(7) ABI for the build target, for example,
                       /usr/obj/${SRCDIR}/repo/FreeBSD:15:amd64.
 
Code:
the packages are built from ports. You're still able to build from ports or create your own packages/repositories are you not?

There is NO need to be disrespectful "are you not?"

Code:
packagekernel/packageworld/packages

I dont find any working example of this, for a 8 years FreeBSD user who make the same procedure everythime
 
Granted. It's rather new, so documentation might be lacking a bit.

I've been using buildworld/buildkernel for the past 25 years, it simply means I need to learn some new methods. Don't have a problem with that.
Thanks, I'have a dejavu with other system...but this "changes" dont reinvent the wheel or make more complicated..is something new to learn
 
I'm very optimistic about this release because of the accelerated development of WiFi and general laptop support to catch up with Linux.

I don't know if I dont pay attention to the process, but the kernel build insanely fast

Code:
--------------------------------------------------------------
>>> Kernel(s)  JS built in 2 seconds, ncpu: 8, make -j16
--------------------------------------------------------------

and before run "make clean" , but keep that I repeat, insanely 2 or 3 seconds to build
in 14-RELEASE was about 5-8 minutes
 
I got this error while trying ?


/usr/src # make -j8 packageworld
--- packageworld ---
make[1]: /usr/src/Makefile.inc1:1020: DISTDIR must be set for make distribute* and make package*, and may not be the root directory.
in make[1] in directory "/usr/src"

make[1]: stopped making "packageworld" in /usr/src

make: stopped making "packageworld" in /usr/src

 
Back
Top