chore: Preserve link during libdrm copy

This commit is contained in:
Kyle Gospodnetich 2024-06-14 12:52:32 -07:00
parent bc9e852c0c
commit 790e798803

View File

@ -562,8 +562,8 @@ COPY system_files/overrides /
RUN /usr/libexec/containerbuild/build-initramfs && \
/usr/libexec/containerbuild/image-info && \
rm -f /etc/profile.d/toolbox.sh && \
cp /usr/lib/libdrm.so.2 /usr/lib/libdrm.so && \
cp /usr/lib64/libdrm.so.2 /usr/lib64/libdrm.so && \
cp --preserve=links /usr/lib/libdrm.so.2 /usr/lib/libdrm.so && \
cp --preserve=links /usr/lib64/libdrm.so.2 /usr/lib64/libdrm.so && \
sed -i 's@/usr/bin/steam@/usr/bin/bazzite-steam@g' /usr/share/applications/steam.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/fish.desktop && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/nvtop.desktop && \