This work is part of Debian integration effort.
This fixes issues seen during bootstrap.
This work unifies and enhances:
Package binary to correct location.
Fix configuration file ownership.
Let debhelper install the services. Add systemd preset.
Tests on Debian:
PASS: build-pkgs && build-image
PASS: install iso && check the 2 services
PASS: bootstrap with fm workarounds
Co-authored-by: Chuck Short <firstname.lastname@example.org>
Co-authored-by: aoliveir <email@example.com>
Signed-off-by: Dan Voiculeasa <firstname.lastname@example.org>
- Daemon location on Debian.
- Created a new .service for fm-api with the path for the service.
- Removed fminit.service install from Makefile to spec, in order to override
it on debian using deb_helper.
- Fm-api is now installed with deb_helper.
- Updated fm.conf permissions
PASS: Package installed and ISO built successfully
PASS: Services are running after bootstrap configure restarts them
PASS: CentOS fm-mgr package is built and installed successfully
Co-authored-by: Daniel Stevens <DanielStevens.TorresCardenas@windriver.com>
Signed-off-by: Iago Regiani <Iago.RodriguezRegiani@windriver.com>
Add control and rules files to generate fm-mgr deb following
Signed-off-by: Marcela Rosales <email@example.com>