setup-disk with path fails complaining about .setup-apkrepos
I’m creating an experimental setup with root (including boot) on
RAID+LVM
with the plan to see where Alpine Linux will stop me and which
improvements
would that setup need (GRUB 2, initramfs, etc…).
Instead I was stopped at the very beginning in the root file system
bootstrap phase. Instead of just installing Alpine Linux to cleanly
created ext4 logical volume /mnt/alpine
, setup-disk /mnt/alpine
complains about missing .setup-apkrepos
dependency or what. The
error message isn’t particularly helpful and setup-apkrepos
isn’t
even mentioned in the setup-disk
shell script.
# setup-disk /mnt/alpine/
Installing system on /dev/nas/alpine:
/mnt/alpine/boot is device /dev/nas/alpine
ERROR: unsatisfiable constraints:
.setup-apkrepos (missing):
required by: world[.setup-apkrepos]
I verified that it gives the same result when:
-
/etc/apk/repositories
contains the right paths (main + community) -
apk update
was run successfully. -
Just in case,
setup-apkrepos
was run in the RAM based system successfully as well.
Honestly, I’m a little bit experimenting and I expect to hit the wall.
On the other
hand, saving a bunch of files to a path or giving a reasonable error
message sounds
like something that setup-disk
should be able to do.
(from redmine: issue id 6846, created on 2017-02-12)