47 | | or you may want to create a distribution package: |
| 56 | This will probably fail because. |
| 57 | |
| 58 | {{{ |
| 59 | /bin/install: cannot create regular file ‘/etc/init.d/boinc-client’: Permission denied |
| 60 | }}} |
| 61 | |
| 62 | The installer tries to put an init file into {{{/etc/init.d/}}} to start boinc client at boot time. This is not a good idea because |
| 63 | |
| 64 | 1 This works only if you are currently root, and shouldn't be root when building |
| 65 | 2 Your system may well be running {{{systemd}}} and no longer use System V-style init files. |
| 66 | |
| 67 | Solution: Remove the make target {{{install-exec-hook}}} from the make target {{{install-exec-am}}} by editing {{{client/scripts/Makefile}}} |
| 68 | |
| 69 | {{{ |
| 70 | install-exec-am: |
| 71 | @$(NORMAL_INSTALL) |
| 72 | $(MAKE) $(AM_MAKEFLAGS) install-exec-hook |
| 73 | }}} |
| 74 | |
| 75 | to |
| 76 | |
| 77 | {{{ |
| 78 | install-exec-am: |
| 79 | @$(NORMAL_INSTALL) |
| 80 | # $(MAKE) $(AM_MAKEFLAGS) install-exec-hook |
| 81 | }}} |
| 82 | |
| 83 | === Distribution package === |
| 84 | |
| 85 | Alternatively, you may want to create a distribution package: |