Skip to content

Commit 7687491

Browse files
committed
TEMP: print contents of reset /var
1 parent 3d232f5 commit 7687491

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Use e.g. --build-arg=base=quay.io/fedora/fedora-bootc:42 to target
66
# Fedora instead.
77

8-
ARG base=quay.io/centos-bootc/centos-bootc:stream10
8+
ARG base=quay.io/fedora/fedora-bootc:42
99

1010
# This first image captures a snapshot of the source code,
1111
# note all the exclusions in .dockerignore.
@@ -122,6 +122,7 @@ fi
122122
touch /usr/lib/.bootc-dev-stamp
123123
# And test our own linting
124124
## Workaround for https://github.com/bootc-dev/bootc/issues/1546
125+
dnf -y install tree
125126
rm -rf /root/buildinfo
126-
bootc container lint --fatal-warnings
127+
# bootc container lint --fatal-warnings
127128
EORUN

hack/Containerfile.packit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ rm -rf /var/share/test-artifacts /etc/yum.repos.d/test-artifacts.repo
4040
dnf -y clean all
4141
rm -rf /var/cache /var/lib/dnf
4242

43+
dnf -y install tree
44+
4345
# Finally, test our own linting
4446
# bootc container lint --fatal-warnings
4547
EORUN

tmt/tests/booted/test-factory-reset.nu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def initial_build [] {
3838
mkdir $new_var_path
3939
cp -r $workdir_root $new_var_path
4040

41+
tree $new_var_path
42+
4143
tmt-reboot
4244
}
4345

0 commit comments

Comments
 (0)