summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
commitceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch)
tree92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/base-files
parenta373c925622077caa35eb97ab85965e52d7e832d (diff)
parenta1eafbfc0077cd7074961e635ca2387ada7da440 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/init1
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate8
3 files changed, 10 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 27ecdaa7c..fa1fecd86 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 47
+PKG_RELEASE:= 48
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
diff --git a/package/base-files/src/init b/package/base-files/src/init
index a9564011d..c57149fe3 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -12,6 +12,7 @@ mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev
[ -d /dev/pts ] || mkdir /dev/pts
[ -d /dev/shm ] || mkdir /dev/shm
+mount -o nosuid,noexec -t tmpfs tmpfs /dev/shm
mount -o nosuid,noexec -t devpts devpts /dev/pts
exec 0<>/dev/console >&0 2>&0
echo >/dev/mdev.seq
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index 619faf04f..b5477412f 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/package/base-files/src/sbin/adkupdate
@@ -89,6 +89,14 @@ case $1 in
;;
esac
+# fix permissions
+if [ -f /usr/bin/sudo ];then
+ chmod 4755 /usr/bin/sudo
+fi
+if [ -f /usr/bin/Xorg ];then
+ chmod 4755 /usr/bin/Xorg
+fi
+
sync
if [ -x /sbin/cfgfs ];then
umount /etc