zfs-initrd: create /etc/mtab

This commit is contained in:
Dietmar Maurer 2015-01-13 10:57:30 +01:00
parent eac0a2cd93
commit 6a193c585a

View File

@ -45,6 +45,9 @@ fi
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
# automatically detected. The `find` utility and extended `cp` options are
# used here because libgcc_s.so could be in a subdirectory of /lib for