• Thomas Chou's avatar
    gen_init_cpio: remove leading `/' from file names · 43f901fb
    Thomas Chou authored
    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: default avatarThomas Chou <thomas@wytron.com.tw>
    Acked-by: Mike Frysinger<vapier@gentoo.org>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    43f901fb
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...