lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 9 Nov 2009 11:06:22 +0800
From:	Américo Wang <>
To:	Carmelo Amoroso <>
Cc:	Linux Kernel Mailing List <>,
	Carmelo AMOROSO <>
Subject: Re: [PATCH] modules: Allow to use depmod from a non default install

On Sun, Nov 08, 2009 at 10:44:04PM +0100, Carmelo Amoroso wrote:
>This patch allow to specify the directory where to find the
>depmod tool other than being forced to use the module-init-tools
>installed on the host. The reason for this is explained below.
>When doing cross-compilation, it not guaranteed that the
>module-init-tools installed on the host (and used during kernel build)
>are exactly the same and compatible with those used on the target at runtime.
>For example, recent changes in how depmod writes modules.dep using
>root-less path, make older modprobe unusable on the target.
>User in ths case could install in a different path the module-init-tools
>compatible with the version used on the target and specify the path on the
>command line.
>Signed-off-by: Carmelo Amoroso <>

Acked-by: WANG Cong <>

> Makefile |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>diff --git a/Makefile b/Makefile
>index b4c04f7..f5286c4 100644
>--- a/Makefile
>+++ b/Makefile
>@@ -316,7 +316,8 @@ OBJDUMP             = $(CROSS_COMPILE)objdump
> AWK            = awk
> GENKSYMS       = scripts/genksyms/genksyms
> INSTALLKERNEL  := installkernel
>-DEPMOD         = /sbin/depmod
>+DEPMOD_PATH    ?= /sbin
>+DEPMOD         = $(DEPMOD_PATH)/depmod
> KALLSYMS       = scripts/kallsyms
> PERL           = perl
> CHECK          = sparse
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to
>More majordomo info at
>Please read the FAQ at

Live like a child, think like the god.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists