[Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.
Olivier Blin
mageia at blino.org
Sat Dec 31 13:58:45 CET 2011
Thomas Backlund <tmb at mageia.org> writes:
> 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,
You're right, the three of them should be unmounted in DrakX. A fallback
should also be added in draklive, in case DrakX aborts unexpectedly.
> and for every iso build started, we get a:
> /lib/udev/udevd --daemon --resolve-names=never
Can't we run it without --daemon so that it stays attached to the DrakX
process and gets kill when DrakX is killed?
--
Olivier Blin - blino
More information about the Mageia-dev
mailing list