mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
Replace gitlab.com with gitlab.postmarketos.org (MR 2443)
Try to finish the migration by changing various links and texts to point to the new GitLab instance.
This commit is contained in:
parent
47dc493701
commit
3df0be358f
9 changed files with 15 additions and 13 deletions
|
@ -64,7 +64,7 @@ mr-settings:
|
||||||
before_script:
|
before_script:
|
||||||
- *global_before_scripts
|
- *global_before_scripts
|
||||||
- "apk -q add python3"
|
- "apk -q add python3"
|
||||||
- "wget -q 'https://gitlab.com/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'"
|
- "wget -q 'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'"
|
||||||
script:
|
script:
|
||||||
- "python3 ./check_mr_settings.py"
|
- "python3 ./check_mr_settings.py"
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ This is a reST style.
|
||||||
#### The `args` variable
|
#### The `args` variable
|
||||||
This contains the arguments passed to pmbootstrap, and some additional data.
|
This contains the arguments passed to pmbootstrap, and some additional data.
|
||||||
See `pmb/helpers/args.py` for details. This is a legacy construct, see
|
See `pmb/helpers/args.py` for details. This is a legacy construct, see
|
||||||
[#1879](https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1879).
|
[#1879](https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/1879).
|
||||||
|
|
||||||
#### Executing commands
|
#### Executing commands
|
||||||
Use one of the following functions instead of Python's built-in `subprocess`:
|
Use one of the following functions instead of Python's built-in `subprocess`:
|
||||||
|
|
|
@ -34,7 +34,7 @@ $ pytest -vv ./test/test_keys.py
|
||||||
## Issues
|
## Issues
|
||||||
|
|
||||||
Issues are being tracked
|
Issues are being tracked
|
||||||
[here](https://gitlab.com/postmarketOS/pmbootstrap/-/issues).
|
[here](https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
* Linux distribution on the host system (`x86`, `x86_64`, `aarch64` or `armv7`)
|
* Linux distribution on the host system (`x86`, `x86_64`, `aarch64` or `armv7`)
|
||||||
|
@ -42,7 +42,7 @@ Issues are being tracked
|
||||||
does **not** work! Please use [VirtualBox](https://www.virtualbox.org/) instead.
|
does **not** work! Please use [VirtualBox](https://www.virtualbox.org/) instead.
|
||||||
* [Linux kernel 3.17 or higher](https://postmarketos.org/oldkernel)
|
* [Linux kernel 3.17 or higher](https://postmarketos.org/oldkernel)
|
||||||
* Note: kernel versions between 5.8.8 and 6.0 might
|
* Note: kernel versions between 5.8.8 and 6.0 might
|
||||||
[have issues with parted](https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2309).
|
[have issues with parted](https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2309).
|
||||||
* Python 3.10+
|
* Python 3.10+
|
||||||
* For python3 < 3.11: tomli
|
* For python3 < 3.11: tomli
|
||||||
* OpenSSL
|
* OpenSSL
|
||||||
|
@ -52,7 +52,7 @@ Issues are being tracked
|
||||||
|
|
||||||
## Relation to pmaports
|
## Relation to pmaports
|
||||||
For pmbootstrap to be useful, it needs to maintain a local copy of the
|
For pmbootstrap to be useful, it needs to maintain a local copy of the
|
||||||
[pmaports](https://gitlab.com/postmarketOS/pmaports) repository where
|
[pmaports](https://gitlab.postmarketos.org/postmarketOS/pmaports) repository where
|
||||||
postmarketOS-specific packages are maintained. This is set up automatically, but
|
postmarketOS-specific packages are maintained. This is set up automatically, but
|
||||||
the local copy of pmaports does not automatically get updated. To update it, you
|
the local copy of pmaports does not automatically get updated. To update it, you
|
||||||
can run `$ pmbootstrap pull`.
|
can run `$ pmbootstrap pull`.
|
||||||
|
@ -117,7 +117,7 @@ $ pmbootstrap checksum hello-world
|
||||||
|
|
||||||
Generate a template for a new package:
|
Generate a template for a new package:
|
||||||
```
|
```
|
||||||
$ pmbootstrap newapkbuild "https://gitlab.com/postmarketOS/tinydm/-/archive/1.2.0/tinydm-1.2.0.tar.gz"
|
$ pmbootstrap newapkbuild "https://gitlab.postmarketos.org/postmarketOS/tinydm/-/archive/1.2.0/tinydm-1.2.0.tar.gz"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Default architecture
|
#### Default architecture
|
||||||
|
|
|
@ -34,6 +34,6 @@ Indices and tables
|
||||||
*Note:* This documentation is currently a work-in-progress, your feedback and contributions are very welcome!
|
*Note:* This documentation is currently a work-in-progress, your feedback and contributions are very welcome!
|
||||||
|
|
||||||
.. _postmarketOS-wiki: https://wiki.postmarketos.org/wiki/Main_Page
|
.. _postmarketOS-wiki: https://wiki.postmarketos.org/wiki/Main_Page
|
||||||
.. _issue-tracker: https://gitlab.com/postmarketOS/pmbootstrap/-/issues
|
.. _issue-tracker: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues
|
||||||
.. _repository: https://gitlab.com/postmarketOS/pmbootstrap/
|
.. _repository: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/
|
||||||
.. _Installation: https://wiki.postmarketos.org/wiki/Installation
|
.. _Installation: https://wiki.postmarketos.org/wiki/Installation
|
||||||
|
|
|
@ -40,7 +40,7 @@ Follow this section if your Linux distribution doesn't have pmbootstrap packaged
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
$ git clone --depth=1 https://gitlab.com/postmarketOS/pmbootstrap.git
|
$ git clone --depth=1 https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
|
||||||
$ mkdir -p ~/.local/bin
|
$ mkdir -p ~/.local/bin
|
||||||
$ ln -s "$PWD/pmbootstrap/pmbootstrap.py" ~/.local/bin/pmbootstrap
|
$ ln -s "$PWD/pmbootstrap/pmbootstrap.py" ~/.local/bin/pmbootstrap
|
||||||
$ pmbootstrap --version
|
$ pmbootstrap --version
|
||||||
|
|
|
@ -141,7 +141,9 @@ def main() -> int:
|
||||||
print_log_hint()
|
print_log_hint()
|
||||||
print()
|
print()
|
||||||
print("Before you report this error, ensure that pmbootstrap is " "up to date.")
|
print("Before you report this error, ensure that pmbootstrap is " "up to date.")
|
||||||
print("Find the latest version here:" " https://gitlab.com/postmarketOS/pmbootstrap/-/tags")
|
print(
|
||||||
|
"Find the latest version here: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tags"
|
||||||
|
)
|
||||||
print(f"Your version: {__version__}")
|
print(f"Your version: {__version__}")
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|
|
@ -300,7 +300,7 @@ UCLAMP_TASK = true # Scheduler hints
|
||||||
UCLAMP_TASK_GROUP = true # Scheduler hints
|
UCLAMP_TASK_GROUP = true # Scheduler hints
|
||||||
UHID = true # e.g. Bluetooth input devices
|
UHID = true # e.g. Bluetooth input devices
|
||||||
USB_STORAGE = true # USB mass storage devices
|
USB_STORAGE = true # USB mass storage devices
|
||||||
RT_GROUP_SCHED = false # https://gitlab.com/postmarketOS/pmaports/-/issues/2652
|
RT_GROUP_SCHED = false # https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2652
|
||||||
|
|
||||||
# uefi: proper modern booting
|
# uefi: proper modern booting
|
||||||
["category:uefi".">=0.0.0"."all"]
|
["category:uefi".">=0.0.0"."all"]
|
||||||
|
|
|
@ -17,7 +17,7 @@ def variables(args: PmbArgs, flavor: str, method: str):
|
||||||
|
|
||||||
# TODO Remove _partition_system deviceinfo support once pmaports has been
|
# TODO Remove _partition_system deviceinfo support once pmaports has been
|
||||||
# updated and minimum pmbootstrap version bumped.
|
# updated and minimum pmbootstrap version bumped.
|
||||||
# See also https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2243
|
# See also https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2243
|
||||||
|
|
||||||
_partition_kernel: str | None
|
_partition_kernel: str | None
|
||||||
_partition_rootfs: str | None
|
_partition_rootfs: str | None
|
||||||
|
|
|
@ -201,7 +201,7 @@ def chroot(args: PmbArgs) -> None:
|
||||||
"--install-blockdev is deprecated for the chroot command"
|
"--install-blockdev is deprecated for the chroot command"
|
||||||
" and will be removed in a future release. If you need this"
|
" and will be removed in a future release. If you need this"
|
||||||
" for some reason, please open an issue on"
|
" for some reason, please open an issue on"
|
||||||
" https://gitlab.com/postmarketOS/pmbootstrap.git"
|
" https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git"
|
||||||
)
|
)
|
||||||
size_boot = 128 # 128 MiB
|
size_boot = 128 # 128 MiB
|
||||||
size_root = 4096 # 4 GiB
|
size_root = 4096 # 4 GiB
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue