Fix in build files/scripts
This commit is contained in:
parent
60e8ae2a33
commit
556da803d7
@ -37,11 +37,11 @@ BUILD_PRETTY_DATE="$(date +'%Y.%m.%d')"
|
||||
BUILD_DIR="$(dirname $0)"
|
||||
|
||||
# clean up previous packages
|
||||
if [[ -d ../../depots ]]
|
||||
if [[ -d ../../../depots ]]
|
||||
then
|
||||
rm -f ../../depots/* 2>/dev/null
|
||||
rm -f ../../../depots/* 2>/dev/null
|
||||
else
|
||||
mkdir -p ../../depots 2>/dev/null
|
||||
mkdir -p ../../../depots 2>/dev/null
|
||||
fi
|
||||
|
||||
# see if we have BUILD_DATE placeholder in PSF files
|
||||
@ -62,11 +62,11 @@ done
|
||||
|
||||
# build hc_serviceguard_platform package
|
||||
cd ${BUILD_DIR}/hc_serviceguard_platform || exit 1
|
||||
swpackage -s hc_serviceguard_platform.psf -x media_type=tape -d ../../../depots/hc-serviceguard-platform-${BUILD_DATE}.sd
|
||||
swpackage -s hc_serviceguard_platform.psf -x media_type=tape -d ../../../../depots/hc-serviceguard-platform-${BUILD_DATE}.sd
|
||||
cd - || exit 1
|
||||
|
||||
print "List of built packages:"
|
||||
ls -l ../../depots/*
|
||||
ls -l ../../../depots/*
|
||||
|
||||
# when installed on an ignite server: possible addition of depot registration here
|
||||
|
||||
|
@ -58,7 +58,7 @@ This is the OS/platform plugin package"
|
||||
|
||||
file_permissions -u 0222 -o root -g sys
|
||||
|
||||
directory ../../../opt/hc/lib/platform/serviceguard=/opt/hc/lib/platform/serviceguard
|
||||
directory ../../../../opt/hc/lib/platform/serviceguard=/opt/hc/lib/platform/serviceguard
|
||||
file -m 755 check_serviceguard_package_status.sh
|
||||
file -m 755 check_serviceguard_package_config.sh
|
||||
file -m 755 check_serviceguard_cluster_status.sh
|
||||
@ -78,7 +78,7 @@ This is the OS/platform plugin package"
|
||||
|
||||
file_permissions -u 0222 -o root -g sys
|
||||
|
||||
directory ../../../etc/opt/hc/=/etc/opt/hc
|
||||
directory ../../../../etc/opt/hc/=/etc/opt/hc
|
||||
file -m 644 check_serviceguard_package_status.conf.dist
|
||||
file -m 644 check_serviceguard_package_config.conf.dist
|
||||
file -m 644 check_serviceguard_cluster_status.conf.dist
|
||||
@ -97,7 +97,7 @@ This is the OS/platform plugin package"
|
||||
|
||||
file_permissions -u 0222 -o root -g sys
|
||||
|
||||
directory ../../../etc/opt/hc/core/templates=/etc/opt/hc/core/templates
|
||||
directory ../../../../etc/opt/hc/core/templates=/etc/opt/hc/core/templates
|
||||
file -m 644 mail_body.tpl-check_hpux_sg_cluster_status
|
||||
file -m 644 mail_body.tpl-check_hpux_sg_package_status
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user