Closed binbashblog closed 6 years ago
Nevermind, not sure how but omxd was running. Did a killall omxd and it worked.
EDIT:
./preinst Running omxd preinst Failed to stop omxd.service: Unit omxd.service not loaded. Unknown operation 'omxd'. cp omxd /usr/bin cp omxd.1 /usr/share/man/man1/ mkdir -p /usr/share/doc/omxd cp init /usr/share/doc/omxd/ cp omxd.service /usr/share/doc/omxd/ cp logrotate /usr/share/doc/omxd/ cp omxwd /usr/bin perl -lne 'print unless /^omxd$/' -i /etc/rc.local # Auto migrate from rc.local
I know why it doesn't work. The postinst recipe in the make install doesn't work. I think the makeinstall fails after the preinst script. The systemd service and other files aren't created and I have to manually copy them and create the symlinks.
It appears you have to manually run 'make start'.
Are you running these steps manually? All you should do is
apt install omxd
Next question. Are you running those comands as root?
I'm following the install guide and I've run make install but I get this in the output:
./preinst Running omxd preinst Failed to stop omxd.service: Unit omxd.service not loaded. Unknown operation 'omxd'. cp omxd /usr/bin cp: cannot create regular file ‘/usr/bin/omxd’: Text file busy Makefile:18: recipe for target 'install' failed make: *** [install] Error 1
Any ideas?