Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1672188 > unrolled thread

Re: [PATCH] kbuild: fix header installation under fakechroot environment

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2017-06-22 03:20 +0200
Last post2017-06-22 03:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] kbuild: fix header installation under fakechroot environment Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-06-22 03:20 +0200

#1672188 — Re: [PATCH] kbuild: fix header installation under fakechroot environment

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-06-22 03:20 +0200
SubjectRe: [PATCH] kbuild: fix header installation under fakechroot environment
Message-ID<tUYWR-5R0-3@gated-at.bofh.it>
2017-06-15 17:36 GMT+09:00 Richard Genoud <richard.genoud@gmail.com>:
> Since commit fcc8487d477a ("uapi: export all headers under uapi
> directories") fakechroot make bindeb-pkg fails, mismatching files for
> directories:
> touch: cannot touch 'usr/include/video/uvesafb.h/.install': Not a
> directory
>
> This due to a bug in fakechroot:
> when using the function $(wildcard $(srcdir)/*/.) in a makefile, under a
> fakechroot environment, not only directories but also files are
> returned.
>
> To circumvent that, we are using the functions:
> $(sort $(dir $(wildcard $(srcdir)/*/))))
>
> And thanks to Yamada Masahiro who figured out the right
> filter-out/patsubst order !
>
> Fixes: fcc8487d477a ("uapi: export all headers under uapi directories")
> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
> ---

Applied to linux-kbuild/fixes.  Thanks!

-- 
Best Regards
Masahiro Yamada

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web