1. 19 Jan, 2014 1 commit
  2. 12 Jan, 2014 1 commit
  3. 04 Jan, 2014 1 commit
  4. 29 Dec, 2013 1 commit
  5. 22 Dec, 2013 1 commit
  6. 20 Dec, 2013 1 commit
    • Linus Torvalds's avatar
      Don't set the INITRD_COMPRESS environment variable automatically · b7000ade
      Linus Torvalds authored
      Commit 1bf49dd4 ("./Makefile: export initial ramdisk compression
      config option") started setting the INITRD_COMPRESS environment variable
      depending on which decompression models the kernel had available.
      
      That is completely broken.
      
      For example, we by default have CONFIG_RD_LZ4 enabled, and are able to
      decompress such an initrd, but the user tools to *create* such an initrd
      may not be availble.  So trying to tell dracut to generate an
      lz4-compressed image just because we can decode such an image is
      completely inappropriate.
      
      Cc: J P <ppandit@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jan Beulich <JBeulich@suse.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b7000ade
  7. 18 Dec, 2013 1 commit
    • Jan Beulich's avatar
      fix build with make 3.80 · 7ac18156
      Jan Beulich authored
      According to Documentation/Changes, make 3.80 is still being supported
      for building the kernel, hence make files must not make (unconditional)
      use of features introduced only in newer versions.
      
      Commit 1bf49dd4 ("./Makefile: export initial ramdisk compression
      config option") however introduced "else ifeq" constructs which make
      3.80 doesn't understand.  Replace the logic there with more conventional
      (in the kernel build infrastructure) list constructs (except that the
      list here is intentionally limited to exactly one element).
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Cc: P J P <ppandit@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7ac18156
  8. 15 Dec, 2013 1 commit
  9. 06 Dec, 2013 1 commit
  10. 29 Nov, 2013 1 commit
  11. 22 Nov, 2013 1 commit
  12. 12 Nov, 2013 1 commit
    • P J P's avatar
      ./Makefile: export initial ramdisk compression config option · 1bf49dd4
      P J P authored
      Make menuconfig allows one to choose compression format of an initial
      ramdisk image.  But this choice does not result in duly compressed ramdisk
      image.  Because - $ make install - does not pass on the selected
      compression choice to the dracut(8) tool, which creates the initramfs
      file.  dracut(8) generates the image with the default compression, ie.
      gzip(1).
      
      This patch exports the selected compression option to a sub-shell
      environment, so that it could be used by dracut(8) tool to generate
      appropriately compressed initramfs images.
      
      There isn't a straightforward way to pass on options to dracut(8) via
      positional parameters.  Because it is indirectly invoked at the end of a $
      make install sequence.
      
       # make install
         -> arch/$arch/boot/Makefile
          -> arch/$arch/boot/install.sh
           -> /sbing/installkernel ...
            -> /sbin/new-kernel-pkg ...
             -> /sbin/dracut ...
      Signed-off-by: default avatarP J P <ppandit@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1bf49dd4
  13. 11 Nov, 2013 1 commit
    • Borislav Petkov's avatar
      Kbuild: Ignore GREP_OPTIONS env variable · ab7474ea
      Borislav Petkov authored
      When building the kernel in a shell which defines GREP_OPTIONS so that
      grep behavior is modified, we can break the generation of the syscalls
      table like so:
      
      __SYSCALL_COMMON(^[[01;31m^[[K0^[[m^[[K, sys_read, sys_read)
      __SYSCALL_COMMON(^[[01;31m^[[K1^[[m^[[K, sys_write, sys_write)
      __SYSCALL_COMMON(^[[01;31m^[[K1^[[m^[[K0, sys_mprotect, sys_mprotect) ...
      
      This is just the initial breakage, later we barf when generating
      modules.
      
      In this case, GREP_OPTIONS contains "--color=always" which adds the shell
      colors markup and completely fudges the headers under ...generated/asm/.
      
      Fix that by unexporting the GREP_OPTIONS variable for the whole kernel
      build as we tend to use grep at a bunch of places.
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      ab7474ea
  14. 03 Nov, 2013 1 commit
  15. 27 Oct, 2013 1 commit
  16. 23 Oct, 2013 1 commit
  17. 19 Oct, 2013 1 commit
  18. 13 Oct, 2013 1 commit
  19. 06 Oct, 2013 1 commit
  20. 29 Sep, 2013 1 commit
  21. 23 Sep, 2013 1 commit
  22. 16 Sep, 2013 1 commit
  23. 11 Sep, 2013 1 commit
    • Linus Torvalds's avatar
      Bye, bye, WfW flag · d5d04bb4
      Linus Torvalds authored
      This reverts the Linux for Workgroups thing.  And no, before somebody
      asks, we're not doing Linux95.  Not for a few years, at least.
      
      Sure, the flag added some color to the logo, and could have remained as
      a testament to my leet gimp skills.  But no.  And I'll do this early, to
      avoid the chance of forgetting when I'm doing the actual rc1 release on
      the road.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d5d04bb4
  24. 02 Sep, 2013 1 commit
  25. 28 Aug, 2013 1 commit
  26. 25 Aug, 2013 1 commit
  27. 18 Aug, 2013 1 commit
  28. 11 Aug, 2013 1 commit
  29. 04 Aug, 2013 1 commit
  30. 28 Jul, 2013 1 commit
  31. 21 Jul, 2013 1 commit
  32. 14 Jul, 2013 1 commit
  33. 10 Jul, 2013 1 commit
    • Linus Torvalds's avatar
      Revert "Makefile: Fix install error with make -j option" · 6d128e1e
      Linus Torvalds authored
      This reverts commit d2aae847.
      
      It is completely and utterly broken.  Module install should not build
      any files, and adding broken dependencies to "help" it build files is
      complete and utter sh*t.
      
      The kernel should not be built by root, and "make install" and "make
      module_install" (that for obvious reasons need to be run as root)
      absolutely must not build any files.  They should only ever copy the
      already-built files over.
      
      So having dependencies for the install targets is wrong, wrong, wrong.
      
      If you try to install a kernel without building it first, you *should*
      get errors. The build system shouldn't try to help root build the files.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6d128e1e
  34. 03 Jul, 2013 1 commit
  35. 30 Jun, 2013 1 commit
  36. 28 Jun, 2013 1 commit
  37. 24 Jun, 2013 1 commit
    • Mike Marciniszyn's avatar
      kbuild: fix error when building from src rpm · c398ff00
      Mike Marciniszyn authored
      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: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      c398ff00
  38. 22 Jun, 2013 1 commit
  39. 15 Jun, 2013 1 commit
  40. 08 Jun, 2013 1 commit