diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-06-26 10:57:57 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-06-26 10:57:57 -0700 |
commit | 246f0439764f562cf163db5792551c5c586f8e4c (patch) | |
tree | 7a2789a433249d76232029774f3719e142970c13 /0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch | |
parent | Synced with upstream (diff) | |
download | libretools-246f0439764f562cf163db5792551c5c586f8e4c.tar.xz |
Sync with upstream
Diffstat (limited to '0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch')
-rw-r--r-- | 0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch b/0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch index 759f686..75b2d6f 100644 --- a/0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch +++ b/0001-libremakepkg-fix-building-packages-requring-a-rw-sta.patch @@ -40,26 +40,19 @@ diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index 00eb2e0..fe7dd3a 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg -@@ -124,11 +124,9 @@ build() ( +@@ -124,11 +124,11 @@ build() ( local run_ynet=() local run_nnet=() if $INCHROOT; then - local _run=(sh -c "mount --bind -o ro -- ${startdir@Q} ${startdir@Q} && cd ${startdir@Q} && \$@" --) ++ local _run=(sh -c "cd ${startdir@Q} && \$@" --) run_ynet=(unshare --mount -- "${_run[@]}") run_nnet=(unshare --mount --net -- "${_run[@]}") else - librechroot_flags+=(-r "$startdir:/startdir") ++ librechroot_flags+=(-w "$startdir:/startdir") run_ynet=(librechroot "${librechroot_flags[@]}" run) run_nnet=(librechroot "${librechroot_flags[@]}" -N run) fi -@@ -266,6 +264,7 @@ main() { - "Waiting for existing lock on build directory to be released" - else - librechroot_flags+=( -+ -w "$PWD:/startdir" - -n "$CHROOT" - -l "$copy" - ) --- 2.21.0 |