aboutsummaryrefslogtreecommitdiffsponsor
path: root/installpkg.go
AgeCommit message (Collapse)Author
2022-05-20bail out on unknown package attributesSlack Coder
Be freindlier to the user by clearly communicating and refusing to install packages we do not know how to install. Add an environment variable allowing users to opt out and silently ignore errors if they so choose.
2022-05-05installpkg: fix unpacking of /install dirSlack Coder
Add missing return statement so the package 'install' directory is not installed on the target filesystem.
2022-05-05installpkg: support no-overwrite optionSlack Coder
2022-04-26installpkg: only untar what is neededSlack Coder
Avoid unarchiving the package's '/install' directory. Required files from the directory are installed already into the system's package database.
2022-04-23installpkg: Avoid using /install on target dirSlack Coder
Use a temporary randomly named directory named like 'installpkg-2052825695' for the package's metadata in its '/install' directory. It will help allow running multiple instances on the same target root directory by removing a point of conflict. Attempt to place this directory in the host's default temporary directory. If it does not exist, use the host's root path.
2022-04-13installpkg: remove print statementSlack Coder
2022-04-13installpkg: correct symlink locationSlack Coder
Create the 'packages','scripts','setup' symlinks in /var/log instead of the /var/log/pkgtools
2022-04-13installpkg: avoid modifying /install if it existsSlack Coder
Avoid modifying and removing the /install directory if it already exists on the system by exiting early.
2022-03-30Initial commitSlack Coder