aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-09-21 10:38:24 -0400
committerHongxu Jia <hongxu.jia@windriver.com>2019-09-21 22:44:32 +0800
commitaf01193cdeb599e17f9df800eb2054ad797d9eca (patch)
tree42c3b91a0a5d00f610793926e11416809375a27b
parent8580c9c815b71d10cc6425aa82e3a3d05d19baa0 (diff)
downloadmeta-anaconda-af01193cdeb599e17f9df800eb2054ad797d9eca.tar.gz
meta-anaconda-af01193cdeb599e17f9df800eb2054ad797d9eca.tar.bz2
meta-anaconda-af01193cdeb599e17f9df800eb2054ad797d9eca.zip
recipes-core/systemd/systemd_%.bbappend: fix dir not exist
Since systemd: upgrade to 243, dir getty.target.wants does not exist any more, manually make it Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r--recipes-core/systemd/systemd_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend
index 56e2937..fc74b68 100644
--- a/recipes-core/systemd/systemd_%.bbappend
+++ b/recipes-core/systemd/systemd_%.bbappend
@@ -5,6 +5,7 @@ SRC_URI_append_anaconda = " \
do_install_append_anaconda() {
# Explicitly enable tty2
+ mkdir -p ${D}${sysconfdir}/systemd/system/getty.target.wants
ln -nsf ${systemd_unitdir}/system/getty@.service \
${D}${sysconfdir}/systemd/system/getty.target.wants/getty@tty2.service