![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Could you paste the content of your 'device/lge/hammerhead/sepolicy/file_contexts'
file on pastebin or a similar page? Edit: SInce this seems to be an SELinux related problem, you could try to disable it and compile again. Take a look at these commits: https://github.com/RealJohnGalt/andr...371afbefae2cae https://github.com/RealJohnGalt/andr...ebe9fc087c0226 Maybe you need to do a breakfast $device after doing this changes again. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I try another kernel cm-12.1 instead of stable/cm-12.1-YOG4P.
(The last commit on the cm-12.1 was in 2015 while the other cm-12.1-YOG4P changed in 2013 last time. It might matter.) So, I have changed the local_manifest accordingly and am re-doing the repo init and sync. Then we will see how the kernel compilation goes. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Just googled a bit.
Just use the cm-12.1 branch(without stable). RealJohnGalt was only a few commits behind and he got it working. Edit: And the waiting for other jobs to finish while compiling the kernel isn't an error. You'll get this message if one of the jobs stopped due to an error. This only tells you that the other jobs are still compiling and will finish their current work. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I will do the compilation again (with selinux disabled) and if it fails I will post that file and let you know. Thanks for your support! :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Now I am trying to find the location of BoardConfig.mk to double check the 'selinux=0' bit. Edit: I have found it. In CM there is no 'selinux=0' but in John's there is. I will update these both files BoardConfig.mk and cyanogenmod_hammerhead_defconfig once the new kernel is downloaded and before I start compiling. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I should have used John's repos directly from the beginning. :( It would save me a few hours. (Although I gained a lot knowledge from this. :rolleyes:)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Sorry, you are right, it was deleted by this commit:
https://github.com/RealJohnGalt/andr...371afbefae2cae BoardConfig.mk should be in device/lge/hammerhead/ directory. Good Luck! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
After a bit of reseaching, he disabled CONFIG_SECURITY_SELINUX_BOOTPARAM in his defconfig, because he disabled CONFIG_AUDIT which also disables SELinux.
Some information can be found in the files for the mer-kernel-check script here: https://github.com/mer-hybris/mer-ke...el_config#L196 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I will adapt this change too. Although I am concerning he might have done too other changes am not aware of. :confused: I am strongly thinking about to abort the sync which is running and using John's repos instead of the CM. (both the device and kernel) Well, if the compilation errors again, I will scrap the whole repo I downloaded and use John's repos. Thank you VERY much for your help!! I very much appreciated you stayed awake and helped me! In Germany it is already 2 in the morning. :) |
All times are GMT. The time now is 09:57. |
vBulletin® Version 3.8.8