Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: termux/termux-app Loading
base: v0.110
Choose a base ref
...
head repository: termux/termux-app Loading
compare: v0.111
Choose a head ref
  • 7 commits
  • 5 files changed
  • 1 contributor

Commits on Apr 20, 2021

  1. Fix termux-reset

    The TMPDIR was being automatically cleared and recreated even if it didn't already exist when TermuxService was stopped. This left an empty TMPDIR in the PREFIX directory when termux-reset was run and on termux restart the bootstrap wasn't installed again because PREFIX directory already existed. This resulted in a broken environment since no binaries/libs existed under PREFIX and /system/bin/sh was loaded.
    
    This issue was created due to v0.109.
    agnostic-apollo committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    d6eb5e3 View commit details
    Browse the repository at this point in the history
  2. Fix cases where bootstrap was not reinstalled even if PREFIX was broken

    The TermuxInstaller.setupBootstrapIfNeeded() previously only checked if PREFIX directory existed or not to decide whether to install bootstrap or not. Now it will also check if its empty or only contains the tmp directory, since in that case the PREFIX must be deleted and bootstrap reinstalled, otherwise a broken environment will be loaded since no termux binaries/libs would exist.
    
    It will now also delete any file at the prefix or staging prefix path, even if its not a directory. If the user does not want the bootstrap to be installed for some reason, then any other file other than "tmp" can be created under PREFIX.
    agnostic-apollo committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    107927f View commit details
    Browse the repository at this point in the history
  3. Bump gradle to v7.0

    agnostic-apollo committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    1d06ff9 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Bump to v0.111

    agnostic-apollo committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    5d911ef View commit details
    Browse the repository at this point in the history
  2. Revert "Bump to v0.111"

    This reverts commit 5d911ef.
    agnostic-apollo committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    0fe608f View commit details
    Browse the repository at this point in the history
  3. Fix the bootstrap reinstallation logic for when PREFIX is a symlink

    Changes were made to bootstrap reinstallation logic in 107927f, but it wasn't considering that PREFIX may be a symlink file to a directory instead of a directory file. With this commit, the previous behaviour of termux is restored where PREFIX can optionally be a symlink to a valid directory where the symlink isn't broken/dangling.
    agnostic-apollo committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    b34f60b View commit details
    Browse the repository at this point in the history
  4. Bump to v0.111

    agnostic-apollo committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    8f9771a View commit details
    Browse the repository at this point in the history
Loading