pdagent icon indicating copy to clipboard operation
pdagent copied to clipboard

make_deb.sh invalid invokation in `make ubuntu`

Open gvfnix opened this issue 4 years ago • 0 comments

Hi. When I run commands from build-linux/howto.md, make ubuntu command fails:

$ unzip ~/Downloads/pdagent-master.zip
$ cd pdagent-master/
$ gpg --homedir=build-linux/gnupg --gen-key
$ make ubuntu
...
Successfully tagged pdagent-ubuntu:latest
docker run \
	-v `pwd`:/usr/share/pdagent \
	-it pdagent-ubuntu \
		/bin/sh -c "/bin/sh build-linux/make_deb.sh /usr/share/pdagent/build-linux/gpg-deb /usr/share/pdagent/target"
Usage: build-linux/make_deb.sh {path-to-gpg-home} {path-to-package-installation-root}
Makefile:34: recipe for target 'target/deb' failed
make: *** [target/deb] Error 2

I believe that this happens due to incorrect naming of gpg-home directory. While gpg setup offers creating of build-linux/gnupg directory, make ubuntu uses build-linux/gpg-deb. So I presume that build-linux/howto.md should be edited.

gvfnix avatar May 29 '20 11:05 gvfnix