Всем привет!
Подскажите, как мне можно автоматически установить патчи к ядру?
Вот в инструкции к ядру я читаю:
Alternatively, the script patch-kernel can be used to automate this
process. It determines the current kernel version and applies any
patches found.
linux/scripts/patch-kernel linux
The first argument in the command above is the location of the
kernel source. Patches are applied from the current directory, but
an alternative directory can be specified as the second argument.
- Make sure you have no stale .o files and dependencies lying around:
cd linux
make mrproper
You should now have the sources correctly installed.
скачал ядро, распаковал его в /usr/src/linux-4.4.17
Скачал патч(не инкрементный, а полный) поместил его в папку /usr/src/linux
cd /usr/src
linux-4.4.17/scripts/patch-kernel linux/
в итоге получаю предупреждение ввида
usage: patch-kernel [-h] [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ]
source directory defaults to /usr/src/linux,
patch directory defaults to the current directory,
stopversion defaults to <all in patchdir>.
Ни где не могу найти описание этой программы. Как с ней все же нужно управиться, кто может подсказать? Заранее спасибо!