The use of the variable SYSTEMD_DEFAULT_TARGET is as a filename target.
But the extra whitespace in the string caused by the link breaks and
indents added spaces between the directory and the filename which
resulted in the following error:

run.set_systemd_default_target.23991: line 147: [: too many arguments

Signed-off-by: Ryan Eatmon <[email protected]>
---
 meta-arago-distro/recipes-core/images/tisdk-default-image.bb  | 4 +---
 .../recipes-core/images/tisdk-thinlinux-image.bb              | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
index 33ed0f57..7761ac34 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
@@ -8,9 +8,7 @@ require arago-image.inc
 ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL ?= ""
 
 # we're assuming some display manager is being installed with opengl
-SYSTEMD_DEFAULT_TARGET = " \
-    
${@bb.utils.contains('DISTRO_FEATURES','opengl','graphical.target','multi-user.target',d)}
 \
-"
+SYSTEMD_DEFAULT_TARGET = 
"${@bb.utils.contains('DISTRO_FEATURES','opengl','graphical.target','multi-user.target',d)}"
 
 IMAGE_INSTALL += "\
     packagegroup-arago-base \
diff --git a/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
index f266b14a..13e86902 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
@@ -9,9 +9,7 @@ require arago-image.inc
 ARAGO_THIN_IMAGE_EXTRA_INSTALL ?= ""
 
 # we're assuming some display manager is being installed with opengl
-SYSTEMD_DEFAULT_TARGET = " \
-    
${@bb.utils.contains('DISTRO_FEATURES','opengl','graphical.target','multi-user.target',d)}
 \
-"
+SYSTEMD_DEFAULT_TARGET = 
"${@bb.utils.contains('DISTRO_FEATURES','opengl','graphical.target','multi-user.target',d)}"
 
 IMAGE_INSTALL += "\
     packagegroup-arago-base \
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15096): 
https://lists.yoctoproject.org/g/meta-arago/message/15096
Mute This Topic: https://lists.yoctoproject.org/mt/103957720/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to