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

ubuntu/artful
Steve Langasek 7 years ago
parent e59db65edb
commit c61850e168

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

Loading…
Cancel
Save