| |
@@ -47,4 +47,5 @@
|
| |
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
| |
|
| |
# set xfce-exe-checksum metadata to make the harddisk installer desktop icon trusted (#2172854)
|
| |
- gio set -t string /home/liveuser/Desktop/liveinst.desktop metadata::xfce-exe-checksum "$(sha256sum /home/liveuser/Desktop/liveinst.desktop | awk '{print $1}')"
|
| |
+ LIVEINST_DESKTOP_CHECKSUM="$(sha256sum /home/liveuser/Desktop/liveinst.desktop | awk '{print $1}')"
|
| |
+ sudo -u liveuser dbus-launch gio set -t string /home/liveuser/Desktop/liveinst.desktop metadata::xfce-exe-checksum ${LIVEINST_DESKTOP_CHECKSUM}
|
| |
Tested on Fedora-Xfce-Live-x86_64-38-1.4.iso running the full script as root.