diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-10-06 07:13:53 (GMT) |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-02 13:28:50 (GMT) |
commit | 43f901fbc8ba94bfa8d58155ba9378d7a13af636 (patch) | |
tree | 76e695aef20df9fbb6007c3f2467c6019fe8c428 /fs/ceph | |
parent | 01660dfc37933c92dbb7c5718aea61f88025d71f (diff) | |
download | linux-fsl-qoriq-43f901fbc8ba94bfa8d58155ba9378d7a13af636.tar.xz |
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 'fs/ceph')
0 files changed, 0 insertions, 0 deletions