[linux-yocto] [PATCH 1/2] preempt-rt.cfg/standard.cfg: enable OVERLAY_FS

Bruce Ashfield bruce.ashfield at windriver.com
Wed Apr 13 09:52:37 PDT 2016


On 2016-03-29 11:29 PM, Robert Yang wrote:
>
>
> On 03/30/2016 11:19 AM, Bruce Ashfield wrote:
>> On 2016-03-29 9:51 PM, Robert Yang wrote:
>>>
>>>
>>> On 03/30/2016 09:08 AM, Robert Yang wrote:
>>>>
>>>>
>>>> On 03/29/2016 08:40 PM, Bruce Ashfield wrote:
>>>>> On 2016-03-29 3:23 AM, Robert Yang wrote:
>>>>>> Otherwise the live iso will be readonly.
>>>>>
>>>>> Not true .. overlayfs is one way to have a read/write ISO, but
>>>>> not the only.
>>>>>
>>>>> This isn't something we bury in the middle of the ktypes. aufs
>>>>> has always been a standalone configuration option, and one that
>>>>> is enabled via KERNEL_FEATURES.
>>>>>
>>>>> This is an alternative to the exiting aufs use case, and should
>>>>> be treated a similar way (with a generic feature, an enable and
>>>>> a disable). See the aufs fragments as a template to follow.
>>>>
>>>> Sounds good, I will send a V2.
>>>
>>> Hi Bruce,
>>>
>>> After more investigations, linux-yocto 4.4 does have
>>> features/aufs/aufs.scc,
>>> but I can't find any source of aufs in kernel-source, I'm afraid that
>>> linux-yocto doesn't merge aufs' patch. And when I added
>>
>> aufs simply comes along later in the cycle. Since I do the
>> merges, I'd know if it was missed or not :)
>
> Thanks, would you please ping me after merged so that I can check
> whether live image + aufs works well or not.

FYI: my latest series contains these changes.

Bruce

>
> // Robert
>
>>
>>> features/aufs/aufs.scc
>>> to KERNEL_FEATURES, I got this in merge_log.txt:
>>>
>>> Value requested for CONFIG_AUFS_FS not in final .config
>>> Requested value:  CONFIG_AUFS_FS=y
>>> Actual value:
>>>
>>> Since overlayfs has been merged by mainline, maybe we can drop aufs
>>> support ?
>>
>> Nope .. aufs is still supported, since it has different features
>> than overlayfs. There is not "one union filesystem to rule them
>> all".
>>
>> Bruce
>>
>>>
>>> // Robert
>>>
>>>>
>>>> // Robert
>>>>
>>>>>
>>>>> Bruce
>>>>>
>>>>>>
>>>>>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>>>>>> ---
>>>>>>   ktypes/preempt-rt/preempt-rt.cfg | 2 ++
>>>>>>   ktypes/standard/standard.cfg     | 2 ++
>>>>>>   2 files changed, 4 insertions(+)
>>>>>>
>>>>>> diff --git a/ktypes/preempt-rt/preempt-rt.cfg
>>>>>> b/ktypes/preempt-rt/preempt-rt.cfg
>>>>>> index 4c62804..c4a5617 100644
>>>>>> --- a/ktypes/preempt-rt/preempt-rt.cfg
>>>>>> +++ b/ktypes/preempt-rt/preempt-rt.cfg
>>>>>> @@ -1116,3 +1116,5 @@ CONFIG_CRYPTO_TEST=m
>>>>>>   #
>>>>>>   CONFIG_LIBCRC32C=m
>>>>>>   CONFIG_ZLIB_DEFLATE=m
>>>>>> +
>>>>>> +CONFIG_OVERLAY_FS=y
>>>>>> diff --git a/ktypes/standard/standard.cfg
>>>>>> b/ktypes/standard/standard.cfg
>>>>>> index b3dbde5..4099fda 100644
>>>>>> --- a/ktypes/standard/standard.cfg
>>>>>> +++ b/ktypes/standard/standard.cfg
>>>>>> @@ -1108,3 +1108,5 @@ CONFIG_LIBCRC32C=m
>>>>>>   CONFIG_ZLIB_DEFLATE=m
>>>>>>
>>>>>>   CONFIG_SHMEM=y
>>>>>> +
>>>>>> +CONFIG_OVERLAY_FS=y
>>>>>>
>>>>>
>>>>>
>>
>>



More information about the linux-yocto mailing list