diff --git a/oemaker-fix-isomaker-cannot-ejejct-CD-DVD.patch b/oemaker-fix-isomaker-cannot-ejejct-CD-DVD.patch new file mode 100644 index 0000000000000000000000000000000000000000..75eeb00a114a9aad18fe148cff245d716cfb8cf5 --- /dev/null +++ b/oemaker-fix-isomaker-cannot-ejejct-CD-DVD.patch @@ -0,0 +1,25 @@ +From bec7cb9bc4878381ac1581637879e8c6723e4617 Mon Sep 17 00:00:00 2001 +From: yueyuankun +Date: Mon, 22 Apr 2024 15:54:58 +0800 +Subject: [PATCH] fix(isomaker): cannot ejejct CD/DVD + +--- + isomaker/80-openeuler/runtime-cleanup.tmpl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/isomaker/80-openeuler/runtime-cleanup.tmpl b/isomaker/80-openeuler/runtime-cleanup.tmpl +index 256d013..e69ebf0 100644 +--- a/isomaker/80-openeuler/runtime-cleanup.tmpl ++++ b/isomaker/80-openeuler/runtime-cleanup.tmpl +@@ -17,7 +17,7 @@ removefrom ${product.name}-logos /usr/share/plymouth/* + ## We also need dracut-shutdown.service and dracut-initramfs-restore to reboot + removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh \ + /usr/lib/dracut/modules.d/99base/dracut-lib.sh \ +- /usr/lib/systemd/* /usr/lib/dracut/modules.d/98systemd/*.service \ ++ /usr/lib/systemd/* /usr/lib/dracut/modules.d/98dracut-systemd/*.service \ + /usr/lib/dracut/dracut-initramfs-restore + ## we don't run SELinux (not in enforcing, anyway) + removepkg checkpolicy selinux-policy libselinux-utils +-- +2.33.0 + diff --git a/oemaker.spec b/oemaker.spec index f1c018985812df878b1f397fcb66107dd8ebd67b..b9ed5b0b6cb207bbe4ec7ffe83b4969b6236ef74 100644 --- a/oemaker.spec +++ b/oemaker.spec @@ -11,7 +11,7 @@ Summary: a building tool for DVD ISO making and ISO cutting License: Mulan PSL v2 Group: System/Management Version: 3.1.0 -Release: 7 +Release: 8 BuildRoot: %{_tmppath}/%{name} Source: https://gitee.com/openeuler/oemaker/repository/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -27,6 +27,7 @@ Requires: createrepo dnf-plugins-core genisoimage isomd5sum grep bash libs Requires: lorax >= 19.6.78-1 # Patch here +Patch0001: oemaker-fix-isomaker-cannot-ejejct-CD-DVD.patch %description a building tool for DVD ISO making and ISO cutting @@ -172,6 +173,11 @@ rm -rf %{buildroot} rm -rf $RPM_BUILD_DIR/%{name} %changelog +* Mon Apr 22 2024 yueyuankun - 3.1.0-8 +- ID:NA +- SUG:NA +- DESC: fix(isomaker): cannot ejejct CD/DVD + * Thu Mar 28 2024 mayunlong - 3.1.0-7 - ID:NA - SUG:NA