summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-03 09:13:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-03 09:13:54 +0000
commitbf13a7c63cfdac9340b0dc492d89aa447f4b0cd5 (patch)
treef9ea5082b37e2d4d84f81235687d042f426b6efb
parente83cfd6c27060966d985c82512da6cd8ae65e539 (diff)
downloadabuild-bf13a7c63cfdac9340b0dc492d89aa447f4b0cd5.tar.gz
abuild-bf13a7c63cfdac9340b0dc492d89aa447f4b0cd5.tar.bz2
abuild-bf13a7c63cfdac9340b0dc492d89aa447f4b0cd5.tar.xz
abuild-bf13a7c63cfdac9340b0dc492d89aa447f4b0cd5.zip
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.
-rwxr-xr-xalpine.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine.mk b/alpine.mk
index b268662..5680a39 100755
--- a/alpine.mk
+++ b/alpine.mk
@@ -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))