Sunday, October 25, 2009

ubuntu add patches to kernel

Get patch xyz.bz2 to /usr/src.
cd /usr/src/linux


echo "dry run and then actual patch"
bzip2 -dc /usr/src/patch.bz2 | patch -p1 --dry-run
bzip2 -dc /usr/src/patch.bz2 | patch -p1

No comments:

Post a Comment