On Tue, Jul 16, 2019 at 8:54 AM Mittal, Anuj <anuj.mit...@intel.com> wrote: > > On Tue, 2019-07-16 at 08:38 +0200, Belisko Marek wrote: > > I have wks file with following content: > > > > part ubootenv --ondisk=mmcblk --no-table --size 12 > > part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat > > --label boot --active --align 1024 --size 16 > > part /root --source rootfs --ondisk mmcblk --fstype=ext4 --label > > rootA > > --align 1024 --fixed-size 300 --exclude-path data/ > > part /data --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/data --ondisk > > "mmcblk" --fstype=ext4 --label data --align 1024 --fixed-size 200 > > > > Basically I want to create extra data partition with content from > > rootfs /data directory. When wic image is created I'm getting strange > > errors like: > > > > Couldn't get bitbake variable from > > /home/marekbelisko/.build/tmp/sysroots/raspberrypi0- > > wifi/imgdata/${IMAGE_ROOTFS}/data.env. > > | File /home/marekbelisko/.build/tmp/sysroots/raspberrypi0- > > wifi/imgdata/${IMAGE_ROOTFS}/data.env > > doesn't exist. > > If you haven't tried this already, renaming .wks to .wks.in might help. Thanks that does the trick. But I'm completely confused why? ;) Any explanation? Thanks. > > Thanks, > Anuj
BR, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto