Files
molecule-plugins/examples/specs/sabayon/spinbase.common
T

134 lines
4.1 KiB
Plaintext

# WARNING:
# variables in your .spec files importing this .common header,
# DO NOT override the ones set here, but rather their values will
# be concatenated.
# So, if this files has:
# my_variable: hello_world
# And you import this (through %import file.common) and set
# my_variable: go_to_hell
# You will get my_variable containing: "hello_world go_to_hell"
# It doesn't work like in programming languages!
# Execution strategy
execution_strategy: livecd
# Release string
release_string: Sabayon Linux
# File to write release string
release_file: /etc/sabayon-edition
# 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
# Extra mirror (r)sync parameters
extra_rsync_parameters: --one-file-system --exclude "/proc/*" --exclude "/dev/pts/*"
# 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/inner_chroot_script.sh spinbase
# 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/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 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
# Directories to remove completely (comma separated)
paths_to_remove:
/var/lib/entropy/client/database/*/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/*/*,
/var/lib/entropy/smartapps/*/*,
/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_*,
/entropy,
/tmp/equoerror.txt,
/var/cache/man,
/var/lib/entropy/glsa/*,
/root/local,
/var/tmp/*,
/boot/grub/device.map
# Directories to empty (comma separated)
paths_to_empty:
/home/sabayonuser/.thumbnails/,
/root/.ccache,
/var/tmp/portage,
/var/tmp/ccache,
/var/tmp/portage-pkg,
/var/tmp/binpkgs,
/var/lib/entropy/portage,
/var/lib/entropy/logs,
/var/cache/genkernel