Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apparmor 4 patch #2

Open
grotius-cnc opened this issue Jan 22, 2021 · 4 comments
Open

apparmor 4 patch #2

grotius-cnc opened this issue Jan 22, 2021 · 4 comments

Comments

@grotius-cnc
Copy link

Hi,

Following this guide :
Halium/projectmanagement#48 (comment)

When extracting the apparmor 4 patch, compilation give's error. When only extracting
apparmor 3 patch, no error so far.

@Flohack74
Copy link
Member

You need to fix the compile error, instead of using a different patchset. Each one is made for the respective kernel. I will upload the patch into the repo, but so far it will not save you from manual corrections. Thats the nature of those patches, all Android kernels could be slightly different, we cannot provide a version that works for all.

@grotius-cnc
Copy link
Author

grotius-cnc commented Jan 22, 2021

Hi,

Thanks for your information.

Through your readme file, i had installed the 4 patches all together.

Maybe add a extra argument to the readme file, that it is clear for users only apply one patch, for a certain kernel version.

It would be nice to add a $ command line argument that returns the kernel version.

Thanks so far !

P.s.
You can query your kernel version from the Makefile file in the top level of the checked out code.
I don't understand where to find this at the moment in the halium directory structure.
Can you give me a hint or filepath?

Compiled mka halium-boot + mka systemimage succesfull so far, but i have to check
kernel version as you suggested.

@Flohack74
Copy link
Member

Please check kernel//<device/common name>/Makefile in your tree ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants