Usage: fserve [options]
-bucket string
Specify the GCS bucket for the prebuilt packages.
-clean
Cleans the package repository first.
-data-path string
Specifies the data path for SDK tools. Defaults to $HOME/.fuchsia.
-device-ip string
Serves packages to a device with the given device ip address. Cannot be used with --device-name."
If neither --device-name nor --device-ip are specified, the device-name configured using ffx is used.
-device-name string
Serves packages to a device with the given device hostname. Cannot be used with --device-ip."
If neither --device-name nor --device-ip are specified, the device-name configured using ffx is used.
-get-package-repo-path
Prints the package-repo path for the specific device. Doesn't start the package server.
-help
Show the usage message
-image string
Specify the GCS file name for prebuild packages.
-kill
Kills any existing package manager server.
-level value
Output verbosity, can be fatal, error, warning, info, debug or trace. (default info)
-name string
Name is used as the update channel identifier, as reported by fuchsia.update.channel.Provider. (default "devhost")
-package-archive string
Specify the source package archive in .tgz or directory format. If specified, no packages are downloaded from GCS.
-persist
Persist repository metadata to allow serving resolved packages across reboot.
-prepare
Downloads any dependencies but does not start the package server.
-private-key string
Uses additional private key when using ssh to access the device.
-repo-dir string
Specify the path to the package repository.
-server-port string
Port number to use when serving the packages.
-sshconfig string
Use the specified sshconfig file instead of fssh's version.
-version string
SDK Version to use for prebuilt packages.
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-01-16。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]