Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit e6f6695

Browse files
committed
pass -noDigest parameter to auoms bundle installer
1 parent 1d57a6a commit e6f6695

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

build/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $(error "ENABLE_DEBUG is not set. Please re-run configure")
2323
endif
2424

2525
DSC_TARGET_DIR := $(DSC_DIR)/release
26-
AUOMS_KITS_RELEASE_DIR := $(AUOMS_KITS_DIR)/release/2.5.2-52
26+
AUOMS_KITS_RELEASE_DIR := $(AUOMS_KITS_DIR)/release/2.5.2-52-ND
2727
AUOMS_KITS_RELEASE_1_3_DIR := $(AUOMS_KITS_DIR)/release/1.3.0-3
2828

2929
RUBY_DIR := $(BASE_DIR)/source/ext/ruby

installer/bundle/bundle_skel.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,11 @@ you should first purge the existing installation and then install using the --sk
14811481

14821482
./$i
14831483
if [ $? -eq 0 ]; then
1484-
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --install $FORCE $restartDependencies
1484+
if [ -n "${noDigest}" -a "${noDigest}" == "true" ]; then
1485+
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --install --noDigest $FORCE $restartDependencies
1486+
else
1487+
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --install $FORCE $restartDependencies
1488+
fi
14851489
TEMP_STATUS=$?
14861490
if [ $TEMP_STATUS -ne 0 ]; then
14871491
echo "$BUNDLE package failed to install and exited with error code $TEMP_STATUS"
@@ -1661,7 +1665,11 @@ you should first purge the existing installation and then install using the --sk
16611665

16621666
./$i
16631667
if [ $? -eq 0 ]; then
1664-
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --upgrade $FORCE $restartDependencies
1668+
if [ -n "${noDigest}" -a "${noDigest}" == "true" ]; then
1669+
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --upgrade --noDigest $FORCE $restartDependencies
1670+
else
1671+
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --upgrade $FORCE $restartDependencies
1672+
fi
16651673
TEMP_STATUS=$?
16661674
if [ $TEMP_STATUS -ne 0 ]; then
16671675
echo "$BUNDLE package failed to upgrade and exited with error code $TEMP_STATUS"

0 commit comments

Comments
 (0)