fix ci?
Some checks failed
Compile LaTeX document / build (push) Successful in 38s
Compile LaTeX document / latex_spellcheck (push) Failing after 7s

This commit is contained in:
Philipp Hofer 2025-01-09 09:26:26 +01:00
parent 0066900b3a
commit b8e4ceb8ac

View File

@ -51,19 +51,26 @@ jobs:
- name: "Usr merge"
id: usrmerge
run: |
cp -ax /bin /bin.backup
# Convert /bin to a symlink
# For /bin first
mv /bin/* /usr/bin/
rmdir /bin
ln -s usr/bin /bin
# Handle /lib
mv /lib/* /usr/lib/
# For /lib, we need to handle it directory by directory
# First, move all files in the root of /lib
mv /lib/[^s]* /usr/lib/ 2>/dev/null || true
# Then handle each subdirectory carefully
cp -a /lib/systemd/* /usr/lib/systemd/
cp -a /lib/udev/* /usr/lib/udev/
cp -a /lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/
# Remove the now-empty directories
rm -rf /lib/systemd /lib/udev /lib/x86_64-linux-gnu
rmdir /lib
ln -s usr/lib /lib
# Now try installing usrmerge again
# Now try installing usrmerge
apt update && apt install -y usrmerge
- name: Install node
if: ${{ steps.prereq.outputs.need_node == '1' }}