Skip to content

Commit 47d83e8

Browse files
committed
Fix build
1 parent 85aefcf commit 47d83e8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build_files/shared/clean-stage.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ dnf5 -y clean all
1818
# Remove any leftover build artifacts
1919
rm -rf /tmp/* 2>/dev/null || true
2020

21+
# Fix /var/run - must be a symlink to /run for bootc
22+
# Some packages (like audit) create /var/run as a directory
23+
echo "Ensuring /var/run is a symlink..."
24+
rm -rf /var/run && ln -s ../run /var/run
25+
2126
echo "Cleanup complete"

0 commit comments

Comments
 (0)