mirror of
https://github.com/clearlinux/vbox-integration.git
synced 2026-11-18 15:43:26 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec024e826f | ||
|
|
0a0afb159e |
+11
-3
@@ -156,12 +156,20 @@ setup_install ()
|
|||||||
# Do not add new group
|
# Do not add new group
|
||||||
sed -i -- 's/groupadd/true/g' ${f}
|
sed -i -- 's/groupadd/true/g' ${f}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Ensure that support daemons for clipboard sharing, etc. will load
|
||||||
|
xclient=$(find ${INSTALL_DIR} -type f -name '[0-9][0-9]vboxadd-xclient' \
|
||||||
|
| head -1)
|
||||||
|
if [[ -f ${xclient} ]]; then
|
||||||
|
find /etc/xdg/autostart ${INSTALL_DIR} -type f -name vboxclient.desktop -exec \
|
||||||
|
sed -i \ "s|^Exec=.*|Exec=${xclient}|" {} \;
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p /etc/udev/rules.d
|
mkdir -p /etc/udev/rules.d
|
||||||
mkdir -p /etc/ld.so.conf.d
|
mkdir -p /etc/ld.so.conf.d
|
||||||
mkdir -p /etc/xdg/autostart
|
mkdir -p /etc/xdg/autostart
|
||||||
echo -e "\n\nTo use Clear Linux GUI please do:\n\n
|
|
||||||
swupd bundle-add os-utils-gui\n
|
echo "Guest Additions installation complete"
|
||||||
and then 'startx'"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
remove_tmp_files ()
|
remove_tmp_files ()
|
||||||
|
|||||||
Reference in New Issue
Block a user