mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-21 22:50:03 +00:00
mkmodloop: no firmware. fix path in image
This commit is contained in:
parent
29c9030dcd
commit
4db92fc982
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user