Hi,
I’m trying to create a port for Google Pixel 3a XL using a Lineage OS 19.1 branch as the base. However, I ran into some problems with building the kernel as well as the building the .spec.
I’ve been following this guide and I’m stuck on section 7.2.1 of the accompanying PDF. Here is what I’m getting:
$ rpm/dhd/helpers/build_packages.sh --droid-hal
* Building rpm/droid-hal-bonito.spec
WARNING: CONFIG_LBDAF is invalid
It is unset
Allowed values : y, !
Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4, not needed for 64bit architectures
ERROR: CONFIG_NETFILTER_XT_MATCH_QTAGUID is invalid
It is unset
Allowed values : y, m, <=4.13.0
Comment says: connman: for iptables owner/qtaguid match, deprecated after Android Q, non-mainline feature https://android.googlesource.com/kernel/configs/+/189cbab05f8680af3778b82a0b899485773e42e9%5E%21/android-4.14/android-base.config
WARNING: CONFIG_FW_LOADER_USER_HELPER is invalid
Value is: y
Allowed values : n, !
Comment says: it's actually needed by some Lollipop based devices; systemd(optional): https://github.com/systemd/systemd/blob/v238/README
error: Bad exit status from /var/tmp/rpm-tmp.QiJ4aV (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.QiJ4aV (%build)
* Check /home/bud/hadk/droid-hal-bonito.log for full log.
!! building of package failed
I do realize that CONFIG_NETFILTER_XT_MATCH_QTAGUID is needed when I built the kernel but according to this, it seems that this module was removed from the kernel.
My question is, is there any way to bypass this error and continue with the build?