Message ID | 20210410205331.158805-1-bkylerussell@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-swupdate,1/2] swupdate: replace /usr/lib in init.d to support multilib images | expand |
Hi Russel, On 10.04.21 22:53, Kyle Russell wrote: > This should reference ${libdir}, since that's where swupdate.sh gets > installed. > > Signed-off-by: Kyle Russell <bkylerussell@gmail.com> > --- > recipes-support/swupdate/swupdate.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc > index 99041db..0d382bd 100644 > --- a/recipes-support/swupdate/swupdate.inc > +++ b/recipes-support/swupdate/swupdate.inc > @@ -231,6 +231,7 @@ do_install () { > > install -d ${D}${sysconfdir}/init.d > install -m 755 ${WORKDIR}/swupdate ${D}${sysconfdir}/init.d > + sed -i -e "s|/usr/lib/|${libdir}/|" ${D}${sysconfdir}/init.d/swupdate > That's true. > # shell based configuration loader allows to place code snippets into this folder > install -d ${D}${libdir}/swupdate/conf.d > Acked-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 99041db..0d382bd 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -231,6 +231,7 @@ do_install () { install -d ${D}${sysconfdir}/init.d install -m 755 ${WORKDIR}/swupdate ${D}${sysconfdir}/init.d + sed -i -e "s|/usr/lib/|${libdir}/|" ${D}${sysconfdir}/init.d/swupdate # shell based configuration loader allows to place code snippets into this folder install -d ${D}${libdir}/swupdate/conf.d
This should reference ${libdir}, since that's where swupdate.sh gets installed. Signed-off-by: Kyle Russell <bkylerussell@gmail.com> --- recipes-support/swupdate/swupdate.inc | 1 + 1 file changed, 1 insertion(+)