From 18f70462c7fefe7cadcc1cd618b88de565a0f717 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 9 Aug 2010 15:56:35 +0000 Subject: mkinitfs: handle the case when modules.dep has full path we do that by simply removing the prepend string --- mkinitfs.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mkinitfs.in') diff --git a/mkinitfs.in b/mkinitfs.in index c3d8354..8246d07 100755 --- a/mkinitfs.in +++ b/mkinitfs.in @@ -92,6 +92,10 @@ BEGIN { modulesdep="modules.dep"; FS = ": "; while ( (getline < modulesdep) > 0) { + if (substr($0,1,1) == "/") { + gsub(prepend, "", $1); + gsub(prepend, "", $2); + } deps[$1] = $2; } } -- cgit v1.2.3