Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 08:53:10 +0100
From:      =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        freebsd-current@freebsd.org, owner-freebsd-current@freebsd.org
Subject:   Re: [CFT] packaging the base system with pkg(8)
Message-ID:  <3a1d11dde8186d73db1b8b32004bdd30@mail.yourbox.net>
In-Reply-To: <56D81174.3070000@freebsd.org>
References:  <20160302235429.GD75641@FreeBSD.org> <56D81174.3070000@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El 2016-03-03 11:27, Matthew Seaman escribió:
> 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.

Agreed.

Suggested workaround (a las *grep): create two pkg binaries with 
different names:
- "pkg" does what it does now and works on non-base packages by default. 
Need an extra
   arg to work on base system
- "syspkg" (or something) works by default on base system

We'd need way less crutches.

Regards,

---
José Pérez



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