Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Specific part of the log for the question:
- + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/x2/obj/KERNEL_OBJ/.config
- WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid
- It is unset
- Allowed values : y, !
- Comment says: Required by hybris, SELinux needs to be disabled. Leave as not set, if you have unset AUDIT (read more about the CONFIG_AUDIT flag)
- It is right. It's not in ./out/target/product/x2/obj/KERNEL_OBJ/.config, but it is in my ./kernel/leeco/msm8996/arch/arm64/configs/lineage_x2_defconfig . By itself I would take this as a sign that that file is not being processed. But you'll see there are a lot of settings there that did have effect.
- Stuff I've added ./kernel/leeco/msm8996/arch/arm64/configs/lineage_x2_defconfig after trying to fix errors
- # Stuff derived from rpm/dhd/helpers/build_packages.sh - These applied.
- CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_NET_CLS_CGROUP=y
- CONFIG_VT=y
- CONFIG_BT_HCIUART=y
- CONFIG_IKCONFIG_PROC=y
- CONFIG_BT_HCIUART_H4=y
- CONFIG_NETFILTER_NETLINK_ACCT=y
- CONFIG_AUDIT=n
- CONFIG_CGROUP_DEVICE=y
- CONFIG_PID_NS=y
- CONFIG_ANDROID_LOW_MEMORY_KILLER=n
- CONFIG_DUMMY=n
- CONFIG_CGROUP_PERF=y
- CONFIG_IPC_NS=y
- CONFIG_CHECKPOINT_RESTORE=y
- CONFIG_FANOTIFY=y
- CONFIG_FHANDLE=y
- CONFIG_NLS_UTF8=y
- CONFIG_DEVTMPFS=y
- CONFIG_AUTOFS4_FS=y
- CONFIG_UTS_NS=y
- CONFIG_NETFILTER_XT_MATCH_NFACCT=y
- CONFIG_BLK_CGROUP=y
- CONFIG_FW_LOADER_USER_HELPER=n
- # Stuff re-reported in a subsequent run - These did not apply.
- CONFIG_SECURITY_SELINUX_BOOTPARAM=y
- CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0
- CONFIG_WATCHDOG_NOWAYOUT=y
- CONFIG_HOTPLUG=y
- CONFIG_CGROUP_MEM_RES_CTLR=y
- CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
- CONFIG_CGROUP_MEM_RES_CTLR_KMEM=y
- CONFIG_RTC_DRV_CMOS=y
- CONFIG_NETPRIO_CGROUP=y
- CONFIG_LBDAF=y
- Full log:
- Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F9F90L
- + umask 022
- + cd /home/ksandom/mer/android/droid
- + LANG=C
- + export LANG
- + unset DISPLAY
- + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
- + export CFLAGS
- + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
- + export CXXFLAGS
- + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -I/usr/lib/gfortran/modules'
- + export FFLAGS
- + LD_AS_NEEDED=1
- + export LD_AS_NEEDED
- + echo _target_cpu is armv7hl
- _target_cpu is armv7hl
- + rm -rf tmp
- + mkdir tmp
- + echo Verifying kernel config
- Verifying kernel config
- + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/x2/obj/KERNEL_OBJ/.config
- WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid
- It is unset
- Allowed values : y, !
- Comment says: Required by hybris, SELinux needs to be disabled. Leave as not set, if you have unset AUDIT (read more about the CONFIG_AUDIT flag)
- WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
- It is unset
- Allowed values : y, !
- Comment says: If device uses watchdogs with dsme (https://github.com/nemomobile/dsme), this option should be enabled or watchdog does not protect the device in case dsme crashes.
- ERROR: CONFIG_HOTPLUG is invalid
- It is unset
- Allowed values : y
- Comment says: systemd: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2
- WARNING: CONFIG_CGROUP_MEM_RES_CTLR is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
- WARNING: CONFIG_RTC_DRV_CMOS is invalid
- It is unset
- Allowed values : y, !
- Comment says: optional, but highly recommended
- WARNING: CONFIG_NETPRIO_CGROUP is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
- WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
- WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
- 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
- error: Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
- Output on the command line:
- $ rpm/dhd/helpers/build_packages.sh
- * Building rpm/droid-hal-x2.spec
- WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
- WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid
- It is unset
- Allowed values : y, !
- Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
- 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
- error: Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
- * Check /home/ksandom/mer/android/droid/droid-hal-x2.log for full log.
- !! building of package failed
Add Comment
Please, Sign In to add comment