gcompat alone provides only the ELF interpreter entry point (/lib64/ld-linux-x86-64.so.2).
It does NOT provide libpthread.so.0, libm.so.6, libdl.so.2, libc.so.6 stubs.
libnvidia-ml.so.590 has NEEDED: libpthread.so.0 etc. When nvidia-smi calls
dlopen("libnvidia-ml.so.1"), musl's linker fails to satisfy these deps
→ NVML_ERROR_LIBRARY_NOT_FOUND (exit 12), "couldn't find libnvidia-ml.so".
libc6-compat provides the missing stubs (libpthread.so.0, libm.so.6, libdl.so.2,
libc.so.6, librt.so.1) as musl redirects, enabling dlopen of glibc shared objects.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
59 lines
1.4 KiB
Bash
Executable File
59 lines
1.4 KiB
Bash
Executable File
#!/bin/sh
|
|
# Alpine mkimage profile: bee
|
|
|
|
profile_bee() {
|
|
title="Bee Hardware Audit"
|
|
desc="Hardware audit LiveCD"
|
|
arch="x86_64"
|
|
hostname="alpine-bee"
|
|
apkovl="genapkovl-bee.sh"
|
|
image_ext="iso"
|
|
output_format="iso"
|
|
kernel_flavors="lts"
|
|
kernel_addons=""
|
|
initfs_cmdline="modules=loop,squashfs,sd-mod,usb-storage modloop=/boot/modloop-lts quiet"
|
|
initfs_features="ata base cdrom ext4 mmc nvme raid scsi squashfs usb virtio nfit"
|
|
grub_mod="all_video disk part_gpt part_msdos linux normal configfile search search_label efi_gop fat iso9660 cat echo ls test true help gzio multiboot2 efi_uga"
|
|
syslinux_serial="0 115200"
|
|
apks="
|
|
alpine-base
|
|
linux-firmware-none
|
|
linux-firmware-rtl_nic
|
|
linux-firmware-bnx2
|
|
linux-firmware-bnx2x
|
|
linux-firmware-tigon
|
|
linux-firmware-qlogic
|
|
linux-firmware-netronome
|
|
linux-firmware-mellanox
|
|
linux-firmware-intel
|
|
linux-firmware-other
|
|
|
|
dmidecode
|
|
smartmontools
|
|
nvme-cli
|
|
pciutils
|
|
ipmitool
|
|
util-linux
|
|
lsblk
|
|
e2fsprogs
|
|
lshw
|
|
|
|
dropbear
|
|
openrc
|
|
libqrencode-tools
|
|
tzdata
|
|
ca-certificates
|
|
|
|
strace
|
|
procps
|
|
lsof
|
|
file
|
|
less
|
|
vim
|
|
dialog
|
|
|
|
gcompat
|
|
libc6-compat
|
|
"
|
|
}
|