Guest User

WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid

a guest
Jun 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Unicon 5.67 KB | None | 0 0
  1. Specific part of the log for the question:
  2. + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/x2/obj/KERNEL_OBJ/.config
  3. WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid
  4. It is unset
  5. Allowed values : y, !
  6. 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)
  7.  
  8.  
  9. 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.
  10.  
  11.  
  12. Stuff I've added ./kernel/leeco/msm8996/arch/arm64/configs/lineage_x2_defconfig after trying to fix errors
  13. # Stuff derived from  rpm/dhd/helpers/build_packages.sh - These applied.
  14. CONFIG_DEVTMPFS_MOUNT=y
  15. CONFIG_NET_CLS_CGROUP=y
  16. CONFIG_VT=y
  17. CONFIG_BT_HCIUART=y
  18. CONFIG_IKCONFIG_PROC=y
  19. CONFIG_BT_HCIUART_H4=y
  20. CONFIG_NETFILTER_NETLINK_ACCT=y
  21. CONFIG_AUDIT=n
  22. CONFIG_CGROUP_DEVICE=y
  23. CONFIG_PID_NS=y
  24. CONFIG_ANDROID_LOW_MEMORY_KILLER=n
  25. CONFIG_DUMMY=n
  26. CONFIG_CGROUP_PERF=y
  27. CONFIG_IPC_NS=y
  28. CONFIG_CHECKPOINT_RESTORE=y
  29. CONFIG_FANOTIFY=y
  30. CONFIG_FHANDLE=y
  31. CONFIG_NLS_UTF8=y
  32. CONFIG_DEVTMPFS=y
  33. CONFIG_AUTOFS4_FS=y
  34. CONFIG_UTS_NS=y
  35. CONFIG_NETFILTER_XT_MATCH_NFACCT=y
  36. CONFIG_BLK_CGROUP=y
  37. CONFIG_FW_LOADER_USER_HELPER=n
  38.  
  39. # Stuff re-reported in a subsequent run - These did not apply.
  40. CONFIG_SECURITY_SELINUX_BOOTPARAM=y
  41. CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0
  42. CONFIG_WATCHDOG_NOWAYOUT=y
  43. CONFIG_HOTPLUG=y
  44. CONFIG_CGROUP_MEM_RES_CTLR=y
  45. CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
  46. CONFIG_CGROUP_MEM_RES_CTLR_KMEM=y
  47. CONFIG_RTC_DRV_CMOS=y
  48. CONFIG_NETPRIO_CGROUP=y
  49. CONFIG_LBDAF=y
  50.  
  51.  
  52.  
  53. Full log:
  54. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F9F90L
  55. + umask 022
  56. + cd /home/ksandom/mer/android/droid
  57. + LANG=C
  58. + export LANG
  59. + unset DISPLAY
  60. + 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'
  61. + export CFLAGS
  62. + 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'
  63. + export CXXFLAGS
  64. + 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'
  65. + export FFLAGS
  66. + LD_AS_NEEDED=1
  67. + export LD_AS_NEEDED
  68. + echo _target_cpu is armv7hl
  69. _target_cpu is armv7hl
  70. + rm -rf tmp
  71. + mkdir tmp
  72. + echo Verifying kernel config
  73. Verifying kernel config
  74. + hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/x2/obj/KERNEL_OBJ/.config
  75. WARNING: CONFIG_SECURITY_SELINUX_BOOTPARAM is invalid
  76. It is unset
  77. Allowed values : y, !
  78. 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)
  79.  
  80. WARNING: CONFIG_WATCHDOG_NOWAYOUT is invalid
  81. It is unset
  82. Allowed values : y, !
  83. 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.
  84.  
  85. ERROR: CONFIG_HOTPLUG is invalid
  86. It is unset
  87. Allowed values : y
  88. Comment says: systemd: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2
  89.  
  90. WARNING: CONFIG_CGROUP_MEM_RES_CTLR is invalid
  91. It is unset
  92. Allowed values : y, !
  93. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  94.  
  95. WARNING: CONFIG_RTC_DRV_CMOS is invalid
  96. It is unset
  97. Allowed values : y, !
  98. Comment says: optional, but highly recommended
  99.  
  100. WARNING: CONFIG_NETPRIO_CGROUP is invalid
  101. It is unset
  102. Allowed values : y, !
  103. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  104.  
  105. WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid
  106. It is unset
  107. Allowed values : y, !
  108. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  109.  
  110. WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid
  111. It is unset
  112. Allowed values : y, !
  113. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  114.  
  115. WARNING: CONFIG_LBDAF is invalid
  116. It is unset
  117. Allowed values : y, !
  118. Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4
  119.  
  120. error: Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
  121.  
  122.  
  123. RPM build errors:
  124.    Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
  125.  
  126.  
  127.  
  128.  
  129.  
  130. Output on the command line:
  131. $ rpm/dhd/helpers/build_packages.sh
  132. * Building rpm/droid-hal-x2.spec
  133. WARNING: CONFIG_CGROUP_MEM_RES_CTLR_SWAP is invalid
  134. It is unset
  135. Allowed values : y, !
  136. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  137.  
  138. WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid
  139. It is unset
  140. Allowed values : y, !
  141. Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html
  142.  
  143. WARNING: CONFIG_LBDAF is invalid
  144. It is unset
  145. Allowed values : y, !
  146. Comment says: ext4 filesystem requires this in order to support filesysetms with huge_file feature, which is enabled by default by mke2fs.ext4
  147.  
  148. error: Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
  149.  
  150.  
  151. RPM build errors:
  152.    Bad exit status from /var/tmp/rpm-tmp.F9F90L (%build)
  153. * Check /home/ksandom/mer/android/droid/droid-hal-x2.log for full log.
  154. !! building of package failed
Add Comment
Please, Sign In to add comment