summaryrefslogtreecommitdiff
path: root/install-header.sh
AgeCommit message (Collapse)Author
2018-04-09install-header: Added --extract-only switchHEADmasterAaron Ball
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).
2018-03-07Added libcolorizeAaron Ball
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.
2018-03-05install-header:Added SELFDIR variableAaron Ball
This variable holds the absolute path to the parent directory that contains the installer.
2018-03-05install-header:added source libensureAaron Ball
2018-02-14Added compress and decompress variablesAaron Ball
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.
2018-02-14install-header:changed dd extraction block sizeAaron Ball
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.
2018-02-05Initial commit of support for libinstall resourcesAaron Ball
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.
2018-02-05More work on the install headerAaron Ball
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.
2018-02-05Initial commitAaron Ball
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.

Generated by cgit