From f787cdace23b58044a1078cf83e3d0390820264a Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 13 Feb 2022 19:39:14 +0100 Subject: [PATCH] main/devicepkg-dev: allow overriding splash config (MR 2931) Allow calling the script with: SPLASH_CONFIG=$srcdir/splash.ini devicepkg_build $startdir $pkgname In order to pass a custom splash config, as it will be used with the PineNote (MR 2910). --- main/devicepkg-dev/APKBUILD | 4 ++-- main/devicepkg-dev/devicepkg_build.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/devicepkg-dev/APKBUILD b/main/devicepkg-dev/APKBUILD index 0d58fd1ff..af1b49afc 100644 --- a/main/devicepkg-dev/APKBUILD +++ b/main/devicepkg-dev/APKBUILD @@ -1,5 +1,5 @@ pkgname=devicepkg-dev -pkgver=0.13.1 +pkgver=0.13.2 pkgrel=0 pkgdesc="Provides default device package functions" url="https://postmarketos.org" @@ -62,7 +62,7 @@ package() { } sha512sums=" d69930dd790b00fb39760a37d95a10899f0d167e10e2804feb05d9ce04f94185dc32d36edc90214aba2ea2aa09bf18f7dab93f1d2eff23f67beb2cc83be30e7c compiler-gcc.h -93e6e8b144ed703d05bcf98d8bf1035743a20e8b51b992674cd15b482dc9a977e9c96f1a276653814d1dd77e4f96502b093a731f4ea625d49f8e8b38420bdb27 devicepkg_build.sh +77dcc7bc4f90bc11f99b7bb88be171f706f7d92921b694ce862d31ab858a4b8850c9e0bdb68299ffce9f934a3c8ab16eb307fd09534085e65f0101334bd68a9d devicepkg_build.sh 74c1b9b265a943604d5d538ca66d4b7bcad9adcf40710ab19d795b55aac39669bf1089f7f0ec81aa7a01b537784bef4310e4acc3d7a6ba1f282ab01652bdc4d4 devicepkg_package.sh 53aa129da5bd52376271bbd37ed7205f2dac971d442c5085260ed1c4a9b014a656cbe28ea45d242be60a2d0f8851611f3b8352c880c017995cda6ae093e5d324 downstreamkernel_prepare.sh 107242a3da38a574c46cb779e0c75afbeef4cfe659e1b85971973ac55843df06f70f53a5985ca623d4123f05f2984f5dace4a53a3509ecefd7dfdc3c8b705cfe downstreamkernel_package.sh diff --git a/main/devicepkg-dev/devicepkg_build.sh b/main/devicepkg-dev/devicepkg_build.sh index 6d3d37742..7890f0d10 100644 --- a/main/devicepkg-dev/devicepkg_build.sh +++ b/main/devicepkg-dev/devicepkg_build.sh @@ -23,7 +23,7 @@ fi # Create splash screens generate_splash_screens() { - splash_config="/etc/postmarketos/splash.ini" + splash_config=${SPLASH_CONFIG:-/etc/postmarketos/splash.ini} splash_width=${deviceinfo_screen_width:-720} splash_height=${deviceinfo_screen_height:-1280}