Over the last could of weeks Jerry's been exploring the F11 rebase. Here are his notes. <br><br><div class="gmail_quote"><span style="font-size: large; font-weight: bold;">Forwarded conversation</span><br>Subject: <b class="gmail_sendername">F11 testing for XS</b><br>
------------------------<br><br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Fri, Jul 31, 2009 at 12:42 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br>Changing the repos used in xs-livecd to F11 results in:<br>
<br>
<br>
xs-pkgs-0.10.1.g2a97d89-1.noarch from olpcxs-testing-f9 has depsolving<br>
problems<br>
--> Missing Dependency: mkbootdisk is needed by package<br>
xs-pkgs-0.10.1.g2a97d89-1.noarch (olpcxs-testing-f9)<br>
<br>
revise xs-pkgs to exclude mkbootdisk...<br>
<br>
<br>
xs-activity-server-0.2.13.g1852ac0-1.xs9.noarch from olpcxs-stable-xs5<br>
has depsolving problems<br>
--> Missing Dependency: python(abi) = 2.5 is needed by package<br>
xs-activity-server-0.2.13.g1852ac0-1.xs9.noarch (olpcxs-stable-xs5)<br>
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems<br>
--> Missing Dependency: /usr/bin/python2.5 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems<br>
--> Missing Dependency: python < 2.6 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems<br>
--> Missing Dependency: python(abi) = 2.5 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
xs-activation-0.2.36.gfb57490-1.xs9.noarch from olpcxs-testing-f9 has<br>
depsolving problems<br>
--> Missing Dependency: python(abi) = 2.5 is needed by package<br>
xs-activation-0.2.36.gfb57490-1.xs9.noarch (olpcxs-testing-f9)<br>
xs-tools-0.4.5.g40d79c0-1.xs9.noarch from olpcxs-stable-xs5 has<br>
depsolving problems<br>
--> Missing Dependency: python(abi) = 2.5 is needed by package<br>
<br>
These need a fix for the python bump in F11....<br>
<br>
xs-tools-0.4.5.g40d79c0-1.xs9.noarch (olpcxs-stable-xs5)<br>
ejabberd-xs-2.0.3-10.fc9.olpc.i386 from olpcxs-testing-f9 has depsolving<br>
problems<br>
--> Missing Dependency: libssl.so.7 is needed by package<br>
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)<br>
<br>
That is libssl dependency....<br>
<br>
idmgr-0.7.8.g2f46590-1.xs9.noarch from olpcxs-testing-f9 has depsolving<br>
problems<br>
--> Missing Dependency: python(abi) = 2.5 is needed by package<br>
idmgr-0.7.8.g2f46590-1.xs9.noarch (olpcxs-testing-f9)<br>
<br>
python bump...<br>
<br>
ejabberd-xs-2.0.3-10.fc9.olpc.i386 from olpcxs-testing-f9 has depsolving<br>
problems<br>
--> Missing Dependency: libcrypto.so.7 is needed by package<br>
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)<br>
<br>
libssl I think....<br>
<br>
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems<br>
--> Missing Dependency: /usr/bin/python2.5 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
<br>
Python again..<br>
<br>
Unable to resolve dependencies for some packages selected:<br>
Missing Dependency: python(abi) = 2.5 is needed by package<br>
xs-activity-server-0.2.13.g1852ac0-1.xs9.noarch (olpcxs-stable-xs5)<br>
Missing Dependency: python < 2.6 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
Missing Dependency: /usr/bin/python2.5 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
Missing Dependency: libssl.so.7 is needed by package<br>
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)<br>
Missing Dependency: python(abi) = 2.5 is needed by package<br>
idmgr-0.7.8.g2f46590-1.xs9.noarch (olpcxs-testing-f9)<br>
Missing Dependency: mkbootdisk is needed by package<br>
xs-pkgs-0.10.1.g2a97d89-1.noarch (olpcxs-testing-f9)<br>
Missing Dependency: python(abi) = 2.5 is needed by package<br>
xs-activation-0.2.36.gfb57490-1.xs9.noarch (olpcxs-testing-f9)<br>
Missing Dependency: python(abi) = 2.5 is needed by package<br>
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)<br>
Missing Dependency: libcrypto.so.7 is needed by package<br>
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)<br>
Missing Dependency: python(abi) = 2.5 is needed by package<br>
xs-tools-0.4.5.g40d79c0-1.xs9.noarch (olpcxs-stable-xs5)<br>
make: *** [with-revisor] Error 1<br>
[Jerry@f9 xs-livecd]$<br>
<br>
Most of these are just a recompile for the newer python,<br>
I got some time to help debug this, need the help?<br>
<font color="#888888"><br>
Jerry<br>
<br>
<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Fri, Jul 31, 2009 at 4:23 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br>Hi Martin:<br>
<br>
attached is a diff for the changes against F11, the only issue is that<br>
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has no src.rpm so I'm<br>
unable to recompile and test....<br>
<font color="#888888"><br>
Jerry<br>
</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Martin Langhoff</b> <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span><br>
Date: Sat, Aug 1, 2009 at 12:22 AM<br>To: <a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a><br></font><br></span><br>ISTR we had found that mkbootdisk has moved to a different package?<br>
<br>
And yes, the python packages need to be rebuilt for the python bump.<br>
The various ejabberd issues may be solved with a rebuild. Anyway, the<br>
spec file borrows heavily from the one in Fedora CVS so whatever deps<br>
need fixing we can look in there too.<br>...<br><br>
It would be fantastic! Right now I am helping a deployment team, so<br>
talking more than hacking :-). Next week I will be in better shape to<br>
be able to bounce package updates and fixes with you.<br>
<br>
cheers,<br>
<br>
<br>
<br>
m<br>
<font color="#888888">--<br>
<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
<a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Mon, Aug 3, 2009 at 1:19 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br>Ok, here is the scoop with olpc-contents, is required by xs-pkgs(wish<br>
that would go away..), 2.5 you have in the F9 repo needs a recompile for<br>
F11, while 2.6 available at: <a href="http://dev.laptop.org/%7Edsd/xo1-rpms" target="_blank">http://dev.laptop.org/~dsd/xo1-rpms</a> is<br>
compiled for F11 with a dependence on bitfrost which is available at:<br>
<a href="http://dev.laptop.org/%7Emdengler/xo-1" target="_blank">http://dev.laptop.org/~mdengler/xo-1</a>. Other that the recompile of the<br>
other packages, I have an XS-F11 installer ready to test. I'll report<br>
any issues I find when I boot the installer on my junk test box..<br>
<font color="#888888"><br>
Jerry<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Martin Langhoff</b> <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span><br>
Date: Tue, Aug 4, 2009 at 2:34 PM<br>To: <a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a><br></font><br></span><br>You want to switch to a group thingy? How do I maintain that?<br>
<br>
I'll review olpc-contents 2.6 -- I'll probably go that way, but ISTR<br>
Daniel moved some stuff around, so the packages that depend on it may<br>
need changes.<br>
Cool! I am hoping it's a good chance to drop some of the nasty hacks<br>
we have on the F9 based XSs...<br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Tue, Aug 4, 2009 at 8:39 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br>Not really, just list the XS/olpc sub-packages, remove references to all<br>
the fedora rpms that are list as "# packages from schoolserver". All of<br>
those would (should if the dependencies are correct) get pulled in by<br>
yum anyway. At least that would cut down on the between release upkeep<br>
going forward. Any late additions could be handled with the compose<br>
kickstart file. I'll test build a cut down version to see what rpms are<br>
pulled in.<br>
As long as the dependencies are met, which repo they come from doesn't<br>
matter. This is what I used with revisor:<br>
<br>
[Jerry@f9 revisor]$ cat revisor-XS-i386.conf<br>
[main]<br>
cachedir=-yumcache<br>
reposdir=<br>
keepcache=1<br>
#debuglevel=10<br>
logfile=-yum.log<br>
pkgpolicy=newest<br>
distroverpkg=xs-release<br>
tolerant=1<br>
exactarch=1<br>
obsoletes=1<br>
gpgcheck=1<br>
plugins=0<br>
metadata_expire=15<br>
installroot=/var/tmp/revisor<br>
failovermethod=priority<br>
<br>
[xo-kernel]<br>
name=xo-kernel<br>
baseurl=<a href="http://dev.laptop.org/%7Emdengler/xo-1/%0Aenabled=1%0Aexclude=kernel*" target="_blank">http://dev.laptop.org/~mdengler/xo-1/<br>
enabled=1<br>
exclude=kernel*</a><br>
<br>
[xo-f11]<br>
name=xo-f11<br>
baseurl=<a href="http://dev.laptop.org/%7Edsd/xo1-rpms%0Aenabled=1%0Aexclude=xorg-x11-drv-openchrome" target="_blank">http://dev.laptop.org/~dsd/xo1-rpms<br>
enabled=1<br>
exclude=xorg-x11-drv-openchrome</a><br>
<br>
[olpcxs-local-f11]<br>
name=XS local - i386<br>
baseurl=file:///home/Jerry/rpmbuild/RPMS<br>
enabled=1<br>
gpgcheck=0<br>
cost=1<br>
exclude=anaconda<br>
<br>
[olpcxs-testing-f9]<br>
name=XS testing - i386<br>
baseurl=<a href="http://fedora.laptop.org/xs/testing/olpc/9/i386/%0Aenabled=1%0Agpgcheck=0%0Aexclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools" target="_blank">http://fedora.laptop.org/xs/testing/olpc/9/i386/<br>
enabled=1<br>
gpgcheck=0<br>
exclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools</a><br>
<br>
<br>
[olpcxs-stable-xs5]<br>
name=XS 0.5 - i386<br>
baseurl=<a href="http://fedora.laptop.org/xs/stable/olpc/xs-0.5/i386/%0Aenabled=1%0Agpgcheck=0%0Aexclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools" target="_blank">http://fedora.laptop.org/xs/stable/olpc/xs-0.5/i386/<br>
enabled=1<br>
gpgcheck=0<br>
exclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools</a><br>
<br>
[fedoraF11]<br>
name=Fedora 11 - i386<br>
mirrorlist=<a href="http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386%0Aenabled=1%0Agpgcheck=0" target="_blank">http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386<br>
enabled=1<br>
gpgcheck=0</a><br>
<br>
[updatesF11]<br>
name=Fedora 11 - i386 - Updates<br>
mirrorlist=<a href="http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386%0Aenabled=1%0Agpgcheck=0" target="_blank">http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386<br>
enabled=1<br>
gpgcheck=0</a><br>
Just got back to the city(needed a break), I'll try testing that later<br>
tonight...<br>
<br>
more later,<br>
<font color="#888888"><br>
Jerry<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Tue, Aug 4, 2009 at 11:28 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br>Well that was interesting, with xs-release supplying the *.repo files,<br>
those repo files got pulled into anaconda, confusing the installer...<br>
I'll have to re-roll that...<br>
<font color="#888888"><br>
Jerry<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Wed, Aug 5, 2009 at 3:18 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br><div><div></div></div>Things get more interesting, for anaconda to find the repo that is on<br>
the iso, there need to be a media.repo file present on the CD. I'm<br>
checking why revisor is not creating that file, while pungi does..<br>
<br>
fun with anaconda,<br>
<font color="#888888"><br>
Jerry<br>
<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Thu, Aug 6, 2009 at 5:29 AM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br><div><div></div></div>Well I mis-guessed that one, ran into guess what.. an anaconda bug..<br>
have a read: <a href="http://forums.fedoraforum.org/showthread.php?t=225742" target="_blank">http://forums.fedoraforum.org/showthread.php?t=225742</a><br>
<br>
I grabbed the zip file and did a diff...<br>
<br>
diff /usr/lib/anaconda/storage/devicetree.py<br>
tmp/hold/storage/devicetree.py<br>
1460a1461,1465<br>
> # 7/12/2009 - Patrick J. Maloney<br>
> # Default fs to iso9660 for CDROM when it's not detected<br>
> if (not format_type) and udev_device_is_cdrom(info):<br>
> format_type = "iso9660"<br>
> log.debug("overriding type for device %s to be %s" %<br>
(name, format_type))<br>
<br>
I'll say this is a big opps, should never made it out the door...<br>
<br>
I'm testing an anaconda upgrade with that updates.img file on my test<br>
xs-server... Its starting to install the rpms now..<br>
<br>
crossing finger,<br>
<font color="#888888"><br>
Jerry<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Thu, Aug 6, 2009 at 12:19 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br><div><div></div></div>Well the rest of the rpms installed without issue, only to have grub<br>
messed up resulting in an un-bootable drive. Think this is the most<br>
issues I've ran across with anaconda in a long time.<br>
<font color="#888888"><br>
Jerry<br>
<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Thu, Aug 6, 2009 at 1:03 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br><div><div></div></div>Booting the installer with rescue, chroot, and grub-install fixed the<br>
issue for me. What a PITA...<br>
<font color="#888888"><br>
Jerry<br>
<br>
<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Martin Langhoff</b> <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span><br>
Date: Thu, Aug 6, 2009 at 8:10 PM<br>To: <a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a><br></font><br></span><br>Ow! Good catch. That contains the F9 repo files. You can probably just<br>
use 'fedora-release' for now.<br>
<br>
The other repo files are only useful to update XS-specific packages<br>
once the system is installed.<br>
<br>
Or is anaconda reading the release rpm for its repo URLs and ignoring<br>
the ones provided in the pungi/revisor config? That's a nasty bug in<br>
my book ;-)<br>
<br>
[sorry about the latency!]<br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jerry Vonau</b> <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span><br>Date: Thu, Aug 6, 2009 at 8:51 PM<br>
To: Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>><br></font><br></span><br>No, pungi/revisor behave well. Anaconda was ignoring the whole F$%king<br>
repo on the install-cd, and trying to enable the network to connect to<br>
the repos listed in the release file. That updates.zip file fixes that<br>
issue here, just need to use mkskim to have it copied, goes in<br>
the /images dir, for auto detection with the install iso.<br>
<br>
The grub issue I think could be fixed with a ks file that would call<br>
grub-install in %post while in the chroot enviroment. The other issue is<br>
having swap defined in the fstab, that was choking the upgrade until I #<br>
that one out, that should be a "before you start warning" in the release<br>
notes.<br>
<br>
O-yea the modprobe files need to have .conf appended to the name, there<br>
is a warning that in the future the files will need to have that.<br>
<br>
That is about it for now...<br>
<font color="#888888"><br>
Jerry<br>
<br>
<br>
<br>
<br>
<br>
</font><br></div><br><br clear="all"><br>-- <br> <a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br> <a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br> - ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br> - <a href="http://wiki.laptop.org/go/User:Martinlanghoff">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>