| Submitter | Phil Blundell |
|---|---|
| Date | June 2, 2011, 12:12 p.m. |
| Message ID | <1307016744.2529.182.camel@phil-desktop> |
| Download | mbox | patch |
| Permalink | /patch/5313/ |
| State | New, archived |
| Headers | show |
Comments
On 06/02/2011 05:12 AM, Phil Blundell wrote: > We don't package /etc/rpc and do_install() makes some effort to remove > that file so as to avoid the "installed but not shipped" diagnostic. But, > due to a typo in the command line, the file wasn't actually being removed > and the diagnostic continued to be issued. > > Signed-off-by: Phil Blundell<philb@gnu.org> > --- > meta/classes/libc-package.bbclass | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass > index 047464e..55e3d48 100644 > --- a/meta/classes/libc-package.bbclass > +++ b/meta/classes/libc-package.bbclass > @@ -98,7 +98,7 @@ do_install() { > grep -v $i ${WORKDIR}/SUPPORTED> ${WORKDIR}/SUPPORTED.tmp > mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED > done > - rm -f ${D}{sysconfdir}/rpc > + rm -f ${D}${sysconfdir}/rpc > rm -rf ${D}${datadir}/zoneinfo > rm -rf ${D}${libexecdir}/getconf > } Merged into oe-core Thanks Sau!
Patch
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 047464e..55e3d48 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -98,7 +98,7 @@ do_install() { grep -v $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED done - rm -f ${D}{sysconfdir}/rpc + rm -f ${D}${sysconfdir}/rpc rm -rf ${D}${datadir}/zoneinfo rm -rf ${D}${libexecdir}/getconf }
We don't package /etc/rpc and do_install() makes some effort to remove that file so as to avoid the "installed but not shipped" diagnostic. But, due to a typo in the command line, the file wasn't actually being removed and the diagnostic continued to be issued. Signed-off-by: Phil Blundell <philb@gnu.org> --- meta/classes/libc-package.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)