1. 04 9月, 2015 1 次提交
  2. 26 8月, 2015 1 次提交
  3. 20 8月, 2015 1 次提交
    • C
      fallback to hostname in scripts/package/builddeb · bea107b1
      Christian Kujau 提交于
      I happened to build a kernel with "make deb-pkg" on a machine with no
      network connectivity, but this failed with:
      
      [...]
        INSTALL debian/headertmp/usr/include/asm/ (65 files)
      hostname: Name or service not known
      ../scripts/package/Makefile:90: recipe for target 'deb-pkg' failed
      make[2]: *** [deb-pkg] Error 1
      
      In scripts/package/builddeb it tries to construct an email address (that
      can be queried in /proc/version later on) but with no network,
      the "hostname -f" fails. The following patch falls back to just use the
      shortname if we cannot determine our FQDN.
      Signed-off-by: NChristian Kujau <lists@nerdbynature.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      bea107b1
  4. 19 8月, 2015 1 次提交
  5. 15 6月, 2015 1 次提交
    • J
      scripts/package/Makefile: rpmbuild is needed for rpm targets · 21a59991
      Jim Davis 提交于
      Before rpm release 4.1, in 2002, either the rpm command or the
      rpmbuild command could be used in the rpm-pkg or binrpm-pkg targets,
      and the Makefile chose the rpm command if the rpmbuild command wasn't
      found.
      
      After release 4.1, however, the rpm command could no longer be used in
      place of the rpmbuild command.  As the rpmbuild command is not
      installed by default, this can lead to failures with the rpm-pkg and
      binrpm-pkg targets:
      
      rpm --define "_builddir ." --target \
          x86_64 -bb ./binkernel.spec
          rpm --target: unknown option
          scripts/package/Makefile:60: recipe for target 'binrpm-pkg' failed
      
      Change the Makefile to use rpmbuild unconditionally to avoid this.
      Signed-off-by: NJim Davis <jim.epost@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      21a59991
  6. 20 5月, 2015 1 次提交
  7. 06 5月, 2015 1 次提交
    • A
      builddeb: fix stripped module signatures if CONFIG_DEBUG_INFO and CONFIG_MODULE_SIG_ALL are set · 64178cb6
      Andrey Skvortsov 提交于
      If CONFIG_MODULE_SIG_ALL is set, then user expects that all modules are
      automatically signed in the result package, as it's for rpm-pkg, binrpm-pkg,
      tar, tar-*. For deb-pkg this is correct only if CONFIG_DEBUG_INFO
      is NOT set. In that case deb-package contains signed modules.
      
      But if CONFIG_DEBUG_INFO is set, builddeb creates separate package with
      debug information. To do that, debug information from all modules
      is copied into separate files by objcopy. And loadable kernel modules are
      stripped afterwards. Stripping removes previously (during modules_install)
      added signatures from loadable kernel modules. Therefore final deb-package
      contains unsigned modules despite of set option CONFIG_MODULE_SIG_ALL.
      
      This patch resigns all stripped modules if CONFIG_MODULE_SIG_ALL is set
      to solve this problem.
      Signed-off-by: NAndrey Skvortsov <andrej.skvortzov@gmail.com>
      Acked-by: Nmaximilian attems <max@stro.at>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      64178cb6
  8. 27 4月, 2015 2 次提交
  9. 07 1月, 2015 1 次提交
  10. 03 1月, 2015 1 次提交
  11. 08 12月, 2014 1 次提交
  12. 07 10月, 2014 1 次提交
  13. 12 9月, 2014 1 次提交
  14. 26 8月, 2014 1 次提交
  15. 20 8月, 2014 1 次提交
  16. 19 6月, 2014 1 次提交
  17. 18 6月, 2014 2 次提交
  18. 10 6月, 2014 2 次提交
  19. 30 4月, 2014 1 次提交
  20. 24 4月, 2014 2 次提交
  21. 04 1月, 2014 2 次提交
  22. 18 11月, 2013 1 次提交
  23. 07 11月, 2013 1 次提交
  24. 26 8月, 2013 1 次提交
    • S
      kbuild: Add MIPS specific files to generated package. · 7848ea79
      Stuart Longland 提交于
      A lot of 64-bit systems supported by Linux/MIPS have boot firmware or
      bootloaders that only understand 32-bit ELF files, and as such, the vmlinux.32
      target exists to support these systems.  Therefore, it'd be nice if the tar-pkg
      target recognised this, and included the right version when packaging up a
      binary of the kernel.
      
      This updates buildtar to support MIPS targets.  MIPS may use 'vmlinux'
      or 'vmlinux.32' depending on the target system.  This uses 'vmlinux.32'
      in preference to 'vmlinux' where present (although I should check which
      is newer), including either file as /boot/vmlinux-${version}.
      
      Cc: linux-mips@linux-mips.org
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/1673/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      7848ea79
  25. 16 8月, 2013 1 次提交
  26. 24 7月, 2013 4 次提交
  27. 23 7月, 2013 3 次提交
  28. 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
  29. 16 5月, 2013 1 次提交
  30. 18 4月, 2013 1 次提交