[molecules] re-enable weekly openvz template build
This commit is contained in:
parent
ec2a209ee2
commit
2754a9807d
@ -59,6 +59,7 @@ packages_to_remove:
|
|||||||
app-admin/anaconda,
|
app-admin/anaconda,
|
||||||
app-admin/system-config-date,
|
app-admin/system-config-date,
|
||||||
app-misc/anaconda-runtime,
|
app-misc/anaconda-runtime,
|
||||||
|
app-misc/sabayonlive-tools,
|
||||||
dev-libs/newt,
|
dev-libs/newt,
|
||||||
dev-util/pykickstart,
|
dev-util/pykickstart,
|
||||||
net-misc/networkmanager,
|
net-misc/networkmanager,
|
||||||
@ -70,8 +71,8 @@ packages_to_remove:
|
|||||||
sys-fs/xfsprogs,
|
sys-fs/xfsprogs,
|
||||||
sys-fs/jfsutils,
|
sys-fs/jfsutils,
|
||||||
sys-fs/mdadm,
|
sys-fs/mdadm,
|
||||||
sys-libs/slang
|
sys-libs/slang,
|
||||||
|
sys-kernel/linux-sabayon
|
||||||
|
|
||||||
# Custom shell call to packages removal (default is: equo remove)
|
# Custom shell call to packages removal (default is: equo remove)
|
||||||
# custom_packages_remove_cmd:
|
# custom_packages_remove_cmd:
|
||||||
|
@ -65,6 +65,14 @@ if [ "${ACTION}" = "weekly" ]; then
|
|||||||
"Sabayon_Linux_DAILY_amd64_ForensicsXfce.iso"
|
"Sabayon_Linux_DAILY_amd64_ForensicsXfce.iso"
|
||||||
"Sabayon_Linux_DAILY_x86_ForensicsXfce.iso"
|
"Sabayon_Linux_DAILY_x86_ForensicsXfce.iso"
|
||||||
)
|
)
|
||||||
|
REMASTER_OPENVZ_SPECS=(
|
||||||
|
"sabayon-x86-spinbase-openvz-template.spec"
|
||||||
|
"sabayon-amd64-spinbase-openvz-template.spec"
|
||||||
|
)
|
||||||
|
REMASTER_OPENVZ_SPECS_TAR=(
|
||||||
|
"Sabayon_Linux_SpinBase_DAILY_x86_openvz.tar.gz"
|
||||||
|
"Sabayon_Linux_SpinBase_DAILY_amd64_openvz.tar.gz"
|
||||||
|
)
|
||||||
elif [ "${ACTION}" = "daily" ]; then
|
elif [ "${ACTION}" = "daily" ]; then
|
||||||
ARM_SOURCE_SPECS=()
|
ARM_SOURCE_SPECS=()
|
||||||
ARM_SOURCE_SPECS_IMG=()
|
ARM_SOURCE_SPECS_IMG=()
|
||||||
@ -110,6 +118,8 @@ elif [ "${ACTION}" = "daily" ]; then
|
|||||||
"Sabayon_Linux_ServerBase_DAILY_amd64.iso"
|
"Sabayon_Linux_ServerBase_DAILY_amd64.iso"
|
||||||
"Sabayon_Linux_ServerBase_DAILY_x86.iso"
|
"Sabayon_Linux_ServerBase_DAILY_x86.iso"
|
||||||
)
|
)
|
||||||
|
REMASTER_OPENVZ_SPECS=()
|
||||||
|
REMASTER_OPENVZ_SPECS_TAR=()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ -d "/sabayon/molecules/daily" ]] || mkdir -p /sabayon/molecules/daily
|
[[ -d "/sabayon/molecules/daily" ]] || mkdir -p /sabayon/molecules/daily
|
||||||
@ -204,7 +214,7 @@ build_sabayon() {
|
|||||||
sed -i "s/tar_name.*/tar_name: ${REMASTER_OPENVZ_SPECS_TAR[i]}/" "${dst}" || return 1
|
sed -i "s/tar_name.*/tar_name: ${REMASTER_OPENVZ_SPECS_TAR[i]}/" "${dst}" || return 1
|
||||||
# tweak release version
|
# tweak release version
|
||||||
sed -i "s/release_version.*/release_version: ${CUR_DATE}/" "${dst}" || return 1
|
sed -i "s/release_version.*/release_version: ${CUR_DATE}/" "${dst}" || return 1
|
||||||
echo "${dst}: iso: ${REMASTER_OPENVZ_SPECS_TAR[i]} date: ${CUR_DATE}"
|
echo "${dst}: tar: ${REMASTER_OPENVZ_SPECS_TAR[i]} date: ${CUR_DATE}"
|
||||||
remaster_specs+="${dst} "
|
remaster_specs+="${dst} "
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1,7 +1,35 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
/usr/sbin/env-update && source /etc/profile
|
/usr/sbin/env-update && source /etc/profile
|
||||||
|
|
||||||
|
# remove sabayonuser
|
||||||
|
userdel sabayonuser
|
||||||
|
|
||||||
|
DROP_SERVICES="
|
||||||
|
avahi-daemon
|
||||||
|
fbcondecor
|
||||||
|
fsck
|
||||||
|
hotplug
|
||||||
|
hwclock
|
||||||
|
installer-gui
|
||||||
|
installer-text
|
||||||
|
keymaps
|
||||||
|
lvm
|
||||||
|
mdadm
|
||||||
|
netmount
|
||||||
|
NetworkManager
|
||||||
|
sabayonlive
|
||||||
|
swap
|
||||||
|
swapfiles
|
||||||
|
termencoding
|
||||||
|
x-setup
|
||||||
|
"
|
||||||
|
|
||||||
|
for serv in ${DROP_SERVICES}; do
|
||||||
|
rc-update del ${serv} default
|
||||||
|
rc-update del ${serv} boot
|
||||||
|
done
|
||||||
|
|
||||||
# Generate list of installed packages
|
# Generate list of installed packages
|
||||||
equo query list installed -qv > /etc/sabayon-pkglist
|
equo query list installed -qv > /etc/sabayon-pkglist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user