Open CTassisF opened 3 months ago
This is so weird. I thought I had replied with an answer.
Anyway:
Fix bug with chown when systemd is disabled
During compile, if systemd is disabled, the build breaks unless
--disable-chown is given during configure.
Problem is caused when --disable-systemd is passed (or not detected)
which also disables the installation hook where the chown should be
executed. This then folds the chown into the generation of the
FIRMWARE_APPS_VERSION file, which is done at an early point in the
build where installation directories have not been created yet.
Fix is in the development branch. Cheers!
Description:
I'm building
ripe-atlas-software-probe
manually and encountering an error duringmake
:Steps to reproduce:
Interestingly, the build completes successfully if you run
make
a second time.Possible cause:
It seems that this Makefile is trying to
chown
something inside the--prefix=/probe
directory before it is created (beforemake install
).Running
./configure --prefix=/probe --disable-chown
beforemake
fixes the issue, but it also disables the low-privilege user functionality.