Re: bsdcpio(1): -L|-R options don't work?

From: Anonymous <swell.k_at_gmail.com>
Date: Sun, 01 Aug 2010 11:20:59 +0400
Tim Kientzle <kientzle_at_FreeBSD.org> writes:

[...]
> The -L handling here looks correct, though.  Remember
> that -L means "follow symlinks", which means that foo/baz
> should get created in the target as a directory and not as
> a symlink, which is exactly what you've shown.
>
> If you want blah/foo/baz to be a symlink, you want to omit
> the -L option.

OK, GNU cpio works as you say. I was just confused about bsd.gecko.mk

   cd ${FAKEDIR}/${dir} && ${FIND} . | \
           ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${dir}

that creates empty directories, e.g.

  PREFIX/lib/firefox3/bin
  PREFIX/lib/firefox3/idl
  PREFIX/lib/firefox3/include
  PREFIX/lib/firefox3/lib

rather than copying contents.
Received on Sun Aug 01 2010 - 05:21:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC