android-recovery-zip needs to "chmod 755 chroot/lib/*"
Created by: ollieparanoid
@kaendfinger wrote in the IRC:
the android-recovery-zip needs to "chmod 755 chroot/lib/" after "chmod 755 chroot/bin/", and pmbootstrap zap doesn't work if there are processes running that are stuck (like fastboot flash)
and he also posted this patch:
diff --git a/aports/main/postmarketos-android-recovery-installer/pmos_chroot b/aports/main/postmarketos-android-recovery-installer/pmos_chroot
index e18ea2e..0952359 100644
--- a/aports/main/postmarketos-android-recovery-installer/pmos_chroot
+++ b/aports/main/postmarketos-android-recovery-installer/pmos_chroot
@@ -37,6 +37,7 @@ done
# Set permissions and start the installation script
chmod 755 "$CHROOT"/bin/*
+chmod 755 "$CHROOT"/lib/*
chroot "$CHROOT" /bin/pmos_install || {
echo 'Installation script failed.'
echo 'Check /tmp/postmarketos/chroot/pmos.log for more information.'
@ata2001 wrote that he would like to fix it.