aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/fuchsia/README.md6
-rw-r--r--pkg/vcs/vcs.go4
-rw-r--r--pkg/vcs/vcs_test.go2
-rw-r--r--sys/fuchsia/fidl.txt2
-rw-r--r--sys/fuchsia/sys.txt2
5 files changed, 8 insertions, 8 deletions
diff --git a/docs/fuchsia/README.md b/docs/fuchsia/README.md
index 3c06cf704..d3e75b1ce 100644
--- a/docs/fuchsia/README.md
+++ b/docs/fuchsia/README.md
@@ -1,8 +1,8 @@
# Fuchsia support
For information about checking out and building Fuchsia see
-[Getting Started](https://fuchsia.googlesource.com/docs/+/master/getting_started.md)
-and [Soure Code](https://fuchsia.googlesource.com/docs/+/master/development/source_code/README.md).
+[Getting Started](https://fuchsia.googlesource.com/fuchsia/+/master/docs/getting_started.md)
+and [Soure Code](https://fuchsia.googlesource.com/fuchsia/+/master/docs/development/source_code/README.md).
Image needs to be configured with sshd support:
```
fx set x64 --packages garnet/packages/products/sshd
@@ -16,7 +16,7 @@ fx set arm64 --packages garnet/packages/products/sshd
fx full-build
```
-Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/zircon/+/HEAD/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below.
+Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below.
Once you updated the syscalls definitions, everything can be regenerated by running:
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go
index 8026bbfd5..77b919d4b 100644
--- a/pkg/vcs/vcs.go
+++ b/pkg/vcs/vcs.go
@@ -231,8 +231,8 @@ func link(url, hash string, typ int) string {
}
switch url {
case "https://fuchsia.googlesource.com":
- // We collect hashes from zircon repo.
- return link(url+"/zircon", hash, typ)
+ // We collect hashes from the fuchsia repo.
+ return link(url+"/fuchsia", hash, typ)
}
if strings.HasPrefix(url, "https://github.com/") {
url = strings.TrimSuffix(url, ".git")
diff --git a/pkg/vcs/vcs_test.go b/pkg/vcs/vcs_test.go
index aa7210bf6..b53f65a93 100644
--- a/pkg/vcs/vcs_test.go
+++ b/pkg/vcs/vcs_test.go
@@ -126,7 +126,7 @@ func TestCommitLink(t *testing.T) {
{
"https://fuchsia.googlesource.com",
"13ee3dc5e4c46bf127977ad28645c47442ec517d",
- "https://fuchsia.googlesource.com/zircon/+/13ee3dc5e4c46bf127977ad28645c47442ec517d^!",
+ "https://fuchsia.googlesource.com/fuchsia/+/13ee3dc5e4c46bf127977ad28645c47442ec517d^!",
},
{
"git://git.cmpxchg.org/linux-mmots.git",
diff --git a/sys/fuchsia/fidl.txt b/sys/fuchsia/fidl.txt
index 4a3a65cf4..37224af66 100644
--- a/sys/fuchsia/fidl.txt
+++ b/sys/fuchsia/fidl.txt
@@ -1,7 +1,7 @@
# Copyright 2018 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-# See https://fuchsia.googlesource.com/zircon/+/master/docs/fidl/wire-format/index.md
+# See https://fuchsia.googlesource.com/fuchsia/+/master/docs/development/languages/fidl/reference/wire-format/README.md
include <zircon/fidl.h>
diff --git a/sys/fuchsia/sys.txt b/sys/fuchsia/sys.txt
index 1fb885f03..9237dc649 100644
--- a/sys/fuchsia/sys.txt
+++ b/sys/fuchsia/sys.txt
@@ -1,7 +1,7 @@
# Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-# See https://fuchsia.googlesource.com/zircon/+/master/docs/syscalls.md
+# See https://fuchsia.googlesource.com/fuchsia/+/master/zircon/docs/syscalls.md
include <zircon/syscalls.h>
include <ddk/driver.h>