Age | Commit message (Collapse) | Author |
|
This switch skips the deploy function as well as the cleanup process,
executing the extraction process before exiting. This will enable easier
debugging.
Note that this switch does not support a short version to avoid risk of
conflicting with downstream run.sh-provided switches (eg: -e).
|
|
This library provides the 'colorize' function. This function will color
any text from stdin with the specified escape sequence, resetting the
color changes at line end.
Useful for coloring output of commands by piping their stdout or stderr
to this function, specifying to color the output something unique.
|
|
This variable holds the absolute path to the parent directory that
contains the installer.
|
|
|
|
Install header now has a {{ DECOMPRESS }} variable that is interpolated
on run of pkgself with pkgself's value for ${DECOMPRESS}.
Also added DECOMPRESS, COMPRESS, and COMPRESSEXT variables to pkgself to
standardize compression tools and command calls across the script. This
will also make it easier to make compress tools selectable in the future
(eg: --gzip or --bzip2 will set the variables differently).
Moved install header size calculation after all interpolations with a
note that all interpolations need to occur before that line so the size
counts are accurate.
|
|
Previously, we extracted block=1B * sizeof(chunk). This was extremely
slow. Changing block size to sizeof(chunk) and count to 1, the process
is sped up by about 200x.
|
|
The libinstall resources will be used for packaging installation
libraries, such as a basic templating engine or simple shortcut
functions and aliases.
Updated LENS array to allow for an additional 8 byte archive. Also
updated archive index. Now...
1. header
2. libinstall
3. run.sh
4. payload
Added extract_libinstall function.
Along with this, also added the new libtemplate, which provides a very
basic templating engine to be used by the end user run.sh script if
needed.
|
|
extract_chunk_index: Added support for stdout extraction via the '-'
destination.
Added support for NOCLEANUP variable. If set, the removal of TMP will
not occur.
Added argument passthrough for install-header arguments to the deploy
function.
Some more comments
Added exports and comments for global variables SELF, TMP, PAYLOAD, and
NOCLEANUP.
Added PAYLOAD variable for the installation package to easily referece
the absolute path to its own install files within the payload archive.
|
|
Currently packages binary, creates payload index, etc. Installer
executes specified run script and cleans itself up after run.
NOTE: installer-header.sh is not released under any license at this
time, as it is packaged with other people's code. Pkgself.sh is however
GPLv3.
|