aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-02-20 19:14:05 +0100
committerMemphiz <memphis@machzwo.de>2013-02-20 20:18:02 +0100
commit3e9e7c28838635f48c6d5bb413abcb222b65dd8a (patch)
tree38bbbb8a18f1003f6e0887f0c6364b0def2f57a2
parent25f45ca77cf999259d3eeadf6277b11e44fba5d6 (diff)
[atv2] - bump seatbelt unlock patch for patching ios6.1 binary
-rw-r--r--tools/darwin/packaging/xbmc-seatbeltunlock/f387cee7d7d302ec9e740632f44f1352.patchbin0 -> 446 bytes
-rwxr-xr-xtools/darwin/packaging/xbmc-seatbeltunlock/mkdeb-xbmc-seatbeltunlock.sh12
2 files changed, 11 insertions, 1 deletions
diff --git a/tools/darwin/packaging/xbmc-seatbeltunlock/f387cee7d7d302ec9e740632f44f1352.patch b/tools/darwin/packaging/xbmc-seatbeltunlock/f387cee7d7d302ec9e740632f44f1352.patch
new file mode 100644
index 0000000000..a990cd9f94
--- /dev/null
+++ b/tools/darwin/packaging/xbmc-seatbeltunlock/f387cee7d7d302ec9e740632f44f1352.patch
Binary files differ
diff --git a/tools/darwin/packaging/xbmc-seatbeltunlock/mkdeb-xbmc-seatbeltunlock.sh b/tools/darwin/packaging/xbmc-seatbeltunlock/mkdeb-xbmc-seatbeltunlock.sh
index 067827b737..d9d422a845 100755
--- a/tools/darwin/packaging/xbmc-seatbeltunlock/mkdeb-xbmc-seatbeltunlock.sh
+++ b/tools/darwin/packaging/xbmc-seatbeltunlock/mkdeb-xbmc-seatbeltunlock.sh
@@ -12,7 +12,7 @@ fi
PACKAGE=org.xbmc.xbmc-seatbeltunlock
VERSION=1.0
-REVISION=4
+REVISION=5
ARCHIVE=${PACKAGE}_${VERSION}-${REVISION}_iphoneos-arm.deb
echo Creating $PACKAGE package version $VERSION revision $REVISION
@@ -77,6 +77,15 @@ echo " chmod 755 /var/tmp/AppleTV-nosb" >> $PACKAGE/DEBIAN/posti
echo " mv -f /Applications/AppleTV.app/AppleTV /Applications/AppleTV.app/AppleTV_org" >> $PACKAGE/DEBIAN/postinst
echo " mv /var/tmp/AppleTV-nosb /Applications/AppleTV.app/AppleTV" >> $PACKAGE/DEBIAN/postinst
echo " killall AppleTV ;;" >> $PACKAGE/DEBIAN/postinst
+echo " f387cee7d7d302ec9e740632f44f1352 )" >> $PACKAGE/DEBIAN/postinst
+echo " echo \"Found 6.1 (10B144b):Removing seatbelt profile key from AppleTV\"" >> $PACKAGE/DEBIAN/postinst
+echo " bspatch /Applications/AppleTV.app/AppleTV /var/tmp/AppleTV-nosb /var/tmp/f387cee7d7d302ec9e740632f44f1352.patch" >> $PACKAGE/DEBIAN/postinst
+echo " rm /var/tmp/f387cee7d7d302ec9e740632f44f1352.patch" >> $PACKAGE/DEBIAN/postinst
+echo " chmod 755 /var/tmp/AppleTV-nosb" >> $PACKAGE/DEBIAN/postinst
+echo " mv -f /Applications/AppleTV.app/AppleTV /Applications/AppleTV.app/AppleTV_org" >> $PACKAGE/DEBIAN/postinst
+echo " mv /var/tmp/AppleTV-nosb /Applications/AppleTV.app/AppleTV" >> $PACKAGE/DEBIAN/postinst
+echo " killall AppleTV ;;" >> $PACKAGE/DEBIAN/postinst
+
echo " * )" >> $PACKAGE/DEBIAN/postinst
echo " echo \"Frontrow app md5sum is unknown, not patching\" ;;" >> $PACKAGE/DEBIAN/postinst
echo "esac" >> $PACKAGE/DEBIAN/postinst
@@ -88,6 +97,7 @@ cp 12313417e3afeba6531255af58cb5283.patch $PACKAGE/var/tmp/
cp 5a28620a15c15d41e1ae836dd1f95f8d.patch $PACKAGE/var/tmp/
cp 03e48c66a9cae1ff768eb3fe7981c499.patch $PACKAGE/var/tmp/
cp 42d00865f281bb662b6ce447c9815e59.patch $PACKAGE/var/tmp/
+cp f387cee7d7d302ec9e740632f44f1352.patch $PACKAGE/var/tmp/
# set ownership to root:root
${SUDO} chown -R 0:0 $PACKAGE