From b4ce90974d9a3b0e193534fc1a4275d0c93f8eff Mon Sep 17 00:00:00 2001 From: Vanient Date: Thu, 8 Jun 2023 12:46:15 +0800 Subject: [PATCH] kata_integration:delete unused kata-micro-kernel.spec Signed-off-by: Vanient (cherry picked from commit 396994239a9d9d19d95a6f16466cd5436f5130af) --- kata-micro-kernel.spec | 65 ------------------------------------------ kata_integration.spec | 8 +++++- 2 files changed, 7 insertions(+), 66 deletions(-) delete mode 100644 kata-micro-kernel.spec diff --git a/kata-micro-kernel.spec b/kata-micro-kernel.spec deleted file mode 100644 index c1a62b5..0000000 --- a/kata-micro-kernel.spec +++ /dev/null @@ -1,65 +0,0 @@ -%global debug_package %{nil} - -%define VERSION 5.10.0 -%define RELEASE 1 - -Name: kata-micro-kernel -Version: %{VERSION} -Release: %{RELEASE} -Summary: Micro kernel for kata-containers -License: GPLv2 -URL: http://www.kernel.org/ -Source0: kernel.tar.gz -Source1: kata_integration-v1.0.0.tar.gz - -BuildRoot: %_topdir/BUILDROOT -BuildRequires: automake gcc bc glibc-devel glibc-static glib2-devel glib2 -BuildRequires: patch elfutils-libelf-devel bison flex - -%description -This is a micro kernel for kata-containers. - -%prep -%setup -T -c -a 0 -n kernel -%setup -T -c -a 1 -n kata_integration - -# extract the kata_integration.tar.gz file -cd %{_builddir}/kata_integration -# apply kata_integration patches -sh apply-patches - -# build kernel -cd %{_builddir}/kernel -mv kernel linux -cd %{_builddir}/kernel/linux/ -%ifarch %{ix86} x86_64 -cp %{_builddir}/kata_integration/hack/config-kata-x86_64 ./.config -%else -cp %{_builddir}/kata_integration/hack/config-kata-arm64 ./.config -%endif - -%build -cd %{_builddir}/kernel/linux/ -make %{?_smp_mflags} - -%install -mkdir -p -m 755 %{buildroot}/var/lib/kata -%ifarch %{ix86} x86_64 -install -p -m 640 -D %{_builddir}/kernel/linux/arch/x86_64/boot/bzImage %{buildroot}/var/lib/kata/kernel -%else -install -p -m 640 -D %{_builddir}/kernel/linux/arch/arm64/boot/Image %{buildroot}/var/lib/kata/kernel -%endif - -%clean - -%files -/var/lib/kata/kernel - -%doc - -%changelog -* Fri Aug 20 2021 jikui - 5.10.0-1 -- Type:requirement -- ID:NA -- SUG:NA -- DESC:init kata-micro-kernel package diff --git a/kata_integration.spec b/kata_integration.spec index 6ae977f..7d444ac 100644 --- a/kata_integration.spec +++ b/kata_integration.spec @@ -1,6 +1,6 @@ %global debug_package %{nil} %define VERSION v1.0.0 -%define RELEASE 7 +%define RELEASE 8 Name: kata-integration Version: %{VERSION} @@ -28,6 +28,12 @@ This is a usefult tool for building Kata Container components. %doc %changelog +* Thu Jun 8 2023 xiadanni - v1.0.0-8 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:delete unused kata-micro-kernel.spec + * Fri Nov 18 2022 chenjiankun - v1.0.0-7 - Type:bugfix - ID:NA -- Gitee