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>
This commit is contained in:
Marta Rybczynska
2025-07-09 10:14:00 +02:00
parent 828a78314f
commit 7bdd0a8b48

View File

@@ -146,6 +146,8 @@ do_install () {
${THISDIR}/files/set_required_questions.py ${D}${sysconfdir}/Bastille/config ${D}${datadir}/Bastille/Questions ${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 ln -s RevertBastille ${D}${sbindir}/UndoBastille
# Create /var/log/Bastille in runtime. # Create /var/log/Bastille in runtime.