2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-30 14:55:16 +00:00
Files
xcat-core/xCAT-genesis-builder/dracut_105
Daniel Hilst b91795a8f4 test(xcat-core): a failed extraction in thirteen test files stops the whole suite
Thirteen test files this branch adds call BAIL_OUT at fifty-one places:
an extraction that stopped matching, a fixture that is not there, a
harness that wrote no log. prove stops every remaining file on a
bail-out, not only the file that called it, so one of them hides the
results of every test that would have run after it. die is just as loud
and costs only its own file.

Fifteen comments the branch added also carried the incident rather than
the constraint. Three pasted an error transcript, five traced a failure
from a macro or a missing file out to a node that never boots, and the
rest counted call sites, package sizes or dracut build numbers. Each now
states the one fact the reader cannot re-derive from the code.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-14 08:46:57 -03:00
..

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