Debian Packaging: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with "== Requirements == Package [https://packages.debian.org/debhelper debhelper] must be installed. == How To == === Required files === Directory "debian" must contain these f...")
 
(+GitLab CI)
Line 21: Line 21:


The package is saved in the ".." folder.
The package is saved in the ".." folder.
== GitLab CI ==
There must be a directory "build" that contains the package file.
[https://about.gitlab.com/blog/2016/10/12/automated-debian-package-build-with-gitlab-ci/ Credits]


[[Category:Linux]]
[[Category:Linux]]

Revision as of 06:00, 24 October 2022

Requirements

Package debhelper must be installed.

How To

Required files

Directory "debian" must contain these files:

  • changelog
  • compat
  • control
  • install
  • rules (this file must be executable)


Creating the package

dpkg-buildpackage -us -uc

The package is saved in the ".." folder.

GitLab CI

There must be a directory "build" that contains the package file.

Credits