Fix onboard BLE admission and stage wireless device enrollment
This commit is contained in:
@@ -20,7 +20,7 @@ Removing the optional package preserves recordings, journals and material.
|
||||
## Private autonomous installer
|
||||
|
||||
The public code package contains no key. The private edition
|
||||
`0.1.0+private.1` carries the reviewed application material in one root-owned
|
||||
`0.1.1+private.1` carries the reviewed application material in one root-owned
|
||||
mode-0600 member. The resulting `.deb` is itself private (mode 0600); distribute
|
||||
it only as the owner's prepared installer, never through Git or a public
|
||||
package registry. File permissions on the installed member do not encrypt the
|
||||
@@ -40,7 +40,7 @@ Building the private edition reads the material only from protected stdin:
|
||||
```text
|
||||
python plugins/xgrids-k1/packaging/build_deb.py
|
||||
--wheel-root <reviewed-wheel-cache>
|
||||
--output <private-output-directory>/mission-core-xgrids-k1_0.1.0+private.1_amd64.deb
|
||||
--output <private-output-directory>/mission-core-xgrids-k1_0.1.1+private.1_amd64.deb
|
||||
--private-authority-stdin
|
||||
```
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ from credential_install import PROFILE_ID, validate # noqa: E402
|
||||
from debian import package # noqa: E402
|
||||
from runtime_payload import files as runtime_files # noqa: E402
|
||||
|
||||
VERSION = "0.1.0"
|
||||
VERSION = "0.1.1"
|
||||
RESOURCES = (
|
||||
"plugins/xgrids-k1/profile_loader.py",
|
||||
"plugins/xgrids-k1/plugin.manifest.json",
|
||||
|
||||
@@ -3,8 +3,8 @@ set -eu
|
||||
mc_release_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
cd "$mc_release_dir"
|
||||
/usr/bin/sha256sum --check SHA256SUMS
|
||||
mc_node_package="$mc_release_dir/mission-core-node_0.8.0_amd64.deb"
|
||||
mc_k1_package="$mc_release_dir/mission-core-xgrids-k1_0.1.0+private.1_amd64.deb"
|
||||
mc_node_package="$mc_release_dir/mission-core-node_0.8.1_amd64.deb"
|
||||
mc_k1_package="$mc_release_dir/mission-core-xgrids-k1_0.1.1+private.1_amd64.deb"
|
||||
if [ -t 0 ]; then
|
||||
exec /usr/bin/sudo /usr/bin/apt-get install -y "$mc_node_package" "$mc_k1_package"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user