Skip to content

Commit

Permalink
debug: add logs everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Feb 4, 2025
1 parent 005146e commit 7a7113c
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion lumina/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ FROM quay.io/fedora/fedora-bootc:rawhide AS builder
RUN --mount=type=bind,rw=true,src=.,dst=/buildcontext,bind-propagation=shared \
--mount=from=rootfs,dst=/rootfs \
rm -rf /buildcontext/out.oci && \
ls -la / && \
rpm-ostree experimental compose build-chunked-oci --bootc --format-version=1 \
--rootfs=/rootfs --output /buildcontext/out.oci

Expand Down
3 changes: 3 additions & 0 deletions lumina/scripts/_base/005-virt-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ d /var/log/pcp/sa 0775 pcp pcp -
C /usr/local/bin/.swtpm - - - - /usr/bin/swtpm
d /var/lib/swtpm-localca 0750 tss tss - -
EOF

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 3 additions & 0 deletions lumina/scripts/_base/008-install-nordvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ dnf install -y nordvpn
systemctl enable nordvpnd

rm -f /etc/yum.repos.d/nordvpn.repo

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 3 additions & 0 deletions lumina/scripts/_base/011-podman-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ set -euox pipefail
dnf install -y \
crun-vm \
podman-machine

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 3 additions & 0 deletions lumina/scripts/_base/013-twingate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ EOF
dnf install -y twingate

rm /etc/yum.repos.d/twingate.repo

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 3 additions & 0 deletions lumina/scripts/_base/999-dryrun-gen-quadlets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ set -euo pipefail
# To avoid incredibly long outputs, we redirect the output to /dev/null and log only errors
QUADLET_UNIT_DIRS=/etc/containers/systemd /usr/lib/systemd/system-generators/podman-system-generator --dryrun > /dev/null 2>>error.log
QUADLET_UNIT_DIRS=/etc/containers/systemd/users /usr/lib/systemd/system-generators/podman-system-generator --user --dryrun > /dev/null 2>>error.log

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 3 additions & 0 deletions lumina/scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/rpmfusion-{free,nonfree}{,-upd

# Clear out unsupported directories
rm -rf /tmp/* /var/*

echo "LOOKGING FOR ERRRO.LOG"
ls -la /

0 comments on commit 7a7113c

Please sign in to comment.