This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree".
The branch, master has been updated via ebeed08a4e4d2812b3a6e848b1d2c90ed88b323f (commit) from 3e7718a232d3a356488ef061f145da869ea3c809 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit ebeed08a4e4d2812b3a6e848b1d2c90ed88b323f Author: Michael Tremer michael.tremer@ipfire.org Date: Wed Oct 26 00:08:39 2011 +0200
kernel: Fixes on packaging the kernel.
Build the tools, add some build dependencies.
-----------------------------------------------------------------------
Summary of changes: kernel/kernel.nm | 56 +++++++++++++++++++++++++++++++++++------------------ 1 files changed, 37 insertions(+), 19 deletions(-)
Difference in files: diff --git a/kernel/kernel.nm b/kernel/kernel.nm index 525e32b..cc11585 100644 --- a/kernel/kernel.nm +++ b/kernel/kernel.nm @@ -5,7 +5,7 @@
name = kernel version = 3.0.4 -release = 5 +release = 6 thisapp = linux-%{version}
maintainer = Michael Tremer michael.tremer@ipfire.org @@ -28,15 +28,21 @@ fullver = %{version}-%{localversion} sources = %{thisapp}.tar.gz
build + # icecream cannot be used to compile the kernel. + # Because the PaX patch does use GCC plugins to harden the kernel which + # are not available on the remote compilers, we need to disable it here. + export ICECC=no + requires binutils-devel elfutils-devel module-init-tools ncurses-devel + net-tools newt-devel - iputils perl python-devel + slang-devel xz-lzma-compat end
@@ -66,6 +72,9 @@ build # Remove unnecessary SCM files. find . -name .gitignore -exec rm -f {} ; >/dev/null
+ # This prevents scripts/setlocalversion from mucking with our version numbers. + touch .scmversion + mkdir -pv configs configure_kernel() { local flavour=${1} @@ -102,17 +111,18 @@ build fullversion="${fullversion}.${flavour}" fi
+ # Label the build. + sed -i Makefile \ + -e "s/^EXTRAVERSION.*/EXTRAVERSION = -${localversion}/" + # Clean up the source tree. make mrproper
# Install configuration file. cp configs/config.${flavour} .config
- # Label the build. - sed -i Makefile \ - -e "s/^EXTRAVERSION = .*/EXTRAVERSION = -${localversion}/g" - # Run the build. + make ARCH=%{kernel_arch} oldnoconfig >/dev/null make ARCH=%{kernel_arch} CC="gcc -fno-PIE" %{kernel_target} modules %{PARALLELISMFLAGS}
# Install the results. @@ -207,9 +217,10 @@ build rm -rfv %{BUILDROOT}/lib/firmware
# Install tools. - # XXX cannot install this because of #263. - #make -C tools/perf DESTDIR=%{BUILDROOT} \ - # HAVE_CPLUS_DEMANGLE=1 prefix=/usr install install-man + # XXX Man pages cannot be created because they need asciidoc. + make -C tools/perf DESTDIR=%{BUILDROOT} \ + HAVE_CPLUS_DEMANGLE=1 prefix=/usr perfexecdir=lib/perf-core \ + install #install-man end end
@@ -284,7 +295,7 @@ packages
kernel_release = %{fullver}.PAE end - + package kernel-headers summary = Header files of the kernel release %{fullver}. desciption = %{summary} @@ -294,13 +305,20 @@ packages end end
- #package kernel-tools - # summary = Assortment of tools for the Linux kernel. - # description = %{summary} - # - # files - # /usr/bin - # /usr/lib - # end - #end + package kernel-tools + summary = Assortment of tools for the Linux kernel. + description = %{summary} + + filter_requires + perl>=[0-9]:.* + end + + files + / + !/boot + !/lib/modules + !/usr/include + !/usr/src + end + end end
hooks/post-receive -- IPFire 3.x development tree