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" - name: "Usr merge"
id: usrmerge id: usrmerge
run: | run: |
cp -ax /bin /bin.backup # For /bin first
# Convert /bin to a symlink
mv /bin/* /usr/bin/ mv /bin/* /usr/bin/
rmdir /bin rmdir /bin
ln -s usr/bin /bin ln -s usr/bin /bin
# Handle /lib # For /lib, we need to handle it directory by directory
mv /lib/* /usr/lib/ # 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 rmdir /lib
ln -s usr/lib /lib ln -s usr/lib /lib
# Now try installing usrmerge again # Now try installing usrmerge
apt update && apt install -y usrmerge apt update && apt install -y usrmerge
- name: Install node - name: Install node
if: ${{ steps.prereq.outputs.need_node == '1' }} if: ${{ steps.prereq.outputs.need_node == '1' }}