apk cache sync and lbu commit does not work if lbu and cache is on /media/usb
To reproduce:
boot from usb with alpine_dev=usbdisk
in lbu.conf, set LBU_MEDIA=usb and create an apk cache: /etc/apk/cache ->/media/usb/cache
lbu commit and apk cache sync will fail since /dev/usbdisk is already mounted on /media/usbdisk but fstab suggests /media/usb.
It is possible to work around with
‘mount --move /media/usbdisk /media/usb
’ but problem comes back after
a reboot.
Also happens with alpine_dev=UUID=…
The fix should not break stopping and starting modloop service.
(from redmine: issue id 734, created on 2011-08-24, closed on 2011-08-25)
- Changesets:
- Revision 96fe7d36 by Natanael Copa on 2011-08-24T10:35:08Z:
main/openrc: fix modloop to find mounts by UUID and LABEL
ref #734
- Revision e2517808 by Natanael Copa on 2011-08-24T12:14:16Z:
main/mkinitfs: fix init to find UUID and usbdisk symlink in fstab
ref #734
- Revision f83825ad by Natanael Copa on 2011-08-25T12:26:18Z:
main/openrc: fix modloop to find mounts by UUID and LABEL
ref #734
(cherry picked from commit 96fe7d3661d0ea57b367d6daad2ea61f82ebeb94)
- Revision ec2c226a by Natanael Copa on 2011-08-25T12:26:56Z:
main/mkinitfs: fix init to find UUID and usbdisk symlink in fstab
fixes #734
(cherry picked from commit e251780861adab6e5b700ea4acd238fa791af2bb)