Apt: use kernel/headers meta packages

- `generic` packages exist since bullseye
- older versions have `amd64` meta package
This commit is contained in:
George Melikov
2022-07-12 21:37:24 +03:00
parent ecc6c713f9
commit 1d2ffe3528
6 changed files with 7 additions and 8 deletions

View File

@@ -184,7 +184,7 @@ Step 2: Disk Formatting
mdadm --zero-superblock --force $DISK
# For an array using a partition:
mdadm --zero-superblock --force ${DISK}-part2
If the disk was previously used with zfs::
wipefs -a $DISK
@@ -623,7 +623,7 @@ Step 4: System Configuration
#. Install ZFS in the chroot environment for the new system::
apt install --yes dpkg-dev linux-headers-amd64 linux-image-amd64
apt install --yes dpkg-dev linux-headers-generic linux-image-generic
apt install --yes zfs-initramfs