diff options
author | Sebastian Schmelzer | 2012-06-28 17:12:56 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2012-06-28 17:12:56 +0200 |
commit | 069168f1f297d3b0a6d15c19dd5fef5c02a4f15c (patch) | |
tree | e0dc8cce4ae04079453258c3271a79588b504722 | |
parent | add helper for testsetup (diff) | |
download | osib-069168f1f297d3b0a6d15c19dd5fef5c02a4f15c.tar.gz osib-069168f1f297d3b0a6d15c19dd5fef5c02a4f15c.tar.xz osib-069168f1f297d3b0a6d15c19dd5fef5c02a4f15c.zip |
dbus fix
-rwxr-xr-x | inc/env.setup-sqfs-base.sh | 3 | ||||
-rw-r--r-- | share/files/helper | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/inc/env.setup-sqfs-base.sh b/inc/env.setup-sqfs-base.sh index b0dce63..b2c4c38 100755 --- a/inc/env.setup-sqfs-base.sh +++ b/inc/env.setup-sqfs-base.sh @@ -78,3 +78,6 @@ ln -sf /openslx/bin/hostname bin/hostname cp ${ROOT_DIR}/share/files/profile etc cp ${ROOT_DIR}/share/files/helper helper chmod +x helper + +sed -i -e "s,81:81,102:105," etc/passwd +sed -i -e "s,81,105," etc/group diff --git a/share/files/helper b/share/files/helper index ef6a125..064a2cb 100644 --- a/share/files/helper +++ b/share/files/helper @@ -20,6 +20,10 @@ cp /mnt/etc/group /etc cp /mnt/etc/shadow /etc cp /mnt/etc/ld* /etc +sed -i -e 's,messagebus,dbus,g' /etc/passwd +sed -i -e 's,messagebus,dbus,g' /etc/shadow +sed -i -e 's,messagebus,dbus,g' /etc/group + echo "add dummy user" adduser openslx passwd openslx |