Verified Commit 9ea2e7e8 authored by Bobby The Builder's avatar Bobby The Builder Committed by Oliver Smith
Browse files

main/postmarketos-mkinitfs: show resizefs splash (MR 1996)

[ci:ignore-count] [ci:skip-build]
parent caae6d54
Pipeline #284642401 passed with stages
in 1 minute and 19 seconds
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-mkinitfs
pkgver=0.23
pkgrel=1
pkgver=0.24
pkgrel=0
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://postmarketos.org"
depends="
......@@ -56,7 +56,7 @@ check() {
sha512sums="4717bf24bd13fd4d90f3ab000ab43f7d61529515de224ebc86458ae709ebe0b5065655457e34f5952126bac6ab45143a91cddb09a8ad2d0a55c5cecd564a0135 00-default.modules
bafd06286594102b8b3b126c3ae0a77a97f004ab804f03426154310c5107a1acaf3636bdba92626333adfe4fb0df32ff42c6d8d9e7adf35f6da620c6e14407a1 init.sh.in
c625759e0a3fcfcb00d22e7240edec51df92ebb33a8c0bf2bcb8df549a9dfbab1bd786972c6678c49e9be0d87c56ef4fe42171d2e0b6be8b169e4cfbb7085d65 init_functions.sh
b43f5ab4885d46cc0d259ef0ab2e51bfa50d64038553dcc4df9d14e18e04b50b0b21cde94e3f164dcac0b1d70a617282e8d3990aec04af4b46165392357f5848 init_functions.sh
4f74995c52b3fd18ef77347dbbca4b3575d23fd339b62a257c1c4b45a16feb5a95f391d6189f62e94ac00d8da3077d192c678554a5f9b8190e34bf3fa6c86e95 mkinitfs.sh
ee1af97c53d53229eead55a580fad704891c0dd7b678dd3d56822c5a6d9e983559cf8a271abe4f5c144116e5ba507c182aa02a478e3db82d1b689facc0ac6d6b mkinitfs_functions.sh
c7a3c33daeb12b33ac72207191941c4d634f15c22958273b52af381a70ebaba1d3a9299483f0c447d9e66c560151fe7b9588bb4bbef2c8914f83185984ee4622 mkinitfs_test.sh"
......@@ -295,6 +295,7 @@ get_partition_type() {
resize_root_filesystem() {
if [ "$ROOT_PARTITION_RESIZED" = 1 ]; then
show_splash /splash-resizefs.ppm.gz
partition="$(find_root_partition)"
touch /etc/mtab # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673323
type="$(get_partition_type "$partition")"
......@@ -309,6 +310,7 @@ resize_root_filesystem() {
;;
*) echo "WARNING: Can not resize '$type' filesystem ($partition)." ;;
esac
show_splash_loading
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment