From 80b532d8e28f754cdb988a3754a0f9ea4a78cf7f Mon Sep 17 00:00:00 2001 From: Grooooot Date: Tue, 31 Dec 2019 15:37:12 +0800 Subject: [PATCH] do not use fPIC in making kernel --- hack/kata-containers.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hack/kata-containers.spec b/hack/kata-containers.spec index 76de660..2af59b3 100644 --- a/hack/kata-containers.spec +++ b/hack/kata-containers.spec @@ -6,7 +6,7 @@ %endif %if "%{!?RELEASE:1}" -%define RELEASE 17 +%define RELEASE 18 %endif %define __debug_install_post \ @@ -62,7 +62,6 @@ done %build cd %{_builddir}/kernel/linux/ -sed -i '/ccflags-y += -Wl,-shared -Wl,-z,relro,-z,now/a\ccflags-y += -fPIC' arch/arm64/kernel/vdso/Makefile make %{?_smp_mflags} cd %{_builddir}/%{name}-%{version} @@ -105,6 +104,12 @@ install -p -m 640 -D ./runtime/cli/config/configuration-qemu.toml %{buildroot}/u %changelog +* Tue Dec 31 2019 yangfeiyu - 1.0.3.18 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:Do not use fPIC in making kernel. + * Fri Nov 29 2019 yangfeiyu - 1.0.3.17 - Type:enhancement - ID:NA