Questions tagged [dpkg-buildpackage]

tool that creates a .deb package out of Debian source files automatically. Source files should include a debian directory with the required files that describe the package and build process. This command automates the process.

24 questions
0
votes
2 answers

dpkg-buildpackage with cookiecutter invalid or non-existing path to the source directory: debian/sampleproject

Hello I'm trying to create a deb package from a python project with virtualenv and to do it I'm using cookiecutter. I've never created a deb package in my life and so I'm following the guide listed here but i had some problems trying to build the…
0
votes
1 answer

Execute check manually after dpkg-buildpackage DEB_BUILD_OPTIONS=nocheck

I am running dpkg-buildpackage with the environment variable DEB_BUILD_OPTIONS set to nocheck. This compiles but skips the testing. With which command can I execute the checking manually after dpkg-buildpackage has completed?
Lemon Sky
  • 677
  • 4
  • 10
0
votes
1 answer

How to get the deb package located directory in preinst

I am creating a .deb package that would run a shell script as preinst. The shell script needs some input files, which would be available at where I have the .deb package, as below. Package_located_directory $ > mydebpackage.deb …
0
votes
1 answer

How pass semicolon to dh_auto_configure

I need to pass a semicolon seperated list of paths to cmake and I'm doing it like this. dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/home/runner/work/ksnip/Qt/5.15.2/gcc_64;/home/runner/work/ksnip/ksnip/tmp…
Damir Porobic
  • 681
  • 1
  • 8
  • 21
0
votes
1 answer

Debian Packaging Without Build Tool

I want to create a Debian package from a C program without the use of a build tool such as autotools or CMake. My debian/rules file: #!/usr/bin/make -f %: dh $@ override_dh_auto_clean: rm -f program override_dh_auto_build: gcc…
0
votes
1 answer

debuild - Is it possible to build several debian packages by debuild that compile one Makefile

I create debian packages using debuild. In file "debian/control" is described two packages: Package: app1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tool1. Package: app2 Architecture: any Depends: ${shlibs:Depends},…
0
votes
1 answer

debuild - Is it possible to create several debian packages with different names from one sources adding specific option

I create debian packages using debuild. one by command with variable for one target type: debuild --set-envvar=TARGET=S_SS -b -us -uc -aarm64 another one for another one debuild --set-envvar=TARGET=S_TT -b -us -uc -aarm64 This variable is used in…
0
votes
1 answer

Can you install a .deb package while a .deb package is busy installing?

I am creating a .deb package but I want to install a .deb package through the 1st installation. So the 1st .deb package should install a .deb package. Is there a way to do this?
0
votes
1 answer

Adding CXXFlag into dpkg-buildpackage

I am creating .deb package from source .tar.gz I have done all the steps, and at last I ran this command fakeroot dpkg-buildpackage -F to build the package, at the final step during linking error is thrown with message undefined reference to symbol…
Abhinav Singh
  • 302
  • 3
  • 15
1
2