On Tue, 2007-08-07 at 18:28 -0500, Jerry Vonau wrote: > Jeremy Katz wrote: > > On Mon, 2007-07-30 at 19:40 -0500, Jerry Vonau wrote: > >> Yes, there is a kernel installed, a stock f7, off-the-net live image was > >> used. Think I found the issue, in kernelVersionList > >> ts = rpm.TransactionSet() is looking at the running system and not at > >> the newly installed image. Changing that line to > >> ts = rpm.TransactionSet("/mnt/sysimage") results in a db version > >> mismatch error when run from the "normal" installer but not when run > >> from the livecd, but if I do a "rm -f /mnt/sysimage/var/lib/rpm/__db.*" > >> before calling kernelVersionList, in the installer, I get a new initrd, > >> grub.conf, it all works. :-) > >> > >> I'm just not sure why there is the db version mis-match between the > >> livecd and the "normal" installer. I'll leave that for another time to > >> figure out. > > > > Aha, that makes sense. We definitely should be checking in the chroot. > > And due to rpm sillies, blowing the db environment away is likely > > needed. Fixed up in anaconda CVS to do both > > >From CVS: [snip] > Would not defining rootPath to be "/" be the same as leaving > TransactionSet() undefined, as the default is to use "/" anyway? > This fails for me, the rootPath needs to be "/mnt/sysimage" as that is > where the install target is mounted at that point in the install. That would be because I'm lame and forgot to commit the part (in bootloader.py) which actually passes the rootpath to the method. Sorry about that; fixed now Jeremy