25 May, 2011

1 commit


05 May, 2011

1 commit


29 Oct, 2010

1 commit


14 Oct, 2010

1 commit

  • Same fix as in 13797b77d419fc1b16eebf2993bf7b5cea65f0bf is needed for the "new"
    line invoking _smp_mflags for modules_install. Without the fix, `make
    binrpm-pkg` fails with:

    + make '%{_smp_mflags}' KBUILD_SRC= modules_install
    make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    make[2]: *** No rule to make target `%{_smp_mflags}'. Stop.
    error: Bad exit status from /var/tmp/rpm-tmp.8S9B9e (%install)

    Signed-off-by: Nishanth Aravamudan
    Signed-off-by: Michal Marek

    Nishanth Aravamudan
     

01 Jun, 2010

1 commit

  • * 'for-35' of git://repo.or.cz/linux-kbuild: (81 commits)
    kbuild: Revert part of e8d400a to resolve a conflict
    kbuild: Fix checking of scm-identifier variable
    gconfig: add support to show hidden options that have prompts
    menuconfig: add support to show hidden options which have prompts
    gconfig: remove show_debug option
    gconfig: remove dbg_print_ptype() and dbg_print_stype()
    kconfig: fix zconfdump()
    kconfig: some small fixes
    add random binaries to .gitignore
    kbuild: Include gen_initramfs_list.sh and the file list in the .d file
    kconfig: recalc symbol value before showing search results
    .gitignore: ignore *.lzo files
    headerdep: perlcritic warning
    scripts/Makefile.lib: Align the output of LZO
    kbuild: Generate modules.builtin in make modules_install
    Revert "kbuild: specify absolute paths for cscope"
    kbuild: Do not unnecessarily regenerate modules.builtin
    headers_install: use local file handles
    headers_check: fix perl warnings
    export_report: fix perl warnings
    ...

    Linus Torvalds
     

29 Mar, 2010

1 commit


02 Feb, 2010

1 commit

  • The mkspec script hardcodes "/var/tmp" into the generated rpm spec file's
    BuildRoot. The user, however, may have a custom setting for %_tmppath,
    which should be used in BuildRoot. This patch changes mkspec's
    BuildRoot output to appropriately use %_tmppath.

    Signed-off-by: John Saalwaechter
    Signed-off-by: Michal Marek

    John Saalwaechter
     

12 Oct, 2009

1 commit

  • The binrpm-pkg target (binary RPM only) fails when called with
    KBUILD_OUTPUT set. This patch makes it work.

    For the rpm-pkg target (source + binary RPM), building with
    KBUILD_OUTPUT set is not possible and also not needed as the
    actual build is done in a temporary directory anyway, so check
    that KBUILD_OUTPUT is not set in that case to avoid later errors.

    Signed-off-by: Frans Pop
    Signed-off-by: Sam Ravnborg

    Frans Pop
     

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