mkmodloop: no firmware. fix path in image

This commit is contained in:
Natanael Copa 2009-01-02 13:30:48 +00:00
parent 29c9030dcd
commit 4db92fc982

View File

@ -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