View Single Post
Old 07-24-2017, 10:55 PM   #27
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
If the problem is an incompatible stat, then a workaround is to change the highlighted line in the 4.5.9587.sh scipt, from:
Code:
for F in $FILES_TO_PATCH; do
    echo "Patching $F ..."
    mkdir -p `dirname $NEW/$F`;
    $PATCH32LSB_BIN -p $SOURCE_DIR/`basename $F`.patch -i $OLD/$F -o $NEW/$F;
    chmod `$STAT $OLD/$F` $NEW/$F;
done
to:
Code:
for F in $FILES_TO_PATCH; do
    echo "Patching $F ..."
    mkdir -p `dirname $NEW/$F`;
    $PATCH32LSB_BIN -p $SOURCE_DIR/`basename $F`.patch -i $OLD/$F -o $NEW/$F;
    chmod 0755 $NEW/$F;
done
Edit: I might make this change in the next version anyway, since all the files we are patching have the same permissions.

Last edited by GeoffR; 07-24-2017 at 11:03 PM. Reason: I might make this change anyway, ...
GeoffR is offline   Reply With Quote