Support specifying extra mkosi repositories to the test script
This commit is contained in:
parent
f5b47b1302
commit
2ecfbec1a4
1 changed files with 10 additions and 0 deletions
|
|
@ -61,6 +61,16 @@ Environment=NO_BUILD=1
|
|||
WithTests=yes
|
||||
EOF
|
||||
|
||||
if [[ -n "${MKOSI_REPOSITORIES:-}" ]]; then
|
||||
tee --append mkosi.local.conf <<EOF
|
||||
[Distribution]
|
||||
Repositories=$MKOSI_REPOSITORIES
|
||||
|
||||
[Build]
|
||||
ToolsTreeRepositories=$MKOSI_REPOSITORIES
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [[ -n "${TEST_SELINUX_CHECK_AVCS:-}" ]]; then
|
||||
tee --append mkosi.local.conf <<EOF
|
||||
[Runtime]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue