initramfs-init trying to download apk index on boot
I have used setup-bootable to create a bootable USB stick, and
configured lbu to commit changes to USB media.
Sometimes when booting the system, I have noticed an error from apk
trying to download a new index for the repositories. As this happens in
the initramfs system, there is no network at that time - and the
download will always fail.
The message appears right after “Installing packages to root filesystem”
message.
After the download has failed(timeout), the system continues to boot
just fine.
It is worth mentioning, I only see this on 3.8.0.
On 3.7.0 I did not get the same error when booting.
(from redmine: issue id 9126, created on 2018-07-23, closed on 2018-09-10)
- Changesets:
- Revision 13c534db by Natanael Copa on 2018-08-21T12:25:37Z:
prevent automatic repository index update with --no-network
We should not update repository index when --no-network is specified.
ref #9126
- Revision 2f9c08c1 by Natanael Copa on 2018-08-21T13:20:05Z:
main/apk-tools: backport fix for --no-network
prevent update repository index when --no-network is specified.
ref #9126
- Revision 9d8bf36c by Natanael Copa on 2018-08-21T13:44:34Z:
main/apk-tools: backport fix for --no-network
prevent update repository index when --no-network is specified.
fixes #9126
- Revision d9815d1f by Natanael Copa on 2018-09-07T14:07:10Z:
main/apk-tools: backport fix for --no-network
prevent update repository index when --no-network is specified.
fixes #9126
Backported on request:
https://github.com/docker-library/ruby/pull/229#issuecomment-419252524