0
Nikunj Patel

Facing error in CRYPTROOT_ENABLE option with buster image for opi3

Recommended Posts

(edited)

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0