Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile.am, configure.ac, NEWS.adoc: implement make install-as-root [#1298] #2761

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

jimklimov
Copy link
Member

@jimklimov jimklimov commented Jan 10, 2025

Addresses: #1298

More or less follows documentation for manual NUT installation, wiki suggestions and what some existing packaging scripts do. Should help in-place upgrades of various nature; maybe initial installations too (user/group should be pre-made)...

After doing the work and some thinking, I believe this is a step in direction of providing reference packaging recipes for NUT in the codebase (see #1209 etc.) and the code added to Makefile.am now is better pushed out into scripts like scripts/Solaris/postinstall eventually - with better guaranteed availability of tooling, use of correct commands, etc. especially as this gets routine ported to various distributions.

@jimklimov jimklimov added CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) Solaris/illumos Solaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...) service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug Linux Some issues are specific to Linux as a platform portability We want NUT to build and run everywhere possible labels Jan 10, 2025
@jimklimov jimklimov added this to the 2.8.3 milestone Jan 10, 2025
@jimklimov jimklimov changed the title Makefile.am, configure.ac, NEWS.adoc: implement install-as-root [#1298] Makefile.am, configure.ac, NEWS.adoc: implement make install-as-root [#1298] Jan 11, 2025
…U support) of build target host in package naming as NUT/NUTx

Signed-off-by: Jim Klimov <[email protected]>
…stall" of new files and creation/ownership/restart of new artifacts [networkupstools#1298]

Signed-off-by: Jim Klimov <[email protected]>
…U support) of build target host in package naming as NUT/NUTx - Makefile typo fix

Signed-off-by: Jim Klimov <[email protected]>
…shell block (keep ISA vars defined)

Signed-off-by: Jim Klimov <[email protected]>
@jimklimov
Copy link
Member Author

CI issue with openbsd is a build agent hiccup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) Linux Some issues are specific to Linux as a platform portability We want NUT to build and run everywhere possible service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug Solaris/illumos Solaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant