Hi, you should inherit in your image recipe the following bbclass: inherit selinux-image It will set the security label of your filesystem using your refpolicy offline so it does not need to relabel again. Best regards