From 36c1f2f5cdb9e648e8bebe64b18ce27a27826ecb Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Wed, 8 Jun 2022 01:14:00 -0500 Subject: [PATCH] Debian: Update backports pinning According to the apt_preferences man page, we should be able to use "Package: src:zfsutils-linux". Then we don't have to worry about keeping the list of packages up-to-date, especially as library soversions change. Reported-by: udf2457 Closes #314 Signed-off-by: Richard Laager --- docs/Getting Started/Debian/Debian Buster Root on ZFS.rst | 2 +- docs/Getting Started/Debian/Debian Stretch Root on ZFS.rst | 2 +- docs/Getting Started/Debian/index.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst index 6724734..a6afd90 100644 --- a/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Buster Root on ZFS.rst @@ -619,7 +619,7 @@ Step 4: System Configuration .. code-block:: control - Package: libnvpair1linux libuutil1linux libzfs2linux libzfslinux-dev libzpool2linux python3-pyzfs pyzfs-doc spl spl-dkms zfs-dkms zfs-dracut zfs-initramfs zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed + Package: src:zfsutils-linux Pin: release n=buster-backports Pin-Priority: 990 diff --git a/docs/Getting Started/Debian/Debian Stretch Root on ZFS.rst b/docs/Getting Started/Debian/Debian Stretch Root on ZFS.rst index ec3ba78..46d2531 100644 --- a/docs/Getting Started/Debian/Debian Stretch Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Stretch Root on ZFS.rst @@ -483,7 +483,7 @@ Customize this file if the system is not a DHCP client. deb-src http://deb.debian.org/debian stretch-backports main contrib # vi /mnt/etc/apt/preferences.d/90_zfs - Package: libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl-dkms zfs-dkms zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed + Package: src:zfsutils-linux Pin: release n=stretch-backports Pin-Priority: 990 diff --git a/docs/Getting Started/Debian/index.rst b/docs/Getting Started/Debian/index.rst index 6c43d4c..115d2c5 100644 --- a/docs/Getting Started/Debian/index.rst +++ b/docs/Getting Started/Debian/index.rst @@ -32,7 +32,7 @@ Add the backports repository:: .. code-block:: control - Package: libnvpair1linux libnvpair3linux libuutil1linux libuutil3linux libzfs2linux libzfs4linux libzpool2linux libzpool4linux spl-dkms zfs-dkms zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed + Package: src:zfsutils-linux Pin: release n=bullseye-backports Pin-Priority: 990