fix ci?
This commit is contained in:
parent
0066900b3a
commit
b8e4ceb8ac
@ -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' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user