[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

bootyutil bug



Anaconda on CentOS 5.8 (so presumably RHEL 5.8 too) suffers from the same
bug it had in 5.7:

[root dev2 ~]# rpm -qf /usr/lib/anaconda-runtime/pkgorder
anaconda-runtime-11.1.2.250-1.el5.centos.3
[root dev2 ~]# uname -a
Linux dev2.test.net 2.6.18-274.12.1.el5.centos.plus #1 SMP Tue Nov 29
18:16:23 EST 2011 i686 i686 i386 GNU/Linux

--- pkgorder
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/pkgorder", line 32, in ?
from yuminstall import YumSorter
File "/usr/lib/anaconda/yuminstall.py", line 32, in ?
from packages import recreateInitrd
File "/usr/lib/anaconda/packages.py", line 27, in ?
import fsset
File "/usr/lib/anaconda/fsset.py", line 35, in ?
import bootyutil

Here's a patch that worked for me in CentOS 5.7:

--- anaconda-11.1.2.242.orig/scripts/buildinstall       2011-06-27
15:25:06.000000000 +0100
+++ anaconda-11.1.2.242/scripts/buildinstall    2011-10-06
09:52:16.000000000 +0100
@@ -152,8 +152,8 @@
     echo "Creating repository metadata..."
     createrepo -g "$COMPSFILE" -q $p
     echo "Getting package order..."
-    echo "PYTHONPATH=$TREEDIR/instimage/usr/lib/anaconda
$TREEDIR/instimage/usr/lib/anaconda-runtime/pkgorder $p $BUILDARCH
$PRODUCTPATH"
-    PYTHONPATH=$TREEDIR/instimage/usr/lib/anaconda
$TREEDIR/instimage/usr/lib/anaconda-runtime/pkgorder $p $BUILDARCH
$PRODUCTPATH > $PKGORDER
+    echo "PYTHONPATH=$TREEDIR/instimage/usr/lib/anaconda:/usr/lib/booty
$TREEDIR/instimage/usr/lib/anaconda-runtime/pkgorder $p $BUILDARCH
$PRODUCTPATH"
+    PYTHONPATH=$TREEDIR/instimage/usr/lib/anaconda:/usr/lib/booty
$TREEDIR/instimage/usr/lib/anaconda-runtime/pkgorder $p $BUILDARCH
$PRODUCTPATH > $PKGORDER
 fi

 echo "Writing .treeinfo file..."




Moray.
"To err is human; to purr, feline."





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]