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

José Pérez fbl at aoek.com
Tue Mar 15 08:19:18 UTC 2016


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


More information about the freebsd-current mailing list