Ah, I see. Interesting. Anyway, fixed the script up; latest is in git. On May 7, 2014 12:58 AM, "Denis Silakov" <[email protected]> wrote:
> On 06.05.2014 20:32, Robert Xu wrote: > >> On 6 May 2014 04:22, Denis Silakov <[email protected]> wrote: >> >>> On 05/05/2014 09:02 PM, Robert Xu wrote: >>> >>>> $ git clone https://github.com/robxu9/omvbootstrap >>>> cd omvbootstrap >>>> $ mkdir work/tmp work/rpm >>>> $ sudo ./omvbootstrap -d -a x86_64 -v 2014.0 -c 2014.0 -m >>>> >>>> http://mirror.yandex.ru/openmandriva/openmandriva2014. >>>> 0/repository/x86_64/main/release >>>> It should create work directories automatically. >>>> Also, it should try to get a mirror in your country - although, I've >>>> noticed that there are quite a number of 2014.0 mirrors not working... >>>> >>> >>> Well, there is at least a small mistake in scripts/mirror: >>> >>> local mirrorlist=$(echo $MIRRORLIST | sed -e s/VERSION/$VERSION/ | sed -e >>> s/ARCH/$ARCH/) >>> >>> replaces only first occurrence of VERSION, just add 'g' to sed command. >>> >> I know - there's only supposed to be one occurrence, >> > > For ROSA, I have to use it twice: > > http://mirror.rosalinux.com/rosa/rosaVERSION/rosaVERSION.ARCH.list > > and it seems that for omv, too: > http://mirror.rosalinux.com/openmandriva/openmandriva2014. > 0/openmandriva2014.0.i586.list > > > > >
