Date: Mon, 13 May 2019 20:19:22 -0400 From: <kris@ixsystems.com> To: <freebsd-pkgbase@freebsd.org> Subject: =?us-ascii?Q?Announcing_=22Flavored=22_base_packages?= Message-ID: <03d801d509ea$aed6fd20$0c84f760$@ixsystems.com>
next in thread | raw e-mail | index | archive | help
As a follow-up to our recent call for testing on base packages, I'd like to take a moment to announce that we've just merged and completed builds for base packages to be built with FLAVORS. What does this mean? It means with pkg it's now possible to switch between different types of base system builds. We've created three flavors for testing: 'generic' - Default FreeBSD world/kernel flags 'minimal' - Build with a bunch of WITHOUT flags set https://github.com/trueos/trueos-ports/blob/334b9246300fc5b9f7dc2057b48464ff 193f4f9d/Mk/Uses/os.mk#L72-L86 'zol' - Build of 'generic' FreeBSD flavor, but setting WITHOUT_ZFS and a dependency on 'sysutils/zol' How do I use one of these flavors? First of all, if you are running the pre-flavor package set we published in the CFT a couple of weeks ago, you'll need to follow these steps to switch to the package set with flavors: # pkg set --change-name userland:os-generic-userland # pkg set --change-name userland-base:os-generic-userland-base # pkg set --change-name userland-docs:os-generic-userland-docs # pkg set --change-name kernel:os-generic-kernel Repeat that process for lib32, debug, tests, or any other optional base packages you have installed. After you're finished switching to the flavors package set, run 'pkg upgrade' and it'll upgrade you to the new packages. You can also switch between flavor packages using a similar method. For example, to switch from the generic -> zol flavors: # pkg set --change-name os-generic-userland:os-zol-userland # pkg set --change-name os-generic-userland-base:os-zol-userland-base # pkg set --change-name os-generic-userland-docs:os-zol-userland-docs # pkg set --change-name os-generic-kernel:os-zol-kernel Repeat this process for any other base packages you have installed. "#pkg info | grep '^os-'" can help you find any other installed base packages. Word of caution!! --------------------------- No matter how tempted you are, avoid using 'pkg install' try and change flavors. Pkg will detect a conflict with the currently installed flavor and proceed to de-install it, destroying all your config files in /etc. That will ruin your day. Using name-changes and 'pkg upgrade' seems to be the safest route at this time, but please let us know if you find any other working alternatives. --------------------------- Lastly, I've updated the docs for pkg base on our FAQ page: https://trueos.github.io/pkgbase-docs/ Feel free to let me know if there's any problems with it, or if you have suggestions. Thanks! -- Kris Moore Vice President of Engineering iXsystems, Inc Ph: (408) 943-4100 Ph: (408) 943-4101 The Groundbreaking TrueNAS M-Series - Enterprise Storage & Servers Driven By Open Source
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03d801d509ea$aed6fd20$0c84f760$>