14#ifndef ZYPP_NG_SAT_COMPONENTS_ARCHITECTURECOMPONENT_H_INCLUDED
15#define ZYPP_NG_SAT_COMPONENTS_ARCHITECTURECOMPONENT_H_INCLUDED
static Arch detectSystemArchitecture()
Determine system architecture evaluating uname and /proc/cpuinfo.
Simple serial number watcher.
SerialNumberWatcher _watcher
ArchitectureProvider _provider
InitStage stage() const override
std::function< zypp::Arch()> ArchitectureProvider
Provider function returning an Arch.
void onReset(Pool &pool) override
ArchitectureComponent()=default
void prepare(Pool &pool) override
void onRepoAdded(Pool &pool, detail::RepoIdType id) override
void setProvider(ArchitectureProvider provider)
Set a custom architecture provider.
zypp::Arch arch() const
Get the current architecture.
void attach(Pool &pool) override
int priority() const override
Fine-grained ordering within a stage.
Interface for components that run BEFORE the whatprovides index is built.
Orchestrator for a libsolv pool instance.
zypp::sat::detail::RepoIdType RepoIdType
This file contains private API, this might break at any time between releases.
InitStage
Execution stages for IPoolComponent (pre-index phase).
@ Environment
Arches, Locales, Namespace Callbacks (The Foundation).