Re: [yocto] rootfs encryption support

2017-09-26 Thread Randy MacLeod
On 2017-09-26 01:25 AM, Kumar, Shrawan wrote: Hello Team , Is it possible to get encrypted rootfs during image build  ? Currently , I am running “*cryptsetup*” (as sudo) *manually*   after the final image(rootfs.ext4) is produced  . The idea is to get this done within yocto environment withou

Re: [yocto] rootfs encryption support

2017-09-26 Thread Ayoub Zaki
Hi, On 26.09.2017 12:29, Kumar, Shrawan wrote: To add further information to the query , I am executing  “cryptsetup”  from a recipe as below : (/Yocto 2.0.2)/ fakeroot do_install() {    cryptsetup --type=plain open hello.enc demomap < dm-crypt-key } Additional debug log : +

Re: [yocto] rootfs encryption support

2017-09-26 Thread Kumar, Shrawan
To add further information to the query , I am executing "cryptsetup" from a recipe as below : (Yocto 2.0.2) fakeroot do_install() { cryptsetup --type=plain open hello.enc demomap < dm-crypt-key } Additional debug log : + do_install | + cryptsetup --type=plain open /path_