fix ci?
This commit is contained in:
parent
afa78a19ac
commit
265f1b460d
@ -48,29 +48,6 @@ jobs:
|
|||||||
id: prereq
|
id: prereq
|
||||||
run: |
|
run: |
|
||||||
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
|
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
|
||||||
- name: "Usr merge"
|
|
||||||
id: usrmerge
|
|
||||||
run: |
|
|
||||||
# For /bin first
|
|
||||||
mv /bin/* /usr/bin/
|
|
||||||
/usr/bin/rm -d /bin
|
|
||||||
ln -s usr/bin /bin
|
|
||||||
|
|
||||||
# For /lib, handle it directory by directory
|
|
||||||
mv /lib/[^s]* /usr/lib/ 2>/dev/null || true
|
|
||||||
|
|
||||||
# Handle each subdirectory
|
|
||||||
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 directories with full path to rm
|
|
||||||
/bin/rm -rf /lib/systemd /lib/udev /lib/x86_64-linux-gnu
|
|
||||||
/bin/rm -d /lib
|
|
||||||
ln -s usr/lib /lib
|
|
||||||
|
|
||||||
# Now try installing 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' }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user