manually build linux-headers-* linux-image-* package on ubuntu

This is a little tricky. Maybe there is a better way, while I just managed to do this in the following steps.

create rules

cd linux-source-dir
./scripts/package/mkdebian

This create config files in debian directory.

create package

AUTOBUILD=1 fakeroot debian/rules binary-arch skipdbg=false

Then you will get those package in parent directory.

你可能感兴趣的:(Tools,on,Linux)