Use regular chroot, not the Chroot wrapper, so we can actually debug our failing command

This commit is contained in:
Steve Langasek 2017-10-07 20:51:54 +00:00
parent e59db65edb
commit c61850e168

View File

@ -29,12 +29,12 @@ Setup_cleanup
preinstall_snaps() {
lb chroot_resolv install
Chroot chroot sh -c '
chroot chroot sh -c '
set -x;
cd /var/lib/snapd/seed;
SNAPPY_STORE_NO_CDN=1 snap download core'
for snap in "$@"; do
Chroot chroot sh -c "
chroot chroot sh -c "
set -x;
cd /var/lib/snapd/seed;
SNAPPY_STORE_NO_CDN=1 snap download \"$snap\""