[Buildroot] [PATCH 1/2] Makefile: remove /usr/lib/rpm directory on target

Norbert Lange nolange79 at gmail.com
Sat Jun 6 22:51:24 UTC 2020


Am Sa., 6. Juni 2020 um 22:39 Uhr schrieb Thomas Petazzoni
<thomas.petazzoni at bootlin.com>:
>
> On Sat,  6 Jun 2020 00:48:56 +0200
> Norbert Lange <nolange79 at gmail.com> wrote:
>
> > this is only relevant for staging (if at all)
> >
> > Signed-off-by: Norbert Lange <nolange79 at gmail.com>
> > ---
> >  Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Makefile b/Makefile
> > index ce1c08a6f6..6a76e87b5e 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -748,7 +748,7 @@ target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize
> >       rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
> >               $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
> >               $(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake \
> > -             $(TARGET_DIR)/usr/doc
> > +             $(TARGET_DIR)/usr/lib/rpm $(TARGET_DIR)/usr/doc
>
> What have you found installed in $(TARGET_DIR)/usr/lib/rpm ? Why does
> this needs to be done in target-finalize and not in the rpm package ?
> Is it because other packages install stuff in /usr/lib/rpm ? If so,
> what ?

I believe this to be a common occurrence, like /usr/share/aclocal. But
I need to check that again

>
> Again, we need better commit logs, otherwise for each of your changes
> we'll have to ask for additional clarifications/details.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com


More information about the buildroot mailing list