Commits on Source (13)
-
Caleb Connolly authored
Commit 826bb4f2 (pmb: Properly type Bootimg (MR 2464)) broke the bootimg_analyze command since some assumptions in whether the bootimg dictionary had empty keys or non-existent keys were changed without their usage being updated. Fix this and apply a trivial cleanup to aportgen. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
make sure that calls to get_upstream_remote() will succeed by setting pmb.config.git_repos() for the entire run. This might pollute some other tests... TODO: make less things depend on pmaports being cloned... Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Add some unit tests to ensure that the parser correctly detects boot images with header v0, 2, and 3. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Caleb Connolly authored
Add some tests to ensure that we spit out correct deviceinfo options for boot images of header v0, 2, and 3. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
Oliver Smith authored
This caused a regression in CI tests. This reverts commit b888ddde. Related: issue 2497
-
Oliver Smith authored
This caused a regression in CI tests. This reverts commit ae356031. Related: issue 2497
-
Oliver Smith authored
This caused a regression in CI tests. This reverts commit 6ee82740. Related: issue 2497
-
Oliver Smith authored
-
Oliver Smith authored
Use the nice @Cache decorator that Caleb introduced earlier.
-
Oliver Smith authored
Replace the boolean skip_extra_repos with a new with_extra_repos argument that can be default, enabled or disabled. This will be used to explicitly enable extra repos in a package search even if systemd is currently disabled, so we can display a hint when a package was not found because systemd is disabled in a follow-up patch.
-
Oliver Smith authored
If the user tries to build a package, but it can't be found: check if systemd is disabled and the package is in extra-repos/systemd, display a hint about it. $ pmbootstrap build systemd [17:33:53] NOTE: The package 'systemd' exists in extra-repos/systemd, but systemd is currently disabled [17:33:53] ERROR: Could not find aport for package: systemd Fixes: issue 2398
-
Oliver Smith authored
Replace aports -> pmaports in these messages. $ pmbootstrap build systemd [17:37:02] NOTE: The package 'systemd' exists in extra-repos/systemd, but systemd is currently disabled [17:37:02] ERROR: Could not find package 'systemd' in pmaports
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- pmb/aportgen/device.py 10 additions, 24 deletionspmb/aportgen/device.py
- pmb/build/_package.py 1 addition, 3 deletionspmb/build/_package.py
- pmb/config/other.py 2 additions, 2 deletionspmb/config/other.py
- pmb/conftest.py 3 additions, 0 deletionspmb/conftest.py
- pmb/core/pkgrepo.py 21 additions, 11 deletionspmb/core/pkgrepo.py
- pmb/core/test_pkgrepo.py 5 additions, 1 deletionpmb/core/test_pkgrepo.py
- pmb/helpers/package.py 1 addition, 4 deletionspmb/helpers/package.py
- pmb/helpers/pmaports.py 34 additions, 22 deletionspmb/helpers/pmaports.py
- pmb/helpers/ui.py 3 additions, 2 deletionspmb/helpers/ui.py
- pmb/parse/bootimg.py 6 additions, 6 deletionspmb/parse/bootimg.py
- pmb/types.py 1 addition, 0 deletionspmb/types.py