Add paths for pacman/paccache to server setup

This commit is contained in:
Martchus 2023-04-07 17:52:52 +02:00
parent 2b0b495715
commit 9702d4f207
2 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,8 @@ void ServiceSetup::BuildSetup::applyConfig(const std::multimap<std::string, std:
convertValue(multimap, "updpkgsums_path", updatePkgSumsPath);
convertValue(multimap, "repo_add_path", repoAddPath);
convertValue(multimap, "repo_remove_path", repoRemovePath);
convertValue(multimap, "pacman_path", pacmanPath);
convertValue(multimap, "paccache_path", paccachePath);
convertValue(multimap, "gpg_path", gpgPath);
convertValue(multimap, "ccache_dir", ccacheDir);
convertValue(multimap, "chroot_dir", chrootDir);

View File

@ -118,6 +118,8 @@ struct LIBREPOMGR_EXPORT ServiceSetup : public LibPkg::Lockable {
std::string updatePkgSumsPath = "updpkgsums";
std::string repoAddPath = "repo-add";
std::string repoRemovePath = "repo-remove";
std::string pacmanPath = "pacman";
std::string paccachePath = "paccache";
std::string gpgPath = "gpg";
std::string ccacheDir;
std::string chrootDir;