From e6f9e57a9823fef9e640e0d9e8ab4fa975f7cbb4 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Tue, 30 Oct 2012 12:20:17 +0000 Subject: [PATCH] do not run mknb when the xcat-genesis is installed git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/debian/xcat-genesis-amd64.postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-nbroot2/debian/xcat-genesis-amd64.postinst b/xCAT-nbroot2/debian/xcat-genesis-amd64.postinst index 58199ddce..feb0937d5 100644 --- a/xCAT-nbroot2/debian/xcat-genesis-amd64.postinst +++ b/xCAT-nbroot2/debian/xcat-genesis-amd64.postinst @@ -20,6 +20,9 @@ set -e case "$1" in configure) + ;; + + upgrade) if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image . /etc/profile.d/xcat.sh mknb x86_64