mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
fa5dee77c0
Turns out we can, apart from just building the module, "shove" it into the SELinux database in a chroot as well. This brings quite significant time savings, as the SELinux db rebuild takes 2 - 5 minutes in a VM without acceleration (and takes currently ~half of the runtime of the test in the C8S job).
9 lines
193 B
Desktop File
9 lines
193 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=TEST-06-SELINUX
|
|
|
|
[Service]
|
|
ExecStartPre=rm -f /failed /testok
|
|
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
|
|
Type=oneshot
|