1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-12 19:09:56 +03:00

Update systemd repo URL

Now that systemd was merged into master, it is extra-repos/systemd
instead of staging/systemd.

As of writing, the repository is not published yet but this will happen
soon.

Related: https://postmarketos.org/edge/2025/01/09/systemd-soon/
This commit is contained in:
Oliver Smith 2025-01-10 19:48:06 +01:00
parent 89210e42fc
commit eb34843f4b
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 5 additions and 6 deletions

View file

@ -20,12 +20,14 @@ mirrors at [mirrors.alpinelinux.org](https://mirrors.alpinelinux.org) and
```
$ pmbootstrap config mirrors.alpine http://uk.alpinelinux.org/alpine/
$ pmbootstrap config mirrors.pmaports http://postmarketos.craftyguy.net/
$ pmbootstrap config mirrors.systemd http://postmarketos.craftyguy.net/extra-repos/systemd/
```
Reset to default works as with all config options:
```
$ pmbootstrap config -r mirrors.alpine
$ pmbootstrap config -r mirrors.pmaports
$ pmbootstrap config -r mirrors.systemd
```
### Disable the postmarketOS mirror
@ -49,4 +51,5 @@ you want to use in addition to the postmarketOS binary package repository.
```
$ pmbootstrap config mirrors.pmaports_custom http://custom-repository-here
$ pmbootstrap config mirrors.systemd_custom http://custom-repository-here/extra-repos/systemd
```

View file

@ -580,11 +580,7 @@ def ask_for_additional_options(config: Config) -> None:
if pmb.helpers.cli.confirm("Change mirror?", default=False):
mirror = ask_for_mirror()
config.mirrors["pmaports"] = mirror
# FIXME: this path will change once the systemd repository is
# integrated into bpo (fixing this is a tasks in bpo#140)
# FIXME: when updating this, also add 'pmbootstrap config mirrors.systemd'
# examples to docs/mirrors.md
config.mirrors["systemd"] = os.path.join(mirror, "staging/systemd/")
config.mirrors["systemd"] = os.path.join(mirror, "extra-repos/systemd/")
def ask_for_mirror() -> str:

View file

@ -69,7 +69,7 @@ class Config:
"pmaports_custom": "none",
"pmaports": "http://mirror.postmarketos.org/postmarketos/",
"systemd_custom": "none",
"systemd": "http://mirror.postmarketos.org/postmarketos/staging/systemd/",
"systemd": "http://mirror.postmarketos.org/postmarketos/extra-repos/systemd/",
}
qemu_redir_stdio: bool = False
ssh_key_glob: str = "~/.ssh/*.pub"