Created
April 11, 2019 12:38
-
-
Save pigri/72180d3f32429c43bd6c8a566cc3373f to your computer and use it in GitHub Desktop.
Debian package create
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Debcsomagot akarsz gyártani a saját scriptedből (vgy bármilyen saját cuccból) | |
Csinálsz egy könyvtárat a szerveren, az alábbi szerkezettel: | |
csomagteszt | |
csomagteszt/DEBIAN | |
csomagteszt/DEBIAN/control | |
csomagteszt/usr/local/bin/myscript.sh | |
A DEBIAN/control file kb minimális tartalma az alábbi legyen, az alábbi mezők értelemszerűen: | |
Package: myscript | |
Priority: optional | |
Section: devel | |
Installed-Size: 45 | |
Maintainer: Test Geza <[email protected]> | |
Architecture: i386 | |
Version: 1.3-16 | |
Depends: libc6 (>= 2.1) | |
Description: myscript.sh, most powerfull shell sciprt | |
of the jasmin universe :) | |
Ezután azt mondod hogy | |
# dpkg-deb -b csomagteszt myscript.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment