Marcus Folkesson

Embedded Linux Artist

libostree and $OSTREE_REPO environment path

libostree and $OSTREE_REPO environment path libostree is a great tool to handle incremental or full updates for an Linux file system. But virtually all commands of ostree requires the --repo argument to override the default system repository path. This is really annoying after a while so my first attempt to get rid of this was to create an alias alias ost='ostree --repo=/tmp/repo' It works but is not good. To solve it once and for all I was about to implement support for getting the repo path from an environment variable.