diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-10-06 03:13:53 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-02 08:28:50 -0500 |
commit | 43f901fbc8ba94bfa8d58155ba9378d7a13af636 (patch) | |
tree | 76e695aef20df9fbb6007c3f2467c6019fe8c428 /crypto/pcrypt.c | |
parent | 01660dfc37933c92dbb7c5718aea61f88025d71f (diff) |
gen_init_cpio: remove leading `/' from file names
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 '/'.
So the leading '/' of file names should be removed. This is consistent
with the initramfs come with major distributions such as Fedora or
Debian, etc.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Mike Frysinger<vapier@gentoo.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions