| Message ID | 20251209064855.543981-1-Qi.Chen@windriver.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-anaconda] systemd-serialgetty.bbappend: fix S setting in case of anaconda | expand |
On 12/9/25 14:48, Qi.Chen@windriver.com wrote: > From: Chen Qi <Qi.Chen@windriver.com> > > 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 <Qi.Chen@windriver.com> > --- > recipes-core/systemd/systemd-serialgetty.bbappend | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-core/systemd/systemd-serialgetty.bbappend b/recipes-core/systemd/systemd-serialgetty.bbappend > index c69ad4e..8395ff4 100644 > --- a/recipes-core/systemd/systemd-serialgetty.bbappend > +++ b/recipes-core/systemd/systemd-serialgetty.bbappend > @@ -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,
diff --git a/recipes-core/systemd/systemd-serialgetty.bbappend b/recipes-core/systemd/systemd-serialgetty.bbappend index c69ad4e..8395ff4 100644 --- a/recipes-core/systemd/systemd-serialgetty.bbappend +++ b/recipes-core/systemd/systemd-serialgetty.bbappend @@ -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