diff --git a/main/postmarketos-mkinitfs/APKBUILD b/main/postmarketos-mkinitfs/APKBUILD index 1524a2f1b..6a3168c1c 100644 --- a/main/postmarketos-mkinitfs/APKBUILD +++ b/main/postmarketos-mkinitfs/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Oliver Smith pkgname=postmarketos-mkinitfs pkgver=0.22 -pkgrel=1 +pkgrel=2 pkgdesc="Tool to generate initramfs images for postmarketOS" url="https://postmarketos.org" depends=" @@ -57,5 +57,5 @@ sha512sums="5037cb7285bb7c0c40ca9e6df332d882ef9a8b379756c785f921e062dab1b7e7f313 bafd06286594102b8b3b126c3ae0a77a97f004ab804f03426154310c5107a1acaf3636bdba92626333adfe4fb0df32ff42c6d8d9e7adf35f6da620c6e14407a1 init.sh.in 9a18ccd14ab5a9e2decc3df35c9b489cbb94b57dc180f0919d0cdf003de5f0f4730beb96d5c3d19b13aebc6d6fe046aa9e81846b86a66f794ca1cb59b91eabfe init_functions.sh dfc01ee0547ea88b7aa45a005e842b636e9e19bbf1705f3dad53a66d57af7c5c513c092b5469a06d9b00322e56a4d25f1b47e4c5324aafa99f5291679968d1f1 mkinitfs.sh -fa5a6d99f05988324b8dbf35f02eee276448c04775dad85ecdd21ed0f8009472143038334967a629a021633031f6e376cc2307423d94b00e99e9a5789337aaa8 mkinitfs_functions.sh +e91007d321b1c26b4505bba7e36da0aed1a5af7d7010ef6a1ac215975054898da3daf883c067cc071ff2c268fa0d57d2b3ca3dce1dc9b9afc4175a7724b4de3a mkinitfs_functions.sh c7a3c33daeb12b33ac72207191941c4d634f15c22958273b52af381a70ebaba1d3a9299483f0c447d9e66c560151fe7b9588bb4bbef2c8914f83185984ee4622 mkinitfs_test.sh" diff --git a/main/postmarketos-mkinitfs/mkinitfs_functions.sh b/main/postmarketos-mkinitfs/mkinitfs_functions.sh index 339ab3c9d..a96a66f46 100644 --- a/main/postmarketos-mkinitfs/mkinitfs_functions.sh +++ b/main/postmarketos-mkinitfs/mkinitfs_functions.sh @@ -19,6 +19,7 @@ deviceinfo_flash_pagesize="" deviceinfo_generate_bootimg="" deviceinfo_generate_legacy_uboot_initfs="" deviceinfo_mesa_driver="" +deviceinfo_mkinitfs_postprocess="" deviceinfo_initfs_compression="" deviceinfo_kernel_cmdline="" deviceinfo_legacy_uboot_load_address="" @@ -407,6 +408,9 @@ create_bootimg() ${_second} \ ${_dt} \ -o "${outfile/initramfs-/boot.img-}" || exit 1 + if [ "${deviceinfo_mkinitfs_postprocess}" != "" ]; then + sh "${deviceinfo_mkinitfs_postprocess}" "$outfile" + fi if [ "${deviceinfo_bootimg_blobpack}" = "true" ] || [ "${deviceinfo_bootimg_blobpack}" = "sign" ]; then echo "==> initramfs: creating blob" _flags=""