[olpc-software] [PATCH] image--devel default repos baseurl

Alfred E. Heggestad aeh at db.org
Wed Jun 7 14:49:49 UTC 2006


hi

I was trying to use the 'olpc-image-build.sh' from the image--devel
mercual repos (rev 98), and got alot of XML parse errors. after
some debugging I found that the default baseurl gave me "404 Not Found".


I think it should be:


diff -r 503855de7d24 conf/yum.conf.in
--- a/conf/yum.conf.in  Mon Jun 05 14:21:59 2006 -0400
+++ b/conf/yum.conf.in  Wed Jun 07 16:14:12 2006 +0200
@@ -18,6 +18,6 @@ gpgcheck=0

  [olpc_dist1]
  name=OLPC distro 1
-baseurl=http://download.fedoraproject.org/pub/fedora/projects/olpc/i386/
+baseurl=http://download.fedoraproject.org/pub/fedora/projects/olpc/development/i386/os/
  enabled=1
  gpgcheck=0


also I am not sure if my /etc/olpc-image-tools.d/yum.conf is correct,
it contains a "${prefix}" variable:

[main]
cachedir=${prefix}/var/cache/yum
debuglevel=2
logfile=${prefix}/var/log/yum.log
<snip>

which leads to:

[root at localhost image--devel]# l /var/lib/olpc-image-tools/
total 32
drwxr-xr-x   4 root root 4096 Jun  7 16:30 .
drwxr-xr-x  23 root root 4096 Jun  7 16:30 ..
drwxr-xr-x   9 root root 4096 Jun  7 16:30 install-root
drwxr-xr-x   3 root root 4096 Jun  7 16:30 install-root${prefix}


should the ${prefix} be removed from yum.conf ?



/alfred

-- 
Alfred E. Heggestad <aeh at db.org>
Web:    http://aeh.db.org/
VoIP:   <sip:alfredh at symbianos.org>
Phone:  +47 21 98 71 20
Mobile: +47 98 23 67 05
Skype:  alfredheggestad




More information about the olpc-software mailing list