diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-02-05 12:01:55 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-02-05 12:01:55 +0100 |
commit | 64098ca88f667ae9078e30c2fccb38f11b070a77 (patch) | |
tree | 180a109a6276c5379178118512348989da83049a | |
parent | d035d68d0660b9fb5e15af576193abc59aa4fb9f (diff) | |
download | mewix-64098ca88f667ae9078e30c2fccb38f11b070a77.tar.gz mewix-64098ca88f667ae9078e30c2fccb38f11b070a77.tar.xz mewix-64098ca88f667ae9078e30c2fccb38f11b070a77.zip |
relink-newroot: cleanup
-rwxr-xr-x | relink-newroot | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/relink-newroot b/relink-newroot index 74db895..a466856 100755 --- a/relink-newroot +++ b/relink-newroot @@ -1,3 +1,5 @@ #!/bin/sh -bwrap --unshare-user --share-net --bind $PWD/newroot / --setenv PATH /bin --setenv XBPS_ARCH x86_64-musl /pkg/chroot/s6-update-symlinks/0/usr/bin/s6-update-symlinks /usr $(find newroot/pkg -name usr -type d | sed 's/^newroot//' |sort -r) +bwrap --unshare-user --share-net --bind $PWD/newroot / --setenv PATH /bin \ + /pkg/chroot/s6-update-symlinks/0/usr/bin/s6-update-symlinks \ + /usr $(find newroot/pkg -name usr -type d | sed 's/^newroot//' |sort -r) |