summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/build.cfg14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/build.cfg b/config/build.cfg
index fa60780..ab62c58 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -269,6 +269,13 @@ my $config = {
[ 'files/dolphinrc', '/home/live/.config/dolphinrc', { mode => 0644, no_install => 1 } ],
),
+ if_($has_xfce,
+ # Add a desktop shortcut to run draklive-install. This needs to be done during the live session
+ # startup because Xfce requires the xfce-exe-checksum extended attribute to be set on executable
+ # files in the Desktop directory, and squashfs doesn't support this attribute.
+ [ 'files/add-draklive-install-shortcut.desktop', '/etc/xdg/autostart/add-draklive-install-shortcut.desktop', { mode => 0644, no_install => 1 } ],
+ [ 'files/add-draklive-install-shortcut', '/usr/bin/add-draklive-install-shortcut', { mode => 0755, no_install => 1 } ],
+ ),
],
remove_files => [
(map { "/etc/modprobe.preload.d/$_" } qw(cpufreq pcmcia rfswitch)),
@@ -309,13 +316,6 @@ my $config = {
"rm -f /usr/share/icons/*/icon-theme.cache",
),
- if_($has_xfce,
- # Add a desktop icon to run draklive-install.
- "mkdir -p /home/$default_user/Desktop",
- "cp /usr/share/applications/mageia-draklive-install.desktop /home/$default_user/Desktop/draklive-install.desktop",
- "chmod 750 /home/$default_user/Desktop/draklive-install.desktop",
- ),
-
# Switch to NetworkManager.
"systemctl -q disable network",
"systemctl -q disable network-up",