From 2d2dbcff4027125e02d4f90130fc745ab7577357 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 23 Jul 2010 11:01:56 +0200 Subject: [PATCH] [molecule/examples] add more documentation to "pre_iso_script", and document "post_iso_script" --- examples/specs/sabayon/corecdx.common | 14 +++++++++++++- examples/specs/sabayon/gnome+kde.common | 15 +++++++++++++++ examples/specs/sabayon/lxde.common | 14 +++++++++++++- examples/specs/sabayon/spinbase.common | 14 +++++++++++++- examples/specs/sabayon/xfce.common | 14 +++++++++++++- 5 files changed, 67 insertions(+), 4 deletions(-) diff --git a/examples/specs/sabayon/corecdx.common b/examples/specs/sabayon/corecdx.common index 9603093..5e5bdbd 100644 --- a/examples/specs/sabayon/corecdx.common +++ b/examples/specs/sabayon/corecdx.common @@ -26,9 +26,21 @@ outer_chroot_script_after: /sabayon/scripts/remaster_post.sh # Extra mkisofs parameters, perhaps something to include/use your bootloader extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat -# Pre-ISO building script. Hook to be able to copy kernel images in place, for example +# Pre-ISO building script. Hook called before ISO image creation +# Variables exported: +# SOURCE_CHROOT_DIR = path pointing to the initial chroot +# CHROOT_DIR = path pointing to the working chroot (the one that gets modified) +# CDROOT_DIR = path pointing to the root of the CD image being created +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) pre_iso_script: /sabayon/scripts/corecdx_pre_iso_script.sh +# Post-ISO building script. Hook called after ISO image creation +# Variables exported: +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) +# post_iso_script: /sabayon/scripts/post_iso_script.sh + # Destination directory for the ISO image path (MANDATORY) destination_iso_directory: /sabayon/iso diff --git a/examples/specs/sabayon/gnome+kde.common b/examples/specs/sabayon/gnome+kde.common index 2b661d4..5c34343 100644 --- a/examples/specs/sabayon/gnome+kde.common +++ b/examples/specs/sabayon/gnome+kde.common @@ -44,6 +44,21 @@ extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat # Pre-ISO building script. Hook to be able to copy kernel images in place, for example pre_iso_script: /sabayon/scripts/cdroot.py +# Pre-ISO building script. Hook called before ISO image creation +# Variables exported: +# SOURCE_CHROOT_DIR = path pointing to the initial chroot +# CHROOT_DIR = path pointing to the working chroot (the one that gets modified) +# CDROOT_DIR = path pointing to the root of the CD image being created +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) +pre_iso_script: /sabayon/scripts/cdroot.py + +# Post-ISO building script. Hook called after ISO image creation +# Variables exported: +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) +# post_iso_script: /sabayon/scripts/post_iso_script.sh + # Destination directory for the ISO image path destination_iso_directory: /sabayon/iso diff --git a/examples/specs/sabayon/lxde.common b/examples/specs/sabayon/lxde.common index 8beca96..655fca8 100644 --- a/examples/specs/sabayon/lxde.common +++ b/examples/specs/sabayon/lxde.common @@ -26,9 +26,21 @@ outer_chroot_script_after: /sabayon/scripts/remaster_post.sh # Extra mkisofs parameters, perhaps something to include/use your bootloader extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat -# Pre-ISO building script. Hook to be able to copy kernel images in place, for example +# Pre-ISO building script. Hook called before ISO image creation +# Variables exported: +# SOURCE_CHROOT_DIR = path pointing to the initial chroot +# CHROOT_DIR = path pointing to the working chroot (the one that gets modified) +# CDROOT_DIR = path pointing to the root of the CD image being created +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) pre_iso_script: /sabayon/scripts/generic_pre_iso_script.sh LXDE +# Post-ISO building script. Hook called after ISO image creation +# Variables exported: +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) +# post_iso_script: /sabayon/scripts/post_iso_script.sh + # Destination directory for the ISO image path (MANDATORY) destination_iso_directory: /sabayon/iso diff --git a/examples/specs/sabayon/spinbase.common b/examples/specs/sabayon/spinbase.common index e66c208..b658300 100644 --- a/examples/specs/sabayon/spinbase.common +++ b/examples/specs/sabayon/spinbase.common @@ -29,9 +29,21 @@ merge_livecd_root: /sabayon/boot/core # Extra mkisofs parameters, perhaps something to include/use your bootloader extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat -# Pre-ISO building script. Hook to be able to copy kernel images in place, for example +# Pre-ISO building script. Hook called before ISO image creation +# Variables exported: +# SOURCE_CHROOT_DIR = path pointing to the initial chroot +# CHROOT_DIR = path pointing to the working chroot (the one that gets modified) +# CDROOT_DIR = path pointing to the root of the CD image being created +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) pre_iso_script: /sabayon/scripts/cdroot.py +# Post-ISO building script. Hook called after ISO image creation +# Variables exported: +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) +# post_iso_script: /sabayon/scripts/post_iso_script.sh + # Destination directory for the ISO image path destination_iso_directory: /sabayon/iso diff --git a/examples/specs/sabayon/xfce.common b/examples/specs/sabayon/xfce.common index 7d125f9..07b9cd6 100644 --- a/examples/specs/sabayon/xfce.common +++ b/examples/specs/sabayon/xfce.common @@ -26,9 +26,21 @@ outer_chroot_script_after: /sabayon/scripts/remaster_post.sh # Extra mkisofs parameters, perhaps something to include/use your bootloader extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat -# Pre-ISO building script. Hook to be able to copy kernel images in place, for example +# Pre-ISO building script. Hook called before ISO image creation +# Variables exported: +# SOURCE_CHROOT_DIR = path pointing to the initial chroot +# CHROOT_DIR = path pointing to the working chroot (the one that gets modified) +# CDROOT_DIR = path pointing to the root of the CD image being created +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) pre_iso_script: /sabayon/scripts/generic_pre_iso_script.sh XFCE +# Post-ISO building script. Hook called after ISO image creation +# Variables exported: +# ISO_PATH = path pointing to the destination ISO +# ISO_CHECKSUM_PATH = path pointing to the destination iso checksum (md5) +# post_iso_script: /sabayon/scripts/post_iso_script.sh + # Destination directory for the ISO image path (MANDATORY) destination_iso_directory: /sabayon/iso