summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2012-12-26 00:48:06 +0100
committerThomas Jarosch <tomj@simonv.com>2012-12-26 00:59:41 +0100
commit4effd862fd45e255b4536b128de42bdad2b87c89 (patch)
treed7c1b1bd5c721f36e226b16e3f1f5e1eb5ccb855
parent3d842c6549462601448cb6e613d02f3b2afef5ce (diff)
downloadrockbox-4effd862fd45e255b4536b128de42bdad2b87c89.zip
rockbox-4effd862fd45e255b4536b128de42bdad2b87c89.tar.gz
rockbox-4effd862fd45e255b4536b128de42bdad2b87c89.tar.bz2
rockbox-4effd862fd45e255b4536b128de42bdad2b87c89.tar.xz
Pandora port: Fix permissions before creating the .pnd archive
Otherwise the pandora unionfs mount point will show the correct permissions as root but the normal user won't be able to start the binary. -> unionfs messes up the access rights Change-Id: I79d744f5bdcee342090e95c7a5edeb775429e2f6
-rw-r--r--packaging/pandora/pandora.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/pandora/pandora.make b/packaging/pandora/pandora.make
index 8a9e054..c0a0ef9 100644
--- a/packaging/pandora/pandora.make
+++ b/packaging/pandora/pandora.make
@@ -24,5 +24,8 @@ pnd: pnddir $(PND_MAKE) $(DEPFILE) build
# Add docs folder
cp -rf $(ROOTDIR)/docs $(PND_BUILD_DIR)
+ # Fix up permissions
+ chmod -R a+r $(PND_BUILD_DIR)
+
# Invoke pndmake
$(PND_MAKE) -p rockbox.pnd -d $(PND_BUILD_DIR) -x $(PND_BUILD_DIR)/PXML.xml -i $(PND_BUILD_DIR)/rockbox.png -c