From d43dafadb4e8d75044d9451142e7047c12fc5059 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 25 Dec 2023 23:36:36 -0800 Subject: [PATCH] chore: Patch bash script in galileo-mura --- spec_files/galileo-mura/fedora.patch | 8 ++++++++ spec_files/galileo-mura/galileo-mura.spec | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 spec_files/galileo-mura/fedora.patch diff --git a/spec_files/galileo-mura/fedora.patch b/spec_files/galileo-mura/fedora.patch new file mode 100644 index 00000000..cd45a025 --- /dev/null +++ b/spec_files/galileo-mura/fedora.patch @@ -0,0 +1,8 @@ +--- a/galileo-mura-setup ++++ b/galileo-mura-setup +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/bin/bash + + set -euo pipefail + diff --git a/spec_files/galileo-mura/galileo-mura.spec b/spec_files/galileo-mura/galileo-mura.spec index 9e9456f8..8e069cbc 100644 --- a/spec_files/galileo-mura/galileo-mura.spec +++ b/spec_files/galileo-mura/galileo-mura.spec @@ -7,6 +7,8 @@ URL: https://github.com/ublue-os/bazzite Source: https://gitlab.com/evlaV/galileo-mura-extractor/-/archive/main/galileo-mura-extractor-main.tar.gz +Patch0: fedora.patch + BuildRequires: systemd-rpm-macros BuildRequires: gcc BuildRequires: meson >= 0.54.0 @@ -19,7 +21,7 @@ Utilities for setting and reading mura correction on Galileo %define debug_package %{nil} %prep -%autosetup -n galileo-mura-extractor-main +%autosetup -p1 -n galileo-mura-extractor-main %build %meson