[Mageia-dev] Packaging errors to fix
Thierry Vignaud
thierry.vignaud at gmail.com
Tue Mar 15 16:00:01 CET 2011
On 15 March 2011 15:47, Michael Scherer <misc at zarb.org> wrote:
>> 1) /dev/null is created by makedev which is required by basesystem-minimal.
>> 2) anyway, urpmi creates /dev/null if it doesn't exists anyway.
>> 3) urpmi is used by drakx-installer too.
>>
>> Every case should be thus covered.
>> However he did saw this error.
>
> That's likely a ordering issue, related to the loops.
> makedev is installed in the end, after python.
that shouldn't matter:
urpmi::media::configure() (which is called by both urpmi & installer) does:
if ($urpm->{root} && ! -c "$urpm->{root}/dev/null") {
mkdir "$urpm->{root}/dev";
system("/bin/cp", "-a", '/dev/null', "$urpm->{root}/dev");
}
> So now, what requires perl-XML-SAX before basesystem-minimal is to
> discuss.
>
> Also, the usage of /dev/null in a %post is a ope question. Do we want to
> hide some verbose stuff, or should error be show to user ?
More information about the Mageia-dev
mailing list