[X2Go-Commits] [x2gothinclient] 01/01: fix x2gothinclient_update to create files needed by x2gothinclientd
git-admin at x2go.org
git-admin at x2go.org
Wed Feb 7 13:06:15 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gothinclient.
commit f607b58ff3617bd23e13a4558962f9abdb693909
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date: Wed Feb 7 13:06:04 2018 +0100
fix x2gothinclient_update to create files needed by x2gothinclientd
---
debian/changelog | 1 +
management/sbin/x2gothinclient_create | 1 +
management/sbin/x2gothinclient_update | 4 +++-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 77846d6..4dfd269 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -143,6 +143,7 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low
* fix links in x2gothinclient_preptftpboot
* fix link in x2gothinclient_create
* install chroot for amd64
+ * fix x2gothinclient_update to create files needed by x2gothinclientd
[ Martti Pitkänen ]
* debian/po:
diff --git a/management/sbin/x2gothinclient_create b/management/sbin/x2gothinclient_create
index 310c20d..0ffb199 100755
--- a/management/sbin/x2gothinclient_create
+++ b/management/sbin/x2gothinclient_create
@@ -119,6 +119,7 @@ cat > $TC_CHROOT/etc/fstab <<EOF
proc /proc proc defaults,noauto 0 0
none /dev/pts devpts gid=5,mode=620,noauto 0 0
none /tmp tmpfs size=50M,mode=1777 0 0
+none /var/tmp tmpfs size=50M,mode=1777 0 0
none /root tmpfs size=100M,mode=700 0 0
none /etc/udev/rules.d tmpfs size=50M,mode=755 0 0
none /var/log tmpfs size=50M,mode=755 0 0
diff --git a/management/sbin/x2gothinclient_update b/management/sbin/x2gothinclient_update
index 932e03e..a34d4c7 100755
--- a/management/sbin/x2gothinclient_update
+++ b/management/sbin/x2gothinclient_update
@@ -72,6 +72,7 @@ done
if test -f "$TC_CONFIG/x2gothinclient-${TC_FLAVOUR}_start"; then
cp -v "$TC_CONFIG/x2gothinclient-${TC_FLAVOUR}_start" "$TC_CHROOT/etc/x2go/x2gothinclient-${TC_FLAVOUR}_start"
chmod a+rx "$TC_CHROOT/etc/x2go/x2gothinclient-${TC_FLAVOUR}_start"
+ ln -sf "/etc/x2go/x2gothinclient-${TC_FLAVOUR}_start" "$TC_CHROOT/etc/x2go/x2gothinclient_start"
fi
if test -f "$TC_CONFIG/x2gothinclient_sessions"; then
@@ -79,8 +80,9 @@ if test -f "$TC_CONFIG/x2gothinclient_sessions"; then
chmod a+rx "$TC_CHROOT/etc/x2go/x2gothinclient_sessions"
fi
-if test -f "$TC_CONFIG/x2gothinclient--${TC_FLAVOUR}_background.svg"; then
+if test -f "$TC_CONFIG/x2gothinclient-${TC_FLAVOUR}_background.svg"; then
cp -v "$TC_CONFIG/x2gothinclient-${TC_FLAVOUR}_background.svg" "$TC_CHROOT/etc/x2go/x2gothinclient-${TC_FLAVOUR}_background.svg"
+ ln -sf "/etc/x2go/x2gothinclient-${TC_FLAVOUR}_background.svg" "$TC_CHROOT/etc/x2go/x2gothinclient-background.svg"
fi
if test -f "$TC_CONFIG/freerdp/known_hosts"; then
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git
More information about the x2go-commits
mailing list