diff options
Diffstat (limited to 'mkmodloop')
-rw-r--r-- | mkmodloop | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |