Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/packages/debian/README.md')
-rw-r--r--spec/fixtures/packages/debian/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/fixtures/packages/debian/README.md b/spec/fixtures/packages/debian/README.md
new file mode 100644
index 00000000000..e398222ce62
--- /dev/null
+++ b/spec/fixtures/packages/debian/README.md
@@ -0,0 +1,21 @@
+# Build a Debian package
+
+Install the build dependencies:
+
+```shell
+sudo apt install dpkg-dev
+```
+
+Go to the `spec/fixtures/packages/debian` directory and clean up old files:
+
+```shell
+cd spec/fixtures/packages/debian
+rm -v *.tar.* *.dsc *.deb *.udeb *.buildinfo *.changes
+```
+
+Go to the package source directory and build:
+
+```shell
+cd sample
+dpkg-buildpackage --no-sign
+```