summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sources
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-09 15:40:39 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:36 +0100
commit0e0c22cb6fd1c6a563319b1462f82347dfe0fdfb (patch)
treea9d7eef95765dff04ae00a370bffbc2f31cea614 /helpers/lh_chroot_sources
parent588393196667708cdeeb3feae36908f8b3d061c8 (diff)
downloadvyos-live-build-0e0c22cb6fd1c6a563319b1462f82347dfe0fdfb.tar.gz
vyos-live-build-0e0c22cb6fd1c6a563319b1462f82347dfe0fdfb.zip
Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9)
Diffstat (limited to 'helpers/lh_chroot_sources')
-rwxr-xr-xhelpers/lh_chroot_sources3
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