#14 livesys-xfce: set xfce-exe-checksum metadata on liveinst.desktop file to make it trusted
Merged 6 months ago by ngompa. Opened 6 months ago by seaninspace.
Unknown source main  into  main

@@ -45,3 +45,6 @@


  # and mark it as executable (new Xfce security feature)

  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}')"

As discussed here: https://pagure.io/livesys-scripts/pull-request/13

Xfce added the ability to trust launchers (https://gitlab.xfce.org/xfce/thunar/-/commit/888ee36645fb489568496392ad57b8ad6ffc08fe) by setting xfce-exe-checksum metadata.

This PR sets that on the liveinst.desktop launcher to fix https://bugzilla.redhat.com/show_bug.cgi?id=2172854 and allow the Anaconda installer to start normally on Xfce Live Installers.

Pull-Request has been merged by ngompa

6 months ago