-
Notifications
You must be signed in to change notification settings - Fork 104
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
Does this work with archlinux arm images? #12
Comments
It should work in any type of image, though some settings may need to be changed from the default. Did you have a different experience? |
No, just wanted to check. Thanks for the pointer! I'll PR any undocumented discoveries back that I find. |
Sorry to bug you again, finally getting around to playing with this. Do you have any pointers on examples of configuring The tar file has the following structure:
|
Running into the following hangup:
Not sure what's going on underneath, I'll try debugging later this week. Any ideas appreciated. |
the idea of image_mounts is to say where to mount the paritions in the sdcard, in order. from these logs it seems that the sd card has zero partitions - can you confirm that this is the case? |
in case you are trying to debug, the code that parses out partitions is in here: |
Thank you for the hints! Does it expect to see / write to an SD card during the |
your idea of how it works is correct. |
added some text to clarify: https://github.com/solo-io/packer-builder-arm-image#operation |
Cool thank you! Let me take another stab at it. |
from the instructions here |
I think I understand your issue. the tar ball they provide is not a disk image. they do provide instructions on how to make it into a disk image. |
Ah ok, that is probably the issue. I'll play around. Thank you for the additional pointers + constraints! |
Do you recall where you found those? I'm not finding their specific recommendations. |
https://github.com/bcomnes/raspi-packer/blob/master/build-img.sh Basic iso creation. Seems to be working now, last step is to flash and test! |
Fails at
Any ideas? https://travis-ci.com/bcomnes/raspi-packer/builds/98912915 |
I put together an .img src: https://github.com/bcomnes/archlinux-arm-img. Perhaps I need to set up additional chroot mounts? https://github.com/solo-io/packer-builder-arm-image/blob/master/pkg/builder/builder.go#L59 Any ideas appreciated. |
@JamieMagee That is a different error, and yes, perhaps an arch issue. I'm running builds on ubuntu xenial. I should do some sanity checks with the base examples in my environment. |
as i mentioned on the other issue, it seems to be related to the upstream shell provisioner. |
Yes, but its a symlink, not sure if that affects anything:
|
Path issues, eh? Sounds like its likely part of the culprit. @JamieMagee thank you for tracking that down! It does like its maybe rooted in the same issue. |
Glad I could help. It doesn't entirely solve the issue, but it's a workaround at least. |
Hi. How did you solve the Edit: In my case I solved the issue by adding |
closing this as solved, thanks @alexandrujieanu. added a note to the readme regarding |
Any idea if this would work with the archlinux arm images https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
Apologies, I'm quite new to packer and still trying to understand the dependencies between the images and providers.
The text was updated successfully, but these errors were encountered: