Skip to content

Commit 91ad819

Browse files
martinpittjelly
authored andcommitted
containers/ws: Include cockpit-files
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
1 parent 363a5c3 commit 91ad819

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

containers/ws/install.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ storaged
1717
system
1818
"
1919

20+
EXTERNAL_COCKPIT_PACKAGES="
21+
cockpit-files
22+
"
23+
2024
dnf install -y 'dnf-command(download)' cpio
2125
$INSTALL coreutils-single util-linux-core sed sscg python3 openssh-clients
2226

@@ -44,5 +48,10 @@ else
4448
rm $INSTALLROOT/usr/libexec/cockpit-session
4549
fi
4650

51+
for rpm in $EXTERNAL_COCKPIT_PACKAGES; do
52+
dnf download $rpm
53+
unpack $rpm-*.rpm
54+
done
55+
4756
rm -rf /build/var/cache/*dnf* /build/var/lib/dnf /build/var/lib/rpm* /build/var/log/*
4857
rm -rf /container/rpms || true

0 commit comments

Comments
 (0)