]> git.puffer.fish Git - mirror/frr.git/commit
alpine packaging: use a more standard packaging format 2040/head
authorArthur Jones <arthur.jones@riverbed.com>
Fri, 6 Apr 2018 00:52:15 +0000 (17:52 -0700)
committerArthur Jones <arthur.jones@riverbed.com>
Mon, 9 Apr 2018 22:34:50 +0000 (15:34 -0700)
commit915c81b3ef426fd52ec138ad069ea1271052f209
tree51d1000ba4b6bb29a5729dc2355dd39c7cf588c9
parent8227cf93336730f6359db5c6c682eb97828c5da9
alpine packaging: use a more standard packaging format

Currently, we just package the frr daemons, but we don't run
them.  This is fine for basic tests, but it is inconvenient to
orchestrate the daemons from downstream test environments.

Here, we follow the redhat and debianpkg formats more closely,
putting the daemons in /usr/lib/frr and including the frr user
and groups in the package.  We also include a docker specific
startup script and a sysvinit link in /etc/init.d/frr for
openrc based alpine installs.

Testing done:

Built packages, built base images, everything seems to work fine.
Uninstalled the package, all the daemons stopped.

Issue: https://github.com/FRRouting/frr/issues/2030
Signed-off-by: Arthur Jones <arthur.jones@riverbed.com>
alpine/APKBUILD.in
alpine/docker-start [new file with mode: 0755]
alpine/frr.post-deinstall [new file with mode: 0755]
alpine/frr.pre-deinstall [new file with mode: 0755]
alpine/frr.pre-install [new file with mode: 0755]
doc/developer/building-frr-on-alpine.rst
docker/alpine/Dockerfile
tools/frr