Commit 4db92fc9 authored by Natanael Copa's avatar Natanael Copa
Browse files

mkmodloop: no firmware. fix path in image

parent 29c9030d
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment