07 Mar, 2009

1 commit

  • The contents of the %clean section in mkspec is currently commented
    out leaving RPM_BUILD_ROOT and its contents on the build machine.
    This patch removes it once the rpm build process is complete.

    Signed-off-by: Josh Hunt
    Signed-off-by: Sam Ravnborg

    Josh Hunt
     

15 Feb, 2009

1 commit

  • We are building an automated system to test kernels weekly and need to
    provide an rpm to our QA dept. We would like to use the ability to create
    kernel rpms already in the kernel's Makefile, but need the vmlinux file
    included in the rpm for later debugging.

    This patch adds a compressed vmlinux to the kernel rpm when doing a
    make rpm-pkg or binrpm-pkg and upon install places the vmlinux file in /boot.

    Signed-off-by: Josh Hunt
    Signed-off-by: Sam Ravnborg

    Josh Hunt
     

30 Oct, 2008

2 commits

  • Currently, if we do a 'make rpm-pkg' without the _smp_mflags rpm macro
    defined, the build fails with:

    [snip]
    Executing(%build): /bin/bash -e /var/tmp/rpm-tmp.67959
    + umask 022
    + cd /home/jk/devel/kernel-snapshot/rpm/BUILD
    + cd kernel-2.6.26
    + make clean
    + make '%{_smp_mflags}'
    make[3]: *** No rule to make target `%{_smp_mflags}'. Stop.
    error: Bad exit status from /var/tmp/rpm-tmp.67959 (%build)

    This change uses the 'null if not set' reference to the _smp_mflags
    macro instead.

    Signed-off-by: Jeremy Kerr
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Jeremy Kerr
     
  • This is patch to fix incorrect mkspec script to make rpm correctly at 2.6.27 vanilla kernel.
    This is regression in 2.6.27. 2.6.26 make rpm work good.
    In 2.6.27 'make rpm' say error from rpmbuild "Many unpacked files (*.fw)."

    Signed-off-by: Evgeniy Manachkin
    Acked-by: Alan Cox
    Signed-off-by: Sam Ravnborg
    Cc: Stable

    Evgeniy Manachkin
     

25 Sep, 2006

1 commit


09 Jun, 2006

1 commit

  • The default target for most powerpc platforms is zImage. The
    zImage however is in arch/powerpc/boot and the mkspec script
    was set up to get the kernel from the top level of the kernel
    tree. This patch copies vmlinux to arch/powerpc/boot and then
    copies the kernel to the tmp directory so the rpm can be made.

    Signed-off-by: Mike Wolf
    Signed-off-by: Sam Ravnborg

    Mike Wolf
     

14 Jul, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds