my $error = $custom_part_pkg->insert( options=>\%options );
return "error customizing package: $error" if $error;
$record->pkgpart( $custom_part_pkg->pkgpart );
my $error = $custom_part_pkg->insert( options=>\%options );
return "error customizing package: $error" if $error;
$record->pkgpart( $custom_part_pkg->pkgpart );