linux-samsung-a5y17lte: add modules.order to package to fix build error

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7162>
This commit is contained in:
smallsolar 2025-10-09 20:32:29 +00:00 committed by The Friendly Merge Bot
parent cc70c2550a
commit cfe49ffdfd
No known key found for this signature in database

View file

@ -82,6 +82,9 @@ package() {
cp -v "$builddir"/modules.builtin "$pkgdir"/lib/modules/$pkgver
make INSTALL_MOD_PATH="$pkgdir" INSTALL_MOD_STRIP=1 M=$_qcaclddir modules_install
# Create a fake modules.order to ensure depmod runs correctly
touch "$pkgdir"/lib/modules/"$pkgver"/modules.order
# Master DTB (deviceinfo_bootimg_qcdt)
install -Dm644 "$builddir/arch/arm64/boot/dtb.img" \
"$pkgdir/boot/dt.img"