linux-google-veryron: enable binfmt_misc as kernel module (MR 4115)

This allows the user (upon loading the module) to handle non-native
binaries transparently - after registering the magic number and the
command for handling execution, the programs can be ran as if compiled
for the host architecture. (Similarly how the shebang line allows
the interpreter to be specified for scirpts).

Common use-cases include

* Using qemu user-space emulation to run
  x86 binaries on ARM (or the other way around), or simply running
  64-bit binaries on 32-bit architectures.
* Allow Java programs to be run transparently.
* Creating cross-architecture chroots (for cross-compilation e.g.)
This commit is contained in:
Daniel Fancsali 2023-05-24 23:31:53 +01:00 committed by Bart Ribbers
parent d6423db84d
commit 0b854b4ec6
No known key found for this signature in database
GPG key ID: 1C09227F48171EA4
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=linux-google-veyron
pkgver=6.1.27
pkgrel=0
pkgrel=1
pkgdesc="Mainline kernel for Google Veyron devices"
arch="armv7"
_carch="arm"
@ -68,7 +68,7 @@ package() {
sha512sums="
657c241c8e4d62dabf7f1789c342352f757655129b8b21d92d3a90859d24f5f05f33aa39491851f690f7d9b0ba9234c47907ae05e1cb32a8d00fcf11ff71c61b linux-6.1.27.tar.xz
550c4faf029e2daee780a191f778092a588f66852ea8d5151760429cdc35cdcf400d08fb0bab2d6e79218a4f14f7548215d4bd4c5b05f48d4f1c465652dc4b5a config-google-veyron.armv7
63b6de9b4a96ceab456d8ab77bf26d4b89704c71da2191b91454c4302b49390ea963fa8f2af14448c1dd605b635f9ebde480e9586fb76d7101d67b48bda10105 config-google-veyron.armv7
2912c675c1e07f7e91e2edcaa82738643907ed46614e4b871565930ff4ffece468d47db7905c2c081f936c020ea78db4a9d9f33b76c110125a0e68a1bd57f9fd veyron.better_clock_selection_logic_and_dts_rate_list.patch
b16da0e0b1da9f074a773300e954aa5e0da6c2113e20c0b594a7a4875e9addb10efcf5be694467fb00cd8d7c2e3cc83e6d7aac618047775dc0bb354245cf7c35 veyron.dts_allow_dedicating_npll_to_vop.patch
b7bda162526abdb61c0223f1aac31893526d3d1d21d79ebd3e707be8d9b5dc464f6b4fa20b74444c44fda987352728433913f6f50b9b860c2621d11ae2306e1b veyron.dts_do_dedicate_npll_to_vop.patch

View file

@ -891,7 +891,7 @@ CONFIG_BINFMT_SCRIPT=y
CONFIG_ARCH_HAS_BINFMT_FLAT=y
# CONFIG_BINFMT_FLAT is not set
CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y
# CONFIG_BINFMT_MISC is not set
CONFIG_BINFMT_MISC=m
CONFIG_COREDUMP=y
# end of Executable file formats