Skip to contentSkip to conversation

prepare_kernel --output-patch

Xenomai-core Wolfgang Grandegger 2 participants 3 messages Jun 30, 2006

lore
Share & tools
lore
#1 lore raw
Quoted 1 line · Wolfgang Grandegger

what is "prepare_kernel --output-patch" useful for?

It modifies the behavior of prepare_kernel, so that it does not modify the kernel source tree (except that it must apply the Adeos patch), but instead generates a patch file that has the same effect when applied against that Adeos-patched kernel source tree.

Therefore, it is useful for creating Xenomai packages for GNU/Linux distributions, such as packages based on dh-kpatches in Debian, which require to have patch files.

Signature · 1 line
Romain LENGLET
#2 lore raw
Quoted 6 lines · Romain Lenglet
Quoted 1 line · Wolfgang Grandegger

what is "prepare_kernel --output-patch" useful for?

It modifies the behavior of prepare_kernel, so that it does not modify the kernel source tree (except that it must apply the Adeos patch), but instead generates a patch file that has the same effect when applied against that Adeos-patched kernel source tree.

Therefore, it is useful for creating Xenomai packages for GNU/Linux distributions, such as packages based on dh-kpatches in Debian, which require to have patch files.

Ah, OK. I understood what it does but I did not realize what its useful for.

Thanks.

Wolfgang.