diff --git a/main/postmarketos-mkinitfs/APKBUILD b/main/postmarketos-mkinitfs/APKBUILD index e048325b1..4f39b0d50 100644 --- a/main/postmarketos-mkinitfs/APKBUILD +++ b/main/postmarketos-mkinitfs/APKBUILD @@ -1,5 +1,5 @@ pkgname=postmarketos-mkinitfs -pkgver=0.7.12 +pkgver=0.7.13 pkgrel=0 pkgdesc="Tool to generate initramfs images for postmarketOS" url="https://postmarketos.org" @@ -26,4 +26,4 @@ package() { sha512sums="3b7d697381a45a6a165d195d25a26e71773794ebc4a0d8b425321e5bb68a02405028d9712848982b2573474b7b1ee2560091c41f7f51b9e2e962eeb5204a72aa init.sh.in 9632fe7960d72da7efe9b765de72600ed8c5e38441652d7687c03138b53347f09d9f9dd66b16405b8c46969d5ea672f30c00a861841e5cdc7249182e2fdf9b27 init_functions.sh -278af467f0e5396d0adacce75fde6e31dea4eae9e418fd1a7f9e64b878a5cbf1db6dc0d557b84f94eb84a691a608dcfc5d4654c9d1bfe67f25c9e928a7d5608b mkinitfs.sh" +377465c5827105f44a834312cd96f79719f8623b7a4ee52bf2aa88cb5f7e58d708dd550d43eda8158d9d38af45973c523be32a28a9f9c5e41e05c4559822ca24 mkinitfs.sh" diff --git a/main/postmarketos-mkinitfs/mkinitfs.sh b/main/postmarketos-mkinitfs/mkinitfs.sh index 8333ff959..06990fa3e 100644 --- a/main/postmarketos-mkinitfs/mkinitfs.sh +++ b/main/postmarketos-mkinitfs/mkinitfs.sh @@ -377,7 +377,7 @@ append_or_copy_dtb() cat "$kernel" "$dtb" > "${kernel}-dtb" else echo "==> kernel: copying dtb ${deviceinfo_dtb} to boot partition" - cp "$dtb" "${outfile/initramfs-/dtb-}.dtb" + cp "$dtb" "$(dirname ${outfile})" fi }