4 Commits

Author SHA1 Message Date
Steve Langasek
83d2176957 chroot hooks are special, they don't get the environment because it gets scrubbed by rootcmd; so we have to call dpkg --print-architecture after all 2016-02-06 02:38:21 -08:00
Steve Langasek
7ec8dd87ac Fix architecture handling in hooks. We know we're always being invoked
from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the
environment, because auto/config and auto/build both rely on this.  So
don't scatter dpkg --print-architecture calls throughout, especially
when many of these are not cross-build-aware.
2016-02-05 23:39:56 -08:00
Oliver Grawert
0054a24f90 limit grub-install diversion on snappy images to x86 architectures 2015-10-09 12:54:00 +02:00
Oliver Grawert
cc7950e55c divert grub-install on snappy images during rootfs build 2015-10-09 12:45:28 +02:00