~bitfehler/anemos

1

[anemos-cli] fails with busybox-cpio

Robert G├╝nzler <robert@gnzler.io>
Details
Message ID
<D1S7YXHQM0LO.8Q2UC7P5S7P2@gnzler.io>
DKIM signature
pass
Download raw message
when generating the initramfs on Alpine without having installed the GNU cpio
package anemos-deploy will fail with:

==> Anemos: starting deployment
==> Unrecognized deployment payload!
==> Anemos: deployment FAILED!

after some poking around i noticed the error immediately upon invoking
anemos-cli:

Downloading base initramfs...
Downloading kernel...
Generating initramfs...
 > payload
cpio: unknown user/group +0:+0

busybox-cpio will just exit early and generate nothing when called like that

the quick solution is to install the cpio package via IMGBUILD/packages, but i
wonder if it would make sense to just pass -R 0:0 to cpio, to be compatible?
Details
Message ID
<69659BB3-E6CE-42B4-AA9D-97B74296FAF1@bitfehler.net>
In-Reply-To
<D1S7YXHQM0LO.8Q2UC7P5S7P2@gnzler.io> (view parent)
DKIM signature
pass
Download raw message
Edit: sneaky re-send to list w/o html, because phones...

Thanks for pointing that out. It's a pretty recent change and it should indeed be made compatible. I am afk for the rest of the week, but can I interest you in sending a patch? :)

If not, no worries, I'll fix it some time next week.

Cheers,
Conrad
Reply to thread Export thread (mbox)