remove bootwrapper subpackage (related #1566225)
This commit is contained in:
parent
b679d90970
commit
f360f7278a
22
kernel.spec
22
kernel.spec
@ -95,8 +95,6 @@ Summary: The Linux kernel
|
|||||||
%define with_cross_headers %{?_without_cross_headers: 0} %{?!_without_cross_headers: 1}
|
%define with_cross_headers %{?_without_cross_headers: 0} %{?!_without_cross_headers: 1}
|
||||||
# kernel-debuginfo
|
# kernel-debuginfo
|
||||||
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
|
%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
|
||||||
# kernel-bootwrapper (for creating zImages from kernel + initrd)
|
|
||||||
%define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}
|
|
||||||
# Want to build a the vsdo directories installed
|
# Want to build a the vsdo directories installed
|
||||||
%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
|
%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
|
||||||
#
|
#
|
||||||
@ -176,7 +174,6 @@ Summary: The Linux kernel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{nopatches}
|
%if %{nopatches}
|
||||||
%define with_bootwrapper 0
|
|
||||||
%define variant -vanilla
|
%define variant -vanilla
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -241,10 +238,8 @@ Summary: The Linux kernel
|
|||||||
%define all_arch_configs kernel-%{version}-*.config
|
%define all_arch_configs kernel-%{version}-*.config
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# bootwrapper is only on ppc
|
|
||||||
# sparse blows up on ppc
|
# sparse blows up on ppc
|
||||||
%ifnarch %{power64}
|
%ifnarch %{power64}
|
||||||
%define with_bootwrapper 0
|
|
||||||
%define with_sparse 0
|
%define with_sparse 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -683,13 +678,6 @@ building most standard programs and are also needed for rebuilding the
|
|||||||
cross-glibc package.
|
cross-glibc package.
|
||||||
|
|
||||||
|
|
||||||
%package bootwrapper
|
|
||||||
Summary: Boot wrapper files for generating combined kernel + initrd images
|
|
||||||
Requires: gzip binutils
|
|
||||||
%description bootwrapper
|
|
||||||
Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
|
|
||||||
files combining both kernel and initial ramdisk.
|
|
||||||
|
|
||||||
%package debuginfo-common-%{_target_cpu}
|
%package debuginfo-common-%{_target_cpu}
|
||||||
Summary: Kernel source files used by %{name}-debuginfo packages
|
Summary: Kernel source files used by %{name}-debuginfo packages
|
||||||
Provides: installonlypkg(kernel)
|
Provides: installonlypkg(kernel)
|
||||||
@ -1673,10 +1661,6 @@ done
|
|||||||
rm -rf $RPM_BUILD_ROOT/usr/tmp-headers
|
rm -rf $RPM_BUILD_ROOT/usr/tmp-headers
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_bootwrapper}
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install WRAPPER_OBJDIR=%{_libdir}/kernel-wrapper WRAPPER_DTSDIR=%{_libdir}/kernel-wrapper/dts
|
|
||||||
%endif
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### clean
|
### clean
|
||||||
###
|
###
|
||||||
@ -1799,12 +1783,6 @@ fi
|
|||||||
/usr/*-linux-gnu/include/*
|
/usr/*-linux-gnu/include/*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_bootwrapper}
|
|
||||||
%files bootwrapper
|
|
||||||
/usr/sbin/*
|
|
||||||
%{_libdir}/kernel-wrapper
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# empty meta-package
|
# empty meta-package
|
||||||
%files
|
%files
|
||||||
# This is %%{image_install_path} on an arch where that includes ELF files,
|
# This is %%{image_install_path} on an arch where that includes ELF files,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user