Hello machado,
machado.ti@gmail.com [2017-05-03 18:56 -0000]:
What I want is a file that I can use to install cockpit in my reaspberries that are not connected to the internet. In those systems I don't have connection to download all dependencies to use "make install".
Ack, so built .deb packages would be just that.
I tried using "dpkg-buildpackage -b -us -uc -d" inside my build folder after using autogen.sh & make and copying the tools/debian to build/debian but in one of the steps it runs the rules script and then it fails because of a missing tools/cockpit.debian.pam file.
This file is actually available inside the tools folder but I'm afraid I'm doing something wrong. Is there any special procedure to create a releasing package using the debian folder ?
Not really, it should just work. I tried the following, in an environment (I use schroot, but pbuilder or just your real system etc. is fine too) with cockpit's build dependencies installed:
wget https://github.com/cockpit-project/cockpit/releases/download/139/cockpit-139... tar xf cockpit-139.tar.xz cd cockpit-139 cp -r tools/debian . sed -i 's/0-1/139-0/' debian/changelog # set a proper version number dpkg-buildpackage -us -uc -b
This produces a working set of cockpit*.deb packages in the parent dir.
I don't have a good idea what goes wrong for you. Can you please try with the above commands, and send the full output of dpkg-buildpackage if it still fails?
Do you have any other suggestion to create some package that I can use for offline installation ?
A plain "make install" won't be enough as e. g. the PAM file and some other minor adjustments are missing, so I really recommend using debs -- they both work better and are also much cleaner to maintain/update on your RasPi.
Martin