Skip to contentSkip to conversation

systemd-serialgetty.bbappend: fix S setting in case of anaconda

PATCH In review [email protected] 2 participants 2 messages Dec 9, 2025 – Dec 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd-serialgetty.bbappend: fix S setting in case of anaconda

From: Chen Qi <[email protected]>

Due to the above SRC_URI:append:anaconda setting, we have to set S to ${UNPACKDIR} explicitly to avoid the following warning:

WARNING: systemd-serialgetty: the directory ${UNPACKDIR}/${BP}
pointed to by the S variable doesn't exist

---
 recipes-core/systemd/systemd-serialgetty.bbappend | 2 ++
 1 file changed, 2 insertions(+)
recipes-core/systemd/systemd-serialgetty.bbappend +2 -0
index c69ad4e..8395ff4 100644
@@ -4,6 +4,8 @@ SRC_URI:append:anaconda = " \
     ${@bb.utils.contains('INSTALLER_SERIAL', '1', 'file://serial-screen-anaconda.sh', '', d)} \
 "
 
+S:anaconda = "${UNPACKDIR}"
+
 do_install:append:anaconda() {
 	if [ "${INSTALLER_SERIAL}" = "1" ]; then
 		install -d ${D}${sysconfdir}/profile.d
Signature · 1 line
2.34.1
#1 lore raw
Quoted 18 lines · On 12/9/25 14:48, [email protected] wrote:

From: Chen Qi <[email protected]>

Due to the above SRC_URI:append:anaconda setting, we have to set S to ${UNPACKDIR} explicitly to avoid the following warning:

WARNING: systemd-serialgetty: the directory ${UNPACKDIR}/${BP}
pointed to by the S variable doesn't exist

---
  recipes-core/systemd/systemd-serialgetty.bbappend | 2 ++
  1 file changed, 2 insertions(+)
recipes-core/systemd/systemd-serialgetty.bbappend +0 -0
index c69ad4e..8395ff4 100644

recipes-core/systemd/systemd-serialgetty.bbappend SRC_URI:append:anaconda = " \ · line 11

Quoted 8 lines
recipes-core/systemd/systemd-serialgetty.bbappend +2 -0
@@ -4,6 +4,8 @@ SRC_URI:append:anaconda = " \
      ${@bb.utils.contains('INSTALLER_SERIAL', '1', 'file://serial-screen-anaconda.sh', '', d)} \
  "
 
+S:anaconda = "${UNPACKDIR}"
+
  do_install:append:anaconda() {
  	if [ "${INSTALLER_SERIAL}" = "1" ]; then
  		install -d ${D}${sysconfdir}/profile.d

Merged.

Thanks,

Signature · 2 lines
Kai Kang
Wind River Linux