Add optional repo and rpm GPG signing
This commit is contained in:
@@ -23,19 +23,19 @@ Specifying [tt]--build[/tt], [tt]--createrepo[/tt], [tt]--service[/tt], or [tt]-
|
||||
[code]
|
||||
$ installJRMC --help
|
||||
--install, -i repo|local
|
||||
repo: Install MC from repository, future updates will be handled by the system package manager.
|
||||
local: Build and install MC package from official source package.
|
||||
--build[=suse|fedora|centos]
|
||||
repo: Install MC from repository, updates are handled by the system package manager.
|
||||
local: Build and install MC locally from official source package.
|
||||
--build[=suse|fedora|centos|mandriva]
|
||||
Build RPM from source DEB but do not install.
|
||||
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=').
|
||||
--compat
|
||||
Build/install MC without minimum dependency version requirements.
|
||||
Build/install MC locally without minimum dependency version requirements.
|
||||
--mcversion VERSION
|
||||
Specify the MC version, ex. "33", "35.0.51", or "35.0.51-1" (default: latest).
|
||||
Specify the MC version, ex. "35.0.51" or "35" (default: latest release).
|
||||
--arch ARCH
|
||||
Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host architecture).
|
||||
Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host).
|
||||
--mcrepo REPO
|
||||
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: host or official).
|
||||
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: auto).
|
||||
--outputdir PATH
|
||||
Generate reusable installJRMC output in this PATH (default: ./output).
|
||||
--restorefile RESTOREFILE
|
||||
@@ -43,30 +43,41 @@ $ installJRMC --help
|
||||
--betapass PASSWORD
|
||||
Enter beta team password for access to beta builds.
|
||||
--service, -s SERVICE
|
||||
See SERVICES section below for the list of services to deploy.
|
||||
See SERVICES below for possible services to install.
|
||||
--service-type user|system
|
||||
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES).
|
||||
--container, -c CONTAINER (TODO: Under construction)
|
||||
See CONTAINERS section below for a list of containers to deploy.
|
||||
--createrepo[=suse|fedora|centos]
|
||||
Build rpm, copy to webroot, and run createrepo.
|
||||
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=').
|
||||
--createrepo-webroot PATH
|
||||
The webroot directory to install the repo (default: /var/www/jriver/).
|
||||
--createrepo-user USER
|
||||
The web server user if different from the current user.
|
||||
Starts services at boot (system) or at user login (user) (default: per service, see SERVICES).
|
||||
--no-update
|
||||
Disable the installJRMC update check.
|
||||
Disable automatic installJRMC self-update.
|
||||
--uninstall, -u
|
||||
Uninstall JRiver MC, remove services, containers, and firewall rules (does not remove library files).
|
||||
--yes, -y, --auto
|
||||
Always assumes yes for questions.
|
||||
Assume yes response to questions.
|
||||
--version, -v
|
||||
Print installJRMC version and exit.
|
||||
--debug, -d
|
||||
Print debug output.
|
||||
--help, -h
|
||||
Print help dialog and exit.
|
||||
--uninstall, -u
|
||||
Uninstall JRiver MC, service files, firewall rules, etc.
|
||||
|
||||
ADVANCED OPTIONS
|
||||
--container, -c CONTAINER (TODO: Under construction)
|
||||
See CONTAINERS section below for a list of possible services to install.
|
||||
--createrepo[=suse|fedora|centos]
|
||||
Build rpm, copy to webroot, and run createrepo.
|
||||
Use in conjunction with --build=TARGET for crossbuilding repos.
|
||||
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora).
|
||||
--createrepo-webroot PATH
|
||||
Specify the webroot directory to install the repo (default: /var/www/jriver).
|
||||
--webroot-user USER
|
||||
Owner/user for createrepo output in the webroot (default: current user).
|
||||
--createrepo-user USER
|
||||
Backward-compatible alias for --webroot-user.
|
||||
--sign
|
||||
Sign the built RPM and repodata/repomd.xml (if --createrepo).
|
||||
--sign-user USER
|
||||
User account used to run rpmsign and gpg signing (default: current user).
|
||||
--sign-key KEYID
|
||||
GPG key ID, fingerprint, or UID used for --sign.
|
||||
[/code]
|
||||
|
||||
[size=18pt]Services[/size]
|
||||
@@ -128,10 +139,12 @@ Install a more widely-compatible version of the latest MC version.
|
||||
Install MC from the repository and start/enable jriver-mediacenter.service as a user service.
|
||||
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.51[/code]
|
||||
Build and install an MC 35.0.51 comptability RPM locally and activate it using the [tt]/path/to/license.mjr[/tt].
|
||||
[code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
|
||||
[code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --webroot-user www-user[/code]
|
||||
Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user.
|
||||
[code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
|
||||
[code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --webroot-user www-user[/code]
|
||||
Install the jriver-createrepo timer and service to build the RPM, move it to the webroot, and run createrepo as www-user hourly.
|
||||
[code]installJRMC --createrepo --webroot-user nginx --sign --sign-user bryan --sign-key 0xDEADBEEF[/code]
|
||||
Build/update the RPM repo, sign both RPM and repodata as bryan, and publish files owned by nginx.
|
||||
[code]installJRMC --install repo --service jriver-x11vnc --service jriver-mediacenter --vncpass "letmein"[/code]
|
||||
Install services to share the existing local desktop via VNC and automatically run MC on startup.
|
||||
[code]installJRMC --install repo --service jriver-xvnc --display ":2"[/code]
|
||||
|
||||
Reference in New Issue
Block a user