diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-09 15:40:39 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-09 15:40:39 +0100 |
commit | 77e3602fa4f663e70189b24b3649f71761f90ce5 (patch) | |
tree | a9d7eef95765dff04ae00a370bffbc2f31cea614 /helpers | |
parent | 9f96103510214b834acf27408acef44f418c145f (diff) | |
download | vyos-live-build-77e3602fa4f663e70189b24b3649f71761f90ce5.tar.gz vyos-live-build-77e3602fa4f663e70189b24b3649f71761f90ce5.zip |
Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_chroot_sources | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources index d0fc8168b..cecba9593 100755 --- a/helpers/lh_chroot_sources +++ b/helpers/lh_chroot_sources @@ -124,6 +124,9 @@ case "${1}" in _LH_DOTGNUPG_EXISTED=1 fi + # Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9) + mkdir -p chroot/root/.gnupg + if ls cache/local-package-keyring.* >/dev/null 2>&1 then cp cache/local-package-keyring.* chroot/root |