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:
Natanael Copa 2009-06-03 09:13:54 +00:00
parent e83cfd6c27
commit bf13a7c63c
1 changed files with 1 additions and 1 deletions

View File

@ -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))