Sujet : Re: Kernel 6.12
De : nv (at) *nospam* linux.rocks (Nux Vomica)
Groupes : comp.os.linux.advocacyDate : 20. Nov 2024, 11:44:36
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$ce7dc$e12054e5$d4056dec$377ef775@linux.rocks>
References : 1 2
On 20 Nov 2024 00:06:30 GMT, vallor wrote:
Note that my distribution doesn't build the kernel for me, I have
to do it myself.
Gentoo can build the kernel but I do not allow it to do so.
Rather I use my own script. I just point it at the source
tar ball and it does the rest:
...
cd /tmp/src/linux
mkdir -p /tmp/install/headers/$NEWDIR/usr
make INSTALL_HDR_PATH=/tmp/install/headers/$NEWDIR/usr headers_install
find /tmp/install/headers/$NEWDIR/usr/include \( -name .install -o -name ..install.cmd \) -delete
cd /tmp/install/headers/$NEWDIR
removetree kernel-headers-$OLDDIR
if [ $? -eq 0 ]
then
checktree
if [ $? -eq 0 ]
then
insttree kernel-headers-$NEWDIR
else
echo "Could not install"
fi
else
echo "Could not remove"
fi
...
-- Systemd: solving all the problems that you never knew you had.