Comments (3)
Moving to distrobuilder as I think I've tracked down the issue to the logic we have to translate between architecture names. As armel is a userspace name with the kernel name being the same for armel and armhf, we incorrectly remap armel requests to armhf...
I sent a somewhat ugly fix which special cases armel and skips the translation in such cases.
from distrobuilder.
The lxc-debian template also seems to fail in its host 'auto-detection' which was a puzzle until I learned to explicitly feed it with --arch armel. Perhaps similar issues.
lxc-debian uses arch=$(uname -m)
to set hostarch
, but doesn't seem to "fix it up".
FWIW, on this Debianized armel box:
uname -m;uname -s
armv5tel
Linux
I don't have a Debianized armhf box. The RaspberryPi, which I think is perhaps a mostly Debianized box, and needs --arch armhf, gives:
uname -m;uname -s
armv6l
Linux
There are other variants, I have an armv5tejl somewhere.
I suppose dpkg --print-architecture
might give the definitive userspace name on a debian/debian_derived box, if it is installed.
from distrobuilder.
Thanks, armel binaries now arriving, as expected.
from distrobuilder.
Related Issues (20)
- cloud-init setting apt.primary does not work on debian.bookworm HOT 1
- Idiomatic way to use systemd-resolved in archlinux? HOT 3
- snap edge no compression level HOT 2
- [Bug] Distrobuilder fails building VMs on RPM based distros HOT 11
- edge snap fails to build-lxc armhf for openwrt HOT 1
- GID=1000 for netdev (Debian bookworm cloud image) HOT 7
- docs: readme suggests invalid go version HOT 3
- Command-line option `build-lxd` should return an error when used HOT 1
- BindReadOnlyPaths=/proc breaks NetworkD sysctl support
- distrobuilder build-incus --sources-dir doesn't match in documentation and source code HOT 1
- Building distrobuilder 3.0 fails (undefined: cmdGlobal) with go 1.21.5 and 1.20.12 HOT 3
- Add riscv64 HOT 7
- Source downloader docker-http - Cannot pull from docker registry HOT 5
- debootstrap: DNS resolution failure HOT 1
- Failed at the 'make' step; make: *** [Makefile:9: default] Error 2 HOT 3
- Race issue in various tests' use of temp directories HOT 2
- Update to flosch/pongo2.v4?
- Support for OCI specification HOT 3
- Update Docker source to add support for OCI specification instead of docker v2 HOT 2
- Debian sid build is failing due to merged usr HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distrobuilder.