Safer linux-headers install

Luca2 liliana.perossa at
Wed Jul 11 01:01:57 PDT 2007


Same issue could be solved with a little patch removing or commenting 
out the line in question as I've been already using for some months.

There's ony an additional "issue": it's an extra patch and this depends 
on authors' feelings towards patches...

It could be solved the same way with a little "instructions set" before 
the "make headers_install", as I've been using to include some extra 
headers not sanitizied nor installed by default.


----- Original Message ----- 
From: "Greg Schafer" <gschafer at>
To: <lfs-dev at>
Sent: Wednesday, July 11, 2007 9:23 AM
Subject: Re: Safer linux-headers install

> Dan Nicholson wrote:
>> When you run `make headers_install' from the kernel, it will remove 
>> all
>> headers not from the kernel list in INSTALL_HDR_PATH. This bites 
>> people
>> who try to reinstall them,
>> I think we should just use a temporary path and cp it to /usr/include
>> since this is safer for all cases and removes the problem of silently
>> removing glibc's headers.
> Agreed. I've received occasional complaints about this in the DIY 
> build.
> Tho' if you're going to change it, you should consider giving the same
> treatment to Ch 5 for consistency's sake. (the headers being wiped in 
> Ch5
> are those from the Binutils install, which luckily, are not needed).
> Regards
> Greg
> -- 

More information about the lfs-dev mailing list