firstboot: make sure labelling is enabled
Preparation to address #37857.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "image-policy.h"
|
||||
#include "kbd-util.h"
|
||||
#include "label.h"
|
||||
#include "label-util.h"
|
||||
#include "libcrypt-util.h"
|
||||
#include "locale-util.h"
|
||||
#include "lock-util.h"
|
||||
@@ -1685,6 +1686,10 @@ static int run(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
r = mac_init();
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
if (arg_image) {
|
||||
assert(!arg_root);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user