[Buildroot] [PATCH] -lsof was unable to patch Makefile.skel due to bad file permissions. Adding chmod solves it. (openSUSE)

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Thu Oct 20 19:45:35 UTC 2011


Arnout, All,

On Thursday 20 October 2011 14:48:52 Arnout Vandecappelle wrote:
> On Thursday 20 October 2011 13:22:13, Yann E. MORIN wrote:
> > > LSOF_EXTRACT_CMDS = \
> > >         $(INFLATE.bz2) $(DL_DIR)/$(LSOF_SOURCE) | \
> > >               $(TAR) -O $(TAR_OPTIONS) - lsof_$(LSOF_VERSION)/lsof_$(LSOF_VERSION)_src.tar | \
> > >         $(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(LSOF_DIR) $(TAR_OPTIONS) -)
> > 
> > That would not work, because the first $(TAR) will extract actual files
> > to the disk, and does not send the extracted files to the stdio, so the
> > second $(TAR) will get nothing on its stdin (at best), or only get
> > garbage (at worst).
> 
>  Oh, is -O not a universally accepted tar option?

Ah. Sigh... I missed that '-O' option... My bad.

You're right, that would work.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list