summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-02-05 12:01:55 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-02-05 12:01:55 +0100
commit64098ca88f667ae9078e30c2fccb38f11b070a77 (patch)
tree180a109a6276c5379178118512348989da83049a
parentd035d68d0660b9fb5e15af576193abc59aa4fb9f (diff)
downloadmewix-64098ca88f667ae9078e30c2fccb38f11b070a77.tar.gz
mewix-64098ca88f667ae9078e30c2fccb38f11b070a77.tar.xz
mewix-64098ca88f667ae9078e30c2fccb38f11b070a77.zip
relink-newroot: cleanup
-rwxr-xr-xrelink-newroot4
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)