No description
Find a file
Oliver Smith fca3e7d7ee
cross/crossdirect: fix "unsupported relocation"
Crossdirect redirects archivers (gz, bzip2, ...) to their native
versions when cross compiling. This works e.g. when extracting sources or
packing the .apks at the end of the build. But it currently fails when
such an archiver gets called during package().

For example with bootchart2:

  >>> bootchart2: Entering fakeroot...
  ...
  gzip -c bootchart2.1 > /home/pmos/build/pkg/bootchart2/usr/share/man/man1/bootchart2.1.gz
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 1
  Error relocating /native/usr/lib/libfakeroot.so: unsupported relocation type 6

Fix this by running the foreign arch version when it gets called in a
fakeroot.

Fixes: 8a7c9ce7 ("cross/crossdirect: run archivers natively too")
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7120>
2025-10-01 19:56:10 +02:00
.ci ci: apkbuild lint: allow all valid kconfigcheck categories 2025-10-01 12:11:05 +00:00
.githooks githooks: add docs prefix 2025-09-25 19:55:27 +00:00
.gitlab/issue_templates issue template: remove v24.12 (EOL) 2025-07-23 22:00:24 +02:00
.well-known well-known/funding-manifest-urls: new file (MR 6074) 2025-01-20 18:59:41 +01:00
cross cross/crossdirect: fix "unsupported relocation" 2025-10-01 19:56:10 +02:00
device linux-next: enable USB_SERIAL_SIMPLE 2025-10-01 14:48:49 +00:00
docs docs/merging-rules: update backporting information 2025-09-25 19:55:33 +00:00
extra-repos/systemd systemd/systemd-services: don't start hexagonrpcd-adsp-rootpd on devices with SDSP 2025-09-27 23:08:51 +02:00
main main/make3.81: remove 2025-10-01 17:22:12 +00:00
modem modem/rmtfs: upgrade to 1.1.1 2025-09-10 11:42:12 +00:00
temp temp/iio-sensor-proxy: upgrade to 3.8 2025-10-01 14:46:19 +00:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: Exclude temp from check (MR 4858) 2024-02-27 08:24:53 -08:00
.editorconfig editorconfig: add networkmanager.rules style (MR 5070) (MR 5563) 2025-01-10 13:02:31 +01:00
.gitignore docs: initial documentation for pmaports 2025-09-24 12:37:31 +02:00
.gitlab-ci.yml CI: dint: don't mark job as failed if only warnings were raised 2025-10-01 12:03:26 +00:00
.mailmap */*: update my email address 2025-08-09 12:10:16 +02:00
antora-test.yml docs: add review and merging guidelines specific to pmaports 2025-09-25 19:55:33 +00:00
channels.cfg channels.cfg: mark v24.21 as unsupported (EOL) 2025-07-23 21:59:49 +02:00
COMMITSTYLE.md COMMITSTYLE: update for systemd directory 2025-03-23 14:28:11 +01:00
kconfigcheck.toml kconfigcheck: enable USB simple serial console 2025-10-01 14:48:48 +00:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: add supported_usr_merge 2025-07-27 12:18:14 +02:00
README.md docs: add review and merging guidelines specific to pmaports 2025-09-25 19:55:33 +00:00

postmarketOS aports repository

This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.

There are many more packages defined in the Alpine Linux aports on which these packages depend.

Helpful resources:

Git Hooks

You can find some useful git hooks in the .githooks directory. To use them, run the following command after cloning this repository:

git config --local core.hooksPath .githooks