mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-22 23:58:13 +00:00
2a7364476e
The directory holds the Genesis image sources and, beside them, a builder that no pipeline runs. buildrpm, debuild-xcat-genesis-base, install, install.ubuntu, check, cmdlist_check, findmcprpms, xCAT-genesis-builder.spec and the root makerpm-genesisbuilder have no caller. So has build-ubunturepo, which builddebs.pl replaced, and its -r flag has set an unread variable since 2013. docs/source/references/coral/known_issues/genesis_base.rst tells the reader to install an rpm no build produces, and go-xcat offers to remove that package. Delete all of them, and rename the directory xCAT-genesis-base for what it holds: the dracut modules the EL spec and the Ubuntu builder read, the OpenEmbedded layers the GitHub job builds, the deb packaging, the image scripts and 80-net-name-slot.rules. Every reader of the old path is updated: buildrpms.pl, .gitattributes, the OE workflow and the OpenEmbedded tests. buildrpms.pl mapped the package xCAT-genesis-base to the directory xCAT-genesis-builder; the two names are the same now, so the mapping goes. xcat_probe_package_payload.t read build-ubunturepo for the probe helper staging. builddebs.pl stages them with XCAT::BuildUtils::stage_probe_helpers, which build_utils.t drives directly. genesis_base_sources_staged.t passes with this change. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
20 lines
858 B
Plaintext
20 lines
858 B
Plaintext
Dracut modules for xCAT Genesis
|
|
|
|
Subdirectories:
|
|
|
|
* `el/` — EL (RHEL/Rocky/Alma) dracut module
|
|
* `ubuntu/` — Ubuntu dracut module (adapted library paths, dpkg instead of rpm)
|
|
|
|
Both modules share the same xcat-cmdline.sh, dhclient.conf, dhclient-script,
|
|
rsyslog.conf, and xcatroot files (copied, not symlinked, to avoid issues
|
|
when cp -a copies the module into the dracut modules directory).
|
|
|
|
Key differences in ubuntu/module-setup.sh vs el/module-setup.sh:
|
|
* Uses dpkg instead of rpm
|
|
* Uses /etc/os-release instead of /etc/redhat-release
|
|
* rsyslog modules from /usr/lib/<triplet>/rsyslog/ instead of /lib64/rsyslog/
|
|
* libnss_dns from /lib/<triplet>/ instead of /lib64/
|
|
* udev rules from /usr/lib/udev/rules.d/ instead of /lib/udev/rules.d/
|
|
* mkfs.btrfs instead of mkfs.xfs
|
|
* chrony config checked at both /etc/chrony.conf and /etc/chrony/chrony.conf
|