reassign 356787 realtime-lsm-source
thanks
#include <hallo.h>
* Lee A. Azzarello [Mon, Mar 13 2006, 11:31:17PM]:
> Package: module-assistant
> Version: 0.10.2
>
> m-a will not accept a configured kernel header or source package. When
Any evidence for this claim please? I cannot see much in your log, see
below.
> it complained the first time, I manually ran make config and nothing
> changed. I have no idea how to fix this except install a custom
> kernel.
Let's read the manpage:
If you do not understand any‐
thing of the above, run "m-a prepare" and/or look at the description
and contents of some kernel-headers-... package. Please run the mod‐
ule-assistant prepare command once before you do anything else.
...
In order to configure a kernel source properly, you need to make sure
that the file version.h is generated. To get it, configure the options
as usual (make menuconfig etc.) and run make dep (for kernel 2.4.x) or
make prepare (for newer ones).
> [EMAIL PROTECTED]:/usr/src# cat
> /var/cache/modass/realtime-lsm-source.buildlog.2.6.15-1-686.1142310219
> <snip>
> dh_clean -k
> make KERNEL_DIR=/usr/src/linux-headers-2.6.15-1-686 MODVERSIONS=detect
> KERNEL=linux-2.6.15-1-686 COMMONCAP=none
> make[2]: Entering directory `/usr/src/modules/realtime-lsm'
> Failed: Security Capabilities not configured as module
> Realtime LSM will not work with /usr/src/linux-headers-2.6.15-1-686
> Please rerun `make config' on the kernel and try again.
This is not a message from module-assistant but from the individual
module compilation script. Therefore I am reassigning the report.
As quick workaround, do
cd /usr/src/modules/realtime*
make -C /usr/src/linux-headers-2.6.15-1-686 M=$PWD modules_install
To Guenter: please fix that RSN.
Also please fix this error message and the checks that are causing it.
a) unless I am mistaken and capabilities really must be configured as
modules, the check is pure crap, it checks for =m while Debian kernels
use =y, and it also displays grep output. So it should better be:
@if grep -q 'CONFIG_SECURITY_CAPABILITIES=m\|y' $(KERNEL_DIR)/.config; \
b) it does not tell the user what the real error is
c) "make config" is confusing, it should tell _how_ to configure, not
where.
Eduard.
--
Niemand ist zufällig gut, die Tugend muß man lernen.
-- Lucius Annaeus Seneca (4-65 n.Chr.)