[radicalzephyr/boot-dpkg "0.3.1"] ;; latest release
A Boot task for generating debian binary packages.
dpkg
taskSet up a task pipeline to create the files you wish to include in the debian package contents. You probably also want to aggressively filter out any files in the fileset that should not be included in the package contents.
Then, configure the dpkg
task with the details of the debian package
control file:
(task-options!
dpkg {:package "package-name
:version "0.1.0-1"
:section "admin"
:architecture "all"
:maintainer "Geoff Shannon"
:description "My Super awesome package!"})
The control
file is generated automatically by this task based on
the options given, and the md5sums
file is created automatically
with the hashes for every file in the fileset. If you wish to include
other control files like maintainer scripts, simply create a DEBIAN
folder somewhere on your :resource-paths
and name the files
accordingly.
(set-env!
:resource-paths #{"resources"})
resources/DEBIAN/
├── postinst
├── postrm
├── preinst
└── prerm
Copyright © 2018 Geoff Shannon
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close