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++;