Commit 6f78256f authored by jan.koester's avatar jan.koester
Browse files

kernel: build in CRYPTO_MD5 and CRYPTO_SHA3 for iSCSI CHAP

x86_64 defconfig has neither; LIO needs MD5 for CHAP with open-iscsi,
Windows, VMware and iscsid, so sharedd's CHAP targets refused every login.

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent f304960a
Loading
Loading
Loading
Loading
+6 −1
Changes for build-chroot.sh: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1048,7 +1048,12 @@ fetch_url() {
# zstd-compressed firmware (kernel.spec compresses /lib/firmware) and
# modules (*.ko.zst: fresh's modprobe/insmod decompress them, syslite's
# coldplug leaves that to the kernel, MODULE_DECOMPRESS).
KERNEL_OPTIONS="SYSFB SYSFB_SIMPLEFB DRM DRM_SIMPLEDRM DRM_FBDEV_EMULATION FB FB_CORE
# The CHAP digests of sharedd's iSCSI targets (LIO asks the crypto API for
# them by name, and skips those it doesn't have): MD5, the only one most
# initiators offer (open-iscsi's default, Windows, VMware, our iscsid),
# and SHA3-256; defconfig has SHA-1 and SHA-256 but not these two.
KERNEL_OPTIONS="CRYPTO_MD5 CRYPTO_SHA3
SYSFB SYSFB_SIMPLEFB DRM DRM_SIMPLEDRM DRM_FBDEV_EMULATION FB FB_CORE
    FRAMEBUFFER_CONSOLE FRAMEBUFFER_CONSOLE_DETECT_PRIMARY SQUASHFS SQUASHFS_ZSTD SQUASHFS_XATTR
    SQUASHFS_FILE_DIRECT NETDEVICES ETHERNET NET_VENDOR_REALTEK PHYLIB REALTEK_PHY BLK_DEV_NVME
    NVME_CORE VIRTIO VIRTIO_PCI VIRTIO_BLK VIRTIO_NET VIRTIO_CONSOLE SCSI_VIRTIO VIRTIO_BALLOON