@@ -18,14 +18,14 @@ NOTE: While we are not yet out of beta, it is recommended to remove any previous
1818
1919(1) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
2020
21- You'll find three main archives - and there might be "fix " archives too that need to be extracted:
21+ You'll find three main archives - and there might be "update " archives too that need to be extracted:
2222
2323```
2424sgug-rse-selfhoster-0.0.4beta.tar.gz
2525sgug-rse-srpms-0.0.4beta.tar.gz
2626sgug-rse-rpms-0.0.4beta.tar.gz
2727
28- sgug-rse-blahfix -0.0.Xbeta .tar.gz
28+ sgug-rse-rpms -0.0.4betaupdateNUM .tar.gz
2929```
3030
3131(2) Extract the selfhoster archive under /usr as root (important, sgug-rse _ installation_ files are root owned and managed):
@@ -46,16 +46,16 @@ mkdir -p ~/rpmbuild/SRPMS
4646mkdir -p ~/rpmbuild/RPMS
4747```
4848
49- (4) As your user extract the SRPMs and RPMs in the right place.
50-
51- This should include any fixes:
49+ (4) As your user extract the SRPMs and RPMs in an appropriate place.
5250
5351```
5452cd ~/rpmbuild
5553gunzip -dc /path/to/sgug-rse-srpms-0.0.4beta.tar.gz | tar xf -
5654gunzip -dc /path/to/sgug-rse-rpms-0.0.4beta.tar.gz | tar xf -
5755# Optional
58- gunzip -dc /path/to/sgug-rse-blahfix-0.0.Xbeta.tar.gz | tar xf -
56+ mkdir ~/rpmupdates
57+ cd ~/rpmupdates
58+ gunzip -dc /path/to/sgug-rse-rpms-0.0.4betaupdateNUM.tar.gz | tar xf -
5959```
6060
6161(5) You'll need to clone this repo (sgug-rse) -
@@ -68,7 +68,25 @@ Adjust that path as appropriate for where you wish the repo to live.
6868
6969(Of course you can fork the repo and clone from your own copy!)
7070
71- (6) Now you can build a package with:
71+ (6) Now you can install all packages (you can pick and choose if that's your thing):
72+
73+ ```
74+ cd ~/sgug-rse.git
75+ ./sgugshell.sh
76+ cd ~/rpmbuild/RPMS
77+ sudo rpm --reinstall -ivh noarch/*.rpm mips/*.rpm
78+ ```
79+
80+ and for any upgrades/updates:
81+
82+ ```
83+ cd ~/sgug-rse.git
84+ ./sgugshell.sh
85+ cd ~/rpmupdates/RPMS
86+ sudo rpm -Uvh noarch/*.rpm mips/*.rpm
87+ ```
88+
89+ (7) Now you can build a package with:
7290
7391```
7492cd ~/sgug-rse.git
@@ -79,7 +97,7 @@ cp -r ~/sgug-rse.git/packages/m4/* ~/rpmbuild/
7997rpmbuild -ba m4.spec --nocheck
8098```
8199
82- (7 ) Installing RPMs must be done as root (add ` --reinstall ` to refresh a package):
100+ (8 ) Installing RPMs must be done as root (add ` --reinstall ` to refresh a package):
83101
84102```
85103su -
0 commit comments