add apparmor.openstore file for openstore submission

This commit is contained in:
chrox
2015-10-06 22:15:38 +08:00
parent 10895d30c9
commit 5bab00ff9b
2 changed files with 16 additions and 0 deletions

View File

@@ -241,6 +241,7 @@ utupdate: all
ln -sf ../../$(UBUNTUTOUCH_DIR)/koreader.sh $(INSTALL_DIR)/koreader
ln -sf ../../$(UBUNTUTOUCH_DIR)/manifest.json $(INSTALL_DIR)/koreader
ln -sf ../../$(UBUNTUTOUCH_DIR)/koreader.apparmor $(INSTALL_DIR)/koreader
ln -sf ../../$(UBUNTUTOUCH_DIR)/koreader.apparmor.openstore $(INSTALL_DIR)/koreader
ln -sf ../../$(UBUNTUTOUCH_DIR)/koreader.desktop $(INSTALL_DIR)/koreader
ln -sf ../../$(UBUNTUTOUCH_DIR)/koreader.png $(INSTALL_DIR)/koreader
ln -sf ../../../$(UBUNTUTOUCH_SDL_DIR)/lib/arm-linux-gnueabihf/libSDL2.so $(INSTALL_DIR)/koreader/libs

View File

@@ -0,0 +1,15 @@
{
"policy_groups": [
"networking"
],
"read_path": [
"@{HOME}/",
"/media/*/*/[Dd][Oo][Cc][Uu][Mm][Ee][Nn][Tt][Ss]/",
"@{PROC}/*/mounts",
"/dev/disk/by-label/"
],
"write_path": [
"@{HOME}/"
],
"policy_version": 1.2
}