[tomoyo-users-en 306] BUG: TOMOYO 1.x's binary kernel packages for Debian were not built as excepted.

アーカイブの一覧に戻る
Tetsuo Handa from-****@I-lov*****
Thu Apr 7 00:05:53 JST 2011


A severe mistake was found in TOMOYO 1.x's build scripts for Debian kernels.
Debian's patches were not applied for Etch/Lenny binary kernel packages
provided by me.

I was trying to build TOMOYO 1.8's binary kernel package for Debian Squeeze and
was exploring linux-2.6_2.6.32-31.diff.gz for how to solve a build error.
It turned out that the error was due to building the kernel without applying
Debian's patches.

Regarding Ubuntu kernels, untarring linux_2.6.*.orig.tar.gz and patching
linux_2.6.*.diff.gz gives us the kernel source tree with Ubuntu's patches
applied.
However, regarding Debian kernels, untarring linux-2.6_2.6.*.orig.tar.gz and
patching linux-2.6_2.6.*.diff.gz does not give us the kernel source tree with
Debian's patches applied. In order to get the Debian's patches applied, we need
to run debian/rules script, and the step for executing this script has been
missing in TOMOYO 1.x's build scripts for Debian Etch/Lenny/Squeeze kernels.

I'm now trying to fix the build scripts. (Maybe I should build from the tree
obtained by "apt-get install linux-source-2.6.18" rather than by
"apt-get source linux-image-2.6.18-6-686".)
If you know how to fix, please let me know.

Regards.




More information about the tomoyo-users-en mailing list
アーカイブの一覧に戻る