Attached patch should fix the paths in the [stage2] section of .treeinfo - they should be relative to the topdir, not absolute paths. -w
Index: scripts/mk-images =================================================================== RCS file: /usr/local/CVS/anaconda/scripts/mk-images,v retrieving revision 1.245 diff -u -r1.245 mk-images --- scripts/mk-images 30 Aug 2007 17:11:34 -0000 1.245 +++ scripts/mk-images 14 Sep 2007 21:09:33 -0000 @@ -721,7 +721,8 @@ size=$(ls -l $INSTIMGPATH/${imagename}2.img | awk '{print $5}') size=$(expr $size / 1024) echo "Wrote $INSTIMGPATH/${imagename}2.img (${size}k)..." - echo "instimage = $INSTIMGPATH/${imagename}2.img" >> $TOPDESTPATH/.treeinfo + relpath=${INSTIMGPATH#$TOPDESTPATH/} + echo "instimage = ${relpath}/${imagename}2.img" >> $TOPDESTPATH/.treeinfo rm -rf $tmp } @@ -767,7 +768,8 @@ chmod 644 $INSTIMGPATH/${imagename}.img echo "Wrote $INSTIMGPATH/${imagename}.img (${SIZE}k)" - echo "mainimage = $INSTIMGPATH/${imagename}.img" >> $TOPDESTPATH/.treeinfo + relpath=${INSTIMGPATH#$TOPDESTPATH/} + echo "mainimage = ${relpath}/${imagename}.img" >> $TOPDESTPATH/.treeinfo rm $mmi_tmpimage }
Attachment:
signature.asc
Description: This is a digitally signed message part