Skip to content

Commit

Permalink
containers/ws: Include cockpit-files
Browse files Browse the repository at this point in the history
This brings the ws container closer to the Client flatpak. In beiboot
mode, Files works everywhere including RHEL 8 [1].

[1] cockpit-project/cockpit-files#917
  • Loading branch information
martinpitt authored and jelly committed Jan 29, 2025
1 parent 363a5c3 commit 91ad819
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions containers/ws/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ storaged
system
"

EXTERNAL_COCKPIT_PACKAGES="
cockpit-files
"

dnf install -y 'dnf-command(download)' cpio
$INSTALL coreutils-single util-linux-core sed sscg python3 openssh-clients

Expand Down Expand Up @@ -44,5 +48,10 @@ else
rm $INSTALLROOT/usr/libexec/cockpit-session
fi

for rpm in $EXTERNAL_COCKPIT_PACKAGES; do
dnf download $rpm
unpack $rpm-*.rpm
done

rm -rf /build/var/cache/*dnf* /build/var/lib/dnf /build/var/lib/rpm* /build/var/log/*
rm -rf /container/rpms || true

0 comments on commit 91ad819

Please sign in to comment.