diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-03 09:13:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-03 09:13:54 +0000 |
commit | bf13a7c63cfdac9340b0dc492d89aa447f4b0cd5 (patch) | |
tree | f9ea5082b37e2d4d84f81235687d042f426b6efb | |
parent | e83cfd6c27060966d985c82512da6cd8ae65e539 (diff) | |
download | abuild-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-x | alpine.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |