zfs-0.8.2

Taille du paquet 20M
Somme de contrĂ´le SHA256 e32d75cda2b3f06aa9dc9ef6c572bb56c18dca73cff35b15aeadbfd59d795878
Estimation du temps de construction 865.996 secondes
Dependances lz4-1.9.2,Xz-5.2.4, Gzip-1.10
TIMEFORMAT='(BUSYBOX) Compilation de zfs-0.8.2 en %R seconds ...'
time {
wget https://github.com/zfsonlinux/zfs/releases/download/zfs-0.8.2/zfs-0.8.2.tar.gz.asc -O ${LFS}/download/zfs-0.8.2.tar.gz.asc --no-check-certificate &&
echo "47608e257c8ecebb918014ef1da6172c3a45d990885891af18e80f5cc28beab8 ${LFS}/download/zfs-0.8.2.tar.gz" | sha256sum --check &&
wget https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.8.tar.xz -O ${LFS}/download/linux-5.4.8.tar.xz --no-check-certificate &&
md5sum -c <<<" 2f44c832e1d59ebe766731f9c215aca6 ${LFS}/download/linux-5.4.8.tar.xz" &&
rm -Rf ${LFS}/src/linux-5.4.8 &&
tar -xf ${LFS}/download/linux-5.4.8.tar.xz -C ${LFS}/src &&
cd ${LFS}/src/linux-5.4.8 &&
cp -v /boot/config-* .config &&
yes '' |make prepare scripts &&
rm -Rf ${LFS}/src/zfs-0.8.2 &&
tar -xf ${LFS}/download/zfs-0.8.2.tar.gz -C ${LFS}/src &&
cd ${LFS}/src/zfs-0.8.2 &&
./configure     --prefix=/     --libdir=/lib     --includedir=/usr/include     --datarootdir=/usr/share     --enable-linux-builtin=yes     --with-linux=${LFS}/src/linux-5.4.8     --with-linux-obj=${LFS}/src/linux-5.4.8 &&
./copy-builtin ${LFS}/src/linux-5.4.8 &&
make &&
make DESTDIR=$PWD/_pkg install &&
strip -v  _pkg/bin/*
strip -v  _pkg/sbin/*
strip -v  _pkg/lib/*
cat > _pkg/sbin/fsck.zfs << EOF
#!/bin/sh
exit 0
EOF

tar -C _pkg/ -cvf ${LFS}/pkg/zfs-0.8.2.tar.gz ./ &&
cd "${LFS}/"
}