Jump to content

Recommended Posts

Posted

hi

 

I've been using the flag 

compile.sh PREFER_DOCKER=no

 

while building in a systemd-nspawn  container:

Building Armbian using Ubuntu (jammy) in a systemd-nspawn container

 

This time I managed to make a complete successful build with my work arounds for loop devices in systemd nspawn.

 

However, the flag PREFER_DOCKER=no

Didn't seem to be documented in the build options

https://docs.armbian.com/Developer-Guide_Build-Options/

 

can the documentation be updated to add PREFER_DOCKER=no flag (at least under 'advanced users') ?

note that it isn't possible to run docker normally within systemd-nspawn or that it'd require all those workarounds such as patching and using the host docker server which defeats the purpose of using docker.

rather systemd-nspawn is the container to at least decouple the build environment from the host os environment (which can be a different linux distribution, I'm doing so from OpenSuse https://www.opensuse.org/), with the unfortunate caveat that loop devices still requires a workaround.

 

Posted

Whole documentation is needs updates. Like all the build switches  (kernel, kernel-config, uboot,...) are missing...

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines