• Kai Germaschewski's avatar
    kbuild: Enforce UTS limit, use LANG=C for date/time · 561e79b0
    Kai Germaschewski authored
    Patch by Keith Owens, ported to 2.5.
    
    If the length of $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
    exceeds 64 characters it silently corrupts the utsname data, resulting
    in garbage for uname -r and problems running the kernel and modules.
    Abort if KERNELRELEASE is too long.  Truncation is not good enough, it
    results in ambiguous /lib/modules/`uname -r` contents.
    
    Ensure that the date/time in uname are always in LANG=C.  Users with
    other languages report that 8 bit values cause the boot messages to go
    haywire.
    561e79b0
mkcompile_h 1.75 KB