if ! test -e rootfs.ext2; then
if ! cp -v pandora/default_rootfs.ext2 rootfs.ext2; then
err "file copy failed, not enough space?"
if ! test -e rootfs.ext2; then
if ! cp -v pandora/default_rootfs.ext2 rootfs.ext2; then
err "file copy failed, not enough space?"
if ! grep -q '1.5.15.2766' /proc/pvr/version 2> /dev/null; then
echo have to change SGX kernel driver
/etc/init.d/pvr-init stop || true
if ! grep -q '1.5.15.2766' /proc/pvr/version 2> /dev/null; then
echo have to change SGX kernel driver
/etc/init.d/pvr-init stop || true
ln -fs /system/lib/$es/libGLESv1_CM_POWERVR_SGX530_121.so $root/vendor/pvr/
fi
ln -fs /system/bin/$es/pvrsrvinit $root/vendor/pvr/
ln -fs /system/lib/$es/libGLESv1_CM_POWERVR_SGX530_121.so $root/vendor/pvr/
fi
ln -fs /system/bin/$es/pvrsrvinit $root/vendor/pvr/
ln -fs /system/lib/$es/libPVRScopeServices.so $root/vendor/pvr/
ln -fs /system/lib/$es/libglslcompiler.so $root/vendor/pvr/
ln -fs /system/lib/$es/libsrv_um.so $root/vendor/pvr/
ln -fs /system/lib/$es/libPVRScopeServices.so $root/vendor/pvr/
ln -fs /system/lib/$es/libglslcompiler.so $root/vendor/pvr/
ln -fs /system/lib/$es/libsrv_um.so $root/vendor/pvr/