summaryrefslogtreecommitdiff
path: root/mkmodloop
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-02 13:30:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-02 13:30:48 +0000
commit4db92fc982114c116cce45bd4560b2b01ff2b044 (patch)
treea4a9c3db366b342cc788b267f18f20566ee05e7a /mkmodloop
parent29c9030dcdc8a309f606fb816779353a87395604 (diff)
downloadabuild-4db92fc982114c116cce45bd4560b2b01ff2b044.tar.gz
abuild-4db92fc982114c116cce45bd4560b2b01ff2b044.tar.bz2
abuild-4db92fc982114c116cce45bd4560b2b01ff2b044.tar.xz
abuild-4db92fc982114c116cce45bd4560b2b01ff2b044.zip
mkmodloop: no firmware. fix path in image
Diffstat (limited to 'mkmodloop')
-rw-r--r--mkmodloop6
1 files changed, 2 insertions, 4 deletions
diff --git a/mkmodloop b/mkmodloop
index a3723cc..f85b628 100644
--- a/mkmodloop
+++ b/mkmodloop
@@ -27,13 +27,11 @@ msg "Using kernel $kernel"
rm -rf "$image"
-mkdir -p "$image/lib/modules" "$image/lib"
-
-cp -alf /lib/firmware $image/lib/
+mkdir -p "$image/lib/modules"
cp -alf /lib/modules/$kernel $image/lib/modules/
depmod -b "$image" $kernel
rm -f $image/lib/modules/$kernel/source $image/lib/modules/$kernel/build
-mkcramfs $image $dest
+mkcramfs $image/lib $dest