[yocto] Yocto Image with custom directory layout

Ayoub Zaki ayoub.zaki at embexus.com
Thu Oct 12 11:47:45 PDT 2017


Hi,


On 12.10.2017 20:34, Josef Holzmayr wrote:
> Hi
>
> On 12.10.2017 19:07, Ayoub Zaki wrote:
>> Hi,
>> I would like to generate an image that contains a custom directories 
>> layout for expl:
>>
>>
>> foo/
>> ├── bar1
>> │   └── bar2
>> │       ├── config
>> │       └── data
>> └── work
>>      └── var
>>          └── lib
>>              ├── config
>>              └── data
>>
>> It should contains only those directories an nothing else, is there 
>> anyway to achieve that ? without using ROOTFS_POSTPROCESS_COMMAND.
>
> Should be possible if your image installs only your specific recipes 
> that populate those directories. Means: no packagegroup-core-boot, no 
> base-passwd, no.... -> then nothing should bring along other directories.
I tried that but it does pull other packages even if I set in my image:

IMAGE_FEATURES = ""
IMAGE_LINGUAS = ""
PACKAGE_INSTALL = "my-layout-recipe"

Regards

-- 
Ayoub Zaki
Embedded Systems Consultant

Vaihinger Straße 2/1
D-71634 Ludwigsburg

Tel.     : +4971415074546
Mobile   : +4917662901545
Email    : ayoub.zaki at embexus.com
Homepage : https://embexus.com




More information about the yocto mailing list