main/postmarketos-mkinitfs: Use the original filename for the dtb (!536)

This commit is contained in:
Luca Weiss 2019-08-01 11:03:01 +02:00 committed by Oliver Smith
parent bfac093092
commit ed182b60ff
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
pkgname=postmarketos-mkinitfs pkgname=postmarketos-mkinitfs
pkgver=0.7.12 pkgver=0.7.13
pkgrel=0 pkgrel=0
pkgdesc="Tool to generate initramfs images for postmarketOS" pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://postmarketos.org" url="https://postmarketos.org"
@ -26,4 +26,4 @@ package() {
sha512sums="3b7d697381a45a6a165d195d25a26e71773794ebc4a0d8b425321e5bb68a02405028d9712848982b2573474b7b1ee2560091c41f7f51b9e2e962eeb5204a72aa init.sh.in sha512sums="3b7d697381a45a6a165d195d25a26e71773794ebc4a0d8b425321e5bb68a02405028d9712848982b2573474b7b1ee2560091c41f7f51b9e2e962eeb5204a72aa init.sh.in
9632fe7960d72da7efe9b765de72600ed8c5e38441652d7687c03138b53347f09d9f9dd66b16405b8c46969d5ea672f30c00a861841e5cdc7249182e2fdf9b27 init_functions.sh 9632fe7960d72da7efe9b765de72600ed8c5e38441652d7687c03138b53347f09d9f9dd66b16405b8c46969d5ea672f30c00a861841e5cdc7249182e2fdf9b27 init_functions.sh
278af467f0e5396d0adacce75fde6e31dea4eae9e418fd1a7f9e64b878a5cbf1db6dc0d557b84f94eb84a691a608dcfc5d4654c9d1bfe67f25c9e928a7d5608b mkinitfs.sh" 377465c5827105f44a834312cd96f79719f8623b7a4ee52bf2aa88cb5f7e58d708dd550d43eda8158d9d38af45973c523be32a28a9f9c5e41e05c4559822ca24 mkinitfs.sh"

View file

@ -377,7 +377,7 @@ append_or_copy_dtb()
cat "$kernel" "$dtb" > "${kernel}-dtb" cat "$kernel" "$dtb" > "${kernel}-dtb"
else else
echo "==> kernel: copying dtb ${deviceinfo_dtb} to boot partition" echo "==> kernel: copying dtb ${deviceinfo_dtb} to boot partition"
cp "$dtb" "${outfile/initramfs-/dtb-}.dtb" cp "$dtb" "$(dirname ${outfile})"
fi fi
} }