Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StageAll ¶
func StageAll(exec executor.Executor, srcDir string, distro *detect.DistroInfo, log *logging.Logger) error
StageAll stages every source-install payload from srcDir to its FHS destination. Idempotent: copyIfChanged skips unchanged files, and %config(noreplace) entries preserve existing operator-edited content.
srcDir must be the root of a repo clone or extracted release tarball (i.e. the directory that contains bin/, cli/, install/, etc.).
Returns an error only on unrecoverable failures. Individual file-copy failures are logged and counted; the orchestrator continues so one bad entry does not abort the whole staging pass.
func VerifyInventory ¶ added in v1.98.2
VerifyInventory asserts that every canonical required destination is materially present after install. Called by the post-install assertion suite (validate.assertPayloadInventory). It does not checksum every staged file — it proves material install completeness per v1.98.2 R-3.
Scope: destinations that every install (source OR package) must produce. Optional/distro-conditional artifacts (man, polkit, completions) are intentionally excluded.
Types ¶
This section is empty.