From 037a8db48174cea018a4df4805f780a4c444707b Mon Sep 17 00:00:00 2001 From: baiyuan Date: Fri, 10 Oct 2014 06:47:03 -0400 Subject: [PATCH] fix prep pakage name in kit.conf for Ubuntu --- xCAT-buildkit/bin/buildkit | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xCAT-buildkit/bin/buildkit b/xCAT-buildkit/bin/buildkit index ae6bd3dbd..162b71ca4 100755 --- a/xCAT-buildkit/bin/buildkit +++ b/xCAT-buildkit/bin/buildkit @@ -2855,8 +2855,13 @@ sub create_kitconf $::kit_config->{$s}{entries}[$li]->{kitreponame} = $se->{kitreponame}; if ( !$::PREREQUISITE and ($se->{ospkgdeps} || $se->{preinstall} || $se->{preupgrade} || $se->{preuninstall}) ) { - $::kit_config->{$s}{entries}[$li]->{prerequisite} = + if ( $debianflag ){ + $::kit_config->{$s}{entries}[$li]->{prerequisite} = + "prep-" . $se->{basename}; + }else{ + $::kit_config->{$s}{entries}[$li]->{prerequisite} = "prep_" . $se->{basename}; + } } } $li++;