diff options
author | Sven Gothel <[email protected]> | 2020-10-04 22:46:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-04 22:46:21 +0200 |
commit | 9965d2d198035ef4f0d366754f6d861fa25cac02 (patch) | |
tree | a1aaeb78ede27c6e4f01538370f593b88509ec6d /scripts/zfs-0.8.4-11-install-debian11.sh | |
parent | c34b3bfe25298ff35a9070d225447be968abdac2 (diff) |
Bump zfs 0.8.4-11 (from actual 0.8.5 staging branch for updated kernel API until kernel 5.9)
Diffstat (limited to 'scripts/zfs-0.8.4-11-install-debian11.sh')
-rw-r--r-- | scripts/zfs-0.8.4-11-install-debian11.sh | 29 |
1 files changed, 29 insertions, 0 deletions
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 |