Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2017 08:18:19 -0700 (PDT)
From:      Joe Maloney <jmaloney@ixsystems.com>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-pkgbase@FreeBSD.org
Subject:   Re: pkgbase update and progress
Message-ID:  <1218488026.1377609.1502378299872.JavaMail.zimbra@ixsystems.com>
In-Reply-To: <20170810140615.GD63224@FreeBSD.org>
References:  <20170810140615.GD63224@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the update Glen.  For TrueOS we are running into a few interesting scenarios with pkg base which I think may be worth mentioning. 

* Due to the fact pc-sysinstall installs FreeBSD-* some users have packages such as FreeBSD-atm which are never cleaned up during upgrades.
* Since we have no mechanism of properly merging changes to /etc we simply copy files as needed with pc-updatemanager, and it is difficult to maintain what should be updated, merged, or removed.

We know that the meta pkg for base, and etc upgrading are on the list of todos.  Just wanted to share the current status of pkg base in TrueOS.  If you are looking for feedback on particular things we can probably get that for you in short order.

-- 
Joe Maloney
QA Manager / iXsystems
Enterprise Storage & Servers Driven By Open Source

----- Original Message -----
From: "Glen Barber" <gjb@FreeBSD.org>
To: freebsd-pkgbase@FreeBSD.org
Sent: Thursday, August 10, 2017 10:06:15 AM
Subject: pkgbase update and progress

Hi,

For those not following svn-src-head (or an equivalent list), there have
been a few pkgbase-related commits recently.  Of particular interest:

 1) The runtime package now depends on the kernel package.  This was
    done to force the kernel package to be installed before the userland
    so upgrades can be done in a manner following the recommended
    upgrade path for source-based upgrades in UPDATING.  (Meaning,
    install the kernel, reboot, install the userland, reboot.)  Which
    brings me to...

 2) A message is now printed, recommending the kernel package be
    upgraded with 'pkg install FreeBSD-kernel-${KERNCONF}', allowing the
    user to cancel the operation.  Note, the message is not printed if
    TERM is not set or ASSUME_ALWAYS_YES is true.

    In order to get this to work correctly when multiple kernels are
    built, the runtime package depends on the first, and only the first,
    kernel built (i.e., the first kernel listed in KERNCONF on the
    command line or in make.conf(5)).

I am only mentioning these in this email as they're user-facing, and
although I have tested things work as expected, I am sure someone will
run into something I have not considered.

That brings me to the update on packaging base.  There was a pkgbase
session held at BSDCam early this month, with a few notes taken.  I have
put the notes at the bottom of the pkgbase Wiki page:

https://wiki.freebsd.org/PkgBase

In addition, I updated the page yesterday to reflect a few "things we
need" items that occurred to me over the past week or so.  There are
a few notes from the pkgbase session that do not provide enough
information or are unclear to me what is intended.  (Not to point out
anyone specific, but can whoever added "Userland packages sets" to the
list please clarify?)

Anyway, now that 11.1-RELEASE is done, I'm back to getting my hands
dirty with pkgbase, which I am sure some of you have guessed, right now
is targeted for 12.0-RELEASE.

(On a side note, who outside of bapt@ knows the gory internals of pkg(8)
and has commit access to the upstream repository?)

Thanks,

Glen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1218488026.1377609.1502378299872.JavaMail.zimbra>