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
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 :
+
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
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 without sudo problem .
Thanks and Regards
Shrawan
--