From 84b1efe27ac6ac3a142c16d80f6a94549c50e5d4 Mon Sep 17 00:00:00 2001 From: Kelly Schwartz Date: Thu, 13 Oct 2011 05:17:47 -0500 Subject: [PATCH] [molecules] xfceforensic spec files setup for common file --- molecules/sabayon-amd64-xfceforensic.spec | 168 +--------------------- molecules/sabayon-x86-xfceforensic.spec | 168 +--------------------- 2 files changed, 9 insertions(+), 327 deletions(-) diff --git a/molecules/sabayon-amd64-xfceforensic.spec b/molecules/sabayon-amd64-xfceforensic.spec index 11f6b7e..777ea2e 100644 --- a/molecules/sabayon-amd64-xfceforensic.spec +++ b/molecules/sabayon-amd64-xfceforensic.spec @@ -1,173 +1,13 @@ -# 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 - -# Release string -release_string: Sabayon Linux - -# File to write release string -release_file: /etc/sabayon-edition +# Use abs path, otherwise daily builds automagic won't work +%import /sabayon/molecules/forensicxfce.common # Release Version release_version: 7 # Release Version string description -release_desc: amd64 Xfceforensic - -# 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_desc: amd64 ForensicsXfce # Path to source ISO file (MANDATORY) source_iso: /sabayon/iso/Sabayon_Linux_DAILY_amd64_Xfce.iso -# Outer chroot script command, to be executed outside destination chroot before -# before entering it (and before inner_chroot_script) -outer_chroot_script: /sabayon/scripts/remaster_pre.sh - -# Inner chroot script command, to be executed inside destination chroot before packing it -# - kmerge.sh - setup kernel bins -# inner_chroot_script: - -# Execute repositories update here, in a more fault-tolerant flavor -inner_chroot_script: /sabayon/scripts/remaster_generic_inner_chroot_script.sh - -# Inner chroot script command, to be executed inside destination chroot after -# packages installation and removal -inner_chroot_script_after: /sabayon/scripts/remaster_generic_inner_chroot_script_after.sh xfceforensic - -# 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/xfce_remaster_post.sh - -# Used to umount /proc and unbind packages dir -error_script: /sabayon/scripts/remaster_error_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 - -# Post-ISO building script, called after ISO image generation. -post_iso_script: /sabayon/scripts/generic_post_iso_script.sh - -# Destination directory for the ISO image path (MANDATORY) -destination_iso_directory: /sabayon/iso - -# Destination ISO image name, call whatever you want.iso, not mandatory -destination_iso_image_name: Sabayon_Linux_Xfceforensic_7_amd64.iso - -# Output iso image title -iso_title: Sabayon_Linux_Forensic_amd64_Xfce - -# Alternative ISO file mount command (default is: mount -o loop -t iso9660) -# iso_mounter: - -# Alternative ISO umounter command (default is: umount) -# iso_umounter: - -# Alternative squashfs file mount command (default is: mount -o loop -t squashfs) -# squash_mounter: - -# Alternative ISO squashfs umount command (default is: umount) -# squash_umounter: - -# Merge directory with destination LiveCD root -# merge_livecd_root: /put/more/files/onto/CD/root - -# List of packages that would be removed from chrooted system (comma separated) -# List of packages that would be removed from chrooted system (comma separated) -packages_to_remove: app-dicts/aspell-de, - app-dicts/aspell-fr, - app-dicts/aspell-it, - app-dicts/aspell-nl, - app-dicts/aspell-pl, - app-dicts/myspell-de, - app-dicts/myspell-es, - app-dicts/myspell-fr, - app-dicts/myspell-it, - app-dicts/myspell-nl, - app-misc/sabayon-music, - mail-client/mailx, - mail-client/mailx-support, - net-p2p/transmission-base, - net-p2p/transmission-gtk+, - www-client/midori, - x11-wm/fluxbox, - x11-terms/xterm, - media-gfx/shotwell, - net-firewall/ufw, - net-firewall/ufw-frontends, - games-misc/cowsay, - app-editors/gedit -# Custom shell call to packages removal (default is: equo remove) -# custom_packages_remove_cmd: - -# List of packages that would be added from chrooted system (comma separated) -packages_to_add: app-admin/testdisk, - app-antivirus/clamav, - app-antivirus/clamtk, - app-forensics/magicrescue, - app-forensics/cmospwd, - app-forensics/rkhunter, - app-forensics/sleuthkit, - app-forensics/autopsy, - app-forensics/mac-robber, - app-forensics/aide, - app-forensics/rdd, - app-crypt/chntpw, - app-crypt/fcrackzip, - app-crypt/johntheripper, - app-crypt/gifshuffle, - app-crypt/pdfcrack, - app-misc/screen, - dev-util/geany, - dev-util/geany-plugins, - gnome-extra/nm-applet, - net-analyzer/traceroute, - net-libs/libnet, - net-libs/netwib, - net-misc/knock, - media-fonts/droid, - media-gfx/picasa, - media-sound/pavucontrol, - media-video/vlc, - net-analyzer/nmap, - net-analyzer/netcat6, - net-irc/irssi, - net-analyzer/wireshark, - net-analyzer/tcpdump, - sys-apps/mlocate, - sys-fs/extundelete, - www-client/chromium, - x11-terms/terminator, - x11-misc/pcmanfm, - x11-wm/awesome, - xfce-extra/thunar-volman, - xfce-extra/tumbler - -# Custom shell call to packages add (default is: equo install) -# custom_packages_add_cmd: - -# Custom command for updating repositories (default is: equo update) -# repositories_update_cmd: - -# Determine whether repositories update should be run (if packages_to_add is set) -# (default is: no), values are: yes, no. -execute_repositories_update: no - -# Directories to remove completely (comma separated) -# paths_to_remove: - -# Directories to empty (comma separated) -# paths_to_empty: - -# Build Menu -pre_iso_script: /sabayon/scripts/xfceforensic_pre_iso_script.sh +destination_iso_image_name: Sabayon_Linux_DAILY_amd64_ForensicsXfce.iso diff --git a/molecules/sabayon-x86-xfceforensic.spec b/molecules/sabayon-x86-xfceforensic.spec index 2a66fa4..09c5058 100644 --- a/molecules/sabayon-x86-xfceforensic.spec +++ b/molecules/sabayon-x86-xfceforensic.spec @@ -1,173 +1,15 @@ -# 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 +# Use abs path, otherwise daily builds automagic won't work +%import /sabayon/molecules/forensicxfce.common -# Define an alternative execution strategy, in this case, the value must be -# "iso_remaster" -execution_strategy: iso_remaster - -# Release string -release_string: Sabayon Linux - -# File to write release string -release_file: /etc/sabayon-edition +prechroot: linux32 # Release Version release_version: 7 # Release Version string description -release_desc: x86 Xfceforensic - -# 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_desc: x86 ForensicsXfce # Path to source ISO file (MANDATORY) source_iso: /sabayon/iso/Sabayon_Linux_DAILY_x86_Xfce.iso -# Outer chroot script command, to be executed outside destination chroot before -# before entering it (and before inner_chroot_script) -outer_chroot_script: /sabayon/scripts/remaster_pre.sh - -# Inner chroot script command, to be executed inside destination chroot before packing it -# - kmerge.sh - setup kernel bins -# inner_chroot_script: - -# Execute repositories update here, in a more fault-tolerant flavor -inner_chroot_script: /sabayon/scripts/remaster_generic_inner_chroot_script.sh - -# Inner chroot script command, to be executed inside destination chroot after -# packages installation and removal -inner_chroot_script_after: /sabayon/scripts/remaster_generic_inner_chroot_script_after.sh xfceforensic - -# 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/xfce_remaster_post.sh - -# Used to umount /proc and unbind packages dir -error_script: /sabayon/scripts/remaster_error_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 - -# Post-ISO building script, called after ISO image generation. -post_iso_script: /sabayon/scripts/generic_post_iso_script.sh - -# Destination directory for the ISO image path (MANDATORY) -destination_iso_directory: /sabayon/iso - -# Destination ISO image name, call whatever you want.iso, not mandatory -destination_iso_image_name: Sabayon_Linux_Xfceforensic_7_x86.iso - -# Output iso image title -iso_title: Sabayon_Linux_Forensic_x86_Xfce - -# Alternative ISO file mount command (default is: mount -o loop -t iso9660) -# iso_mounter: - -# Alternative ISO umounter command (default is: umount) -# iso_umounter: - -# Alternative squashfs file mount command (default is: mount -o loop -t squashfs) -# squash_mounter: - -# Alternative ISO squashfs umount command (default is: umount) -# squash_umounter: - -# Merge directory with destination LiveCD root -# merge_livecd_root: /put/more/files/onto/CD/root - -# List of packages that would be removed from chrooted system (comma separated) -# List of packages that would be removed from chrooted system (comma separated) -packages_to_remove: app-dicts/aspell-de, - app-dicts/aspell-fr, - app-dicts/aspell-it, - app-dicts/aspell-nl, - app-dicts/aspell-pl, - app-dicts/myspell-de, - app-dicts/myspell-es, - app-dicts/myspell-fr, - app-dicts/myspell-it, - app-dicts/myspell-nl, - app-misc/sabayon-music, - mail-client/mailx, - mail-client/mailx-support, - net-p2p/transmission-base, - net-p2p/transmission-gtk+, - www-client/midori, - x11-wm/fluxbox, - x11-terms/xterm, - media-gfx/shotwell, - net-firewall/ufw, - net-firewall/ufw-frontends, - games-misc/cowsay, - app-editors/gedit -# Custom shell call to packages removal (default is: equo remove) -# custom_packages_remove_cmd: - -# List of packages that would be added from chrooted system (comma separated) -packages_to_add: app-admin/testdisk, - app-antivirus/clamav, - app-antivirus/clamtk, - app-forensics/magicrescue, - app-forensics/cmospwd, - app-forensics/rkhunter, - app-forensics/sleuthkit, - app-forensics/autopsy, - app-forensics/mac-robber, - app-forensics/aide, - app-forensics/rdd, - app-crypt/chntpw, - app-crypt/fcrackzip, - app-crypt/johntheripper, - app-crypt/gifshuffle, - app-crypt/pdfcrack, - app-misc/screen, - dev-util/geany, - dev-util/geany-plugins, - gnome-extra/nm-applet, - net-analyzer/traceroute, - net-libs/libnet, - net-libs/netwib, - net-misc/knock, - media-fonts/droid, - media-gfx/picasa, - media-sound/pavucontrol, - media-video/vlc, - net-analyzer/nmap, - net-analyzer/netcat6, - net-irc/irssi, - net-analyzer/wireshark, - net-analyzer/tcpdump, - sys-apps/mlocate, - sys-fs/extundelete, - www-client/chromium, - x11-terms/terminator, - x11-misc/pcmanfm, - x11-wm/awesome, - xfce-extra/thunar-volman, - xfce-extra/tumbler - -# Custom shell call to packages add (default is: equo install) -# custom_packages_add_cmd: - -# Custom command for updating repositories (default is: equo update) -# repositories_update_cmd: - -# Determine whether repositories update should be run (if packages_to_add is set) -# (default is: no), values are: yes, no. -execute_repositories_update: no - -# Directories to remove completely (comma separated) -# paths_to_remove: - -# Directories to empty (comma separated) -# paths_to_empty: - -# Build Menu -pre_iso_script: /sabayon/scripts/xfceforensic_pre_iso_script.sh +destination_iso_image_name: Sabayon_Linux_DAILY_x86_ForensicsXfce.iso