File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ Build the cache of all the files needed to be accepted as a Debian archive:
2727
2828 freight cache
2929
30+ If your system has GnuPG 2.x make sure that a gpg-agent is running or the above
31+ command will fail. Also make sure you have installed a pinentry package (e.g.
32+ pinentry-curses) that suits your needs.
33+
3034Serve ` /var/cache/freight ` via your favorite web server and install it as an APT source:
3135
3236 echo "deb http://example.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/example.list
Original file line number Diff line number Diff line change 207207
208208 } > " $DISTCACHE /Release"
209209
210+ # Pinentry may fail on GnuPG 2.x without GPG_TTY
211+ #
212+ # https://github.com/freight-team/freight/issues/72
213+ #
214+ export GPG_TTY=$( tty)
215+
210216 # Sign the top-level `Release` file with `gpg`, for each key and
211217 # concatenate signatures.
212218 for GPGKEY in $GPG ; do
You can’t perform that action at this time.
0 commit comments