1. 24 7月, 2013 3 次提交
  2. 23 7月, 2013 3 次提交
  3. 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
  4. 16 5月, 2013 1 次提交
  5. 18 4月, 2013 4 次提交
  6. 08 4月, 2013 2 次提交
  7. 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
  8. 27 9月, 2012 2 次提交
  9. 28 6月, 2012 2 次提交
  10. 27 5月, 2012 1 次提交
  11. 25 2月, 2012 3 次提交
  12. 19 2月, 2012 1 次提交
  13. 30 10月, 2011 1 次提交
  14. 24 6月, 2011 1 次提交
  15. 25 5月, 2011 1 次提交
  16. 24 5月, 2011 1 次提交
  17. 05 5月, 2011 1 次提交
  18. 31 3月, 2011 1 次提交
  19. 09 3月, 2011 1 次提交
  20. 04 2月, 2011 1 次提交
  21. 15 1月, 2011 1 次提交
  22. 08 1月, 2011 1 次提交
  23. 07 1月, 2011 1 次提交
  24. 29 12月, 2010 1 次提交
  25. 20 12月, 2010 1 次提交
  26. 25 11月, 2010 1 次提交
  27. 11 11月, 2010 1 次提交
  28. 14 10月, 2010 1 次提交