chore(ci): Remove now unneeded unwrap

This commit is contained in:
Kyle Gospodnetich 2025-02-20 10:03:06 -08:00
parent 728b870604
commit 2e110a2004
2 changed files with 0 additions and 17 deletions

View File

@ -77,7 +77,6 @@ RUN --mount=type=cache,dst=/var/cache/libdnf5 \
--mount=type=cache,dst=/var/cache/rpm-ostree \
--mount=type=bind,from=ctx,source=/,target=/ctx \
--mount=type=tmpfs,dst=/tmp \
/ctx/unwrap && \
dnf5 -y install dnf5-plugins && \
for copr in \
kylegospo/bazzite \

View File

@ -1,16 +0,0 @@
#!/usr/bin/bash
set -eoux pipefail
# there is no 'rpm-ostree cliwrap uninstall-from-root', but this is close enough. See:
# https://github.com/coreos/rpm-ostree/blob/6d2548ddb2bfa8f4e9bafe5c6e717cf9531d8001/rust/src/cliwrap.rs#L25-L32
if [ -d /usr/libexec/rpm-ostree/wrapped ]; then
# binaries which could be created if they did not exist thus may not be in wrapped dir
rm -f \
/usr/bin/yum \
/usr/bin/dnf \
/usr/bin/kernel-install
# binaries which were wrapped
mv -f /usr/libexec/rpm-ostree/wrapped/* /usr/bin
rm -fr /usr/libexec/rpm-ostree
fi