systemd-serialgetty.bbappend: fix S setting in case of anaconda
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
Signed-off-by Chen Qi <[email protected]>
--- recipes-core/systemd/systemd-serialgetty.bbappend | 2 ++ 1 file changed, 2 insertions(+)
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
Signature · 1 line
2.34.1
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 existSigned-off-by Chen Qi <[email protected]>--- recipes-core/systemd/systemd-serialgetty.bbappend | 2 ++ 1 file changed, 2 insertions(+)recipes-core/systemd/systemd-serialgetty.bbappend +0
-0
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