- 12 May, 2015 29 commits
-
-
Mike Hibler authored
Also make case of signature that exactly matches the delta not be a fatal error.
-
Mike Hibler authored
-
Mike Hibler authored
In cases where code does not compute it. This is only useful for some assertion checking, so the option may not stick around.
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
Getting close: change delta/undelta to set the mtime of the file they produce to match that of the source, redo the reloc code so it works, cleanups, enhancements to the test scripts.
-
Mike Hibler authored
-
Mike Hibler authored
Work in progress.
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
Also some cleanup.
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
Where "working" == "does not crash and produces a syntactically valid image".
-
Mike Hibler authored
That was more involved than I thought...or it was worth, considering that only old FreeBSD and really old Redhat (think: LILO) images have them. But that is the kinda guy I am...
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
Also added option (-F) to write full-image signature (what we do).
-
Mike Hibler authored
-
Mike Hibler authored
This is to facilitate testing again...
-
Mike Hibler authored
To that end, added a new "imagerezip" program which reads in an image and writes it back out. Right now, this is just to test that reading and writing images via the new library produces the same result as the "classic" tools. But it might be useful in the future to repack images with a different compression level or a different signature (hash function or blocksize). Also checked in a hack to imageunzip I did for Xing (-I option) to just produce a stream of the uncompressed image data (it ignores skips, aka it doesn't skip on the output device to put the data in the correct place). Unfortunately, I cannot just compare raw images because even trying to replicate the chunk packing strategy of the original code, the new library packs a bit more into each chunk. Not sure why, but anyway, I have to compare old/new images by dumping their contents and by checking the generated signatures.
-
Mike Hibler authored
Of course, I have no idea if it is correct...but it is well formed!
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
New code for managing ranges.
-
Mike Hibler authored
-
Mike Hibler authored
-
- 11 May, 2015 1 commit
-
-
Mike Hibler authored
-
- 08 May, 2015 2 commits
-
-
Kirk Webb authored
This was in the CENTOS63-64-STD image at APT, but not at the MS, and not in the CENTOS66-64-STD image. I must have added it by hand there. Now it is installed as part of the client-side install for CentOS 6 flavors.
-
Leigh B Stoller authored
-
- 07 May, 2015 1 commit
-
-
Leigh B Stoller authored
but only surfaced as a problem on Clemson. Odd.
-
- 06 May, 2015 5 commits
-
-
Leigh B Stoller authored
not always be immediately available. Mike says there is a race in mountd. Surprise!
-
David Johnson authored
Handles the case where a wire in the wires table has an 'Unused' role (which is how logical wires begin life -- then once their underlying physical links are built into vlans, snmpit changes their wires.role changes to 'Node'). This change ensures undef ports (which is what is returned for wires entries with 'Unused' roles) don't make it into the getVlanPorts list, where they cause snmpit to die, of course.
-
David Johnson authored
The stuff in db/Port.pm (Port::LookupByIface) wasn't handling the MLE case where there are two wires table entries for physical wires with a logical wire implemented by them; for my experiment, when snmpit was trying to create the physical vlans on the apcon, it would grab the logical wire instead of the physical one as it populated the Port objects, and that screwed vlan creation up (the member port for the physical layer 1 vlan gets labeled with a switch WIRE_END instead of node -- which is correct for the logical wire, but not the physical). So, I changed the query to check that wires.logical == interfaces.logical ; see the code. This is a limited fix, maybe -- maybe that method should really do more verification to make sure it's grabbed the correct wires table entry -- but since we only have 2 layers it's plenty good for now.
-
David Johnson authored
-
David Johnson authored
-
- 04 May, 2015 2 commits
-
-
Leigh B Stoller authored
change had some problems.
-
Mike Hibler authored
-