diff --git a/rootfs/src/static/clear/clear.sh b/rootfs/src/static/clear/clear.sh index de03075..3d59e70 100644 --- a/rootfs/src/static/clear/clear.sh +++ b/rootfs/src/static/clear/clear.sh @@ -29,8 +29,9 @@ find /rootfs/usr/local/static -type f |grep -E "/sbin/|/bin/" |grep -v "/3rd/bin done # link-bin,sbin ########################################### - rm -rf /rootfs/usr/bin /rootfs/usr/sbin; mkdir -p /rootfs/usr/bin /rootfs/usr/sbin /rootfs/bin; - ln -s /usr/local/static/3rd/bin/bash /rootfs/bin/; # #!/bin/bash @busybox + rm -rf /rootfs/usr/bin /rootfs/usr/sbin; mkdir -p /rootfs/usr/bin /rootfs/usr/sbin; #/rootfs/bin + # ERROR: failed to solve: cannot copy to non-directory: /var/lib/buildkit/runc-overlayfs/cachemounts/buildkit2366480739/bin + # ln -s /usr/local/static/3rd/bin/bash /rootfs/bin/; # #!/bin/bash @busybox # clear-xrdp; # needed: lib/xrdp/libvnc.so;