how can i add custom folder in rootfs?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how can i add custom folder in rootfs?

265 Views
scottryu
Contributor I

Hi all

i use im6ulevk and i tried add new e-call folder in

1.project/build/tmp/work/imx6ulevk-fsl-linux-gnueabi/core-image-base/1.0-r0/roots

mkdir e-call
2.project/sources/poky/meta/recipes-core/initrdscripts/initramfs-framework/

vi rootfs and add mkdir  e-call

and use bitbake core-image-base in host system

and use uuu -b sd_all core-image-base-imx6ulevk-20221024070948.rootfs.wic.bz2

and i checked down all.

but in taget board. there was no e-call folder..

here my local.conf contents

1 MACHINE ??= 'imx6ulevk'
2 DISTRO ?= 'fsl-framebuffer'
3 PACKAGE_CLASSES ?= 'package_rpm'
4 EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
5 USER_CLASSES ?= "buildstats"
6 PATCHRESOLVE = "noop"
7 BB_DISKMON_DIRS ??= "\
8 STOPTASKS,${TMPDIR},1G,100K \
9 STOPTASKS,${DL_DIR},1G,100K \
10 STOPTASKS,${SSTATE_DIR},1G,100K \
11 STOPTASKS,/tmp,100M,100K \
12 HALT,${TMPDIR},100M,1K \
13 HALT,${DL_DIR},100M,1K \
14 HALT,${SSTATE_DIR},100M,1K \
15 HALT,/tmp,10M,1K"
16 PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
17 CONF_VERSION = "2"
18
19 DL_DIR ?= "${BSPDIR}/downloads/"
20 ACCEPT_FSL_EULA = "1"
21
22 # Switch to Debian packaging and include package-management in the image
23 PACKAGE_CLASSES = "package_deb"
24 EXTRA_IMAGE_FEATURES += "package-management"
25 DISTRO_FEATURES:append = "virtualization"

i want make deploy image but it's first time yocto .. 

Thanx in advance for your help

0 Kudos
1 Reply

245 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You should create a bb file to deploy custom folder in yocto.

0 Kudos