bastille: prevent host uids on files

We get an intermittent QA error about file permissions, happening roughly
on 1 build of 10.

The change adds chown to prevent host ids on files related to the
set_required_questions.py script, to avoid long debugging for now.

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
(cherry picked from commit 7bdd0a8b48)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This commit is contained in:
Marta Rybczynska
2025-07-09 10:14:00 +02:00
committed by Scott Murray
parent 5f791761ff
commit 2617d4c9c9

View File

@@ -146,6 +146,8 @@ do_install () {
${THISDIR}/files/set_required_questions.py ${D}${sysconfdir}/Bastille/config ${D}${datadir}/Bastille/Questions
chown root:root -R ${D}/${datadir}/Bastille
ln -s RevertBastille ${D}${sbindir}/UndoBastille
# Create /var/log/Bastille in runtime.