Re: [PATCH] gen_init_cpio: remove leading `/' from file names

From: Mike Frysinger
Date: Wed Oct 06 2010 - 10:52:06 EST


On Wed, Oct 6, 2010 at 03:13, Thomas Chou wrote:
> When we extracted the generated cpio archive using "cpio -id" command,
> it complained,
>
> cpio: Removing leading `/' from member names
> var/run
> cpio: Removing leading `/' from member names
> var/lib
> cpio: Removing leading `/' from member names
> var/lib/misc
>
> It is worse with the latest "cpio" or "pax", which tries to overwrite
> the host file system with the leading '/'.

seems to work as intended on Blackfin systems, and i cant see any
reason to require the leading slash, so:
Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/