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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.