[elbe-devel] [PATCH 8/8] examples x86_64-pc-hdimg-gnome3: fix error in finetuning: add pkg locales

Torben Hohn torben.hohn at linutronix.de
Mon Oct 14 16:57:34 CEST 2019


the example produces an error in finetuning, which results in a build
failure since elbe-12.0

----------------------------------------------------------------------------
[CMD] chroot /var/cache/elbe/e17a25ab-cbd5-47b4-8b2c-db6fadec2d13/target /bin/sh
/bin/sh: 1: /usr/sbin/locale-gen: not found
[ERROR] Finetuning Error, trying to continue anyways
Traceback (most recent call last):
  File "/var/cache/elbe/devel/elbepack/finetuning.py", line 709, in do_finetuning
    action.execute(buildenv, target)
  File "/var/cache/elbe/devel/elbepack/finetuning.py", line 385, in execute
    chroot(target.path, "/bin/sh", stdin=self.node.et.text)
  File "/var/cache/elbe/devel/elbepack/shellhelper.py", line 126, in chroot
    do(chcmd, env_add=new_env, **kwargs)
  File "/var/cache/elbe/devel/elbepack/shellhelper.py", line 115, in do
    raise CommandError(cmd, p.returncode)
CommandError
----------------------------------------------------------------------------

fix it by adding <pkg>locales</pkg> which does not seem to be installed by
default anymore.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 examples/x86_64-pc-hdimg-gnome3.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/x86_64-pc-hdimg-gnome3.xml b/examples/x86_64-pc-hdimg-gnome3.xml
index e029273a9..1b318a711 100644
--- a/examples/x86_64-pc-hdimg-gnome3.xml
+++ b/examples/x86_64-pc-hdimg-gnome3.xml
@@ -82,6 +82,7 @@
 			<pkg>nfs-kernel-server</pkg>
 			<pkg>task-gnome-desktop</pkg>
 			<pkg>gdm3</pkg>
+			<pkg>locales</pkg>
 		</pkg-list>
 	</target>
 </ns0:RootFileSystem>
-- 
2.20.1




More information about the elbe-devel mailing list