broken /etc/apk/repositories when booting a clean/new USB
To reproduce: create a bootable USB that uses UUID in syslinux.cfg
Boot it up and run setup-alpine
It will complain about not finding packages etc.
What happens is that it will use /media/$UUID when installing the packages. This is used to generate the /etc/apk/repositories.
Later will that be relocated to /media/usb and the /media/$UUID repository no longer works.
(from redmine: issue id 891, created on 2012-01-04, closed on 2012-01-05)
- Changesets:
- Revision 1b581690 by Natanael Copa on 2012-01-04T14:58:41Z:
main/mkinitfs: fix for init
we need generate the /etc/apk/repositories after we have relocated
/media/$UUID to /media/usb
ref #891
- Revision fda7e3a8 by Natanael Copa on 2012-01-05T14:23:54Z:
main/mkinitfs: fix for init
we need generate the /etc/apk/repositories after we have relocated
/media/$UUID to /media/usb
fixes #891
(cherry picked from commit 1b581690423ac11ecd853d8be9abe8a15a0ff146)