File 0001-Fix-skipping-duplicate-locale-and-keyboard-layout-di.patch of Package jeos-firstboot

From b24bc3b1b02ba011a5fdc8102fce29d160fa29e7 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fvogt@suse.de>
Date: Mon, 21 Oct 2019 13:50:24 +0200
Subject: [PATCH] Fix skipping duplicate locale and keyboard layout dialogs

The variables were not exported, so not visible to the nested instance.
---
 files/usr/lib/jeos-firstboot | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/files/usr/lib/jeos-firstboot b/files/usr/lib/jeos-firstboot
index af87ded..4372fd5 100755
--- a/files/usr/lib/jeos-firstboot
+++ b/files/usr/lib/jeos-firstboot
@@ -243,6 +243,8 @@ if [[ "$(ps h -o tty -p $$)" = tty[0-9]* ]]; then
 	start_kmscon["zh"]=1
 	start_kmscon["ko"]=1
 
+	# Relay those settings to the nested instance
+	export JEOS_LOCALE JEOS_KEYTABLE
 	if [ -n "$JEOS_LOCALE" -a -n "${start_kmscon[${language}]+_}" ]; then
 		if kmscon_available; then
 			ret_file="$(mktemp)"
-- 
2.20.1

openSUSE Build Service is sponsored by