I am not completely sure, but
ln -sf $CHROOTNAME/proc/mounts mtab will make a symlink with a $CHROOTNAME
in it's path and it will not work inside the chroot.
I modified it a bit, let's check if there is actually a /proc/mounts at
first, and then create a symlink.
https://abf.io/openmandriva/iso-build-tools/commit/96effb04d76b08cdae956e00445e890d293e1fb4


2014-05-20 13:32 GMT+04:00 Tomasz Gajc <[email protected]>:

> looks like it does not work, or i'm doing something wrong
>
>
> https://abf.io/openmandriva/iso-build-tools/commit/206a88e3c72a0e40759bda741cdd05d05b2b0bb1
>
>
> 2014-05-19 19:45 GMT+02:00 Tomasz Paweł Gajc <[email protected]>:
>
> Ok i'll try this one. Thanks.
>> Wysłano z BlackBerry® w Orange
>> ------------------------------
>> *From: * Александр Бурмашев <[email protected]>
>> *Date: *Mon, 19 May 2014 21:42:31 +0400
>> *To: *<[email protected]>; Cooker OpenMandriva<
>> [email protected]>
>> *Subject: *Re: [OM Cooker] Can't build ISO on cooker
>>
>> I think /etc/mtab should be a symlink to /proc/mounts
>>
>>
>> 2014-05-19 21:08 GMT+04:00 Tomasz Paweł Gajc <[email protected]>:
>>
>>> Does simple touch /etc/mtab will suffice?
>>>
>>> Wysłano z BlackBerry® w Orange
>>>
>>> -----Original Message-----
>>> From: Александр Бурмашев
>>>         <[email protected]>
>>> Sender: "OM-Cooker" <[email protected]>Date: Mon,
>>> 19 May 2014 20:20:29
>>> To: Cooker OpenMandriva<[email protected]>
>>> Reply-To: Cooker OpenMandriva <[email protected]>
>>> Subject: Re: [OM Cooker] Can't build ISO on cooker
>>>
>>>
>>>
>>>
>>>
>>
>


Reply via email to