[CFT] packaging the base system with pkg(8)

Matthew Seaman matthew at FreeBSD.org
Thu Mar 3 10:27:21 UTC 2016


On 03/02/16 23:54, Glen Barber wrote:
> Also note (as repeated below), running 'pkg delete -a' will implicitly
> remove base system packages after they are installed.

This has the potential for many feet to be shot, given that up to now,
'pkg delete -a' would always leave you with a viable system.

We already make an exception for pkg itself -- you need 'pkg delete -fa'
to actually remove pkg(8) as well.  (Note to self: this needs to be
documented in the pkg-delete(8) man page.)

We should have similar exceptions for the essential bits of the base
system -- at minimum everything you need to boot the system up and
install stuff from a package repository.

We should also have a command line that will remove all ported software
but leave the base intact.   Maybe by adding '-r reponame' functionality
to 'pkg delete'?

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160303/87dd56ef/attachment.sig>


More information about the freebsd-current mailing list