Skip to content

Commit 6b96762

Browse files
authored
Update README.md
1 parent 495c3be commit 6b96762

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,19 @@ NOTE: While we are not yet out of beta, it is recommended to remove any previous
1818

1919
(0) Add your user account to the irix `sys` group - this will allow you to use the sgug `sudo` out of the box with your user password - then you can follow the steps below without additional hoop jumping.
2020

21-
(1) Optional - remove any previous sgug-rse installation:
21+
(1) Ensure your system can cope with long command line buffers (this value or higher):
22+
23+
```
24+
# As root
25+
su -
26+
# Show existing value
27+
systune ncargs
28+
# Tweak if < 131072
29+
systune ncargs 131072
30+
```
31+
32+
33+
(2) Optional - remove any previous sgug-rse installation:
2234

2335
```
2436
# As your user
@@ -28,7 +40,7 @@ rm -rf ~/rpmbuild/RPMS/*
2840
rm -rf /usr/sgug/*
2941
```
3042

31-
(2) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
43+
(3) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
3244

3345
You'll find three main archives - and there might be "update" archives too that need to be extracted:
3446

@@ -40,7 +52,7 @@ sgug-rse-rpms-0.0.5beta.tar.gz
4052
sgug-rse-rpms-0.0.5betaupdateNUM.tar.gz
4153
```
4254

43-
(3) Extract the selfhoster archive under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
55+
(4) Extract the selfhoster archive under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
4456

4557
```
4658
su - (enter root password)
@@ -49,7 +61,7 @@ gunzip -dc /path/to/sgug-rse-selfhoster-0.0.5beta.tar.gz |tar xf -
4961
(log out of root)
5062
```
5163

52-
(4) You'll need to setup some new directories for your user:
64+
(5) You'll need to setup some new directories for your user:
5365

5466
```
5567
mkdir -p ~/rpmbuild/SPECS
@@ -58,7 +70,7 @@ mkdir -p ~/rpmbuild/SRPMS
5870
mkdir -p ~/rpmbuild/RPMS
5971
```
6072

61-
(5) As your user extract the SRPMs and RPMs in an appropriate place.
73+
(6) As your user extract the SRPMs and RPMs in an appropriate place.
6274

6375
```
6476
cd ~/rpmbuild
@@ -70,7 +82,7 @@ cd ~/rpmupdates
7082
gunzip -dc /path/to/sgug-rse-rpms-0.0.5betaupdateNUM.tar.gz | tar xf -
7183
```
7284

73-
(6) You'll need to clone this repo (sgug-rse) -
85+
(7) You'll need to clone this repo (sgug-rse) -
7486

7587
```
7688
cd ~
@@ -80,7 +92,7 @@ Adjust that path as appropriate for where you wish the repo to live.
8092

8193
(Of course you can fork the repo and clone from your own copy!)
8294

83-
(7) Now you can install all packages (you can pick and choose if that's your thing):
95+
(8) Now you can install all packages (you can pick and choose if that's your thing):
8496

8597
```
8698
cd ~/sgug-rse.git
@@ -100,7 +112,7 @@ cd ~/rpmupdates/RPMS
100112
sudo rpm -Uvh noarch/*.rpm mips/*.rpm
101113
```
102114

103-
(8) Now you can rebuild one of the out-of-the-box packages with:
115+
(9) Now you can rebuild one of the out-of-the-box packages with:
104116

105117
```
106118
cd ~/sgug-rse.git
@@ -111,7 +123,7 @@ cp -r ~/sgug-rse.git/packages/m4/* ~/rpmbuild/
111123
rpmbuild -ba m4.spec --nocheck
112124
```
113125

114-
(9) Installing RPMs must be done as root (add `--reinstall` to refresh an already installed package):
126+
(10) Installing RPMs must be done as root (add `--reinstall` to refresh an already installed package):
115127

116128
```
117129
cd ~user/sgug-rse.git

0 commit comments

Comments
 (0)