[radicalzephyr/boot-dpkg "0.3.1"] ;; latest releaseA Boot task for generating debian binary packages.
- Provides a
dpkgtask
Set 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.