Commit graph

75 commits

Author SHA1 Message Date
Daniele Debernardi
bbc4b6bbfe
cross/musl-armhf cross/musl-aarch64 cross/musl-x86_64: Update aports to 1.1.20-r2 2018-09-21 23:00:59 +02:00
Martijn Braam
23ba0dd94c cross/musl-x86_64: Update aports to 1.1.20-r0 2018-09-08 01:02:15 +02:00
Martijn Braam
c4132e6e37 cross/musl-armhf cross/musl-aarch64: Update aports to 1.1.20-r0 2018-09-08 00:57:53 +02:00
Oliver Smith
cf979e773a cross/binutils-*: update to upstream (2.31.1-r0) 2018-08-22 23:46:33 +02:00
Martijn Braam
feae03d4f1 aports: Updated busybox-static-aarch64 to 1.28.4-r2 for upstream compatability 2018-08-13 02:23:00 +02:00
Martijn Braam
da07c7ff06 aports: Updated busybox-static to 1.28.4-r2 for upstream compatability 2018-08-12 22:07:17 +02:00
Oliver Smith
0e65b1bff8 pmb: qemu-user-static from aport, not from Debian
Overview:
In order to execute foreign arch binaries on the host system, we are
using the Linux kernel's binfmt_misc feature in combination with
static builds of QEMU. Before this patch, the statically compiled
QEMU binaries were taken from Debian (mostly because I did not realize
that Alpine ships them as well). Now we can use the ones from the aport.

Benefits:
This allows us to easily update and patch the QEMU executables, we
don't need to be in sync with Debian's versions anymore.

Alpine's package is more modular, so we can save some download,
install, zap time, as well as disk space: setting up an armhf chroot
with pmbootstrap took ~102 MB before, now it's ~18 MB.

Detailed changes:
* Remove `cross/qemu-user-static-repack` aport
* Add `data/qemu-user-binfmt.txt` with the binfmt_misc flags for ELF
  binaries of various arches (extracted from Debian's packaging)
* When parsing that file, don't write verbose messages to
  `pmbootstrap log` anymore, only to the verbose log (can be enabled
  with `pmbootstrap -v`)
* Rename `pmb.parse.arch.alpine_to_debian()` to ...`alpine_to_qemu()`
* Rename `arch_debian` to `arch_qemu`
2018-08-10 15:11:21 +00:00
Oliver Smith
c6c8172efa cross/busybox-static-*: update to 1.28.4-r1 2018-07-22 23:17:19 +02:00
Oliver Smith
6ea553a178 cross/musl-*: update to 1.1.19-r10 2018-06-20 00:59:31 +02:00
Oliver Smith
9acbdf3175 cross/musl: update to 1.1.19-r9 2018-06-16 07:25:51 +02:00
Oliver Smith
df7ad599f1 cross/binutils-*: update to 2.30-r5 2018-06-13 02:07:07 +02:00
Oliver Smith
c4c135251a cross/binutils-*: update to 2.30-r4 2018-06-07 08:00:36 +02:00
Oliver Smith
39d62928cb cross/busybox-static-*: update to 1.28.4-r0 2018-05-30 23:44:35 +02:00
Oliver Smith
8e0f2aa4c5 cross/busybox-static-*: update to 1.28.3-r1 2018-05-28 23:51:35 +02:00
Oliver Smith
392318c1b8 cross/musl-*: update to upstream (1.1.19-r8) 2018-05-25 00:36:04 +02:00
Oliver Smith
1ed23588a3 cross/binutils-*: update to 2.30-r2 2018-05-20 20:39:56 +02:00
Oliver Smith
d20a4806d9 cross/busybox-static-*: update to 1.28.3-r0 2018-05-14 23:46:37 +02:00
Oliver Smith
a6d89192ce gcc-*: fix compiling in strict mode [skip ci] (#1468)
Due to changes in abuild, our `gcc-armhf` etc. packages did not build
when using strict mode (i.e. `pmbootstrap build --strict gcc-armhf`)
anymore.

Changes:
* Set `CBUILDDIR=/`, so apk can read a valid package index from there
* Directly set `_cross_configure`, so it does not use CBUILDDIR anymore
* Set `BOOTSTRAP="nobuildbase"` to prevent apk from installing
  `build-base-armhf` etc. (these don't exist in pmOS)
* Remove legacy code for lazy reproducible builds that wrapped
  `package()`
2018-05-13 18:30:02 +00:00
Oliver Smith
ce8475d6aa cross/binutils-*: update to upstream (2.30-r1) 2018-05-08 01:41:27 +02:00
Oliver Smith
c5f689d154 gcc-*: fix download URLs
Fix inherited from upstream by running 'pmbootstrap aportgen gcc-...'
again.
2018-05-06 11:36:37 +02:00
Oliver Smith
eb709f2450 Update binutils-* to upstream (2.30-r0) 2018-05-03 21:14:30 +02:00
Martijn Braam
471391afb8 Updated gcc-armhf, gcc-aarch64 and gcc-x86_64 to r8 (#1456) 2018-05-01 15:17:32 +02:00
Oliver Smith
97f94c593e Update musl-* to upstream (1.1.19-r7) 2018-04-11 23:45:58 +02:00
Oliver Smith
386dec5c1a Update musl-* to upstream (1.1.19-r6) 2018-04-10 22:18:07 +02:00
Decatf
eb6b3d22fe Update busybox-static-* to upstream (1.28.2-r3) (#1387) 2018-04-02 23:33:34 +02:00
Oliver Smith
eedbcf05d3 musl-*: use default Alpine mirror
Otherwise the test/test_aportgen.py case fails.
2018-03-31 20:46:39 +02:00
Oliver Smith
da846f1441 Update musl-* to upstream (1.1.19-r4) 2018-03-31 17:27:49 +02:00
Oliver Smith
25b2af90c7 Update musl-* to upstream (1.1.19-r3) 2018-03-30 23:46:45 +02:00
Oliver Smith
3ff97e906c Update busybox-static-* to upstream (1.28.2-r1) 2018-03-30 18:48:51 +02:00
Oliver Smith
e6f9e31426 Update musl-* to upstream (1.1.19-r2) 2018-03-30 18:07:04 +02:00
Oliver Smith
c300dde6a4 Update busybox-static-* to upstream (1.28.2-r0) 2018-03-28 19:35:33 +02:00
Oliver Smith
afa759414d Update busybox-static-* to upstream (1.28.1-r1) 2018-03-24 12:16:23 +01:00
Oliver Smith
d2dda897da Update busybox-static-* to upstream (1.28.1-r0) 2018-03-11 15:06:27 +01:00
Oliver Smith
fcc96b0f2d Update musl-* to upstream (1.1.19-r1) 2018-03-07 23:33:47 +01:00
Oliver Smith
7581bc0858 Update gcc-* to upstream: 6.4.0-r7 2018-02-27 23:24:21 +01:00
Oliver Smith
6fb1fd4f97 Update musl-* to upstream (1.1.19-r0) 2018-02-22 23:44:37 +01:00
Oliver Smith
e80811fa0b Bump musl-* to upstream (1.1.18-r8) 2018-02-21 19:46:06 +01:00
Oliver Smith
4b71aa8525 Update musl-* to upstream (1.1.18-r7) 2018-02-10 19:07:17 +01:00
Oliver Smith
a224919712 Update musl-* to upstream (1.1.18-r6) 2018-02-03 11:58:04 +01:00
Oliver Smith
163564f0e6 Update busybox-static-* to upstream (1.27.2-r8) 2018-01-29 20:01:24 +01:00
Daniele Debernardi
1eb6b7cbd7 Allow to build musl/binutils/gcc for x86 architecture (#1150) 2018-01-23 00:26:33 +00:00
Oliver Smith
017f0b4c3e Don't compile cross-compiler packages for the host arch
Example: Building gcc-armhf for armhf does not make sense, so this
commit changes arch="all" to arch="aarch64 x86_64". This helps to
simplify the repository scripts (#970).
2018-01-20 19:17:23 +01:00
Daniele Debernardi
de21e03333 Add qemu-user-static-repack all architectures (#1136)
Also don't build "-repack" packages in native chroot anymore.
This was a legacy hack, which has no use anymore, and it prevented
the package from being built for different architectures.
2018-01-19 21:30:16 +00:00
Daniele Debernardi
efc7fc9c57 Add musl/binutils/gcc for cross-compiling to x86_64 (#1130) 2018-01-18 21:48:04 +00:00
Oliver Smith
5f24a4447d Update musl-* to upstream (1.1.18-r5) 2018-01-06 15:37:50 +01:00
Oliver Smith
26304f0ef4 Update gcc-* to upstream 6.4.0-r6 2017-12-26 16:37:21 +01:00
Oliver Smith
672f15b68b Update musl-* to upstream (1.1.18-r3) 2017-12-21 17:55:26 +01:00
Oliver Smith
7589ce632a ccache: Fix for distcc cross-compiling / various improvements (#1026)
* ccache: Fix for distcc cross-compiling / various improvements

* Make ccache work when cross-compiling with distcc (fix #716)
* Allow to configure the ccache size in "pmbootstrap init"
* Moved ccache stats code from pmb/build/other.py to
  pmb/helpers/frontend.py
* Grouped job count, ccache size and timestamp based rebuilds
  together to "build options" and allow to skip them
* Sorted config options that had to be modified anyway
  alphabetically

* Improve comment in arch-bin-masquerade APKBUILD
2017-12-21 16:42:29 +00:00
Oliver Smith
157ecd3d67 Update busybox-static-* to upstream (1.27.2-r7) 2017-12-16 01:12:58 +01:00
Anton Lazarev
15c4e9f725 update qemu-user-static-repack (#1006) 2017-12-14 20:35:36 +00:00