summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-05 16:01:51 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-05 16:01:51 -0500
commit965371ef3f70120555d957a0d0703016f8df8307 (patch)
tree550675a5bade26dfd48b03e98c8617df7df10e2a /src/chroot-tools/librechroot
parent9f28b8f1d7ecc211e4df9f4a16a04960ed1bd582 (diff)
librechroot update: correctly handle 'filesystem' upgrades
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-xsrc/chroot-tools/librechroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index fcabcff..dcf8488 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -381,7 +381,7 @@ main() {
arch-nspawn "$copydir" pacman -Sy "$@"
;;
update)
- arch-nspawn "$copydir" pacman -Syu --noconfirm
+ arch-nspawn "$copydir" bash -c 'pacman -Syw --noconfirm && umount /etc/resolv.conf && pacman -Su --noconfirm'
;;
clean-pkgs)
trap "rm -f '$copydir'/bin/chcleanup '$copydir'/chrootexec" EXIT