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: NixOS/mobile-nixos
base: 63d49f51ada3
Choose a base ref
...
head repository: NixOS/mobile-nixos
compare: 61566f3c8cb4
Choose a head ref
  • 5 commits
  • 9 files changed
  • 1 contributor

Commits on Nov 8, 2020

  1. boot/init: Cleanup failure

     - exit after everything happened, just in case
     - exit the progress display
     - allow a custom delay to be set
    samueldr committed Nov 8, 2020
    Copy the full SHA
    a819a89 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    31f45c5 View commit details
    Browse the repository at this point in the history
  3. boot/init: Add Devices dependency type

    It's a Files dependency, but with just a bit more user friendliness when
    used in an error message.
    samueldr committed Nov 8, 2020
    Copy the full SHA
    d41c454 View commit details
    Browse the repository at this point in the history
  4. boot/init: Handle hung tasks

    The way we're handling them is to have a global timer that is reset at
    any point a task is ran.
    
    This gives a maximum amount of chances to any task to have its
    dependencies resolve.
    
    A minimum of 60s is given, but in reality the chances are the conditions
    for trying to resolve were already present before the timeout started
    counting towards that particular dependency.
    
    Note that a long running task, when successfully ran, does not cause the
    timeout to be reached.
    
    E.g. at 10s of timeout a task is started, the loop is not executed until
    the task exits. When it exits the branch followed is for a task that
    ran, which means that even if the task took 70s total (which gives us 80
    seconds) a timeout of 60s wouldn't apply here.
    
    Though, please, don't make your tasks take that much time to run!
    samueldr committed Nov 8, 2020
    Copy the full SHA
    00f81fa View commit details
    Browse the repository at this point in the history
  5. Merge pull request #236 from samueldr-wip/feature/stage-1-hung-tasks

    stage-1: Detect hung tasks and abort boot
    samueldr committed Nov 8, 2020
    Copy the full SHA
    61566f3 View commit details
    Browse the repository at this point in the history