mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-28 22:13:30 +00:00
chore(ci): Remove now unneeded unwrap
This commit is contained in:
parent
728b870604
commit
2e110a2004
@ -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 \
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user