I have tried to compile CE 19 and 20 but I always end up with this. I assume I am missing something but I can’t figure out what it is.
Can anyone help me?
Program check-filesystems.sh found: YES (/home/martin/CoreELEC/build.CoreELEC-Amlogic-ng.arm-20/build/systemd-250.3/src/basic/check-filesystems.sh)
../src/basic/meson.build:389:8: ERROR: Problem encountered: found unknown filesystem(s) defined in kernel headers:
Filesystem found in kernel header but not in filesystems-gperf.gperf: SDCARDFS_SUPER_MAGIC
A full log can be found at /home/martin/CoreELEC/build.CoreELEC-Amlogic-ng.arm-20/build/systemd-250.3/.armv8a-libreelec-linux-gnueabihf/meson-logs/meson-log.txt
FAILURE: scripts/build systemd:target during configure_target (default)
*********** FAILED COMMAND ***********
CC="${HOST_CC}" CXX="${HOST_CXX}" meson ${TARGET_MESON_OPTS} --cross-file=${MESON_CONF} ${PKG_MESON_OPTS_TARGET} ${PKG_MESON_SCRIPT%/*}
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
**************************************
FAILURE: scripts/install systemd:target has failed!
With CE 19 and 20 and LE 10 and 11 it is nice to have a singe sources folder that I can copy in before starting the build. I did copy in the source from LE to move on. So the question remains should I be able to run make image without running make first?
--- a/src/basic/check-filesystems.sh 2022-02-01 21:47:06.181142404 +0100
+++ b/src/basic/check-filesystems.sh 2022-02-01 21:45:58.760989671 +0100
@@ -23,7 +23,8 @@ for fs in $($cpp -dM $includes - </dev/n
# STACK_END_MAGIC doesn't refer to a filesystem
# mtd_inode was removed in 2015
# futexfs was removed in 2018
- if [[ "$fs" =~ ^(STACK_END_MAGIC|MTD_INODE_FS_MAGIC|FUTEXFS_SUPER_MAGIC)$ ]]; then
+ # sdcardfs is Android thing
+ if [[ "$fs" =~ ^(STACK_END_MAGIC|MTD_INODE_FS_MAGIC|FUTEXFS_SUPER_MAGIC|SDCARDFS_SUPER_MAGIC)$ ]]; then
continue
fi
echo "Filesystem found in kernel header but not in $(basename "$filesystems_gperf"): $fs";
I don’t know wher your b3419ba0a1a2dd70f1bb6236afdfe1c6e88c9ad4264198b289e3bba9375e077cecf7f89848c7b09debaa445327f3507101f3 is coming from. Maybe you have not uptodate sources?
In 20 is there a change to how I modify the kernel configuration? Changes to linux.aarch64.conf aren’t being respected or I don’t know how to clean the kernel. This worked fine in 19
# modify projects/Amlogic-ce/devices/Amlogic-ng/linux/linux.aarch64.conf
# clean linux
./scripts/clean linux
# build linux
./scripts/build linux
# make image
make
Actually cleaning linux is not even needed because after changing kernel config file linux package will be rebuild automatically.