diff options
| -rw-r--r-- | common/recipes-core/initrdscripts/files/init-install-efi.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/recipes-core/initrdscripts/files/init-install-efi.sh b/common/recipes-core/initrdscripts/files/init-install-efi.sh index e12a9d21..0b2ee46b 100644 --- a/common/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/common/recipes-core/initrdscripts/files/init-install-efi.sh | |||
| @@ -267,6 +267,14 @@ if [ -f "${RMC_DB}" ] && [ -f "${RMC_CMD}" ]; then | |||
| 267 | else | 267 | else |
| 268 | echo "INSTALLER.CONFIG is not found, skip RMC deployment" | 268 | echo "INSTALLER.CONFIG is not found, skip RMC deployment" |
| 269 | fi | 269 | fi |
| 270 | |||
| 271 | # Final retouching by calling post-install hook | ||
| 272 | if ${RMC_CMD} -B POSTINSTALL.sh -d "${RMC_DB}" -o /tmp/POSTINSTALL.sh; then | ||
| 273 | echo "Found POSTINSTALL.sh execute it..." | ||
| 274 | chmod 500 /tmp/POSTINSTALL.sh | ||
| 275 | /tmp/POSTINSTALL.sh | ||
| 276 | rm -rf /tmp/POSTINSTALL.sh | ||
| 277 | fi | ||
| 270 | fi | 278 | fi |
| 271 | set -e | 279 | set -e |
| 272 | 280 | ||
