[Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.

Thomas Backlund tmb at mageia.org
Sat Dec 31 01:50:21 CET 2011


31.12.2011 02:36, Olivier Blin skrev:
> Colin Guthrie<mageia at colin.guthr.ie>  writes:
>
>>>>> +++ drakx/trunk/perl-install/install/Makefile    2011-12-19 22:47:15
>>>>> UTC (rev
>>>>> 2494)
>>>>> @@ -47,6 +47,7 @@
>>>>>
>>>>>    get_needed_files: xs
>>>>>        REP4PMS=$(REP4PMS) ../../tools/install-xml-file-list
>>>>> share/list.xml
>>>>> $(DEST)
>>>>> +    mkdir -p $(DEST)/run
>>>>
>>>> That won't work. stage2 is mounted by stage1 in /tmp/stage2
>>>> so you want to create&   include it in stage1
>>>
>>> Yeah, and creating livecds are now totally broken due to this :(
>
> The problem seems only to be that /run is not cleanly unmounted at the
> end of install. This could be workarounded in draklive, but better fix
> it in stage2 if possible.


Are you sure about that?
/tmp/drakx-in-chroot/tmp/stage2/dev/{,shm/,pts} also stays mounted,
and for every iso build started, we get a:
/lib/udev/udevd --daemon --resolve-names=never


>
>> Crap. I presume it's not this specific hunk that's at fault so much as
>> the overall change?
>
> Why is this needed in install/Makefile at all?
> You already create this dir in install2.pm
>

--
thomas


More information about the Mageia-dev mailing list