Commits on Source (15)
-
-
Bart Ribbers authored
[ci:skip-build]: already built successfully in CI
-
-
Clayton Craft authored
Dropped in aports @ 3e7a2f54
-
Oliver Smith authored
Alpine's abuild runs build() without fakeroot, and package() with fakeroot. From the APKBUILD reference page in the Alpine wiki: > Note: Building in fakeroot will reduce performance for parallel > builds dramatically. It is for this reason that we split the build > and package process into two separate functions. Every now and then we see a package that tries to run a compiler (gcc, g++, clang, ...) during package() in the APKBUILD. This is a bug in the APKBUILD / build system of the program we are packaging. All compiling should be done during build(). Let crossdirect print the following when this happens: ============================================================================================ ERROR: crossdirect was called with: LD_PRELOAD=libfakeroot.so This means your package tried to run a compiler during package(). This is not supported by crossdirect, and usually not a good idea. * Try to fix your APKBUILD so it does not run the compiler during package(), only in build() * If you're using meson install, try to add '--no-rebuild' * If this is not possible, you can work around it by setting options="!pmb:crossdirect" (compilation will be slower!) ============================================================================================ Instead of: ERROR: crossdirect: can't handle LD_PRELOAD: libfakeroot.so Please report this at: https://gitlab.com/postmarketOS/pmaports/issues As a workaround, you can compile without crossdirect. In the past I've also tried to add 'strcmp(ldPreload, "libfakeroot.so") == 0' (pmaports MR 2231), and today I made the same patch. The current code looks like it would then work by just using libfakeroot.so from the native chroot, but it does not work. And as mentioned, if we hit this then we are compiling in package() which is something we should not do anyway! Fixes: pmb issue 2039 Related: pma issue 2351, pma MR 5738
-
This was only added recently, is likely not used by anyone, and introduces hard to resolve dependencies on /boot being mounted which we may not want in the future. Remove it to drop some complexity. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
We need to use ls to check if the hooks dir contains any hooks (otherwise the wildcard doesn't work). But ls prints an error if the dir is missing or empty. Hide the error to not pollute the log. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
-
We previously forked the initramfs into a minimal variant for highly space constrained devices, to allow the normal variant to gain additional functionality like the debug-shell (With OSK). Initially the hope was that only a handful of devices would need the minimal variant, but in practise this has not been the case. Trying to maintain two diverging forks of the initramfs is absoutely unsustainable and (to be frank) a bit silly. Based on discussion with craftyguy and newbyte, let's re-architect the initramfs to run in two stages, with the second stage being part of initramfs-extra. By itself this doesn't make a lot of sense, since requiring the boot partition be mounted for the debug-shell to be useful is a major downgrade. However this can be used in tandem with pending support for a new deviceinfo_create_initfs_extra variable, this is default false in mkinitfs which finally gets rid of initramfs-extra entirely for devices that don't need it. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org> Co-authored-by:
Clayton Craft <clayton@craftyguy.net>
-
device/*/*: enable deviceinfo_create_initfs_extra instead of depending on initramfs-minimal (MR 5636) Make use of the new multi-stage initramfs rather than the minimal variant, and inform mkinitfs that the initramfs-extra archive should be created to save space. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org> [ci:ignore-count]
-
Drop the fork, nothing depends on it and we can use the new multi-stage initramfs instead Signed-off-by:
Caleb Connolly <caleb@postmarketos.org> [ci:ignore-count] [ci:skip-vercheck]
-
Clayton Craft authored
Note: this includes a breaking change in pmaports if pmos-initramfs isn't changed to support merging the initramfs+initramfs-extra. Do not cherry-pick without the required initramfs changes!
-
make the logging nicer and remove some irrelevant errors. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org> Co-authored-by:
Clayton Craft <clayton@craftyguy.net>
-
-
importing all udev rules doesn't make sense here. Only add the needed ones. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org> Co-authored-by:
Clayton Craft <clayton@craftyguy.net> [ci:ignore-count] [ci:skip-build]: already built successfully in CI
-
[ci:skip-build]: already built successfully in CI
Showing
- cross/crossdirect/APKBUILD 3 additions, 3 deletionscross/crossdirect/APKBUILD
- cross/crossdirect/crossdirect.c 12 additions, 7 deletionscross/crossdirect/crossdirect.c
- device/archived/device-samsung-coreprimevelte-downstream/APKBUILD 4 additions, 4 deletions...rchived/device-samsung-coreprimevelte-downstream/APKBUILD
- device/archived/device-samsung-coreprimevelte-downstream/deviceinfo 1 addition, 0 deletions...hived/device-samsung-coreprimevelte-downstream/deviceinfo
- device/archived/device-samsung-lt01wifi-downstream/APKBUILD 3 additions, 4 deletionsdevice/archived/device-samsung-lt01wifi-downstream/APKBUILD
- device/archived/device-samsung-lt01wifi-downstream/deviceinfo 1 addition, 0 deletions...ce/archived/device-samsung-lt01wifi-downstream/deviceinfo
- device/archived/device-samsung-m0-downstream/APKBUILD 3 additions, 4 deletionsdevice/archived/device-samsung-m0-downstream/APKBUILD
- device/archived/device-samsung-m0-downstream/deviceinfo 1 addition, 0 deletionsdevice/archived/device-samsung-m0-downstream/deviceinfo
- device/community/device-google-oak/APKBUILD 2 additions, 3 deletionsdevice/community/device-google-oak/APKBUILD
- device/community/device-google-oak/deviceinfo 1 addition, 0 deletionsdevice/community/device-google-oak/deviceinfo
- device/community/device-google-peach-pit/APKBUILD 2 additions, 3 deletionsdevice/community/device-google-peach-pit/APKBUILD
- device/community/device-google-peach-pit/deviceinfo 1 addition, 0 deletionsdevice/community/device-google-peach-pit/deviceinfo
- device/community/device-google-snow/APKBUILD 2 additions, 3 deletionsdevice/community/device-google-snow/APKBUILD
- device/community/device-google-snow/deviceinfo 1 addition, 0 deletionsdevice/community/device-google-snow/deviceinfo
- device/community/device-google-x64cros/APKBUILD 3 additions, 4 deletionsdevice/community/device-google-x64cros/APKBUILD
- device/community/device-google-x64cros/deviceinfo 1 addition, 0 deletionsdevice/community/device-google-x64cros/deviceinfo
- device/community/device-samsung-m0/APKBUILD 3 additions, 4 deletionsdevice/community/device-samsung-m0/APKBUILD
- device/community/device-samsung-m0/deviceinfo 1 addition, 0 deletionsdevice/community/device-samsung-m0/deviceinfo
- device/community/linux-postmarketos-omap/APKBUILD 3 additions, 3 deletionsdevice/community/linux-postmarketos-omap/APKBUILD
- device/community/linux-postmarketos-omap/config-postmarketos-omap.armv7 65 additions, 891 deletions...ty/linux-postmarketos-omap/config-postmarketos-omap.armv7
This diff is collapsed.