Azzurro94
Azzurro94

Reputation: 499

How can I modify the config file (/proc/config.gz) in linux (Android)?

EDITED: I found that We cannot edit this file, We have to recompile the kernel I am installing docker on Android. there are some configurations related to cgroup which are not enabled. I could find it by extracting the file /proc/config.gz. now it seems i have to modify the file. it seems we can write some kernel modules for it or i have to recompile the kernel. I am not familiar with low level issues so please help me through this problem. Thanks

EDITED based on the file these two parts seems need to be enabled.

#CONFIG_CGROUP_DEVICE is not set

#CONFIG_CGROUP_PIDS is not set

Upvotes: 2

Views: 4426

Answers (1)

KamilCuk
KamilCuk

Reputation: 141698

How can I modify the config file (/proc/config.gz) in linux (Android)?

You would have to recompile your own kernel with different configuration and modify your operating system by updating the kernel.

/proc/config.gz is a compressed copy of the kernel configuration that was used when the kernel was build. To modify kernel configuration you have to recompile the kernel.

Upvotes: 4

Related Questions