Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build broken when script try copy the ssh key to absent dir dropbear-initramfs #6484

Closed
1 of 2 tasks
chipviled opened this issue Apr 8, 2024 · 3 comments
Closed
1 of 2 tasks
Labels
Bug Something isn't working as it should

Comments

@chipviled
Copy link

What happened?

Script fs-cryptroot-support.sh failed because no directory ${SDCARD}/etc/dropbear-initramfs or ${SDCARD}/etc/dropbear/initramfs.

How to reproduce?

./compile.sh build BOARD=orangepizero3 BOOTSIZE=512 BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no CRYPTROOS_SSH_UNLOCK=yes CRYPTROOT_ENABLE=yes CRYPTROOT_PASSPHRASE=qwerty12345 EXPERT=yes KERNEL_CONFIGURE=no OFFLINE_WORK=yes RELEASE=bookworm

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 22.04 Jammy

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.com/usawikegun

Code of Conduct

  • I agree to follow this project's Code of Conduct
Copy link

github-actions bot commented Apr 8, 2024

Jira ticket: AR-2119

@ColorfulRhino
Copy link
Collaborator

@chipviled Was your issue resolved after #5539 ?

Btw, OFFLINE_WORK=yes does not work correctly currently and should not be used, #6439

@ColorfulRhino ColorfulRhino added the Bug Something isn't working as it should label Jul 7, 2024
@chipviled
Copy link
Author

It was building with this patch. It was tested with different keys, but with failed. Images without crypt root built correct.

After sometime crypt root was built manual with https://forum.armbian.com/topic/15618-full-root-filesystem%C2%A0encryption%C2%A0on-an-armbian-system-new-replaces-2017-tutorial-on-this-topic/ after fixing problem limit count /dev/loop*.

And than and in current time build work correct on that system (tested build wormbook and sid).

So. I think this issue can be closed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should
Development

No branches or pull requests

2 participants