Skip to content

Commit 1a09c48

Browse files
peterwwillisbbhtt
andauthored
Update 05-submission.md to add missing command (#376)
* Update 05-submission.md to add missing command This fixes a problem with the instructions. If you follow them as stated (as I did), when you go to build the manifest, you will get an error: error: No remote refs found for ‘flathub’ Error installing deps: running `flatpak --user install -y --noninteractive flathub org.kde.Sdk/x86_64/5.15-23.08`: Child process exited with code 1 The repo already was added system wide, and adding it again did not change the error. Adding the repo with the --user flag allowed the build command to continue. * Update docs/02-for-app-authors/05-submission.md Co-authored-by: bbhtt <bbhtt.zn0i8@slmail.me> --------- Co-authored-by: bbhtt <bbhtt.zn0i8@slmail.me>
1 parent 2724652 commit 1a09c48

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/02-for-app-authors/05-submission.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ flatpak install -y flathub org.flatpak.Builder
2121

2222
### Build and install
2323

24+
Add the Flathub repo user-wide:
25+
26+
```bash
27+
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
28+
```
29+
30+
Then build your manifest:
31+
2432
```bash
2533
flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=repo builddir <manifest>
2634
```

0 commit comments

Comments
 (0)