跳到正文
weld_

安装

要求、安装命令和第一步。每个脚本的哈希显示在命令旁:运行前请核对。

要求

Linux x86-64

  • TPM 2.0
  • 用户属于 tss 组,否则 ENR-005
  • Secret Service:GNOME Keyring 或 KWallet,否则 REL-TUF-001
  • git

登录需要任意设备上的浏览器。macOS 和 ARM 不在第一次发行中。

安装

核对哈希后运行。安装程序用短代码登录你的账户,并安装你的个人 weldctl 头程序。

Linux
curl -fsSLO https://weld.naasson.com/install.sh
echo "a13585cea11c3d7ff5f2af0cd142821eb6d199200d3518a164e790ff720bd4f3  install.sh" | sha256sum -c -
WELDCTL_INSTALL_SHA256=a13585cea11c3d7ff5f2af0cd142821eb6d199200d3518a164e790ff720bd4f3 sh install.sh

SHA-256 install.sha13585cea11c3d7ff5f2af0cd142821eb6d199200d3518a164e790ff720bd4f3

然后

<data-dir> 是设备项目的新目录,<device-name> 是设备名称,<grant-id> 来自 rights.json 或账户页面。

  1. 更新头程序。在激活之前进行。

    weldctl
    weldctl release update head upgrade --registry-url https://weld.naasson.com
  2. 把权限保存到文件。

    weldctl
    weldctl release update head rights --registry-url https://weld.naasson.com --out rights.json
  3. 注册设备。占用一个名额。

    weldctl
    weldctl release update head enroll --root <data-dir> --rights rights.json --name <device-name>
  4. 激活设备。

    weldctl
    weldctl release update head activate --root <data-dir> --edition installer --owner-grant-id <grant-id>
  5. 下载你的组合的主体。更新也通过同一命令获取。

    weldctl
    weldctl release update body fetch-remote --registry-url https://weld.naasson.com --root <data-dir>