From 3299c92e57545f87dd99f0e5f5aaf46dfb9c9d21 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Tue, 27 Jan 2009 21:19:12 +0000 Subject: Use scripts to do permissions with PwnageTool. git-svn-id: http://svn.telesphoreo.org/trunk@544 514c082c-b64e-11dc-b46d-3d985efe055d --- bootstrap.sh | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 2b7685fca..e9062cb0d 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -12,7 +12,7 @@ svn export "${PKG_BASE}/over" "${PKG_BOOT}" mkdir -p "${PKG_BOOT}/var/lib/dpkg/info" -PKG_REQS=(adv-cmds apt base bash coreutils cydia cydia-sources gawk grep inetutils less libarmfp libgcc nano network-cmds nvi rsync sed shell-cmds system-cmds tar unzip zip) +PKG_REQS=(adv-cmds apt base bash coreutils cydia cydia-sources grep inetutils less libgcc nano network-cmds sed shell-cmds system-cmds tar unzip) cd "${PKG_BASE}/data" PKG_REQS=($({ @@ -49,6 +49,8 @@ done rm -rf "${PKG_BASE}/temp" cd "${PKG_BOOT}" +"${PKG_BASE}"/fix.sh + PKG_RSLT="${PKG_BASE}/rslt" mkdir -p "${PKG_RSLT}" @@ -72,19 +74,17 @@ cp -a * "${PKG_RSLT}/CydiaInstaller.bundle/files" Identifier org.saurik.cydia Description - /Working/ set of Unix tools and frameworks. + Unix Subsystem w/ Advanced Installer SupportedFirmware - iPod1,1_2.0_5A240d - iPod1,1_2.0_5A225c - iPhone1,1_1.2.0_5A147p - iPhone1,1_1.2.0_5A225c - iPhone1,1_2.0_5A240d - iPhone1,1_2.0_5A274d - iPhone1,1_2.0_5A308 - iPhone1,1_2.0_5A311 - iPhone1,1_2.0_5A331 - iPhone1,1_2.0_5A345 +EOF + + cat "${PKG_BASE}/arch/${PKG_ARCH}/firmware" | sed -e ' + s/^/ / + s/$/<\/string>/ + ' + + cat < Commands @@ -121,6 +121,12 @@ EOF done cat < + Action + RunScript + File + space.sh + Size $(du -bs "${PKG_RSLT}/CydiaInstaller.bundle/files" | cut -d $'\t' -f 1) @@ -129,6 +135,7 @@ EOF EOF } >"${PKG_RSLT}/CydiaInstaller.bundle/Info.plist" +cp -a "${PKG_BASE}"/pwnr/* "${PKG_RSLT}"/CydiaInstaller.bundle tar -zcf "${PKG_RSLT}/Pwnage_${PKG_ARCH}.tgz" -C "${PKG_RSLT}" CydiaInstaller.bundle rm -f "${PKG_RSLT}/Manual_${PKG_ARCH}.zip" @@ -157,7 +164,6 @@ if [[ ${PKG_ARCH} == darwin-arm ]]; then cp -a usr/lib/libintl.8.0.2.dylib usr/libexec/cydia_ cp -a usr/lib/libncurses.5.dylib usr/libexec/cydia_ cp -a usr/lib/libreadline.5.2.dylib usr/libexec/cydia_ - cp -a usr/libexec/cydia/move.sh usr/libexec/cydia_ rm -f "${PKG_RSLT}/AppTapp_${PKG_ARCH}.xml" find * -type l -print -o -name "terminfo" -prune | while read -r link; do -- cgit v1.2.3