fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.1k stars 110 forks source link

Issue #116: Kill gpg-agent during build of image #122

Closed fsquillace closed 9 years ago

fsquillace commented 9 years ago

Use jchroot instead of arch-chroot since it is more reliable on all architectures.

RomanSaveljev commented 9 years ago

It is getting harder, but one sure way I found to repdroduce the issue is to run inside junest:

$ gpg-connect-agent /bye
fsquillace commented 9 years ago

Thanks @RomanSaveljev! this is a huge improvement since I can now build the ARM image in a really cleaner way.

fsquillace commented 9 years ago

Both of them are equivalent. With set -e the shell will not exit if the command that fails is part of any command executed in a && or a ||, except the last command following the sequence.

RomanSaveljev commented 9 years ago

Thanks, looks great