[meta-freescale] How to build a custom ramdisk image

Mercier Ivan ivan.mercier at gmail.com
Fri Aug 23 00:18:36 PDT 2013


Hi,
there is no way to edit files in the root filesystem? like /etc/hostname...
How do I know which file belong to which package?
and How do I know where is the package directory?
thanks a lot

2013/8/23 Luo Zhenhua-B19537 <B19537 at freescale.com>:
> Hi Ivan,
>
> "build_p3041ds_release/tmp/work/p3041ds-fsl_networking-linux/fsl-image-core/1.0-r20/rootfs" is removed when you run "bitbake fsl-image-core", and the folder will be recreated, so modification in the folder is missing.
>
> You need to do the modification in corresponding recipe folder of the package, e.g. interfaces is in meta-fsl-ppc/recipes-core/init-ifupdown/files/.
>
> You can rebuild the modified package to ensure the modification takes effect.
> * bitbake init-ifupdown -c cleansstate
> * bitbake fsl-image-core
>
>
> Best Regards,
>
> Zhenhua
>
>> -----Original Message-----
>> From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-
>> bounces at yoctoproject.org] On Behalf Of Mercier Ivan
>> Sent: Thursday, August 22, 2013 4:55 PM
>> To: linux-yocto at yoctoproject.org; meta-freescale at yoctoproject.org
>> Subject: [meta-freescale] How to build a custom ramdisk image
>>
>> Hi everybody,
>>
>> I'm working on an yocto distrib with a freescale p3041 based board.
>> I would like to modify the root file system, like hostname,udev rules and
>> build my own ramdisk image.
>> I use to create my image by
>> $ bitbake fsl-image-core
>>
>> is it corret?
>>
>> should I modidy fsl-image-core.bb?
>>
>> I try to modify files in
>> build_p3041ds_release/tmp/work/p3041ds-fsl_networking-linux/fsl-image-
>> core/1.0-r20/rootfs
>>
>> but modifications are overwrited
>>
>> can anybody help me?
>>
>> thanks a lot
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>



More information about the meta-freescale mailing list