mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-11 03:56:26 +00:00
5645fb5cfd
SuseHandler refused anything but 15.x. What 16 needed beyond widening it:
- its repo urls are written in terms of ${releasever}, which zypper
resolves from the target root's os-release, a file that does not exist
yet when the first packages go in
- its repos name a zypper service backed by a package-provided directory
the target root does not have, so zypper discarded every one of them
as an orphan
- there is no mkinitrd to work out which kernel to build for, and bare
dracut would build for the build host's running kernel
- the efi payloads moved out of /usr/lib64/efi, arping out of /usr/sbin,
nsswitch.conf and protocols under /usr/etc, and the presets enable
sshd already
- the module list predated virtio, so an image built for a KVM guest had
no network at all, and dm-crypt could not allocate a transform for the
encrypted image without the aes-xts modules
- urlmount still links libpthread, an empty stub since glibc 2.34 that
nothing else in the initramfs pulls in
40 lines
2.0 KiB
Plaintext
40 lines
2.0 KiB
Plaintext
dracut_install mktemp
|
|
dracut_install /usr/lib64/libtss2-tcti-device.so.*
|
|
dracut_install tpm2_create tpm2_pcrread tpm2_createpolicy tpm2_createprimary
|
|
dracut_install tpm2_load tpm2_unseal tpm2_getcap tpm2_evictcontrol
|
|
dracut_install tpm2_pcrextend tpm2_policypcr tpm2_flushcontext tpm2_startauthsession
|
|
dracut_install curl openssl tar cpio gzip lsmod ethtool xz lsmod ethtool
|
|
dracut_install modprobe touch echo cut wc bash uniq grep ip hostname
|
|
dracut_install awk egrep dirname expr sort
|
|
dracut_install ssh sshd reboot parted mkfs mkfs.ext4 mkfs.xfs xfs_db mkswap
|
|
dracut_install efibootmgr uuidgen
|
|
dracut_install du df ssh-keygen scp clear dhclient
|
|
dracut_install /lib64/libnss_dns.so.2 # glibc dropped the versioned name
|
|
dracut_install /lib64/libnss_compat*
|
|
dracut_install /usr/lib64/libnl-3.so.200
|
|
# 16 ships the stock config defaults under /usr/etc; only services stayed put
|
|
dracut_install /usr/etc/nsswitch.conf /etc/services /usr/etc/protocols
|
|
dracut_install chmod whoami head tail basename tr
|
|
dracut_install arping logger hostnamectl # 16 moved arping to /usr/bin
|
|
inst /bin/bash /bin/sh
|
|
dracut_install /lib64/libfuse.so.2 # symlink, dracut brings the target along
|
|
# urlmount still links libpthread, which since glibc 2.34 is an empty stub that
|
|
# nothing else in the initramfs pulls in
|
|
dracut_install /lib64/libpthread.so.0
|
|
dracut_install chown chroot dd expr kill parted rsync sort blockdev findfs insmod lvm
|
|
dracut_install /usr/lib/udev/rules.d/10-dm.rules /usr/sbin/dmsetup /usr/lib/udev/rules.d/95-dm-notify.rules
|
|
dracut_install /usr/lib/systemd/network/99-default.link
|
|
dracut_install losetup # multipart support
|
|
|
|
#this would be nfs with lock, but not needed, go nolock
|
|
#dracut_install mount.nfs rpcbind rpc.statd /etc/netconfig sm-notify
|
|
#dracut_install mount.nfs /etc/netconfig
|
|
inst /usr/lib/dracut/modules.d/40network/net-lib.sh /lib/net-lib.sh
|
|
|
|
|
|
|
|
# network mount, and disk imaging helpers can come from a second stage
|
|
# this is narrowly focused on getting network up and fetching images
|
|
# and those images may opt to do something with cloning or whatever
|
|
|