Make all patches git-amable

This commit is contained in:
Mikhail Novosyolov 2021-05-31 17:53:40 +03:00
parent d428d14604
commit a46d3dd003
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,6 @@
Subject: Do not check for installed packages, they are pulled as Requires of livecd-tools
From: Andrey Grigorev <survolog@yandex.ru>
diff -ur livecd-tools-livecd-tools-28.0/imgcreate/live.py livecd-tools-livecd-tools-28.0_patched/imgcreate/live.py
--- livecd-tools-livecd-tools-28.0/imgcreate/live.py 2021-05-20 15:59:48.525926000 +0300
+++ livecd-tools-livecd-tools-28.0_patched/imgcreate/live.py 2021-05-20 18:24:08.064137756 +0300

View file

@ -1,3 +1,8 @@
Subject: Replace images isolinux paths
From: Andrey Grigorev <survolog@yandex.ru>
See also: https://github.com/livecd-tools/livecd-tools/pull/189
diff -ur livecd-tools-livecd-tools-28.0/imgcreate/live.py livecd-tools-livecd-tools-28.0_patched/imgcreate/live.py
--- livecd-tools-livecd-tools-28.0/imgcreate/live.py 2021-05-20 22:52:18.997099000 +0300
+++ livecd-tools-livecd-tools-28.0_patched/imgcreate/live.py 2021-05-20 22:52:53.313469795 +0300

View file

@ -10,12 +10,14 @@ Name: livecd-tools
Summary: Tools for building live CDs
Epoch: 1
Version: 28.1
Release: 1
Release: 2
License: GPLv2
Group: System/Base
URL: https://github.com/livecd-tools/livecd-tools
Source0: https://github.com/livecd-tools/livecd-tools/archive/refs/tags/%{name}-%{version}.tar.gz?/%{name}-%{name}-%{version}.tar.gz
# Git tree with patches: https://github.com/mikhailnov/livecd-tools/tree/rosa-v28.1
# https://github.com/livecd-tools/livecd-tools/issues/156
Patch1: 0001-Add-ability-to-prevent-SELinux-relabelling-from-host.patch
# Keep it in sync with grub2 and shim(-signed) packaging
@ -125,7 +127,7 @@ Tools for installing Live CD ISOs to different mediums
%endif
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
%autosetup -p1 -S git_am -n %{name}-%{name}-%{version}
%build
# Nothing to do