diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-10-06 15:13:53 +0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-02 14:28:50 +0100 |
commit | 43f901fbc8ba94bfa8d58155ba9378d7a13af636 (patch) | |
tree | 76e695aef20df9fbb6007c3f2467c6019fe8c428 /lib/crc-itu-t.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 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions