[packages/filesystem] - can't use any non-root groups in this package and not depend on setup package, do similar workardo

Tomasz Pala gotar at polanet.pl
Thu Nov 1 21:16:40 CET 2012


On Thu, Nov 01, 2012 at 22:02:35 +0200, Elan Ruusamäe wrote:

>> The original intent was setup was first pkg installed with /etc/passwd, and filesystem (or FHS or ?)
>> carried a prerequisite (which is Requires: in modern RPM).
> that's the thing, currently FHS (or filesystem) needs to be installed 
> before setup package, due /etc dir-dependency :)

PLD-like solution follows:
1. FHS-etc.rpm carrying /etc directory only
2. setup-passwd.rpm carrying /etc/passwd with R: FHS-etc
3. FHS.rpm carrying the rest of FHS with R: setup-passwd
4. setup.rpm containing the rest of current setup package, R: FHS (no changes here).

Chicken-egg problem solved! Thanks again, subpackages!

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list