Commit Graph

265 Commits

Author SHA1 Message Date
T. Joseph Carter
2c5244ba98 Implement multiple sources for disk7 2015-11-11 15:34:38 -08:00
T. Joseph Carter
b0c766971d Missed backup for disk7, Spectrum extraction 2015-11-09 20:29:08 -08:00
T. Joseph Carter
f2244354c2 Merge Ivan's 1.2.5, bump version to 1.3.0
This should give Ivan some breathing room while we work on trying to get
things ready for Jessie.
2015-11-09 06:40:44 -08:00
T. Joseph Carter
1836b18c34 Support finally for Linux! 2015-11-09 04:56:20 -08:00
T. Joseph Carter
819e19f6d3 .endsWith -> .endswith 2015-11-09 04:54:05 -08:00
T. Joseph Carter
4587df5bf9 hfsutils works if installed (no check for that) 2015-11-09 03:58:56 -08:00
T. Joseph Carter
cc89978e52 Now installs on Darwin systems! 2015-11-09 03:14:35 -08:00
T. Joseph Carter
d9c4af34e0 Different tack: Just install boot blocks
This isn't done, but it reflects largely starting over.  The goal right
now is to install the boot blocks.  To do this we need to:

* Find out if we need to install anything
* Download the disk image archive
* Extract the disk image from the archive
* Mount the image
* Copy the files out of the image
* Unmount the image
* Patch the files if they need patching
* Verify the files are patched correctly

The branching possibilities for installing the disk images are:

1. That the image is currently always a .sea.bin file.  In future, it
   might not be!  After all, the other six disk images are available
   multiple places and they're not stored as self-extracting images in
   MacBinary format.

2. That there are three different ways I know of to extract the HFS disk
   image:  Mount it as a loop filesystem (Linux), attach it as a disk
   image file (OS X), or extract its contents using hfsutils which
   should be able to run just about anywhere.  Of course hfsutils has an
   additional branch in that hfsutils "sanitizes" the files you copy out
   of it for you in ways we don't want, so we need to know the file
   names it uses so we can change them back to OS X expectations.

3. How are we installing these files?  If we're installing them for
   netatalk, we need to rename a file.  If just to a UNIX path, that's
   something different.  If there was some reason to package them in
   ProDOS format, again, we need to do something different.

At this time, since I'm developing this on a Mac, I'm assuming .sea.bin
with an 800k image, I'm implementing hdiutil to mount the image, and
I'll implement the UNIX naming first (so as Mac/Linux mount the files.)

Next I'll implement renaming for netatalk and hfsutils.  I'll check it
out on the pi and implement the Linux filesystem mounting probably last,
then clean it up to behave more like Python is supposed to if I can
before I start on the GS/OS install itself.

I need a better MacBinary unpacker than unar gives me.  The way that
works right now is just clumsy.
2015-11-08 20:48:13 -08:00
T. Joseph Carter
1796676df1 os.environ.has_key(key) -> key in os.environ 2015-11-08 17:57:29 -08:00
T. Joseph Carter
876991f11f A little more progress on installing boot blocks 2015-11-08 15:39:20 -08:00
T. Joseph Carter
73fa5d5909 Add some pseudocode that is helping me understand
Think I see some of what I need to do next.
2015-11-07 22:31:43 -08:00
T. Joseph Carter
c3b4829e26 Downloads and extracts disk 7 now
I'm not real happy with how I'm doing this.  It's obviously not as clean
or as simple as a shell script would be, but that's to be expected since
we have to emulate with those shell commands--whole programs in their
own right--do.  But right now, the logic doesn't flow right either for a
structured program or an unstructured shell script.  Probably trying to
do too much in one go there.
2015-11-06 23:55:36 -08:00
T. Joseph Carter
d52b6ef9f1 Start of experimental install-gsos.py
This script replaces--or rather will eventually replace--the bash script
that installs netboot files in /media/A2SHARED.  It generally is going
to be implemented for now as a copy of the shell script, not quite
verbatim.  For example, rather than run individual commands with sudo,
it re-runs itself with sudo.  And rather than force scriptURL to include
a trailing slash, it explicitly chops the slash off to behave more like
you'd expect directories to.

Also, the body of installing the netboot files will be built as a
function rather than as straight script execution.  Basically the idea
there is to begin breaking the components of the netboot script into
their own functions that can be accessed independently in the future.
One step at a time there.

Anyway, very little of the script is done yet.  This is just to begin
the process and perhaps elicit some feedback if I'm really doing
something totally wrong here--my python's a little rusty.
2015-11-06 08:51:43 -08:00
T. Joseph Carter
b8078d73f4 A little more cleanup of the Markdown 2015-11-05 04:43:05 -08:00
T. Joseph Carter
40752b0b42 Convert the _text_ headers to ATX-style h3 markup 2015-11-05 04:38:19 -08:00
T. Joseph Carter
da652114ab Kramdown supports language on the fenced code line 2015-11-05 04:33:43 -08:00
T. Joseph Carter
be618c70a0 This next steps anchor is not linked 2015-11-05 04:32:12 -08:00
T. Joseph Carter
5f47882f3e _text_ is a header, let's make it h3. 2015-11-05 04:30:18 -08:00
T. Joseph Carter
ed7d29d724 Convert fenced code blocks to Kramdown style 2015-11-04 20:08:20 -08:00
T. Joseph Carter
59c69f5dca Fix modelines 2015-10-30 05:26:43 -07:00
T. Joseph Carter
c07acd397e Fix stray backslashes 2015-10-27 19:54:32 -07:00
T. Joseph Carter
2650ff73fc Fix stray backslashes 2015-10-27 19:54:01 -07:00
T. Joseph Carter
0cfbaff4fc Fix stray backslashes 2015-10-27 19:53:30 -07:00
T. Joseph Carter
fd36fd8f87 Fix stray backslashes 2015-10-27 19:52:51 -07:00
T. Joseph Carter
0f01be02dc Fix stray backslashes 2015-10-27 19:51:51 -07:00
T. Joseph Carter
5bf02f27b4 Fix stray backslashes 2015-10-27 19:50:57 -07:00
T. Joseph Carter
afe0200a8b Fix stray backslashes 2015-10-27 19:50:12 -07:00
T. Joseph Carter
1b79b4867b Fix stray backslashes 2015-10-27 19:49:44 -07:00
T. Joseph Carter
d5d1eecdca Fix a couple of links 2015-10-27 19:48:41 -07:00
T. Joseph Carter
f7dec0dd61 Fix stray backslashes 2015-10-27 19:46:14 -07:00
T. Joseph Carter
783ce2da40 Fix stray backslashes 2015-10-27 19:45:43 -07:00
T. Joseph Carter
2bbe0d2c69 Fix stray backslashes 2015-10-27 19:44:45 -07:00
T. Joseph Carter
f9e2f30f97 Fix stray backslashes 2015-10-27 19:44:12 -07:00
T. Joseph Carter
465ef1048f Fix stray backslashes 2015-10-27 19:43:05 -07:00
T. Joseph Carter
fc7b4964f4 Fix stray backslashes 2015-10-27 19:42:24 -07:00
T. Joseph Carter
29781bf070 Fix stray backslashes 2015-10-27 19:41:20 -07:00
T. Joseph Carter
90fc41ef4e Fix UNC path syntax for Markdown 2015-10-27 19:39:20 -07:00
T. Joseph Carter
56c0bb9f73 Fix unnecessary backslashes 2015-10-27 19:37:25 -07:00
Joseph Carter
f256b9a885 Merge pull request #5 from RasppleII/ivanx-docs
Add a lot of documentation from Ivan's website
2015-10-23 17:39:26 -07:00
T. Joseph Carter
d8e6f99642 Add fix tool 2015-10-23 05:12:55 -07:00
T. Joseph Carter
0c5db0ac09 Add a2server-help.txt 2015-10-23 05:09:46 -07:00
T. Joseph Carter
f248c68ab9 Add the rest of the setup scripts 2015-10-23 05:09:22 -07:00
T. Joseph Carter
8baf146f87 Git doesn't like trailing whitespace as a rule
Previously I "fixed" this by deleting the blank lines and Ivan mentioned
the blank lines were intentional.  I noted I should do something like
this to correct it, but didn't.  I'll fix it there later.
2015-10-23 05:05:11 -07:00
T. Joseph Carter
71d20af07c Add cppo 2015-10-23 05:04:29 -07:00
T. Joseph Carter
14f72a6fdc Add netatalk helper scripts 2015-10-23 05:04:04 -07:00
T. Joseph Carter
0ede192740 Add a2server-aliases.txt since it's referenced 2015-10-23 05:02:58 -07:00
T. Joseph Carter
08a2d8ddf1 Add main setup/update scripts 2015-10-23 05:00:18 -07:00
T. Joseph Carter
4e8c5fe86b Correct aliases link (404 on Ivan's page) 2015-10-23 04:57:15 -07:00
T. Joseph Carter
460d09e306 Add version history to ivanx docs 2015-10-23 04:48:08 -07:00
T. Joseph Carter
539bd6d695 Added a2server_wifi.md 2015-10-23 00:42:45 -07:00