Set basearch to x86_64

This commit is contained in:
Andrey Sokolov 2021-06-15 09:14:41 +03:00
parent eb0fb5f1fc
commit 31d9507f52
2 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ rpmostree_builtin_shlib_backend (int argc,
if (g_str_equal (arg, "get-basearch"))
{
ret = g_variant_new_string ("x86_64");
// g_autoptr(DnfContext) ctx = dnf_context_new ();
// ret = g_variant_new_string (dnf_context_get_base_arch (ctx));
}

View File

@ -689,7 +689,7 @@ rpm_ostree_compose_context_new (const char *treefile_pathstr,
}
/* FIXME refactor things to break the dependency of DnfContext -> arch -> treefile */
std::string arch;
std::string arch = "x86_64";
{
// g_autoptr(DnfContext) ctx = dnf_context_new ();
// arch = dnf_context_get_base_arch (ctx);