Piraty
d688ce55fc
Add support for rpi4
...
and take the split rpi-kernel packages into account,
see void-packages/4a02207f57
2021-05-10 19:24:35 +00:00
John Sullivan
011f3f579f
Add support for Pinephone (pinephone)
...
Support for creating a pinephone platformfs and live image.
Closes : #150 [via git-merge-pr]
2021-03-11 23:03:52 -08:00
q66
7d30d331eb
lib.sh.in/mkrootfs.sh.in: proper native platform detection
2021-03-05 01:43:00 +01:00
Michael Aldridge
aeabac5bac
lib.sh.in: Don't copy qemu into the chroot
2021-02-19 21:55:15 -08:00
Cameron Nemo
80f44ed81e
lib: use correct name for qemu binfmt
...
The qemu-user-static package installs binfmts with -static appended to
the name. Match that behavior here.
Closes : #169 [via git-merge-pr]
2021-02-19 21:07:27 -08:00
Piraty
61bc894f64
lib: determine qemu binary from target cpu string
2021-02-19 21:07:27 -08:00
Cameron Nemo
35209b255c
lib: install qemu binfmts less often
...
This change ensures that 32 bit architecture targets are created by
capable hosts without qemu.
Installing qemu binfmts was unnecessary for some targets and causing
issues.
Closes #168
2021-02-19 21:07:27 -08:00
Yi Zhang
649fd9ecc0
Check QEMU_BIN is not empty for cleanup_chroot, when building for same arch, QEMU_BIN would not be set, the condition fallsback to /usr/bin, which is executable
2021-02-16 22:39:59 +01:00
Michael Aldridge
59b4378348
mkplatformfs.sh.in: Drop support for obsolete platforms
2020-12-09 21:41:01 -08:00
Cameron Nemo
025d6d681a
lib: register binfmts for x86, better native detection
...
Add the magic/mask for i386 and x86_64 and register them when necessary.
Also adjust the native arch detection logic to allow (e.g.) building
aarch64* images on aarch64 without qemu installed.
2020-11-24 21:23:34 -08:00
Renato Aguiar
9e0584c9b3
Avoid copying qemu-static to rootfs
...
Use fix binary flag (F) to load binfmt interpreter (qemu-static) on
register, so it doesn't need to be copied to chroot.
This requires kernel >= 4.9.
2020-02-20 06:05:13 -08:00
Renato Aguiar
a7a20d50d3
Fix execution of post install scripts on cross builds
...
Add missing call to register_binfmt before installing packages on
mkrootfs.
2020-02-20 15:03:44 +01:00
Renato Aguiar
9b0805471a
Add support for Pinebook Pro (pinebookpro)
2020-02-20 13:00:52 +01:00
Duncan Overbruck
2b1aa4f45d
lib: make sure /tmp is there and mount it
2020-02-17 21:27:14 -08:00
q66
b795f541a6
mkrootfs: enable ppc64 + ppc-musl support
...
Closes : #26 [via git-merge-pr]
2019-05-25 13:30:54 -07:00
Enno Boland
1b0964cc82
lib.sh.in: fix tool checking.
2019-03-15 18:08:27 +01:00
Foxlet
4d81747387
mkrootfs: enable ppc support
2018-09-28 18:50:58 -07:00
Michael Aldridge
beaa74f4fc
Update remaining mirror references
2018-09-14 02:00:05 -07:00
Michael Aldridge
b4804a87fb
Support armv5tel based pogoplug devices
2017-10-03 23:22:27 -05:00
Michael Aldridge
20ce939c01
Build PLATFORMFS with Makefile
2017-08-16 22:43:06 -07:00
Michael Aldridge
3e5c8d43e7
Fix handling of i686 on an x64 host
2017-08-14 00:59:05 -07:00
Michael Aldridge
6e1d80b78b
Factor out architecture map
2017-08-13 17:44:25 -07:00
Michael Aldridge
119a0ad1b5
Add mkplatformfs.sh.in
2017-08-12 20:06:20 -07:00
Michael Aldridge
b531fae80b
Factor out tool check to lib.sh.in
2017-08-11 00:56:28 -07:00
Michael Aldridge
990287bbc2
lib.sh.in: add shebang to clear shellcheck error
2017-08-11 00:15:58 -07:00
Michael Aldridge
d6975a2793
QEMU interpreter must be registered at absolute path
2017-08-10 23:50:14 -07:00
Michael Aldridge
34bffe1e2a
Factor out chroot helpers to lib.sh
...
This commit removes all of the chroot refactor to a seperate file.
This paves the way to use these functions in all other scripts.
2017-08-10 23:28:26 -07:00