36 lines
1.3 KiB
Makefile
36 lines
1.3 KiB
Makefile
ISOLINUX_FILES:=boot.msg grub.conf initrd.img isolinux.bin memtest splash.jpg vesamenu.c32 vmlinuz
|
|
IMAGES_FILES:=efiboot.img efidisk.img install.img
|
|
EFI_FILES:=BOOTX64.conf BOOTX64.efi splash.xpm.gz
|
|
|
|
# centos isolinux files
|
|
$(addprefix $(LOCAL_MIRROR_CENTOS_OS_BASEURL)/isolinux/,$(ISOLINUX_FILES)):
|
|
@mkdir -p $(@D)
|
|
wget -O $@ $(MIRROR_CENTOS_OS_BASEURL)/isolinux/$(@F)
|
|
|
|
# centos EFI boot images
|
|
$(addprefix $(LOCAL_MIRROR_CENTOS_OS_BASEURL)/EFI/BOOT/,$(EFI_FILES)):
|
|
@mkdir -p $(@D)
|
|
wget -O $@ $(MIRROR_CENTOS_OS_BASEURL)/EFI/BOOT/$(@F)
|
|
|
|
# centos boot images
|
|
$(addprefix $(LOCAL_MIRROR_CENTOS_OS_BASEURL)/images/,$(IMAGES_FILES)):
|
|
@mkdir -p $(@D)
|
|
wget -O $@ $(MIRROR_CENTOS_OS_BASEURL)/images/$(@F)
|
|
|
|
$(BUILD_DIR)/mirror/boot.done: \
|
|
$(addprefix $(LOCAL_MIRROR_CENTOS_OS_BASEURL)/isolinux/,$(ISOLINUX_FILES))
|
|
$(ACTION.TOUCH)
|
|
|
|
$(BUILD_DIR)/mirror/ubuntu-netboot.done: \
|
|
$(LOCAL_MIRROR)/ubuntu/netboot/linux \
|
|
$(LOCAL_MIRROR)/ubuntu/netboot/initrd.gz
|
|
$(ACTION.TOUCH)
|
|
|
|
$(LOCAL_MIRROR)/ubuntu/netboot/linux:
|
|
mkdir -p $(@D)
|
|
wget -O $@ $(MIRROR_UBUNTU_OS_BASEURL)/installer-$(UBUNTU_ARCH)/current/images/netboot/ubuntu-installer/$(UBUNTU_ARCH)/$(@F)
|
|
|
|
$(LOCAL_MIRROR)/ubuntu/netboot/initrd.gz:
|
|
mkdir -p $(@D)
|
|
wget -O $@ $(MIRROR_UBUNTU_OS_BASEURL)/installer-$(UBUNTU_ARCH)/current/images/netboot/ubuntu-installer/$(UBUNTU_ARCH)/$(@F)
|