# Not really a floppy, this is a 783 mb image, large enough to put an
# Ubuntu iso in, and small enough to fit on a mid-range memory stick, 
# such as those advertised as being 800 mb in size.
FLOPPY_SIZE = 801792

DISK_LABEL = "bootable drive"
MEDIA_TYPE = bootable drive

GZIPPED = .gz
EXTRANAME = hd-media/

TARGET = $(KERNEL) $(INITRD) $(BOOT) $(DEST)/yaboot.conf $(DEST)/boot.msg

MANIFEST-BOOT = "800 mb image (compressed) for USB memory stick"
MANIFEST-INITRD = "for use on USB memory sticks"
MANIFEST-KERNEL = "for use on USB memory sticks"

arch_boot: hd_media_common

$(DEST)/yaboot: hd_media_common
	cp $(TEMP)/yaboot $@
	update-manifest $@ "Open Firmware boot loader"

$(DEST)/yaboot.conf: hd_media_common
	cp $(TEMP)/yaboot.conf $@
	update-manifest $@ "yaboot configuration file"

$(DEST)/boot.msg: hd_media_common
	cp $(TEMP)/boot.msg $@
	update-manifest $@ "yaboot boot message"
