From 9965d2d198035ef4f0d366754f6d861fa25cac02 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 4 Oct 2020 22:46:21 +0200 Subject: Bump zfs 0.8.4-11 (from actual 0.8.5 staging branch for updated kernel API until kernel 5.9) --- scripts/zfs-0.8.4-11-install-debian11.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 scripts/zfs-0.8.4-11-install-debian11.sh (limited to 'scripts/zfs-0.8.4-11-install-debian11.sh') diff --git a/scripts/zfs-0.8.4-11-install-debian11.sh b/scripts/zfs-0.8.4-11-install-debian11.sh new file mode 100644 index 0000000..d48de3b --- /dev/null +++ b/scripts/zfs-0.8.4-11-install-debian11.sh @@ -0,0 +1,29 @@ +#! /bin/sh + +ZFSDEBDIR=`readlink -f ../zfs-linux-0.8.4-11-debian11-amd64` + +#skipped: +# libzfs2-devel_0.8.4-1_amd64.deb +# python3-pyzfs_0.8.4-1_amd64.deb +# zfs-dracut_0.8.4-1_amd64.deb +# zfs-test_0.8.4-1_amd64.deb + +#apt-get install libnvpair1 libuutil1 libzpool2 libzfs2 +dpkg -i $ZFSDEBDIR/libuutil1_0.8.4-11_amd64.deb +dpkg -i $ZFSDEBDIR/libnvpair1_0.8.4-11_amd64.deb +dpkg -i $ZFSDEBDIR/libzpool2_0.8.4-11_amd64.deb +dpkg -i $ZFSDEBDIR/libzfs2_0.8.4-11_amd64.deb +#apt-get install zfs-dkms zfs zfs-initramfs +dpkg -i $ZFSDEBDIR/zfs-dkms_0.8.4-11_amd64.deb +dpkg -i $ZFSDEBDIR/zfs_0.8.4-11_amd64.deb +dpkg -i $ZFSDEBDIR/zfs-initramfs_0.8.4-11_amd64.deb + +apt-mark manual zfs-initramfs zfs zfs-dkms libzfs2 libzpool2 libuutil1 libnvpair1 dkms + +# FIX /etc/default/zfs +# ZFS_INITRD_ADDITIONAL_DATASETS="$POOL/users $POOL/users/root $POOL/backup $POOL/data $POOL/services $POOL/projects" +# and run: update-initramfs -u -k all + +##apt-get install grub-common grub-pc grub-pc-bin grub2-common +# systemctl enable zfs-import-cache.service zfs-mount.service zfs-zed.service zfs-import.target zfs-volumes.target zfs.target +# systemctl start zfs-import-cache.service zfs-mount.service zfs-zed.service zfs-import.target zfs-volumes.target zfs.target -- cgit v1.2.3