From 555dbcc8b3c269eb0edc1e26b02c12c387368c4e Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 23 Oct 2009 11:43:14 +0200 Subject: [PATCH] [examples] update .spec files, add non-mandatory execution_strategy stmt --- examples/specs/4-amd64-g.spec | 4 ++ examples/specs/4-amd64-k.spec | 4 ++ examples/specs/4-x86-g.spec | 4 ++ examples/specs/4-x86-k.spec | 4 ++ examples/specs/5-amd64-g.spec | 4 ++ examples/specs/5-amd64-k.spec | 4 ++ .../specs/5-x86-g-remaster-add-games.spec | 38 +++++++++++++++++++ examples/specs/5-x86-g.spec | 4 ++ examples/specs/5-x86-k.spec | 4 ++ examples/specs/Sabayon4-x86.spec | 4 ++ 10 files changed, 74 insertions(+) create mode 100644 examples/specs/5-x86-g-remaster-add-games.spec diff --git a/examples/specs/4-amd64-g.spec b/examples/specs/4-amd64-g.spec index 2afee8b..99e31e4 100755 --- a/examples/specs/4-amd64-g.spec +++ b/examples/specs/4-amd64-g.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 amd64 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script # prechroot: diff --git a/examples/specs/4-amd64-k.spec b/examples/specs/4-amd64-k.spec index efcd845..0a63420 100755 --- a/examples/specs/4-amd64-k.spec +++ b/examples/specs/4-amd64-k.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 amd64 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script # prechroot: diff --git a/examples/specs/4-x86-g.spec b/examples/specs/4-x86-g.spec index d2d4992..9783a06 100755 --- a/examples/specs/4-x86-g.spec +++ b/examples/specs/4-x86-g.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 x86 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script prechroot: linux32 diff --git a/examples/specs/4-x86-k.spec b/examples/specs/4-x86-k.spec index 0cee2d1..757a6a2 100755 --- a/examples/specs/4-x86-k.spec +++ b/examples/specs/4-x86-k.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 x86 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script prechroot: linux32 diff --git a/examples/specs/5-amd64-g.spec b/examples/specs/5-amd64-g.spec index e0b4d52..c076b6c 100755 --- a/examples/specs/5-amd64-g.spec +++ b/examples/specs/5-amd64-g.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 amd64 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script # prechroot: diff --git a/examples/specs/5-amd64-k.spec b/examples/specs/5-amd64-k.spec index a80fe3b..59ec4e0 100755 --- a/examples/specs/5-amd64-k.spec +++ b/examples/specs/5-amd64-k.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 amd64 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script # prechroot: diff --git a/examples/specs/5-x86-g-remaster-add-games.spec b/examples/specs/5-x86-g-remaster-add-games.spec new file mode 100644 index 0000000..1aad4c7 --- /dev/null +++ b/examples/specs/5-x86-g-remaster-add-games.spec @@ -0,0 +1,38 @@ +# Sabayon Linux 5 x86 GNOME Molecule remaster spec file +# The aim of this spec file is to add arbitrary applications & misc stuff +# to an already built ISO image via scripting (providing hooks that call +# user-defined scripts). +# squashfs, mkisofs needed + +# Define an alternative execution strategy, in this case, the value must be +# "iso_remaster" +execution_strategy: iso_remaster + +# pre chroot command, example, for 32bit chroots on 64bit system, you always +# have to append "linux32" this is useful for inner_chroot_script +prechroot: linux32 + +# Path to source ISO file +source_iso: /sabayon/iso_images/Sabayon_5.0_G.iso + +# Outer chroot script command, to be executed outside destination chroot before packing it +# - x86-archscript.sh - setup kernel bins +# outer_chroot_script: /path/to/script/to/be/executed/outside + +# Inner chroot script command, to be executed inside destination chroot before packing it +# - kmerge.sh - setup kernel bins +# inner_chroot_script: /sabayon/scripts/inner_chroot_script.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_script: /sabayon/scripts/cdroot.py + +# Destination directory for the ISO image path +destination_iso_directory: /home/fabio + +# Destination ISO image name, call whatever you want.iso, not mandatory +# destination_iso_image_name: + + diff --git a/examples/specs/5-x86-g.spec b/examples/specs/5-x86-g.spec index de09a07..16e27c8 100755 --- a/examples/specs/5-x86-g.spec +++ b/examples/specs/5-x86-g.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 x86 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script prechroot: linux32 diff --git a/examples/specs/5-x86-k.spec b/examples/specs/5-x86-k.spec index b1bcba4..65d2c4f 100755 --- a/examples/specs/5-x86-k.spec +++ b/examples/specs/5-x86-k.spec @@ -1,6 +1,10 @@ # Sabayon Linux 4 x86 Molecule spec file # squashfs, mkisofs needed +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # this is useful for inner_chroot_script prechroot: linux32 diff --git a/examples/specs/Sabayon4-x86.spec b/examples/specs/Sabayon4-x86.spec index 6c93668..e93dbf9 100644 --- a/examples/specs/Sabayon4-x86.spec +++ b/examples/specs/Sabayon4-x86.spec @@ -1,5 +1,9 @@ # Molecule example .spec file +# Define an alternative execution strategy, in this case, the value must be +# "livecd" +# execution_strategy: livecd + # pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" # prechroot: linux32