Tiny Core Base > TCB Talk

binfmt_misc

<< < (3/3)

Juanito:
In the end I gave it a go...

Building binfmt_misc as a module gave missing symbol errors even though it had no deps as per modinfo.

Building binfmt_misc into the kernel seems to work:
--- Code: ---sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
--- End code ---
..but I didn't try anything but this.


--- Code: ---tce-load -i compiletc perl5 bash bc ncursesw-dev elfutils-dev

wget http://tinycorelinux.net/16.x/x86/release/src/kernel/linux-6.12.11-patched.tar.xz
wget http://tinycorelinux.net/16.x/x86/release/src/kernel/config-6.12.11-tinycore

tar xf linux-6.12.11-patched.tar.xz

cd linux-6.12.11

make mrproper

cp ../config-6.12.11-tinycore ./.config
make oldconfig

make menuconfig

Executable file formats ---> Kernel support for MISC binaries ---> *

make bzImage [38m 53.87s]

--- End code ---

Juanito:
If you'd like to test, download this: http://tinycorelinux.net/16.x/x86/release/distribution_files/binfmt_misc/bzImage

..and temporarily replace vmlinuz in your bootloader config with bzImage

Navigation

[0] Message Index

[*] Previous page

Go to full version