summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-10-06 09:13:53 +0200
committerMichal Marek <mmarek@suse.cz>2010-12-02 14:28:50 +0100
commit43f901fbc8ba94bfa8d58155ba9378d7a13af636 (patch)
tree76e695aef20df9fbb6007c3f2467c6019fe8c428 /virt/kvm/kvm_main.c
parentscripts/genksyms: fix header usage (diff)
downloadlinux-43f901fbc8ba94bfa8d58155ba9378d7a13af636.tar.xz
linux-43f901fbc8ba94bfa8d58155ba9378d7a13af636.zip
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 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions