Skip to content

Commit

Permalink
Add prints for debug
Browse files Browse the repository at this point in the history
Signed-off-by: Yariv Rachmani <[email protected]>
  • Loading branch information
Yarboa committed Jan 21, 2024
1 parent b4242d1 commit 15bcf45
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
# x86_64 is assumed by default
# qm is noarch so we only need to test on one arch
targets:
- fedora-rawhide
- fedora-latest
- epel-9
fedora-rawhide: {}
fedora-latest: {}
epel-9:
additional_repos:
- https://download.copr.fedorainfracloud.org/results/@centos-automotive-sig/bluechi-snapshot/centos-stream-9-x86_64/

# Run on commit to main branch
- &copr
Expand Down Expand Up @@ -68,7 +70,10 @@ jobs:
- epel-9-x86_64
tf_extra_params:
environments:
- hardware:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/centos-automotive-sig/bluechi-snapshot/repo/centos-stream-9
hardware:
disk:
- size: ">= 20 GB"

Expand All @@ -83,7 +88,7 @@ jobs:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/centos-automotive-sig/bluechi-snapshot/repo/centos-stream-$releasever-x86_64/
id: https://copr.fedorainfracloud.org/coprs/g/centos-automotive-sig/bluechi-snapshot/repo/centos-stream-9
tmt:
context:
scenario : "ffi"
Expand Down
1 change: 1 addition & 0 deletions qm.container
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ReadOnly=true
# Ref: https://github.com/containers/podman/issues/20439
VolatileTmp=true
Rootfs=${ROOTFS}
GlobalArgs=--log-level=debug

# FIXME: QM is failing to start if SecurityLabelNested is enabled.
# Add back as soon podman 4.7 is released.
Expand Down
8 changes: 7 additions & 1 deletion setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash -e
#! /bin/bash -x
#
# This setup script will install an OS environment by default into
# /usr/lib/qm/rootfs and create a Podman quadlet containerized environment
Expand Down Expand Up @@ -262,6 +262,12 @@ case "$1" in
if [ "$SYSTEMCTL_SKIP" == "N" ]; then
systemctl daemon-reload
systemctl start qm.service
rc="$?"
if [ "${rc}" -ne 0 ];then
journalctl --no-pager -xeu qm.service
mount | grep tmpfs
exit "${rc}"
fi
else
/usr/libexec/podman/quadlet /run/systemd/generator/
fi
Expand Down

0 comments on commit 15bcf45

Please sign in to comment.