Skip to contentSkip to conversation

want to execute a script having sudo : sudo cryptsetup

DISCUSSION Kumar, Shrawan 1 participant 1 message Sep 25, 2017

lore
Share & tools
lore
#0 lore raw

Hello Team ,

I am trying to achieve below from yocto , do we have a way ?

dd if=/dev/zero of=hello.enc bs=4k count=$400
mknod /dev/loop_dev_0
losetup /dev/loop_dev_0 hello.enc
sudo cryptsetup --type=plain open /dev/loop_dev_0 plainMap < $2

Thanks and Regards
Shrawan