This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/sgug/bin/bash | |
| # acdiller v1.0.5 trying to automate rse builds | |
| # april2021 | |
| # > now it installs all created rpms properly | |
| # | |
| basepath="/usr/people/`whoami`" | |
| codebase="$basepath/sgug-rse.git/packages" | |
| rpmbase="$basepath/rpmbuild" | |
| srcbase="$basepath/rpmbuild/SRPMS" | |
| fc31updates='https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/31/Everything/SRPMS/Packages' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Here are some directions to install Diablo (devilutionX) on your SGI running IRIX. | |
| - THANKS to Onre, HAL, Unxmaal, jenna16bit, mach-kernal of SGI UG! They did this. | |
| - tested on 6.5.30, with RSE 0.0.7 on a Fuel and base Octane 1. Sound just works | |
| - this is using SDL2, so many more games are in the pipeline! | |
| - all packages were built on my Fuel with RSE 0.0.7 and patches and help from the gang above | |
| - the dandyum repo host is mine and running on Digital Ocean droplet | |
| - many hours of hacking, building packages and staging so you can install with one command... enjoy | |
| - join us and help at http://sgi.sh/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@dandyum2 007]# tree | |
| . | |
| ├── base | |
| │ ├── mips | |
| │ │ ├── CUnit-2.1.3-23.sgug.mips.rpm | |
| │ │ ├── CUnit-devel-2.1.3-23.sgug.mips.rpm | |
| │ │ ├── alternatives-1.11-8.sgug.mips.rpm | |
| │ │ ├── at-spi2-atk-2.34.2-1.sgug.mips.rpm | |
| │ │ ├── at-spi2-atk-devel-2.34.2-1.sgug.mips.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dillera@octane ~ $ groups | |
| user sys wheel | |
| dillera@octane ~ $ /usr/sgug/bin/sgugshell | |
| [sgugshell dillera@octane ~]$ sudo tdnf install git | |
| Refreshing metadata for: 'Sgugrse Local 0.0.7beta - mips' | |
| sgugrselocal 987604 100% | |
| Installing: | |
| libXdmcp mips 1.1.3-2.sgug sgugrselocal 71.00k 72708 | |
| libXau mips 1.0.9-2.sgug sgugrselocal 55.91k 57255 | |
| libXrender mips 0.9.10-10.sgug sgugrselocal 48.60k 49764 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You need to pre-process the idb file and create a file which has all the symlinks from the filesytem. | |
| In this scenario we have a hierarchy of files on our sgi. You could just tarball them up and move them to a new system and extract. But in this case we want to use inst to install, and therefore gendist to create a tardist. | |
| So there are two directories involved with a tardist, gendist called them source base and target base. | |
| For this case, the source base (sbase) is /usr/sgug_raw_selfhoster and the target base is /usr/sgug. | |
| This means the files to use to create the tardist exist in /usr/sgug_raw_selfhoster and when inst installs them I want them to go into /usr/sgug. Be aware of those paths in the example below and change as necessary. | |
| 1. Run Software Packager - point at the top of your SBASE. Add all the files into one sw.base for ease of use. Set the target up to be usr/sgug (no leading /). Save the IDB and SPEC files somewhere you can edit them. The rest will be done by hand. Quit Software Packager. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Read in prepared list of symlinks from fs and | |
| # a IDM file; write out new IDM file with symlinks | |
| # pointing to their source as stdout | |
| # v0.1 | |
| LINK = "l" | |
| ########################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sgug_bashrc helper commands | |
| # andrew_diller 2020 | |
| # use with sugshell hook | |
| ###################################### | |
| # cd helpers | |
| sgbuild() { | |
| cd ~/rpmbuild/BUILD | |
| } | |
| sgbroot() { | |
| cd ~/rpmbuild/BUILDROOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo " ______ ________ " | |
| echo " / __/ / / / __/ / " | |
| echo " / _// /_/ / _// /__ " | |
| echo "/_/ \____/___/____/ " | |
| echo setup `hostname` basic env | |
| echo ---------------------------- | |
| echo ' ' | |
| export TERM=xterm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IP27 PROM SGI Version 6.156 built 11:27:56 AM Nov 18, 2003 | |
| Testing/Initializing memory ............... DONE | |
| Copying PROM code to memory ............... DONE | |
| Discovering local IO ...................... DONE | |
| Discovering NUMAlink connectivity ......... DONE | |
| Found 5 objects (3 hubs, 2 routers) in 55783 usec | |
| Waiting for peers to complete discovery.... DONE | |
| Recognized 390 MHz midplane | |
| Global master is /hw/module/1/slot/n1 | |
| Testing/Initializing all memory ........... DONE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sgcp() { | |
| cp -r ~/rpmbuild/sgug-rse/packages/"$1"/* ~/rpmbuild/ | |
| } | |
| sgwipcp() { | |
| cp -r ~/rpmbuild/sgug-rse-wip/packages/"$1"/* ~/rpmbuild/ | |
| } | |
| sgsbuild() { | |
| cd ~/rpmbuild/SPECS | |
| TARGET="$(ls -1 ~/rpmbuild/SRPMS/ | grep ${1})" | |
| rpm -ivh ~/rpmbuild/SRPMS/${TARGET} |