Skip to contentSkip to conversation

Magic kernel config option.

DISCUSSION Brian Smucker 2 participants 2 messages Dec 24, 2012 – Jan 2, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I'm a yocto mostly-newbie, trying to find my way. I have a custom layer that I am using to build a kernel. The layer right now consists of a few kernel patches and a defconfig and is based on the standard kernel otherwise.

When I do a diff on my defconfig and the bitbake generated .config, they are quite similar, but the CONFIG_UNION_FS=y line magically shows up. I'm wondering where it comes from and how to disable it.

I can do a bitbake -c menuconfig virtual/kernel and eliminate that option giving me the kernel I want, but those changes are gone after a bitbake -c cleansstate ...

Could someone give me some help about where to go from here?

Thanks,
Brian

#1 lore raw
Quoted 2 lines · Brian Smucker

Hi,

Catching up on email from the holidays. Did you ever get an answer to this ?

Quoted 8 lines

I'm a yocto mostly-newbie, trying to find my way. I have a custom layer that I am using to build a kernel. The layer right now consists of a few kernel patches and a defconfig and is based on the standard kernel otherwise.

When I do a diff on my defconfig and the bitbake generated .config, they are quite similar, but the CONFIG_UNION_FS=y line magically shows up. I'm wondering where it comes from and how to disable it.

CONFIG_UNION_FS is being enabled by the standard kernel (and all kernels that inherit it). Since you are based on that kernel, you get the option enabled.

Quoted 4 lines

I can do a bitbake -c menuconfig virtual/kernel and eliminate that option giving me the kernel I want, but those changes are gone after a bitbake -c cleansstate ...

Have you tried putting

# CONFIG_UNION_FS is not set

in your defconfig ? That should disable it.

Bruce

Quoted 9 lines

Could someone give me some help about where to go from here?

Thanks,
Brian
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto