installer: Added supporting Ubuntu and Raspbian

This commit is contained in:
2016-12-11 15:46:04 +01:00
parent 34f53c0e75
commit ac07dd3752
8 changed files with 966 additions and 17 deletions

View File

@ -1,25 +1,55 @@
HotFix; Quickly patch and fix system
====================================
Noccy's HotFixes
================
## How do I install the hotfix utility?
### Automated installation
The automated installer has been tested on Ubuntu 16.04.1, and it does all the
heavy lifting for you, including dependencies.
$ sudo apt install curl
$ curl -O hotfix-installer.run http://files.noccy.com/hotfix/hotfix-installer.run
$ chmod +x hotfix-installer.run
$ ./hotfix-installer.run
### Manual install
## Usage
If you would like to install it manually:
$ hotfix apply pastebin:1234abcd
$ hotfix apply gist:user/hash
$ hotfix apply http://some.site/url.to.fix
### Applying local patches
$ hotfix apply --insecure test.hotfix
$ curl -O ~/bin/hotfix http://files.noccy.com/hotfix/hotfix
$ chmod +x ~/bin/hotfix
### Signing
### Security precautions
$ hotfix sign test.hotfix
If you want to make sure that you are using an official build of the hotfix utility,
you should verify the hotfix executable using the NoccyLabs signing key. Make sure
you import the key as specified below, and then download the signature into the same
directory as the executable:
$ curl http://files.noccy.com/hotfix/hotfix.sig > hotfix.sig
$ gpg --verify hotfix.sig
## Building the executable
You should get output confirming a good signature.
### How do I import the public key?
$ curl http://files.noccy.com/hotfix/signing-key.gpg | gpg --import -
## Available Hotfixes
### Processing
This will install the latest version of Processing into `/opt`.
$ hotfix apply http://files.noccy.com/hotfix/install-processing.fix.signed
### Spotify
This hotfix will enable the official Spotify debian repositories and install the Spotify client.
It is not compatible with any other distros at this time.
$ hotfix apply http://files.noccy.com/hotfix/install-spotify.fix.signed
Included is `makephar`, a utility to create highly compressed self-executable
php archives.