Update Plymouth logo for installer

This commit is contained in:
Michael Smith
2024-09-12 20:26:00 +02:00
parent 105b6086e4
commit 6ddb8e01a5
5 changed files with 34 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
{stdenv}:
stdenv.mkDerivation {
pname = "desk-os-installer-plymouth";
version = "0.0.1";
src = ./src;
installPhase = ''
runHook preInstall
sed -i 's:\(^ImageDir=\)/usr:\1'"$out"':' desk-os-installer.plymouth
sed -i 's:\(^ScriptFile=\)/usr:\1'"$out"':' desk-os-installer.plymouth
mkdir -p $out/share/plymouth/themes/desk-os-installer
cp * $out/share/plymouth/themes/desk-os-installer
runHook postInstall
'';
}