Forked from piscisaureus
To identify one particular pull request, find the pull request number on the Azure DevOps site:
Then fetch and checkout the pull request in a local branch named pull/137
Forked from piscisaureus
To identify one particular pull request, find the pull request number on the Azure DevOps site:
Then fetch and checkout the pull request in a local branch named pull/137
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
| #!/bin/bash | |
| cat /var/lib/dbus/machine-id && exit | |
| # Provided by dbus, hence available on all systemd systems. | |
| # Any user can read it and it is persistent accross boots. | |
| # It is unique per installation, and works well in VMs. | |
| # Not all systems (i.e. stage3 gentoo/handbook install) | |
| # have dbus installed by default. | |
| cat /sys/class/dmi/id/product_uuid && exit | 
| if (!pm.collectionVariables.get("bearerToken") || Date.now() > new Date(pm.collectionVariables.get("bearerTokenExpiresOn") * 1000)) { | |
| pm.sendRequest({ | |
| url: 'https://login.microsoftonline.com/' + pm.collectionVariables.get("tenantId") + '/oauth2/token', | |
| method: 'POST', | |
| header: 'Content-Type: application/x-www-form-urlencoded', | |
| body: { | |
| mode: 'urlencoded', | |
| urlencoded: [ | |
| { key: "grant_type", value: "client_credentials", disabled: false }, | |
| { key: "client_id", value: pm.collectionVariables.get("clientId"), disabled: false }, |