Fedora: downgrade to 37 and test zfs repo link
ZFS support for Fedora 38 is not yet available, see https://github.com/openzfs/zfs/issues/14725 Also enable blkdiscard by default. Signed-off-by: Maurice Zhou <yuchen@apvc.uk>
This commit is contained in:
committed by
George Melikov
parent
d5f690804c
commit
6be2e8c12e
@@ -204,12 +204,12 @@ System Installation
|
||||
especially those with existing ZFS pools or mdraid and those that have been used as live media.
|
||||
Those data structures may interfere with boot process.
|
||||
|
||||
For flash-based storage, this can be done by uncommenting the blkdiscard command below:
|
||||
For flash-based storage, this can be done by the blkdiscard command below:
|
||||
::
|
||||
|
||||
partition_disk () {
|
||||
local disk="${1}"
|
||||
#blkdiscard -f "${disk}"
|
||||
blkdiscard -f "${disk}" || true
|
||||
|
||||
parted --script --align=optimal "${disk}" -- \
|
||||
mklabel gpt \
|
||||
@@ -399,10 +399,10 @@ System Configuration
|
||||
|
||||
apk add curl
|
||||
curl --fail-early --fail -L \
|
||||
https://dl.fedoraproject.org/pub/fedora/linux/releases/38/Container/x86_64/images/Fedora-Container-Base-38-1.6.x86_64.tar.xz \
|
||||
https://dl.fedoraproject.org/pub/fedora/linux/releases/37/Container/x86_64/images/Fedora-Container-Base-37-1.7.x86_64.tar.xz \
|
||||
-o rootfs.tar.gz
|
||||
curl --fail-early --fail -L \
|
||||
https://dl.fedoraproject.org/pub/fedora/linux/releases/38/Container/x86_64/images/Fedora-Container-38-1.6-x86_64-CHECKSUM \
|
||||
https://dl.fedoraproject.org/pub/fedora/linux/releases/37/Container/x86_64/images/Fedora-Container-37-1.7-x86_64-CHECKSUM \
|
||||
-o checksum
|
||||
|
||||
# BusyBox sha256sum treats all lines in the checksum file
|
||||
@@ -478,7 +478,7 @@ System Configuration
|
||||
.. code-block:: sh
|
||||
|
||||
dnf -y install \
|
||||
https://zfsonlinux.org/fedora/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
|
||||
https://zfsonlinux.org/fedora/zfs-release-2-2"$(rpm --eval "%{dist}"||true)".noarch.rpm
|
||||
|
||||
dnf -y install zfs zfs-dracut
|
||||
|
||||
@@ -487,6 +487,9 @@ System Configuration
|
||||
# this step will build zfs modules and fail
|
||||
# no need to test building in chroot
|
||||
|
||||
dnf -y install \
|
||||
https://zfsonlinux.org/fedora/zfs-release-2-2"$(rpm --eval "%{dist}"||true)".noarch.rpm
|
||||
|
||||
#. Check whether ZFS modules are successfully built
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
@@ -48,10 +48,14 @@ see below.
|
||||
An option is to an LTS kernel from COPR, provided by a third-party.
|
||||
Use it at your own risk::
|
||||
|
||||
# kwizart/kernel-longterm-5.10
|
||||
# kwizart/kernel-longterm-4.19
|
||||
dnf copr enable -y kwizart/kernel-longterm-5.4
|
||||
dnf install -y kernel-longterm kernel-longterm-devel
|
||||
# this is a third-party repo!
|
||||
# you have been warned.
|
||||
#
|
||||
# select a kernel from
|
||||
# https://copr.fedorainfracloud.org/coprs/kwizart/
|
||||
|
||||
dnf copr enable -y kwizart/kernel-longterm-VERSION
|
||||
dnf install -y kernel-longterm kernel-longterm-devel
|
||||
|
||||
Reboot to new LTS kernel, then load kernel module::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user