7/29/2023 0 Comments Tar xz createThis Debian binary package is an example package.ĭebian/copyright (Betreuerversion): $ vim debhello-0. Directories are archived recursively, unless the -no-recursion option is given. Arguments supply the names of the files to be archived. Here is its template file generated byĭebian/control (Vorlagendatei): $ cat debhello-0.0/debian/controlĭepends: $ĭescription: Simple packaging example for debmake 1 Answer Sorted by: 92 Try: tar -czvf folder A few notes: Recursion is the default, from the tar man pages: -c, -create Create a new archive. The debian/control file provides the main Also - if you really want best compression, don't use gzip. Generally, set GZIP environment variable to '-9', and run tar normally. This is essentially the standard debian/rules file with the dh command. 6 Answers Sorted by: 200 GZIP-9 tar cvzf /path/to/directory assuming you're using bash. #export DEB_LDFLAGS_MAINT_APPEND = -Wl,-as-needed #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic #export DEB_BUILD_MAINT_OPTIONS = hardening=+all # You must remove unused comment lines for the released package. ![]() Here is its template file generated byĭebian/rules (Vorlagendatei): $ cat debhello-0.0/debian/rules The debian/rules file is the build script Lassen Sie uns die erstellten Vorlagendateien anschauen.ĭer Quellbaum, nach der grundlegenden Ausführung von debmake. Since no options areĭie Option -x: -x1 (Vorgabe für das einzelne Binärpaket) Template files based on command line options. I: run "debmake -x2" to get more template files I: creating => debian/source/patch-header I: substituting => /usr/share/debmake/extra1sourcex/patch-header I: substituting => /usr/share/debmake/extra1sourcex/options I: creating => debian/source/local-options I: substituting => /usr/share/debmake/extra1sourcex/local-options I: substituting => /usr/share/debmake/extra1patches/series I: substituting => /usr/share/debmake/extra1upstream/metadata I: substituting => /usr/share/debmake/extra1tests/control I: substituting => /usr/share/debmake/extra1source/format dsc file is always uncompressed and it’s fine since it’s a small textual file. In the source package A source package is composed of multiple files. I: substituting => /usr/share/debmake/extra1/watch This article will explain where you can make use of them in your Debian packaging work. I: substituting => /usr/share/debmake/extra1/README.Debian ![]() I: substituting => /usr/share/debmake/extra0/rules I: substituting => /usr/share/debmake/extra0/changelog I: check_all_licenses completed for 2 files. I: scan source for copyright+license text and file extensions I: binary package=debhello Type=bin / Arch=any M-A=foreign I: $ ln -sf debhello-0.0.tar.gz debhello_0.0. I: provide debhello_0.0. for non-native Debian package I: *** start packaging in "debhello-0.0". I: package_dir = /usr/lib/python3/dist-packages Vorlagendateien ausführlichere Kommentare erstellt.ĭie Ausagabe des Befehls debmake ist sehrĪusführlich und erklärt seine Tätigkeiten wie folgt: $ cd debhello-0.0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |