meson: drop default-hierarchy= option, always use unified

This commit is contained in:
Mike Yuan
2024-02-27 23:10:49 +08:00
parent f2512de82d
commit 31323f21bb
5 changed files with 16 additions and 34 deletions
+1 -3
View File
@@ -16,10 +16,8 @@ static void test_is_wanted_print_one(bool header) {
log_info("-- %s --", __func__);
assert_se(proc_cmdline(&cmdline) >= 0);
log_info("cmdline: %s", cmdline);
if (header) {
log_info("default-hierarchy=" DEFAULT_HIERARCHY_NAME);
if (header)
(void) system("findmnt -n /sys/fs/cgroup");
}
log_info("is_unified_wanted() → %s", yes_no(cg_is_unified_wanted()));
log_info("is_hybrid_wanted() → %s", yes_no(cg_is_hybrid_wanted()));