From 7f780bfae1b2e6283f03357865fef0618d28beac Mon Sep 17 00:00:00 2001 From: jiahua_yu Date: Tue, 25 Jun 2024 11:42:08 +0800 Subject: [PATCH 3/3] add-support-for-ppc64le-runtime-install --- isomaker/80-openeuler/runtime-cleanup.tmpl | 2 ++ isomaker/80-openeuler/runtime-install.tmpl | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/isomaker/80-openeuler/runtime-cleanup.tmpl b/isomaker/80-openeuler/runtime-cleanup.tmpl index 256d013..3bcfc22 100644 --- a/isomaker/80-openeuler/runtime-cleanup.tmpl +++ b/isomaker/80-openeuler/runtime-cleanup.tmpl @@ -254,7 +254,9 @@ removefrom ncurses /usr/bin/captoinfo /usr/bin/infocmp /usr/bin/infotocap removefrom ncurses /usr/bin/reset /usr/bin/tabs /usr/bin/tic /usr/bin/toe removefrom ncurses /usr/bin/tput /usr/bin/tset removefrom ncurses-libs /usr/${libdir}/libform* +%if basearch != 'ppc64le': removefrom ncurses-libs /usr/${libdir}/libmenu* +%endif removefrom ncurses-libs /usr/${libdir}/libpanel.* /usr/${libdir}/libtic* removefrom net-tools */bin/netstat */sbin/ether-wake */sbin/ipmaddr removefrom net-tools */sbin/iptunnel */sbin/mii-diag */sbin/mii-tool diff --git a/isomaker/80-openeuler/runtime-install.tmpl b/isomaker/80-openeuler/runtime-install.tmpl index 9937e70..6e400e7 100644 --- a/isomaker/80-openeuler/runtime-install.tmpl +++ b/isomaker/80-openeuler/runtime-install.tmpl @@ -52,6 +52,11 @@ installpkg glibc-all-langpacks installpkg grub2-efi-loongarch64 grub2-efi-loongarch64-cdboot grub2-efi-loongarch64-modules installpkg grub2-tools grub2-tools-minimal grub2-tools-extra %endif +%if basearch in ("ppc64le"): + installpkg powerpc-utils lsvpd ppc64-diag + installpkg grub2-tools grub2-tools-minimal grub2-tools-extra + installpkg grub2-ppc64le +%endif ## yay, plymouth installpkg plymouth -- 2.43.0