1. 24 6月, 2013 1 次提交
    • M
      kbuild: fix error when building from src rpm · c398ff00
      Mike Marciniszyn 提交于
      The following issue can be reproduced with Linus' tree on
      an x86_64 server.
      
      >+ cp /home/user/rpmbuild-test/BUILDROOT/kernel-3.9.2.x86_64/boot/vmlinuz-3.9.2
      >cp: missing destination file operand after
      >/home/user/rpmbuild-test/BUILDROOT/kernel-3.9.2-1.x86_64/boot/vmlinuz-3.9.2'
      >Try `cp --help' for more information.
      >error: Bad exit status from /var/tmp/rpm-tmp.R4o0iI (%install)
      
      Here are the commands to reproduce:
      
      make defconfig
      make rpm-pkg
      
      Use the resulting src rpm to build as follows:
      
      mkdir ~/rpmbuild-test
      cd ~/rpmbuild-test
      rpmbuild --rebuild --define "_topdir `pwd`" -vv ~/rpmbuild/SRPMS/kernel-3.10.0_rc1+-1.src.rpm
      
      The issue is because the %install script uses $KBUILD_IMAGE and it hasn't
      been set since it is only available in the kbuild system and not in the
      %install script.
      
      This patch adds a Makefile target to emit the image_name that can be used
      and modifies the mkspec to use the dynamic name in %install.
      Signed-off-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      c398ff00
  2. 22 2月, 2013 1 次提交
    • D
      kbuild: clear KBUILD_SRC when calling 'make' in RPM spec · e0367a61
      David R. Bild 提交于
      'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is
      read-only.  Specifically, when the RPM spec generated by
      scripts/package/mkspec is run, KBUILD_SRC happens to be set to the
      source location and thus the invocation of 'make headers_install'
      fails when an internal call to 'filechk' tries to write a file into
      the source tree.
      
      The fix is to clear KBUILD_SRC for the 'make headers_install'
      invocation in the spec file, as is already done for the 'make
      modules_install' invocation.
      Signed-off-by: NDavid R. Bild <drbild@umich.edu>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      e0367a61
  3. 25 5月, 2011 1 次提交
  4. 05 5月, 2011 1 次提交
  5. 14 10月, 2010 1 次提交
  6. 29 3月, 2010 1 次提交
  7. 02 2月, 2010 1 次提交
  8. 12 10月, 2009 1 次提交
  9. 07 3月, 2009 1 次提交
  10. 15 2月, 2009 1 次提交
    • J
      kbuild: add vmlinux to kernel rpm · fc370ecf
      Josh Hunt 提交于
      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: NJosh Hunt <josh@scalex86.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      fc370ecf
  11. 30 10月, 2008 2 次提交
  12. 25 9月, 2006 1 次提交
  13. 09 6月, 2006 1 次提交
    • M
      kbuild: fix make rpm for powerpc · 1a0f3d42
      Mike Wolf 提交于
      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: NMike Wolf <mjw@us.ibm.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      1a0f3d42
  14. 14 7月, 2005 1 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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!
      1da177e4