20 lines
412 B
Bash
20 lines
412 B
Bash
|
#!/usr/bin/bash
|
||
|
set -xeuo pipefail
|
||
|
|
||
|
cd ${test_tmpdir}
|
||
|
|
||
|
dn=$(cd $(dirname $0) && pwd)
|
||
|
. ${dn}/../common/libtest-core.sh
|
||
|
|
||
|
cat >httpd.conf <<EOF
|
||
|
[tree]
|
||
|
ref=httpd
|
||
|
packages=httpd;
|
||
|
repos=fedora;
|
||
|
EOF
|
||
|
|
||
|
# This one has non-root ownership in some of the dependencies, but we shouldn't
|
||
|
# try to apply them; see apply_rpmfi_overrides().
|
||
|
rpm-ostree ex container assemble httpd.conf
|
||
|
ostree --repo=repo ls httpd /usr/sbin/httpd
|