zfs-initrd: create /etc/mtab
This commit is contained in:
parent
eac0a2cd93
commit
6a193c585a
@ -45,6 +45,9 @@ fi
|
|||||||
|
|
||||||
mkdir -p "$DESTDIR/etc/"
|
mkdir -p "$DESTDIR/etc/"
|
||||||
|
|
||||||
|
# zpool requires /etc/mtab
|
||||||
|
ln -sf "/proc/mounts" "$DESTDIR/etc/mtab"
|
||||||
|
|
||||||
# ZDB uses pthreads for some functions, but the library dependency is not
|
# ZDB uses pthreads for some functions, but the library dependency is not
|
||||||
# automatically detected. The `find` utility and extended `cp` options are
|
# automatically detected. The `find` utility and extended `cp` options are
|
||||||
# used here because libgcc_s.so could be in a subdirectory of /lib for
|
# used here because libgcc_s.so could be in a subdirectory of /lib for
|
||||||
|
Loading…
Reference in New Issue
Block a user