mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-16 12:51:08 +00:00
mk-sbuild: work around apt's invocation of GPG needing root's
.gnupg directory to already exist.
This commit is contained in:
parent
b2b37159d5
commit
186e6f13da
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -17,8 +17,10 @@ ubuntu-dev-tools (0.116) UNRELEASED; urgency=low
|
||||
already manages XSBC-Original (e.g. python).
|
||||
* ubuntutools/test/test_update_maintainer.py: update test cases to
|
||||
handle checking for debian/rules.
|
||||
* mk-sbuild: work around apt's invocation of GPG needing root's
|
||||
.gnupg directory to already exist.
|
||||
|
||||
-- Kees Cook <kees@ubuntu.com> Tue, 08 Feb 2011 10:27:27 -0800
|
||||
-- Kees Cook <kees@ubuntu.com> Tue, 08 Feb 2011 16:00:17 -0800
|
||||
|
||||
ubuntu-dev-tools (0.115) unstable; urgency=low
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright 2006-2010 (C) Canonical Ltd.
|
||||
# Copyright 2006-2011 (C) Canonical Ltd.
|
||||
# Authors:
|
||||
# Kees Cook <kees@ubuntu.com>
|
||||
# Emmet Hikory <persia@ubuntu.com>
|
||||
@ -442,6 +442,9 @@ case "$SCHROOT_TYPE" in
|
||||
MNT=`mktemp -d -t schroot-XXXXXX`
|
||||
esac
|
||||
|
||||
# work around apt's GPG invocation that fails without root's .gnupg directory
|
||||
sudo mkdir -p -m 0700 "$MNT"/root/.gnupg
|
||||
|
||||
# debootstrap the chroot
|
||||
sudo "$DEBOOTSTRAP_COMMAND" --arch="$CHROOT_ARCH" $variant_opt $debootstrap_opts "$RELEASE" "$MNT" "${DEBOOTSTRAP_MIRROR:-http://archive.ubuntu.com/ubuntu}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user