diff --git a/0001-modify-runtime-cleanup.patch b/0001-modify-runtime-cleanup.patch new file mode 100644 index 0000000000000000000000000000000000000000..59a648031a092642c8a8f9df82c703cf8875262c --- /dev/null +++ b/0001-modify-runtime-cleanup.patch @@ -0,0 +1,25 @@ +From d1eed943e082902b774680516b61c7e96cb65445 Mon Sep 17 00:00:00 2001 +From: zhangshaoning +Date: Thu, 25 Sep 2025 10:57:40 +0800 +Subject: [PATCH] modify runtime-cleanup + +--- + share/templates.d/99-generic/runtime-cleanup.tmpl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl +index 32ca9f0..1d4e274 100644 +--- a/share/templates.d/99-generic/runtime-cleanup.tmpl ++++ b/share/templates.d/99-generic/runtime-cleanup.tmpl +@@ -184,7 +184,7 @@ removefrom glibc-common /usr/bin/locale /usr/bin/sprof + removefrom glibc-common /usr/bin/tzselect + removefrom glibc-common /usr/sbin/* + removefrom gnutls /usr/share/locale/* +-removefrom google-noto-sans-cjk-ttc-fonts /usr/share/fonts/google-noto-cjk/NotoSansCJK-{Black,Bold,*Light,Medium,Thin}.ttc ++removepkg google-noto-cjk-fonts google-noto-sans-cjk-ttc-fonts google-noto-serif-cjk-ttc-fonts + removefrom grep /etc/* /usr/share/locale/* + removefrom gtk2 /usr/bin/update-gtk-immodules + removefrom gtk3 /usr/${libdir}/gtk-3.0/* +-- +2.18.2 + diff --git a/lorax.spec b/lorax.spec index 7d0abc2531d8c8577fcec1510f706da62d10433d..f7db76ad74f8af68a3594f8b8781ba7abe46d6d7 100644 --- a/lorax.spec +++ b/lorax.spec @@ -3,7 +3,7 @@ Name: lorax Version: 34.1 -Release: 8 +Release: 9 Summary: A set of tools used to create bootable images License: GPLv2+ URL: https://github.com/weldr/lorax @@ -31,6 +31,7 @@ Patch17: 0001-pylorax-Fix-mksparse-ftruncate-size-handling.patch Patch100: 0001-support-loongarch-for-lorax.patch Patch200: 0001-add-sw64-architecture.patch Patch300: 0001-support-riscv64-for-lorax.patch +Patch400: 0001-modify-runtime-cleanup.patch BuildRequires: python3-devel python3-sphinx_rtd_theme python3-file-magic BuildRequires: python3-pytest python3-pytest-mock python3-pocketlint python3-gevent @@ -151,6 +152,8 @@ build images, etc. from the command line. %patch300 -p1 %endif +%patch400 -p1 + %build %make_build @@ -235,6 +238,9 @@ getent passwd weldr >/dev/null 2>&1 || useradd -r -g weldr -d / -s /sbin/nologin %{_mandir}/man1/*.1* %changelog +* Thu Sep 25 2025 zhangshaoning - 34.1-9 +- Remove unnecessary fonts + * Wed May 07 2025 yanglu - 34.1-8 - Clean spec