From a34a0dc9717a6903faa4d017d26dce68f3b4094a Mon Sep 17 00:00:00 2001 From: Izaya Date: Tue, 7 Aug 2018 22:09:27 +1000 Subject: [PATCH] cleanup and docs --- README.md | 8 +++++++- repo-installer/README.md | 20 +++++++++++++++++++ instgen.lua => repo-installer/instgen.lua | 0 .../repoinstaller.lua | 0 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 repo-installer/README.md rename instgen.lua => repo-installer/instgen.lua (100%) rename repoinstaller.lua => repo-installer/repoinstaller.lua (100%) diff --git a/README.md b/README.md index 1dacbcf..e1c85da 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # OC-misc -Miscellaneous OpenComputers stuff \ No newline at end of file +Miscellaneous OpenComputers stuff. + +## [minitel-chat](minitel-chat/) +A super simple networked chat program for Minitel, mostly written as a demo. + +## [repo-installer](repo-installer/) +Script to create installable floppy disks from OPPM repositories. diff --git a/repo-installer/README.md b/repo-installer/README.md new file mode 100644 index 0000000..5c3dc69 --- /dev/null +++ b/repo-installer/README.md @@ -0,0 +1,20 @@ +# repo-installer +A set of tools for making installable floppies for OpenComputers from OPPM repositories. + +## repoinstaller +An installer script that can be placed on a floppy containing an oppm repo to create an installer. Includes selecting packages for installation and attempting to install packages via oppm if they are not found. + +There must be a *master/* folder, containing a *programs.cfg* file on the disk, and all paths in programs.cfg must be specified relative to the root of the floppy disk. + +## instgen +A script to download an oppm repository to create an installer (including install script) + +Usage: + +``` +instgen https://raw.githubusercontent.com/ShadowKatStudios/OC-Minitel/master/programs.cfg /mnt/04d/ +``` + +This will download all the files specified in the programs.cfg specified into */mnt/04d*, in a manner compatible with repoinstaller. + +You must provide your own .prop file. diff --git a/instgen.lua b/repo-installer/instgen.lua similarity index 100% rename from instgen.lua rename to repo-installer/instgen.lua diff --git a/repoinstaller.lua b/repo-installer/repoinstaller.lua similarity index 100% rename from repoinstaller.lua rename to repo-installer/repoinstaller.lua