2009-01-07 13:55:26 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2009-01-28 14:59:15 +00:00
|
|
|
-include alpine.conf.mk
|
|
|
|
|
2009-01-28 17:21:07 +00:00
|
|
|
BUILD_DATE := $(shell date +%y%m%d)
|
|
|
|
ALPINE_RELEASE ?= $(BUILD_DATE)
|
|
|
|
ALPINE_NAME ?= alpine-test
|
2009-02-18 12:48:22 +00:00
|
|
|
ALPINE_ARCH := i386
|
2009-01-07 13:55:26 +00:00
|
|
|
DESTDIR ?= $(shell pwd)/isotmp
|
2009-02-11 14:47:19 +00:00
|
|
|
APORTS_DIR ?= $(HOME)/aports
|
2009-02-11 16:02:19 +00:00
|
|
|
REPOS ?= core extra
|
|
|
|
|
2009-03-13 12:01:45 +00:00
|
|
|
SUDO = sudo
|
|
|
|
|
2009-02-11 16:02:19 +00:00
|
|
|
# this might need to change...
|
|
|
|
APKDIRS ?= $(REPOS_DIR)/*/
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-18 12:48:22 +00:00
|
|
|
ISO ?= $(ALPINE_NAME)-$(ALPINE_RELEASE)-$(ALPINE_ARCH).iso
|
2009-01-28 17:21:07 +00:00
|
|
|
ISO_LINK ?= $(ALPINE_NAME).iso
|
2009-01-07 13:55:26 +00:00
|
|
|
ISO_DIR := $(DESTDIR)/isofs
|
2009-03-03 11:05:07 +00:00
|
|
|
REPOS_DIR ?= /var/lib/packages
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-11 16:02:19 +00:00
|
|
|
# limitations for find_apk:
|
|
|
|
# can not be a subpackage
|
2009-02-18 12:48:22 +00:00
|
|
|
find_aport = $(firstword $(wildcard $(APORTS_DIR)/*/$(1)))
|
|
|
|
find_repo = $(subst $(APORTS_DIR),$(REPOS_DIR),$(dir $(call find_aport,$(1))))
|
|
|
|
find_apk = $(shell . $(call find_aport,$(1))/APKBUILD ;\
|
|
|
|
echo $(call find_repo,$(1))/$(1)-$$pkgver-r$$pkgrel.apk)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-11 14:47:19 +00:00
|
|
|
KERNEL_FLAVOR ?= grsec
|
|
|
|
KERNEL_PKGNAME ?= linux-$(KERNEL_FLAVOR)
|
2009-02-11 16:02:19 +00:00
|
|
|
KERNEL_NAME := $(KERNEL_FLAVOR)
|
2009-02-11 14:47:19 +00:00
|
|
|
KERNEL_APK := $(call find_apk,$(KERNEL_PKGNAME))
|
2009-02-11 16:02:19 +00:00
|
|
|
MODULE_APK := $(subst /$(KERNEL_PKGNAME)-,/$(KERNEL_PKGNAME)-mod-,$(KERNEL_APK))
|
2009-02-20 09:45:24 +00:00
|
|
|
|
|
|
|
XTABLES_ADDONS_APK:= $(subst xtables-addons,xtables-addons-$(KERNEL_FLAVOR),$(call find_apk,xtables-addons))
|
|
|
|
MOD_APKS := $(MODULE_APK) $(XTABLES_ADDONS_APK)
|
|
|
|
|
2009-01-07 13:55:26 +00:00
|
|
|
KERNEL := $(word 3,$(subst -, ,$(notdir $(KERNEL_APK))))-$(word 2,$(subst -, ,$(notdir $(KERNEL_APK))))
|
|
|
|
|
|
|
|
ALPINEBASELAYOUT_APK := $(call find_apk,alpine-baselayout)
|
|
|
|
UCLIBC_APK := $(call find_apk,uclibc)
|
|
|
|
BUSYBOX_APK := $(call find_apk,busybox)
|
|
|
|
APK_TOOLS_APK := $(call find_apk,apk-tools)
|
2009-02-18 12:48:22 +00:00
|
|
|
SYSLINUX_APK := $(call find_apk,syslinux)
|
|
|
|
STRACE_APK := $(call find_apk,strace)
|
2009-03-03 11:05:07 +00:00
|
|
|
ACCT_APK := $(call find_apk,acct)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-03-03 11:05:07 +00:00
|
|
|
#SOURCE_APKBUILDS := $(wildcard $(addprefix $(APORTS_DIR)/,$(REPOS))/*/APKBUILD)
|
|
|
|
#SOURCE_APKS = $(wildcard $(APKDIRS)/*apk)
|
2009-02-11 16:02:19 +00:00
|
|
|
#APK_BIN := $(shell which apk)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-11 16:02:19 +00:00
|
|
|
#ifneq ($(words $(KERNEL_APK) $(MODULE_APK) $(ALPINEBASELAYOUT_APK) $(UCLIBC_APK) $(BUSYBOX_APK) $(APK_TOOLS_APK)),6)
|
|
|
|
#$(error I did not find all APKs which I need.)
|
|
|
|
#endif
|
2009-01-07 13:55:26 +00:00
|
|
|
|
|
|
|
all: $(ISO)
|
|
|
|
|
|
|
|
help:
|
|
|
|
@echo "Alpine ISO builder"
|
|
|
|
@echo
|
|
|
|
@echo "Type 'make' to build $(ISO)"
|
|
|
|
@echo
|
|
|
|
@echo "I will use the following sources files:"
|
|
|
|
@echo " 1. $(notdir $(KERNEL_APK)) (looks like $(KERNEL))"
|
|
|
|
@echo " 2. $(notdir $(MODULE_APK))"
|
|
|
|
@echo " 3. $(notdir $(ALPINEBASELAYOUT_APK))"
|
|
|
|
@echo " 4. $(notdir $(UCLIBC_APK))"
|
|
|
|
@echo " 5. $(notdir $(BUSYBOX_APK))"
|
|
|
|
ifeq ($(APK_BIN),)
|
|
|
|
@echo " 6. $(notdir $(APK_TOOLS_APK))"
|
|
|
|
else
|
|
|
|
@echo " 6. $(APK_BIN)"
|
|
|
|
endif
|
|
|
|
@echo
|
2009-02-11 14:47:19 +00:00
|
|
|
@echo "ALPINE_NAME: $(ALPINE_NAME)"
|
|
|
|
@echo "ALPINE_RELEASE: $(ALPINE_RELEASE)"
|
|
|
|
@echo "KERNEL_FLAVOR: $(KERNEL_FLAVOR)"
|
|
|
|
@echo "APORTS_DIR: $(APORTS_DIR)"
|
2009-02-11 16:02:19 +00:00
|
|
|
@echo "KERNEL: $(KERNEL)"
|
2009-02-11 14:47:19 +00:00
|
|
|
@echo
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-01-15 15:47:26 +00:00
|
|
|
clean:
|
|
|
|
rm -rf $(MODLOOP) $(MODLOOP_DIR) $(MODLOOP_DIRSTAMP) \
|
|
|
|
$(INITFS) $(INITFS_DIRSTAMP) $(INITFS_DIR) \
|
2009-03-04 20:13:58 +00:00
|
|
|
$(ISO_DIR) $(REPOS_DIRSTAMP) $(ISO_REPOS_DIRSTAMP)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-11 13:41:56 +00:00
|
|
|
#
|
|
|
|
# Repos
|
|
|
|
#
|
2009-02-11 16:02:19 +00:00
|
|
|
repos: $(REPOS_DIRSTAMP)
|
|
|
|
|
2009-02-11 13:41:56 +00:00
|
|
|
REPOS_DIRSTAMP := $(DESTDIR)/stamp.repos
|
2009-02-11 16:02:19 +00:00
|
|
|
$(REPOS_DIRSTAMP): $(SOURCE_APKBUILDS)
|
|
|
|
@echo "==> repositories: $(REPOS)"
|
|
|
|
@buildrepo -p -a $(APORTS_DIR) -d $(REPOS_DIR) $(REPOS)
|
2009-02-12 07:58:59 +00:00
|
|
|
@touch $@
|
2009-02-11 13:41:56 +00:00
|
|
|
|
2009-02-20 09:45:24 +00:00
|
|
|
%.apk: $(REPOS_DIRSTAMP)
|
|
|
|
|
2009-01-07 13:55:26 +00:00
|
|
|
#
|
|
|
|
# Modloop
|
|
|
|
#
|
2009-02-12 07:30:02 +00:00
|
|
|
MODLOOP := $(ISO_DIR)/boot/$(KERNEL_NAME).cmg
|
2009-01-07 13:55:26 +00:00
|
|
|
MODLOOP_DIR := $(DESTDIR)/modloop
|
|
|
|
MODLOOP_DIRSTAMP := $(DESTDIR)/stamp.modloop
|
|
|
|
|
2009-02-18 12:48:22 +00:00
|
|
|
modloop: $(MODLOOP)
|
|
|
|
|
2009-02-20 09:45:24 +00:00
|
|
|
$(MODLOOP_DIRSTAMP): $(REPOS_DIRSTAMP) $(MOD_APKS)
|
2009-01-07 13:55:26 +00:00
|
|
|
@rm -rf $(MODLOOP_DIR)
|
|
|
|
@mkdir -p $(MODLOOP_DIR)/lib/modules/
|
2009-02-20 09:45:24 +00:00
|
|
|
@for i in $(MOD_APKS); do \
|
|
|
|
echo "==> modloop: prepare modules $$i";\
|
|
|
|
tar -C $(MODLOOP_DIR) -xzf "$$i"; \
|
|
|
|
done
|
2009-01-07 13:55:26 +00:00
|
|
|
@rm -rf $(addprefix $(MODLOOP_DIR)/lib/modules/*/, source build)
|
|
|
|
@depmod $(KERNEL) -b $(MODLOOP_DIR)
|
|
|
|
@touch $(MODLOOP_DIRSTAMP)
|
|
|
|
|
|
|
|
$(MODLOOP): $(MODLOOP_DIRSTAMP)
|
|
|
|
@echo "==> modloop: building image $(notdir $(MODLOOP))"
|
|
|
|
@mkdir -p $(dir $(MODLOOP))
|
|
|
|
@mkcramfs $(MODLOOP_DIR)/lib $(MODLOOP)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Initramfs rules
|
|
|
|
#
|
|
|
|
|
2009-02-11 16:02:19 +00:00
|
|
|
INITFS := $(ISO_DIR)/boot/$(KERNEL_NAME).gz
|
2009-01-07 13:55:26 +00:00
|
|
|
|
|
|
|
INITFS_DIRSTAMP := $(DESTDIR)/stamp.initfs
|
|
|
|
INITFS_DIR := $(DESTDIR)/initfs
|
|
|
|
INITFS_MODDIR := $(INITFS_DIR)/lib/modules/$(KERNEL)
|
|
|
|
INITFS_MODDIRSTAMP := $(DESTDIR)/stamp.initfs.modules
|
|
|
|
|
2009-03-03 11:05:07 +00:00
|
|
|
INITFS_APKS := $(UCLIBC_APK) $(BUSYBOX_APK) $(ACCT_APK)
|
2009-02-18 12:48:22 +00:00
|
|
|
INITFS_RAWBASEFILES := etc/mdev.conf etc/passwd etc/group etc/fstab \
|
|
|
|
etc/modules etc/modprobe.d/blacklist
|
2009-01-07 13:55:26 +00:00
|
|
|
INITFS_BASEFILES := $(addprefix $(INITFS_DIR)/, $(INITFS_RAWBASEFILES))
|
|
|
|
|
2009-02-18 12:48:22 +00:00
|
|
|
initfs: $(INITFS)
|
|
|
|
|
2009-01-07 13:55:26 +00:00
|
|
|
$(INITFS_DIRSTAMP): $(INITFS_APKS)
|
|
|
|
@echo "==> initramfs: prepare baselayout"
|
|
|
|
@rm -rf $(INITFS_DIR)
|
|
|
|
@mkdir -p $(addprefix $(INITFS_DIR)/, \
|
|
|
|
dev proc sys sbin bin .modloop lib/modules \
|
2009-01-13 17:16:45 +00:00
|
|
|
media/cdrom media/floppy media/usb newroot)
|
2009-01-07 13:55:26 +00:00
|
|
|
@for apk in $(INITFS_APKS) ; do \
|
|
|
|
tar -C $(INITFS_DIR) -xzf $$apk ; \
|
|
|
|
done
|
|
|
|
@rm -f "$(INITFS_DIR)/.PKGINFO"
|
|
|
|
@touch $(INITFS_DIRSTAMP)
|
|
|
|
|
|
|
|
$(INITFS_BASEFILES): $(INITFS_DIRSTAMP) $(ALPINEBASELAYOUT_APK)
|
|
|
|
@echo "==> initramfs: $(notdir $(ALPINEBASELAYOUT_APK))"
|
|
|
|
@tar -C $(INITFS_DIR) -xzf $(ALPINEBASELAYOUT_APK) $(INITFS_RAWBASEFILES)
|
2009-03-03 17:43:26 +00:00
|
|
|
#@echo "floppy" >> "$(INITFS_DIR)/etc/modules"
|
|
|
|
#@echo "libata dma=0" >> "$(INITFS_DIR)/etc/modules"
|
2009-01-07 13:55:26 +00:00
|
|
|
@touch $(INITFS_BASEFILES)
|
|
|
|
|
|
|
|
$(INITFS_DIR)/init: initramfs-init $(INITFS_DIRSTAMP)
|
|
|
|
@echo "==> initramfs: init script"
|
|
|
|
@cp initramfs-init "$(INITFS_DIR)/init"
|
|
|
|
|
2009-02-26 09:03:29 +00:00
|
|
|
$(INITFS_DIR)/sbin/bootchartd: bootchartd $(INITFS_DIRSTAMP)
|
|
|
|
@echo "==> initramfs: bootchartd"
|
|
|
|
@cp bootchartd "$(INITFS_DIR)/sbin/bootchartd"
|
|
|
|
|
2009-01-07 13:55:26 +00:00
|
|
|
ifeq ($(APK_BIN),)
|
|
|
|
$(INITFS_DIR)/sbin/apk: $(APK_TOOLS_APK) $(INITFS_DIRSTAMP)
|
|
|
|
@echo "==> initramfs: $(notdir $(APK_TOOLS_APK))"
|
|
|
|
@tar -C $(INITFS_DIR) -xzf $(APK_TOOLS_APK) sbin/apk
|
2009-02-12 07:58:59 +00:00
|
|
|
@touch $@
|
2009-01-07 13:55:26 +00:00
|
|
|
else
|
|
|
|
$(INITFS_DIR)/sbin/apk: $(APK_BIN) $(INITFS_DIRSTAMP)
|
|
|
|
@echo "==> initramfs: copy $(APK_BIN) from buildroot"
|
|
|
|
@cp $(APK_BIN) "$(INITFS_DIR)/sbin"
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(INITFS_MODDIRSTAMP): $(INITFS_DIRSTAMP) $(INITFS_MODFILES) $(MODLOOP_DIRSTAMP)
|
|
|
|
@echo "==> initramfs: $(notdir $(MODULE_APK))"
|
|
|
|
@rm -rf $(INITFS_DIR)/lib/modules
|
|
|
|
@mkdir -p $(addprefix $(INITFS_MODDIR)/kernel/,drivers fs)
|
|
|
|
@for i in acpi ata block ide scsi cdrom usb message hid; do \
|
|
|
|
cp -flLpR $(MODLOOP_DIR)/lib/modules/*/kernel/drivers/$$i \
|
|
|
|
$(INITFS_MODDIR)/kernel/drivers/ ; \
|
|
|
|
done
|
2009-02-18 12:48:22 +00:00
|
|
|
@for i in isofs vfat fat nls jbd 'ext*' cramfs '*.ko'; do \
|
2009-01-07 13:55:26 +00:00
|
|
|
cp -flLpR $(MODLOOP_DIR)/lib/modules/*/kernel/fs/$$i \
|
|
|
|
$(INITFS_MODDIR)/kernel/fs/ ; \
|
|
|
|
done
|
|
|
|
@cp -flLpR $(MODLOOP_DIR)/lib/modules/*/kernel/lib \
|
|
|
|
$(INITFS_MODDIR)/kernel/
|
|
|
|
@depmod $(KERNEL) -b $(INITFS_DIR)
|
|
|
|
@touch $(INITFS_MODDIRSTAMP)
|
|
|
|
|
2009-02-26 09:03:29 +00:00
|
|
|
$(INITFS): $(INITFS_DIRSTAMP) $(INITFS_DIR)/init $(INITFS_DIR)/sbin/bootchartd $(INITFS_DIR)/sbin/apk $(INITFS_MODDIRSTAMP) $(INITFS_BASEFILES)
|
2009-01-07 13:55:26 +00:00
|
|
|
@echo "==> initramfs: creating $(notdir $(INITFS))"
|
2009-03-03 17:43:26 +00:00
|
|
|
@mkdir -p $(dir $(INITFS))
|
2009-01-07 13:55:26 +00:00
|
|
|
@(cd $(INITFS_DIR) && find . | cpio -o -H newc | gzip -9) > $(INITFS)
|
|
|
|
|
2009-03-13 12:01:45 +00:00
|
|
|
#
|
|
|
|
# Vserver template rules
|
|
|
|
#
|
|
|
|
VSTEMPLATE := $(ISO_DIR)/vs-template.tar.bz2
|
|
|
|
VSTEMPLATE_DIR := $(DESTDIR)/vs-template
|
|
|
|
|
|
|
|
vstemplate: $(VSTEMPLATE)
|
|
|
|
@echo "==> vstemplate: built $(VSTEMPLATE)"
|
|
|
|
|
|
|
|
$(VSTEMPLATE):
|
|
|
|
@$(SUDO) rm -rf "$(VSTEMPLATE_DIR)"
|
|
|
|
@$(SUDO) mkdir -p "$(VSTEMPLATE_DIR)"
|
|
|
|
@$(SUDO) apk add --initdb --root $(VSTEMPLATE_DIR) alpine-baselayout
|
|
|
|
@cd $(VSTEMPLATE_DIR) && $(SUDO) tar -jcf $@ *
|
|
|
|
|
2009-01-07 13:55:26 +00:00
|
|
|
#
|
|
|
|
# ISO rules
|
|
|
|
#
|
|
|
|
|
|
|
|
ISOLINUX := $(ISO_DIR)/isolinux
|
|
|
|
ISOLINUX_BIN := $(ISOLINUX)/isolinux.bin
|
|
|
|
ISOLINUX_CFG := $(ISOLINUX)/isolinux.cfg
|
2009-03-04 20:13:58 +00:00
|
|
|
SYSLINUX_CFG := $(ISO_DIR)/syslinux.cfg
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-18 12:48:22 +00:00
|
|
|
$(ISOLINUX_BIN): $(SYSLINUX_APK)
|
2009-01-07 13:55:26 +00:00
|
|
|
@echo "==> iso: install isolinux"
|
|
|
|
@mkdir -p $(dir $(ISOLINUX_BIN))
|
2009-02-18 12:48:22 +00:00
|
|
|
@tar -O -zxf $(SYSLINUX_APK) usr/share/syslinux/isolinux.bin > $@
|
|
|
|
# @cp /usr/share/syslinux/isolinux.bin $(ISOLINUX_BIN)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
|
|
|
$(ISOLINUX_CFG):
|
|
|
|
@echo "==> iso: configure isolinux"
|
|
|
|
@mkdir -p $(dir $(ISOLINUX_BIN))
|
|
|
|
@echo "timeout 20" >$(ISOLINUX_CFG)
|
|
|
|
@echo "prompt 1" >>$(ISOLINUX_CFG)
|
2009-02-11 13:41:56 +00:00
|
|
|
@echo "default $(KERNEL_NAME)" >>$(ISOLINUX_CFG)
|
|
|
|
@echo "label $(KERNEL_NAME)" >>$(ISOLINUX_CFG)
|
2009-02-11 16:02:19 +00:00
|
|
|
@echo " kernel /boot/$(KERNEL_NAME)" >>$(ISOLINUX_CFG)
|
2009-02-18 14:54:51 +00:00
|
|
|
@echo " append initrd=/boot/$(KERNEL_NAME).gz alpine_dev=cdrom:iso9660 modules=floppy quiet" >>$(ISOLINUX_CFG)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-03-04 20:13:58 +00:00
|
|
|
$(SYSLINUX_CFG):
|
|
|
|
@echo "==> iso: configure syslinux"
|
|
|
|
@echo "timeout 20" >$@
|
|
|
|
@echo "prompt 1" >>$@
|
|
|
|
@echo "default $(KERNEL_NAME)" >>$@
|
|
|
|
@echo "label $(KERNEL_NAME)" >>$@
|
|
|
|
@echo " kernel /boot/$(KERNEL_NAME)" >>$@
|
|
|
|
@echo " append initrd=/boot/$(KERNEL_NAME).gz alpine_dev=sda1:vfat quiet" >>$@
|
|
|
|
|
2009-02-11 13:41:56 +00:00
|
|
|
ISO_KERNEL := $(ISO_DIR)/boot/$(KERNEL_NAME)
|
2009-03-03 11:05:07 +00:00
|
|
|
ISO_PKGDIR := $(ISO_DIR)/packages
|
|
|
|
ISO_REPOS := $(addprefix $(ISO_PKGDIR)/,$(REPOS))
|
|
|
|
ISO_APKINDEX := $(addsuffix /APK_INDEX.gz,$(ISO_REPOS))
|
|
|
|
ISO_REPOS_DIRSTAMP := $(DESTDIR)/stamp.isorepos
|
|
|
|
|
|
|
|
$(ISO_REPOS_DIRSTAMP): $(addsuffix /APK_INDEX.gz,$(addprefix $(REPOS_DIR)/,$(REPOS)))
|
|
|
|
@echo "==> iso: prepare repositories $(REPOS)"
|
|
|
|
@rm -rf $(ISO_PKGDIR)
|
|
|
|
@mkdir -p $(ISO_REPOS)
|
|
|
|
@for r in $(REPOS); do \
|
|
|
|
for a in $(REPOS_DIR)/$$r/*; do \
|
|
|
|
ln -f "$$a" $(ISO_PKGDIR)/$$r/$${a##*/} 2>/dev/null \
|
|
|
|
|| cp -r "$$a" $(ISO_PKGDIR)/$$r/$${a##*/} ;\
|
|
|
|
done;\
|
|
|
|
done
|
|
|
|
@touch $@
|
|
|
|
|
|
|
|
#$(ISO_APKINDEX): $(ISO_REPOS)
|
|
|
|
# @apk index $(dir $@)/*.apk | gzip -9 > $@
|
2009-01-07 13:55:26 +00:00
|
|
|
|
|
|
|
$(ISO_KERNEL): $(KERNEL_APK)
|
|
|
|
@echo "==> iso: install kernel $(KERNEL)"
|
|
|
|
@mkdir -p $(dir $(ISO_KERNEL))
|
2009-02-11 13:41:56 +00:00
|
|
|
@tar -C $(ISO_DIR) -xzf $(KERNEL_APK)
|
|
|
|
@rm -f $(ISO_DIR)/.[A-Z]*
|
2009-01-07 13:55:26 +00:00
|
|
|
@touch $(ISO_KERNEL)
|
|
|
|
|
2009-03-04 20:13:58 +00:00
|
|
|
$(ISO): $(MODLOOP) $(INITFS) $(ISOLINUX_CFG) $(ISOLINUX_BIN) $(ISO_KERNEL) $(ISO_REPOS_DIRSTAMP) $(SYSLINUX_CFG)
|
2009-01-07 13:55:26 +00:00
|
|
|
@echo "==> iso: building $(notdir $(ISO))"
|
2009-01-28 17:21:07 +00:00
|
|
|
@echo "$(ALPINE_NAME)-$(ALPINE_RELEASE) $(BUILD_DATE)" \
|
|
|
|
> $(ISO_DIR)/.alpine-release
|
2009-01-07 13:55:26 +00:00
|
|
|
@genisoimage -o $(ISO) -l -J -R \
|
|
|
|
-b isolinux/isolinux.bin \
|
|
|
|
-c isolinux/boot.cat \
|
|
|
|
-no-emul-boot \
|
|
|
|
-boot-load-size 4 \
|
|
|
|
-boot-info-table \
|
|
|
|
-quiet \
|
|
|
|
$(ISO_DIR)
|
2009-01-28 17:21:07 +00:00
|
|
|
@ln -fs $@ $(ISO_LINK)
|
2009-01-07 13:55:26 +00:00
|
|
|
|
2009-02-11 14:47:19 +00:00
|
|
|
iso: $(ISO)
|