Hey all,

I sent this patch to the Plymouth package maintainer a short while ago however it doesn't appear to have been seen and it fixes an important issue to me with Plymouth localisation.

I'm having some account issues with my ArchLinux GitLab account otherwise I would create a MR on there with this patch, so I figured this would be the best next place?


All the best,
Ava



-------- Forwarded Message --------
Subject:        PATCH: Plymouth localisation is broken on Arch release 
26.134.222

        


Hi,


The attached patch resolves the following issue for plymouth where the localisation defined in /etc/vconsole.conf is not applied to plymouth.
See: https://gitlab.freedesktop.org/plymouth/plymouth/-/work_items/337

This patch is for the Arch Linux plymouth package adding the necessary lines to plymouth.initcpio_install to resolve the issue.


Best,
Ava Glass

diff --git a/.SRCINFO b/.SRCINFO
index 83e7a1b..6e081ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = plymouth
 	pkgdesc = Graphical boot splash screen
 	pkgver = 26.134.222
-	pkgrel = 2
+	pkgrel = 3
 	url = https://www.freedesktop.org/wiki/Software/Plymouth/
 	install = plymouth.install
 	arch = x86_64
@@ -36,7 +36,7 @@ pkgbase = plymouth
 	source = 50-plymouth.conf
 	b2sums = 5130dbb16d4634915b7f68542b6c29d664bd8c26f4508adf536833e93f2c78aee287208e88dc3bcf8298979c6f9811657ab5a30c1563b1e5307b7e886b6bffa2
 	b2sums = afb2449b542aa3e971eab6b953c907347fdf4e499b4140a5e6736a7c99557c0d8d2fed28dbee56d84c8c619335c59bd382457d85e51145884ad0616e9095f232
-	b2sums = e9efbfd924a07005e883c4cd21d25c520288daf8bf611ee20a245b8b8f925bc90188dfcbb9e13da883479c5214562795717bb4404dd7ef1444eb04ab69dad4a9
+	b2sums = 2d90d00fcfcaf439cdbb796f03ca74b80af47cee364bf5bdfa0f15277833f3e93a7a19ccc7355cf158fbcbc308be4b89405a7e1cede84dc8f95adf96daf4c82b
 	b2sums = 063448411de837ed38ece935719f07fd17b18830680c9fa95b7bd39a097778186c40373590504c9b44144125986304311f528c73592c29d19043b8395e6f99c2
 	b2sums = 5ab47942d222c311b495d056f24bdd9d08438162fef1ca6e51982fc00018acbf0c31e4c61164b40950fe2511e17ba2a4635894d145d83a9b349e5a8a83f8c026
 
diff --git a/PKGBUILD b/PKGBUILD
index 6a4f440..620530c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,10 +3,11 @@
 # Contributor: Sebastian Lau <[email protected]>
 # Contributor: Damian01w <[email protected]>
 # Contributor: Padfoot <[email protected]>
+# Contributor: Ava Glass <AvaAGlass+arch at outlook dot com>
 
 pkgname=plymouth
 pkgver=26.134.222
-pkgrel=2
+pkgrel=3
 pkgdesc='Graphical boot splash screen'
 arch=(x86_64)
 url='https://www.freedesktop.org/wiki/Software/Plymouth/'
@@ -51,7 +52,7 @@ source=(
 b2sums=(
   5130dbb16d4634915b7f68542b6c29d664bd8c26f4508adf536833e93f2c78aee287208e88dc3bcf8298979c6f9811657ab5a30c1563b1e5307b7e886b6bffa2
   afb2449b542aa3e971eab6b953c907347fdf4e499b4140a5e6736a7c99557c0d8d2fed28dbee56d84c8c619335c59bd382457d85e51145884ad0616e9095f232
-  e9efbfd924a07005e883c4cd21d25c520288daf8bf611ee20a245b8b8f925bc90188dfcbb9e13da883479c5214562795717bb4404dd7ef1444eb04ab69dad4a9
+  2d90d00fcfcaf439cdbb796f03ca74b80af47cee364bf5bdfa0f15277833f3e93a7a19ccc7355cf158fbcbc308be4b89405a7e1cede84dc8f95adf96daf4c82b
   063448411de837ed38ece935719f07fd17b18830680c9fa95b7bd39a097778186c40373590504c9b44144125986304311f528c73592c29d19043b8395e6f99c2
   5ab47942d222c311b495d056f24bdd9d08438162fef1ca6e51982fc00018acbf0c31e4c61164b40950fe2511e17ba2a4635894d145d83a9b349e5a8a83f8c026
 )
diff --git a/plymouth.initcpio_install b/plymouth.initcpio_install
index e9c216f..379a2a1 100644
--- a/plymouth.initcpio_install
+++ b/plymouth.initcpio_install
@@ -90,6 +90,12 @@ build() {
   else
     add_runscript
   fi
+
+  if [[ -s /etc/vconsole.conf ]]; then
+    add_file /etc/vconsole.conf
+  else
+    warning 'plymouth: "/etc/vconsole.conf" not found, will use default values'
+  fi
 }
 
 help() {

Attachment: OpenPGP_0x45BF931372166BC9.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to