mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 07:00:28 +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"
|
rm -rf "$image"
|
||||||
mkdir -p "$image/lib/modules" "$image/lib"
|
mkdir -p "$image/lib/modules"
|
||||||
|
|
||||||
cp -alf /lib/firmware $image/lib/
|
|
||||||
cp -alf /lib/modules/$kernel $image/lib/modules/
|
cp -alf /lib/modules/$kernel $image/lib/modules/
|
||||||
|
|
||||||
depmod -b "$image" $kernel
|
depmod -b "$image" $kernel
|
||||||
|
|
||||||
rm -f $image/lib/modules/$kernel/source $image/lib/modules/$kernel/build
|
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