Jump to content

Facing error in CRYPTROOT_ENABLE option with buster image for opi3


Recommended Posts

Dear All,
I am trying to prepare the rootfs for opi3 board with CRYPTROOT_ENABLE option to yes using below command but getting error as below. 

./compile.sh  BOARD=orangepi3 BRANCH=current RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img CLEAN_LEVEL=images OFFLINE_WORK=yes CRYPTROOT_ENABLE=yes CRYPTROOT_PASSPHRASE="MYSECRECTPASS" CRYPTROOT_SSH_UNLOCK=yes CRYPTROOT_SSH_UNLOCK_PORT=2222 CRYPTROOT_PARAMETERS="custom cryptsetup options"

 

invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (241-7~deb10u4) ...
[ o.k. ] Calling image customization script [ customize-image.sh ]
[ o.k. ] Unmounting [ /home/sysadmin/Desktop/nikunj/build/.tmp/rootfs-current-orangepi3-buster-no-yes ]
[ o.k. ] Preparing image file for rootfs [ orangepi3 buster ]
[ o.k. ] Current rootfs size [ 654 MiB ]
[ o.k. ] Creating blank image for rootfs [ 944 MiB ]
[ .... ] dd:  944MiB [ 262MiB/s] [===================================================================================================================================================================>] 100%
[ o.k. ] Creating partitions [ /boot: ext4 root: ext4 ]
[ .... ] Encrypting root partition with LUKS... [ cryptsetup luksFormat /dev/loop0p2 ]
Device custom doesn't exist or access denied.
Device /dev/loop0p2 is not a valid LUKS device.

[ o.k. ] Root partition encryption complete. 
[ error ] ERROR in function check_loop_device [ image-helpers.sh:79 ]
[ error ] Device node /dev/mapper/armbian-root does not exist 

[ o.k. ] Process terminated 
[ o.k. ] Unmounting [ /home/sysadmin/Desktop/nikunj/build/.tmp/rootfs-current-orangepi3-buster-no-yes/ ]
Device armbian-root is not active.
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ]
[ error ] debootstrap-ng was interrupted 
[ o.k. ] Process terminated 
 

it will be great support if anyone can guide me what should be wrong by me so i can move forward and validating this feature.

Thanks & Best Regards,
Nikunj Patel

Edited by Nikunj Patel
missing some points
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines