diff --git a/examples/specs/5-amd64-g.spec b/examples/specs/5-amd64-g.spec deleted file mode 100644 index 27a9951..0000000 --- a/examples/specs/5-amd64-g.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Sabayon Linux 4 amd64 Molecule spec file -# squashfs, mkisofs needed - -# pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" -# this is useful for inner_chroot_script -# prechroot: - -# Release string -release_string: Sabayon Linux - -# Release Version -release_version: 5.3 - -# Release Version string description -release_desc: amd64 G - -# Release file (inside chroot) -release_file: /etc/sabayon-edition - -# Source chroot directory, where files are pulled from -source_chroot: /sabayon/sources/amd64_gnome-2009 - -# Destination chroot directory, where files are pushed to before creating the squashfs image -# NOTE: data will be stored inside an auto-generated subdir -destination_chroot: /sabayon - -# Merge directory with destination chroot -# merge_destination_chroot: - -# Extra mirror (r)sync parameters -extra_rsync_parameters: --one-file-system --exclude proc/* - -# Inner "source" chroot script command, to be executed inside source chroot -# before copying to destination chroot. In this way you can commit automatic -# and persistent updates to your chroot -# inner_source_chroot_script: /path/to/inner_source_chroot_executable_hook - -# Outer chroot script command, to be executed outside destination chroot before packing it -# - amd64-archscript.sh - setup kernel bins -outer_chroot_script: /sabayon/scripts/remaster_pre.sh - -# Outer chroot script command, to be executed outside destination chroot before -# before entering it (and AFTER inner_chroot_script) -outer_chroot_script_after: /sabayon/scripts/remaster_post.sh - -# 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 - -# Destination LiveCD root directory, where files are placed before getting mkisofs'ed -# NOTE: data will be stored inside an auto-generated subdir -destination_livecd_root: /sabayon - -# Merge directory with destination LiveCD root -merge_livecd_root: /sabayon/boot/standard - -# Extra mksquashfs parameters -# extra_mksquashfs_parameters: - -# 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 called before making the iso image. -# environment variables exported: -# SOURCE_CHROOT_DIR: path pointing to source chroot directory -# CHROOT_DIR: path pointing to destination chroot directory (chroot being worked -# on) -# CDROOT_DIR: path pointing to CD/DVD root directory (ISO filesystem root) -pre_iso_script: /sabayon/scripts/cdroot.py - -# Post-ISO building script. Hook called after having made the iso image and md5. -# environment variables exported: -# ISO_PATH: path to newly created ISO image file -# ISO_CHECKSUM_PATH: path to newly created ISO image checksum file -# post_iso_script: /sabayon/scripts/post_iso_script.sh - -# Destination directory for the ISO image path -destination_iso_directory: /sabayon/iso - -# Destination ISO image name, call whatever you want.iso, not mandatory -destination_iso_image_name: Sabayon_Linux_5.3_amd64_G.iso - -# Directories to remove completely (comma separated) -paths_to_remove: - /var/lib/entropy/client/database/amd64/sabayonlinux.org, - /boot/grub/grub.conf, - /root/.subversion, - /lib/udev-state/devices.tar.bz2, - /var/log/scrollkeeper.log, /var/log/genkernel.log, - /var/log/emerge.log, /usr/tmp/portage/*, - /root/.bash_history, /home/sabayonuser/.bash_history, - /usr/share/slocate/slocate.db, - /root/test-results.txt, - /root/test.sh, - /usr/portage/distfiles/*, - /usr/portage/packages/*, - /root/.revdep*, - /install-data/games/*, - /var/lib/entropy/store/*, - /var/log/entropy/*, - /var/lib/entropy/caches/*, - /var/lib/entropy/smartapps/amd64/*, - /var/lib/entropy/smartapps/amd64/*, - /var/lib/entropy/tmp/*, - /var/lib/entropy/packages*/*, - /var/tmp/entropy/*, - /*.txt, - /usr/portage/a*, - /usr/portage/b*, - /usr/portage/c*, - /usr/portage/d*, - /usr/portage/e*, - /usr/portage/f*, - /usr/portage/g*, - /usr/portage/h*, - /usr/portage/i*, - /usr/portage/j*, - /usr/portage/k*, - /usr/portage/licenses, - /usr/portage/lxde*, - /usr/portage/m*, - /usr/portage/n*, - /usr/portage/o*, - /usr/portage/packages, - /usr/portage/pe*, - /usr/portage/q*, - /usr/portage/r*, - /usr/portage/s*, - /usr/portage/t*, - /usr/portage/u*, - /usr/portage/v*, - /usr/portage/w*, - /usr/portage/x*, - /usr/portage/y*, - /usr/portage/z*, - /etc/ssh/ssh_host_*, - /var/run/screen*, - /entropy, - /tmp/equoerror.txt, - /var/cache/man, - /var/lib/entropy/glsa/*, - /opt/anaconda/usr/lib32, - /opt/anaconda/usr/share/anaconda/po, - /var/log/entropy/*.log, - /etc/mtab, - /boot/grub/grub.c*, - /tmp/.ICE-unix*, - /tmp/*.txt, - /tmp/.X*, - /boot/grub/device.map - -# Directories to empty (comma separated) -paths_to_empty: - /home/sabayonuser/.thumbnails/, - /var/tmp, - /root/.ccache, - /var/tmp/portage, - /var/tmp/ccache, - /var/tmp/portage-pkg, - /var/tmp/binpkgs, - /var/lib/entropy/portage, - /var/lib/entropy/logs, - /var/lib/entropy/packages/amd64/4, - /var/cache/genkernel - diff --git a/examples/specs/5-amd64-k.spec b/examples/specs/5-amd64-k.spec deleted file mode 100644 index 8e95aea..0000000 --- a/examples/specs/5-amd64-k.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Sabayon Linux 4 amd64 Molecule spec file -# squashfs, mkisofs needed - -# pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32" -# this is useful for inner_chroot_script -# prechroot: - -# Release string -release_string: Sabayon Linux - -# Release Version -release_version: 5.3 - -# Release Version string description -release_desc: amd64 K - -# Release file (inside chroot) -release_file: /etc/sabayon-edition - -# Source chroot directory, where files are pulled from -source_chroot: /sabayon/sources/amd64_kde-2009 - -# Destination chroot directory, where files are pushed to before creating the squashfs image -# NOTE: data will be stored inside an auto-generated subdir -destination_chroot: /sabayon - -# Merge directory with destination chroot -# merge_destination_chroot: - -# Extra mirror (r)sync parameters -extra_rsync_parameters: --one-file-system --exclude proc/* - -# Inner "source" chroot script command, to be executed inside source chroot -# before copying to destination chroot. In this way you can commit automatic -# and persistent updates to your chroot -# inner_source_chroot_script: /path/to/inner_source_chroot_executable_hook - -# Outer chroot script command, to be executed outside destination chroot before packing it -# - amd64-archscript.sh - setup kernel bins -outer_chroot_script: /sabayon/scripts/remaster_pre.sh - -# Outer chroot script command, to be executed outside destination chroot before -# before entering it (and AFTER inner_chroot_script) -outer_chroot_script_after: /sabayon/scripts/remaster_post.sh - -# 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 - -# Destination LiveCD root directory, where files are placed before getting mkisofs'ed -# NOTE: data will be stored inside an auto-generated subdir -destination_livecd_root: /sabayon - -# Merge directory with destination LiveCD root -merge_livecd_root: /sabayon/boot/standard - -# Extra mksquashfs parameters -# extra_mksquashfs_parameters: - -# 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 called before making the iso image. -# environment variables exported: -# SOURCE_CHROOT_DIR: path pointing to source chroot directory -# CHROOT_DIR: path pointing to destination chroot directory (chroot being worked -# on) -# CDROOT_DIR: path pointing to CD/DVD root directory (ISO filesystem root) -pre_iso_script: /sabayon/scripts/cdroot.py - -# Post-ISO building script. Hook called after having made the iso image and md5. -# environment variables exported: -# ISO_PATH: path to newly created ISO image file -# ISO_CHECKSUM_PATH: path to newly created ISO image checksum file -# post_iso_script: /sabayon/scripts/post_iso_script.sh - -# Destination directory for the ISO image path -destination_iso_directory: /sabayon/iso - -# Destination ISO image name, call whatever you want.iso, not mandatory -destination_iso_image_name: Sabayon_Linux_5.3_amd64_K.iso - -# Directories to remove completely (comma separated) -paths_to_remove: - /var/lib/entropy/client/database/amd64/sabayonlinux.org, - /boot/grub/grub.conf, - /root/.subversion, - /lib/udev-state/devices.tar.bz2, - /var/log/scrollkeeper.log, /var/log/genkernel.log, - /var/log/emerge.log, /usr/tmp/portage/*, - /root/.bash_history, - /usr/share/slocate/slocate.db, - /root/test-results.txt, - /root/test.sh, - /usr/portage/distfiles/*, - /usr/portage/packages/*, - /root/.revdep*, - /install-data/games/*, - /var/lib/entropy/store/*, - /var/log/entropy/*, - /var/lib/entropy/caches/*, - /var/lib/entropy/smartapps/amd64/*, - /var/lib/entropy/smartapps/amd64/*, - /var/lib/entropy/tmp/*, - /var/lib/entropy/packages*/*, - /var/tmp/entropy/*, - /*.txt, - /usr/portage/a*, - /usr/portage/b*, - /usr/portage/c*, - /usr/portage/d*, - /usr/portage/e*, - /usr/portage/f*, - /usr/portage/g*, - /usr/portage/h*, - /usr/portage/i*, - /usr/portage/j*, - /usr/portage/k*, - /usr/portage/licenses, - /usr/portage/lxde*, - /usr/portage/m*, - /usr/portage/n*, - /usr/portage/o*, - /usr/portage/packages, - /usr/portage/pe*, - /usr/portage/q*, - /usr/portage/r*, - /usr/portage/s*, - /usr/portage/t*, - /usr/portage/u*, - /usr/portage/v*, - /usr/portage/w*, - /usr/portage/x*, - /usr/portage/y*, - /usr/portage/z*, - /etc/ssh/ssh_host_*, - /var/run/screen*, - /entropy, - /tmp/equoerror.txt, - /var/cache/man, - /var/lib/entropy/glsa/*, - /opt/anaconda/usr/lib32, - /opt/anaconda/usr/share/anaconda/po, - /var/log/entropy/*.log, - /etc/mtab, - /boot/grub/grub.c*, - /tmp/.ICE-unix*, - /tmp/*.txt, - /tmp/.X*, - /boot/grub/device.map - -# Directories to empty (comma separated) -paths_to_empty: - /home/sabayonuser/.thumbnails/, - /var/tmp, - /root/.ccache, - /var/tmp/portage, - /var/tmp/ccache, - /var/tmp/portage-pkg, - /var/tmp/binpkgs, - /var/lib/entropy/portage, - /var/lib/entropy/logs, - /var/lib/entropy/packages/amd64/4, - /var/cache/genkernel diff --git a/examples/specs/5-x86-g.spec b/examples/specs/5-x86-g.spec deleted file mode 100644 index 89c16a5..0000000 --- a/examples/specs/5-x86-g.spec +++ /dev/null @@ -1,167 +0,0 @@ -# Sabayon Linux 4 x86 Molecule spec file -# squashfs, mkisofs needed - -# 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 - -# Release string -release_string: Sabayon Linux - -# Release Version -release_version: 5.3 - -# Release Version string description -release_desc: x86 G - -# Release file (inside chroot) -release_file: /etc/sabayon-edition - -# Source chroot directory, where files are pulled from -source_chroot: /sabayon/sources/x86_gnome-2009 - -# Destination chroot directory, where files are pushed to before creating the squashfs image -# NOTE: data will be stored inside an auto-generated subdir -destination_chroot: /sabayon - -# Merge directory with destination chroot -# merge_destination_chroot: - -# Extra mirror (r)sync parameters -extra_rsync_parameters: --one-file-system --exclude proc/* - -# Inner "source" chroot script command, to be executed inside source chroot -# before copying to destination chroot. In this way you can commit automatic -# and persistent updates to your chroot -# inner_source_chroot_script: /path/to/inner_source_chroot_executable_hook - -# Outer chroot script command, to be executed outside destination chroot before packing it -# - x86-archscript.sh - setup kernel bins -outer_chroot_script: /sabayon/scripts/remaster_pre.sh - -# Outer chroot script command, to be executed outside destination chroot before -# before entering it (and AFTER inner_chroot_script) -outer_chroot_script_after: /sabayon/scripts/remaster_post.sh - -# 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 - -# Destination LiveCD root directory, where files are placed before getting mkisofs'ed -# NOTE: data will be stored inside an auto-generated subdir -destination_livecd_root: /sabayon - -# Merge directory with destination LiveCD root -merge_livecd_root: /sabayon/boot/standard - -# Extra mksquashfs parameters -# extra_mksquashfs_parameters: - -# 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 called before making the iso image. -# environment variables exported: -# SOURCE_CHROOT_DIR: path pointing to source chroot directory -# CHROOT_DIR: path pointing to destination chroot directory (chroot being worked -# on) -# CDROOT_DIR: path pointing to CD/DVD root directory (ISO filesystem root) -pre_iso_script: /sabayon/scripts/cdroot.py - -# Post-ISO building script. Hook called after having made the iso image and md5. -# environment variables exported: -# ISO_PATH: path to newly created ISO image file -# ISO_CHECKSUM_PATH: path to newly created ISO image checksum file -# post_iso_script: /sabayon/scripts/post_iso_script.sh - -# Destination directory for the ISO image path -destination_iso_directory: /sabayon/iso - -# Destination ISO image name, call whatever you want.iso, not mandatory -destination_iso_image_name: Sabayon_Linux_5.3_x86_G.iso - -# Directories to remove completely (comma separated) -paths_to_remove: - /var/lib/entropy/client/database/x86/sabayonlinux.org, - /boot/grub/grub.conf, - /root/.subversion, - /lib/udev-state/devices.tar.bz2, - /var/log/scrollkeeper.log, - /var/log/genkernel.log, - /var/log/emerge.log, - /usr/tmp/portage/*, - /root/.bash_history, - /usr/share/slocate/slocate.db, - /root/test-results.txt, - /root/test.sh, - /usr/portage/distfiles/*, - /usr/portage/packages/*, - /root/.revdep*, - /install-data/games/*, - /var/lib/entropy/store/*, - /var/log/entropy/*, - /var/lib/entropy/caches/*, - /var/lib/entropy/smartapps/amd64/*, - /var/lib/entropy/smartapps/x86/*, - /var/lib/entropy/tmp/*, - /var/lib/entropy/packages*/*, - /var/tmp/entropy/*, - /*.txt, - /usr/portage/a*, - /usr/portage/b*, - /usr/portage/c*, - /usr/portage/d*, - /usr/portage/e*, - /usr/portage/f*, - /usr/portage/g*, - /usr/portage/h*, - /usr/portage/i*, - /usr/portage/j*, - /usr/portage/k*, - /usr/portage/licenses, - /usr/portage/lxde*, - /usr/portage/m*, - /usr/portage/n*, - /usr/portage/o*, - /usr/portage/packages, - /usr/portage/pe*, - /usr/portage/q*, - /usr/portage/r*, - /usr/portage/s*, - /usr/portage/t*, - /usr/portage/u*, - /usr/portage/v*, - /usr/portage/w*, - /usr/portage/x*, - /usr/portage/y*, - /usr/portage/z*, - /etc/ssh/ssh_host_*, - /var/run/screen*, - /entropy, - /tmp/equoerror.txt, - /var/cache/man, - /var/lib/entropy/glsa/*, - /opt/anaconda/usr/lib64, - /opt/anaconda/usr/share/anaconda/po, - /var/log/entropy/*.log, - /etc/mtab, - /boot/grub/grub.c*, - /tmp/.ICE-unix*, - /tmp/*.txt, - /tmp/.X*, - /boot/grub/device.map - -# Directories to empty (comma separated) -paths_to_empty: - /home/sabayonuser/.thumbnails/, - /var/tmp, - /root/.ccache, - /var/tmp/portage, - /var/tmp/ccache, - /var/tmp/portage-pkg, - /var/tmp/binpkgs, - /var/lib/entropy/portage, - /var/lib/entropy/logs, - /var/lib/entropy/packages/x86/4, - /var/cache/genkernel - diff --git a/examples/specs/5-x86-k.spec b/examples/specs/5-x86-k.spec deleted file mode 100644 index 176d380..0000000 --- a/examples/specs/5-x86-k.spec +++ /dev/null @@ -1,167 +0,0 @@ -# Sabayon Linux 4 x86 Molecule spec file -# squashfs, mkisofs needed - -# 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 - -# Release string -release_string: Sabayon Linux - -# Release Version -release_version: 5.3 - -# Release Version string description -release_desc: x86 K - -# Release file (inside chroot) -release_file: /etc/sabayon-edition - -# Source chroot directory, where files are pulled from -source_chroot: /sabayon/sources/x86_kde-2009 - -# Destination chroot directory, where files are pushed to before creating the squashfs image -# NOTE: data will be stored inside an auto-generated subdir -destination_chroot: /sabayon - -# Merge directory with destination chroot -# merge_destination_chroot: - -# Extra mirror (r)sync parameters -extra_rsync_parameters: --one-file-system --exclude proc/* - -# Inner "source" chroot script command, to be executed inside source chroot -# before copying to destination chroot. In this way you can commit automatic -# and persistent updates to your chroot -# inner_source_chroot_script: /path/to/inner_source_chroot_executable_hook - -# Outer chroot script command, to be executed outside destination chroot before packing it -# - x86-archscript.sh - setup kernel bins -outer_chroot_script: /sabayon/scripts/remaster_pre.sh - -# Outer chroot script command, to be executed outside destination chroot before -# before entering it (and AFTER inner_chroot_script) -outer_chroot_script_after: /sabayon/scripts/remaster_post.sh - -# 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 - -# Destination LiveCD root directory, where files are placed before getting mkisofs'ed -# NOTE: data will be stored inside an auto-generated subdir -destination_livecd_root: /sabayon - -# Merge directory with destination LiveCD root -merge_livecd_root: /sabayon/boot/standard - -# Extra mksquashfs parameters -# extra_mksquashfs_parameters: - -# 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 called before making the iso image. -# environment variables exported: -# SOURCE_CHROOT_DIR: path pointing to source chroot directory -# CHROOT_DIR: path pointing to destination chroot directory (chroot being worked -# on) -# CDROOT_DIR: path pointing to CD/DVD root directory (ISO filesystem root) -pre_iso_script: /sabayon/scripts/cdroot.py - -# Post-ISO building script. Hook called after having made the iso image and md5. -# environment variables exported: -# ISO_PATH: path to newly created ISO image file -# ISO_CHECKSUM_PATH: path to newly created ISO image checksum file -# post_iso_script: /sabayon/scripts/post_iso_script.sh - -# Destination directory for the ISO image path -destination_iso_directory: /sabayon/iso - -# Destination ISO image name, call whatever you want.iso, not mandatory -destination_iso_image_name: Sabayon_Linux_5.3_x86_K.iso - -# Directories to remove completely (comma separated) -paths_to_remove: - /var/lib/entropy/client/database/x86/sabayonlinux.org, - /boot/grub/grub.conf, - /root/.subversion, - /lib/udev-state/devices.tar.bz2, - /var/log/scrollkeeper.log, - /var/log/genkernel.log, - /var/log/emerge.log, - /usr/tmp/portage/*, - /root/.bash_history, - /usr/share/slocate/slocate.db, - /root/test-results.txt, - /root/test.sh, - /usr/portage/distfiles/*, - /usr/portage/packages/*, - /root/.revdep*, - /install-data/games/*, - /var/lib/entropy/store/*, - /var/log/entropy/*, - /var/lib/entropy/caches/*, - /var/lib/entropy/smartapps/amd64/*, - /var/lib/entropy/smartapps/x86/*, - /var/lib/entropy/tmp/*, - /var/lib/entropy/packages*/*, - /var/tmp/entropy/*, - /*.txt, - /usr/portage/a*, - /usr/portage/b*, - /usr/portage/c*, - /usr/portage/d*, - /usr/portage/e*, - /usr/portage/f*, - /usr/portage/g*, - /usr/portage/h*, - /usr/portage/i*, - /usr/portage/j*, - /usr/portage/k*, - /usr/portage/licenses, - /usr/portage/lxde*, - /usr/portage/m*, - /usr/portage/n*, - /usr/portage/o*, - /usr/portage/packages, - /usr/portage/pe*, - /usr/portage/q*, - /usr/portage/r*, - /usr/portage/s*, - /usr/portage/t*, - /usr/portage/u*, - /usr/portage/v*, - /usr/portage/w*, - /usr/portage/x*, - /usr/portage/y*, - /usr/portage/z*, - /etc/ssh/ssh_host_*, - /var/run/screen*, - /entropy, - /tmp/equoerror.txt, - /var/cache/man, - /var/lib/entropy/glsa/*, - /opt/anaconda/usr/lib64, - /opt/anaconda/usr/share/anaconda/po, - /var/log/entropy/*.log, - /etc/mtab, - /boot/grub/grub.c*, - /tmp/.ICE-unix*, - /tmp/*.txt, - /tmp/.X*, - /boot/grub/device.map - -# Directories to empty (comma separated) -paths_to_empty: - /home/sabayonuser/.thumbnails/, - /var/tmp, - /root/.ccache, - /var/tmp/portage, - /var/tmp/ccache, - /var/tmp/portage-pkg, - /var/tmp/binpkgs, - /var/lib/entropy/portage, - /var/lib/entropy/logs, - /var/lib/entropy/packages/x86/4, - /var/cache/genkernel - diff --git a/examples/specs/5-x86-g-remaster-add-games.spec b/examples/specs/remaster-add-games.spec similarity index 100% rename from examples/specs/5-x86-g-remaster-add-games.spec rename to examples/specs/remaster-add-games.spec diff --git a/examples/specs/sabayon/sabayon-amd64-spinbase-openvz-template.spec b/examples/specs/sabayon/sabayon-amd64-spinbase-openvz-template.spec new file mode 100644 index 0000000..ce423f2 --- /dev/null +++ b/examples/specs/sabayon/sabayon-amd64-spinbase-openvz-template.spec @@ -0,0 +1,10 @@ +# Use abs path, otherwise daily builds automagic won't work +%import /sabayon/molecules/spinbase-openvz-template.common + +# pre chroot command, example, for 32bit chroots on 64bit system, you always +# have to append "linux32" this is useful for inner_chroot_script +# prechroot: + +# Path to source ISO file (MANDATORY) +source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_amd64.iso +tar_name: Sabayon_Linux_SpinBase_DAILY_amd64_openvz.tar.gz diff --git a/examples/specs/sabayon/sabayon-x86-spinbase-openvz-template.spec b/examples/specs/sabayon/sabayon-x86-spinbase-openvz-template.spec new file mode 100644 index 0000000..7fb1b8e --- /dev/null +++ b/examples/specs/sabayon/sabayon-x86-spinbase-openvz-template.spec @@ -0,0 +1,10 @@ +# Use abs path, otherwise daily builds automagic won't work +%import /sabayon/molecules/spinbase-openvz-template.common + +# 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 (MANDATORY) +source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_x86.iso +tar_name: Sabayon_Linux_SpinBase_DAILY_x86_openvz.tar.gz diff --git a/examples/specs/5-x86-g-iso-to-tar.spec b/examples/specs/sabayon/spinbase-openvz-template.common similarity index 60% rename from examples/specs/5-x86-g-iso-to-tar.spec rename to examples/specs/sabayon/spinbase-openvz-template.common index bbbcd0d..fc247c7 100644 --- a/examples/specs/5-x86-g-iso-to-tar.spec +++ b/examples/specs/sabayon/spinbase-openvz-template.common @@ -1,22 +1,8 @@ -# Sabayon Linux 5 x86 GNOME Molecule ISO to compressed tar -# The aim of this spec file is make easily scriptable the creation of tar.* -# files generated off a Sabayon Linux ISO Live system environment. -# This, for example, enables users to easily create OpenVZ templates of any -# existing Sabayon Linux ISO image. -# squashfs needed - # Define an alternative execution strategy, in this case, the value must be -# "iso_to_tar" execution_strategy: iso_to_tar -# 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 (MANDATORY) -source_iso: /sabayon/iso_images/Sabayon_5.0_G.iso - -# Error script command, executed when something went wrong and molecule has to terminate the execution +# Error script command, executed when something went wrong and molecule has +# to terminate the execution # environment variables exported: # - CHROOT_DIR: path to chroot directory, if any # - CDROOT_DIR: path to livecd root directory, if any @@ -29,28 +15,14 @@ source_iso: /sabayon/iso_images/Sabayon_5.0_G.iso # 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 +# inner_chroot_script: /sabayon/scripts/openvz_inner_chroot_script.sh # Outer chroot script command, to be executed outside destination chroot before # before entering it (and AFTER inner_chroot_script) # outer_chroot_script_after: /path/to/script/to/be/executed/outside/after -# Pre-ISO building script. Hook called before making the iso image. -# environment variables exported: -# SOURCE_CHROOT_DIR: path pointing to source chroot directory -# CHROOT_DIR: path pointing to destination chroot directory (chroot being worked -# on) -# CDROOT_DIR: path pointing to CD/DVD root directory (ISO filesystem root) -# pre_iso_script: /sabayon/scripts/cdroot.py - -# Post-ISO building script. Hook called after having made the iso image and md5. -# environment variables exported: -# ISO_PATH: path to newly created ISO image file -# ISO_CHECKSUM_PATH: path to newly created ISO image checksum file -# post_iso_script: /sabayon/scripts/post_iso_script.sh - # Destination directory for the ISO image path (MANDATORY) -destination_tar_directory: /home/fabio +destination_tar_directory: /sabayon/iso # Compression method (default is: gz). Supported compression methods: gz, bz2 # compression_method: gz @@ -71,9 +43,6 @@ destination_tar_directory: /home/fabio # Alternative ISO squashfs umount command (default is: umount) # squash_umounter: -# Merge directory with destination LiveCD root (before tarring everything up) -# merge_livecd_root: /put/more/files/onto/CD/root - # List of packages that would be removed from chrooted system (comma separated) # packages_to_remove: