tinyramfs: fix incorrect path to modules

This commit is contained in:
illiliti 2021-08-02 20:43:26 +03:00
parent 4a16c0f042
commit 1f2b391f9d

View File

@ -128,7 +128,7 @@ copy_modules()
drivers/usb/storage -type f 2> /dev/null |
while read -r _mod; do
copy_file "$_mod" "/lib/modules/${kernel}/${_mod}" 0644
copy_file "$_mod" "/lib/modules/${kernel}/kernel/${_mod}" 0644
done
)
fi