lkml.org 
[lkml]   [2001]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Announce loop-AES-v1.4d file/swap crypto package
Jari Ruusu wrote:
> In short: If file and swap crypto is all you need, this package is a hassle
> free replacement for international crypto patch and HVR's crypto-api.

Some comments about the packaging (which I made once before).

1) It claims to allow you to specify the kernel sources dir, but it then
runs 'depmod' without a nominated version which is only valid if you
are building for the running kernel. I now have it doing
depmod -ae $(KERNELRELEASE)

2) 'make' will also install the module. It would be nice to have an
explicit 'make install' instead.

3) The module is installed as loop.o, same as the standard kernel
module. I prefer to use different names for added modules.

Also, it ends up in
/lib/modules/VERSION/block/loop.o
which is fine for 2.2, but 2.4 uses
/lib/modules/VERSION/kernel/drivers/block/loop.o
so you now have two loop.o - do you know which one will be loaded?

I changed it to install as loop-aes.o:
cp -p loop.o $(ML)/kernel/drivers/block/loop-aes.o
and I can now select a module in the modules config.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.040 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site