mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 23:12:45 +00:00
alpine.mk: use /dev/usbdisk rather than /dev/sda1 for usb images
The sda1 might be a sata or scsi harddisk so usb image might be sdb1 or sdc1. The /dev/usbdisk link will always point to the first usb disk.
This commit is contained in:
parent
e83cfd6c27
commit
bf13a7c63c
@ -173,7 +173,7 @@ $(SYSLINUX_CFG):
|
||||
@echo "default $(KERNEL_NAME)" >>$@
|
||||
@echo "label $(KERNEL_NAME)" >>$@
|
||||
@echo " kernel /boot/$(KERNEL_NAME)" >>$@
|
||||
@echo " append initrd=/boot/$(KERNEL_NAME).gz alpine_dev=sda1:vfat modules=sd-mod,usb-storage quiet" >>$@
|
||||
@echo " append initrd=/boot/$(KERNEL_NAME).gz alpine_dev=usbdisk:vfat modules=sd-mod,usb-storage quiet" >>$@
|
||||
|
||||
ISO_KERNEL := $(ISO_DIR)/boot/$(KERNEL_NAME)
|
||||
ISO_REPOS := $(addprefix $(ISO_PKGDIR)/,$(REPOS))
|
||||
|
Loading…
Reference in New Issue
Block a user