News for hackers. Stuff that matters.
Re:Linux 7.1 by imoverclocked on Sunday June 14, 2026 @01:59PM (#48530460)
It’s fairly easy to build your own kernel packages from vanilla sources in Debian. I’m running the latest 7.0.x within a few hours of its release. The build takes about 30-45 minutes depending on how much time I spend on skimming the ChangeLog. YMMV.
Re:Linux 7.1 by kro on Sunday June 14, 2026 @03:23PM (#48531560)
I did that for a while because of compatibility issues with a newer laptop, it works but generally if there is no reason it's way easier to stay with the provided packages. Compiling weekly due to security patches becomes annoying over time for no real gain other than the version number
Re:Linux 7.1 by jcalvinowens on Sunday June 14, 2026 @02:50PM (#48531111)
> The build takes about 30-45 minutes

If you don't actually need all the drivers, you can use "make localmodconfig" to substantially reduce that. My local kernels build in 90 seconds on a 32-thread desktop machine :)

The kernel is a lot more stable than people think: I run the daily linux-next on my Debian stable gaming PC to look for bugs, and I don't find very many.

Re:Linux 7.1 by tredre3 on Sunday June 14, 2026 @11:13PM (#48536155)
You're being a bit disingenuous, it builds in 90 seconds because you build it daily and the vast majority of objects are unchanged and cached by ccache.
Re:Linux 7.1 by chlorion on Monday June 15, 2026 @02:48AM (#48537486)
No, I don't think that's what happening actually.

A stripped down cold build will literally take 90 seconds without caching on modern hardware.

The overwhelming majority of stuff that is being built is drivers, and most of them probably aren't needed for any specific user, so you can disable quite a lot of stuff.

Fwiw a full build of the fedora kernel config takes around 5-10m for my 12core ryzen 3900x, and it's definitely not the fastest CPU around.

Re:Linux 7.1 by jcalvinowens on Monday June 15, 2026 @11:31AM (#48542783)
No, 90 seconds is the clean build time without ccache.
Re:Linux 7.1 by wolfi1 on Sunday June 14, 2026 @11:44PM (#48536360)
try to build it with make clean first
Re:Linux 7.1 by jcalvinowens on Monday June 15, 2026 @05:12PM (#48547078)
It's actually faster than I remembered:

  {0}[calvinow@sousa ~/git/linux] git describe
  v7.1
  {0}[calvinow@sousa ~/git/linux] git clean -dffxq
  {0}[calvinow@sousa ~/git/linux] zcat /proc/config.gz > .config
  {0}[calvinow@sousa ~/git/linux] time make -skj32 tar-pkg
  './System.map' -> 'tar-install/boot/System.map-7.1.0'
  '.config' -> 'tar-install/boot/config-7.1.0'
  './vmlinux' -> 'tar-install/boot/vmlinux-7.1.0'
  'arch/x86/boot/bzImage' -> 'tar-install/boot/vmlinuz-7.1.0'
  
  real    0m56.539s
  user    18m41.863s
  sys     2m8.754s
Re:Linux 7.1 by wolfi1 on Sunday June 14, 2026 @02:07PM (#48530560)
I miss the days when my 486 took about 12 hours to compile a kernel
Re:Linux 7.1 by throw0101c on Sunday June 14, 2026 @02:22PM (#48530748)
Or it took >15 minutes to generate PGP 2.x private keys due to entropy generation and prime calculations/tests.
Re:Linux 7.1 by z3ratul163071 on Sunday June 14, 2026 @02:14PM (#48530651)
what about your carbon footprint
Re:Linux 7.1 by imoverclocked on Sunday June 14, 2026 @02:42PM (#48531012)
I build using excess solar from my house. The build host is a small arm64 SBC that doesn’t require cooling in my passively cooled garage.

The resources behind your post likely have a larger carbon footprint.

Re:Linux 7.1 by dymk on Sunday June 14, 2026 @02:51PM (#48531130)
Turn the shed light off overnight and you’re at net zero
Re:Linux 7.1 by cesarb on Sunday June 14, 2026 @04:58PM (#48532628)
> It’s fairly easy to build your own kernel packages from vanilla sources in Debian.

IIRC, Debian has a command called "make-kpkg" which does nearly all the work for you, ending up with a installable package which works identically to the standard Debian kernel packages.