From owner-freebsd-pkgbase@freebsd.org Tue May 14 00:19:27 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91B3D159EC96 for ; Tue, 14 May 2019 00:19:27 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABF7874445 for ; Tue, 14 May 2019 00:19:25 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: by mail-it1-x12d.google.com with SMTP id a190so2101744ite.4 for ; Mon, 13 May 2019 17:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixsystems-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=+/Be9Dpq7gppUDtlCP8+qRDXQDA5qO7qN1DXogdP+D8=; b=LFnHzwbMr/WpEJd2e5GiPTRvnijDCCryfEgkxqFVG/bOoJAXZJelWpx5FGUxhI5CK6 lKwXXhibK8ypOQ3tUpDv0lrwwpybmPMBJBTGLmCxS3KZQ+cIhG5pvITM467NlO0Fp878 mzgfbqm2Uv1zv26mizQ8NGmF/pt6JSK4qu6hvcf5wG57ywJDxWnucgIqUWcUsd9VAyvD ZnUT4fZnliGYJpa9ORFFtZW/myvP3fRdHgc3Wn36W4Ub5FAzneBxrM4erAwK6pY4D3vp /qYStqpvvaugs1CQFbfj3uLQVkVvukvI79qEU07NXCB9+V+zIp+aiwucK/opp+i8Xml/ XH3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :thread-index:content-language; bh=+/Be9Dpq7gppUDtlCP8+qRDXQDA5qO7qN1DXogdP+D8=; b=n0u1qQn2igXU6h5iOG84Yc33sGPZiarnOyG2mwxuNnLXSREP4oN47sDOVhlVdvyidW ye3LOfHraV7jXJW829YvVlpgnEUVMjebKntefM6h/jCCL4rs532AkXe6vAbiYO0+sI2g tqAV58+Nw0MzhYft+NmX8MpU6V1scHQXWnNgTZ4cVzzUCQnjC/MlX7JD3Yu1iRqKQWWf F+NZ6AgBJNNmT3EEdt3zkPMArnMjoRhVNMraM18KAVO9JbEDWC2/54vSuWwY7wyiqyZ/ OMTz05UJ28q7KZGYhx4YgE9fwQ8WJz6BqgZgqrtKrE44oHmwCTagOZdnGjGdpe1wmpZK DERQ== X-Gm-Message-State: APjAAAW/pFDBGn9GtG3hs0Ga684YpUUOyYV2TJox00t3G5QmARnqbeEL VH/q2nbkELYg79sSYd64v4jAp4Ip0DvD1rNxbYLoOjNSupIzyTcmfXDSZ1ym8wjdKiAoKlxrJhF C5e0Avv+fnHm/mcDe8GleIoq4jtw56lXYfsT1RLD7qVQqfQfRrwsYqgvqPvw8X9o9pjILWfmYFA == X-Google-Smtp-Source: APXvYqzV92q0N9RAZSI9kw1U2/7JBG8hUCuZThlwrG7MECNFjTPfd6LEjUAjYTe2Z7Qz10aRiJ2cJQ== X-Received: by 2002:a24:e10c:: with SMTP id n12mr1399424ith.89.1557793164282; Mon, 13 May 2019 17:19:24 -0700 (PDT) Received: from KrisYogaC930 ([66.171.165.146]) by smtp.gmail.com with ESMTPSA id n22sm4942815ioj.74.2019.05.13.17.19.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2019 17:19:23 -0700 (PDT) From: To: Subject: =?us-ascii?Q?Announcing_=22Flavored=22_base_packages?= Date: Mon, 13 May 2019 20:19:22 -0400 Message-ID: <03d801d509ea$aed6fd20$0c84f760$@ixsystems.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdUJ6ZxLDMqZp4F9QmKPOsRMVIAk0Q== Content-Language: en-us X-Rspamd-Queue-Id: ABF7874445 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ixsystems-com.20150623.gappssmtp.com header.s=20150623 header.b=LFnHzwbM; dmarc=pass (policy=none) header.from=ixsystems.com; spf=pass (mx1.freebsd.org: domain of kris@ixsystems.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=kris@ixsystems.com X-Spamd-Result: default: False [-4.68 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ixsystems-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT3.ASPMX.L.GOOGLE.com]; DMARC_POLICY_ALLOW(-0.50)[ixsystems.com,none]; SUBJ_EXCESS_QP(1.20)[]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.88)[ip: (-8.81), ipnet: 2607:f8b0::/32(-3.25), asn: 15169(-2.26), country: US(-0.06)]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ixsystems-com.20150623.gappssmtp.com:s=20150623]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[d.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_NO_DN(0.00)[] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2019 00:19:27 -0000 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