Fix handling of "Use container" flag for the "Prepare build" action

This commit is contained in:
Martchus 2024-02-09 23:06:32 +01:00
parent 287b20e793
commit 9150d90233
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ BuildActionMetaInfo::BuildActionMetaInfo()
.param = "fetch-official-pkgbuilds", .param = "fetch-official-pkgbuilds",
}, },
BuildActionFlagMetaInfo{ BuildActionFlagMetaInfo{
.id = static_cast<BuildActionFlagType>(ConductBuildFlags::UseContainer), .id = static_cast<BuildActionFlagType>(PrepareBuildFlags::UseContainer),
.name = "Use container", .name = "Use container",
.desc = "Uses `makecontainerpkg` instead of using `makepkg` when printing source info; eliminates the need to having pacman on the host by using docker/podman instead", .desc = "Uses `makecontainerpkg` instead of using `makepkg` when printing source info; eliminates the need to having pacman on the host by using docker/podman instead",
.param = "use-container", .param = "use-container",

View File

@ -519,7 +519,7 @@ private:
bool m_pullingInFurtherDependenciesUnexpected = false; bool m_pullingInFurtherDependenciesUnexpected = false;
bool m_pulledInFurtherDependencies = false; bool m_pulledInFurtherDependencies = false;
bool m_fetchOfficialSources = false; bool m_fetchOfficialSources = false;
bool m_useContainer; bool m_useContainer = false;
}; };
struct LIBREPOMGR_EXPORT BatchProcessingSession : public MultiSession<std::string> { struct LIBREPOMGR_EXPORT BatchProcessingSession : public MultiSession<std::string> {