diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-30 22:41:23 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-30 22:41:26 +0200 |
commit | 56ff221ebe27182c4720ca96cf4680a7fdf85fb1 (patch) | |
tree | 8041474dadf33e0359a1abdb6947e64229aa59ac | |
parent | 811a443d209a69da71109204b013f5526043143a (diff) | |
download | ptxdist-56ff221ebe27182c4720ca96cf4680a7fdf85fb1.tar.gz ptxdist-56ff221ebe27182c4720ca96cf4680a7fdf85fb1.tar.xz |
platforms: remove old ISO image rule
If this is still needed, a new proper image package using genimage should
be created.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | platforms/image_iso.in | 29 | ||||
-rw-r--r-- | rules/post/image_iso.make | 48 |
2 files changed, 0 insertions, 77 deletions
diff --git a/platforms/image_iso.in b/platforms/image_iso.in deleted file mode 100644 index 0677badf4..000000000 --- a/platforms/image_iso.in +++ /dev/null @@ -1,29 +0,0 @@ -## SECTION=image - -menuconfig IMAGE_ISO - bool - select SYSLINUX - select HOST_CDRKIT - select IMAGE_ROOT_CPIO_GZ - depends on ARCH_X86 - prompt "Generate images/bootcd.iso " - help - build a bootable cd image - -if IMAGE_ISO - -config IMAGE_ISO_ADDON_DIR - string - prompt "addon dir" - default "${PTXDIST_TOPDIR}/config/image_iso" - help - Specify a directory which contents will be copied to the - ISO image. - - The default is: - "${PTXDIST_TOPDIR}/config/image_iso" - - If you want to specify a path in your workspace, use: - "${PTXDIST_WORKSPACE}/<path>" - -endif diff --git a/rules/post/image_iso.make b/rules/post/image_iso.make deleted file mode 100644 index d50eb7954..000000000 --- a/rules/post/image_iso.make +++ /dev/null @@ -1,48 +0,0 @@ -# -*-makefile-*- -# -# Copyright (C) 2010 by Marc Kleine-Budde <mkl@pengutronix.de> -# -# See CREDITS for details about who has contributed to this project. -# -# For further information about the PTXdist project and license conditions -# see the README file. -# - -SEL_ROOTFS-$(PTXCONF_IMAGE_ISO) += $(IMAGEDIR)/bootcd.iso - -image_iso/workdir := $(IMAGEDIR)/image_iso-workdir -image_iso/isolinux_bin := $(PTXDIST_SYSROOT_TARGET)/usr/share/syslinux/isolinux.bin - -ifdef PTXCONF_IMAGE_ISO -$(IMAGEDIR)/bootcd.iso: $(IMAGEDIR)/root.cpio.gz $(IMAGEDIR)/linuximage $(image_iso/isolinux_bin) - @echo -n "Creating '$(notdir $(@))' from '$(notdir $(<))'..." - @rm -rf "$(image_iso/workdir)" - @mkdir -p "$(image_iso/workdir)" - @cp $(^) "$(image_iso/workdir)" - @mv "$(image_iso/workdir)/root.cpio.gz" "$(image_iso/workdir)/initrd.gz" - @mv "$(image_iso/workdir)/linuximage" "$(image_iso/workdir)/kernel" - @tar -C $(PTXCONF_IMAGE_ISO_ADDON_DIR) -cf - \ - --exclude .git \ - --exclude .pc \ - --exclude .svn \ - --exclude *~ \ - . | \ - tar -o -C "$(image_iso/workdir)" -xf - - @if [ \! -e "$(image_iso/workdir)/isolinux.cfg" ]; then \ - ptxd_bailout "no isolinux.cfg found - please ensure you have one in your $(PTXCONF_IMAGE_ISO_ADDON_DIR) directory."; \ - fi - @genisoimage \ - -R \ - -V "$(call remove_quotes, $(PTXCONF_PROJECT)$(PTXCONF_PROJECT_VERSION))" \ - -o $(@) \ - -b "$(notdir $(image_iso/isolinux_bin))" \ - -c boot.cat \ - -no-emul-boot \ - -boot-load-size 4 \ - -boot-info-table \ - "$(image_iso/workdir)" >/dev/null 2>&1 - @rm -rf "$(image_iso/workdir)" - @echo "done." -endif - -# vim: syntax=make |