[molecule.plugins] in remaster_plugin, tar_plugin add support for release_version, release_desc, release_string, release_file metadata
This commit is contained in:
@@ -15,6 +15,18 @@ prechroot: linux32
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso_images/Sabayon_5.0_G.iso
|
||||
|
||||
# Release Version
|
||||
# release_version: 5.0
|
||||
|
||||
# Release Version string description
|
||||
# release_desc: amd64 GAMING
|
||||
|
||||
# Release string
|
||||
# release_string: Sabayon Linux
|
||||
|
||||
# Release file (inside chroot)
|
||||
# release_file: /etc/sabayon-edition
|
||||
|
||||
# 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
|
||||
|
||||
@@ -5,6 +5,12 @@ execution_strategy: iso_remaster
|
||||
# ISO Image title
|
||||
iso_title: Sabayon LXDE
|
||||
|
||||
# Release string
|
||||
release_string: Sabayon Linux
|
||||
|
||||
# File to write release string
|
||||
release_file: /etc/sabayon-edition
|
||||
|
||||
# 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
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
# Use abs path, otherwise daily iso build won't work
|
||||
%import /sabayon/molecules/corecdx.common
|
||||
|
||||
release_desc: amd64 CoreCDX
|
||||
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_amd64.iso
|
||||
|
||||
# Release Version
|
||||
release_version: 5.4
|
||||
|
||||
# Release Version string description
|
||||
release_desc: amd64 CoreCDX
|
||||
|
||||
# Destination ISO image name, call whatever you want.iso, not mandatory
|
||||
destination_iso_image_name: Sabayon_Linux_CoreCDX_5.3_amd64.iso
|
||||
|
||||
@@ -4,5 +4,11 @@
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_amd64.iso
|
||||
|
||||
# Release Version
|
||||
release_version: 5.4
|
||||
|
||||
# Release Version string description
|
||||
release_desc: amd64 LXDE
|
||||
|
||||
# Destination ISO image name, call whatever you want.iso, not mandatory
|
||||
destination_iso_image_name: Sabayon_Linux_5.3_amd64_LXDE.iso
|
||||
|
||||
@@ -4,5 +4,11 @@
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_amd64.iso
|
||||
|
||||
# Release Version
|
||||
release_version: 5.4
|
||||
|
||||
# Release Version string description
|
||||
release_desc: amd64 XFCE
|
||||
|
||||
# Destination ISO image name, call whatever you want.iso, not mandatory
|
||||
destination_iso_image_name: Sabayon_Linux_5.3_amd64_XFCE.iso
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
# use abs path, otherwise daily iso build automagic won't work
|
||||
%import /sabayon/molecules/corecdx.common
|
||||
|
||||
release_desc: x86 CoreCDX
|
||||
|
||||
# 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 Version
|
||||
release_version: 5.4
|
||||
|
||||
# Release Version string description
|
||||
release_desc: x86 CoreCDX
|
||||
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_x86.iso
|
||||
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
# 32bit chroot
|
||||
prechroot: linux32
|
||||
|
||||
# Release Version
|
||||
release_version: 5.4
|
||||
|
||||
# Release Version string description
|
||||
release_desc: x86 LXDE
|
||||
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_x86.iso
|
||||
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
# 32bit chroot
|
||||
prechroot: linux32
|
||||
|
||||
# Release Version
|
||||
release_version: 5.4
|
||||
|
||||
# Release Version string description
|
||||
release_desc: x86 XFCE
|
||||
|
||||
# Path to source ISO file (MANDATORY)
|
||||
source_iso: /sabayon/iso/Sabayon_Linux_SpinBase_DAILY_x86.iso
|
||||
|
||||
|
||||
@@ -5,6 +5,12 @@ execution_strategy: iso_remaster
|
||||
# ISO Image title
|
||||
iso_title: Sabayon XFCE
|
||||
|
||||
# Release string
|
||||
release_string: Sabayon Linux
|
||||
|
||||
# File to write release string
|
||||
release_file: /etc/sabayon-edition
|
||||
|
||||
# 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
|
||||
|
||||
@@ -328,6 +328,22 @@ class RemasterSpec(GenericSpec):
|
||||
'cb': self.valid_exec_first_list_item,
|
||||
've': self.ve_string_splitter,
|
||||
},
|
||||
'release_string': {
|
||||
'cb': self.ne_string, # validation callback
|
||||
've': self.ve_string_stripper, # value extractor
|
||||
},
|
||||
'release_version': {
|
||||
'cb': self.ne_string,
|
||||
've': self.ve_string_stripper,
|
||||
},
|
||||
'release_desc': {
|
||||
'cb': self.ne_string,
|
||||
've': self.ve_string_stripper,
|
||||
},
|
||||
'release_file': {
|
||||
'cb': self.ne_string,
|
||||
've': self.ve_string_stripper,
|
||||
},
|
||||
'source_iso': {
|
||||
'cb': self.valid_path_string,
|
||||
've': self.ve_string_stripper,
|
||||
|
||||
@@ -129,6 +129,22 @@ class IsoToTarSpec(GenericSpec):
|
||||
'cb': self.valid_exec_first_list_item,
|
||||
've': self.ve_string_splitter,
|
||||
},
|
||||
'release_string': {
|
||||
'cb': self.ne_string, # validation callback
|
||||
've': self.ve_string_stripper, # value extractor
|
||||
},
|
||||
'release_version': {
|
||||
'cb': self.ne_string,
|
||||
've': self.ve_string_stripper,
|
||||
},
|
||||
'release_desc': {
|
||||
'cb': self.ne_string,
|
||||
've': self.ve_string_stripper,
|
||||
},
|
||||
'release_file': {
|
||||
'cb': self.ne_string,
|
||||
've': self.ve_string_stripper,
|
||||
},
|
||||
'source_iso': {
|
||||
'cb': self.valid_path_string,
|
||||
've': self.ve_string_stripper,
|
||||
|
||||
Reference in New Issue
Block a user