-
Bug
-
Resolution: Fixed
-
P3
-
6u17
-
b06
-
generic
-
solaris
-
Verified
The first patch generation script, copypkgs, does not have any safeguards to prevent the user from attempting to create the same patch (by mistake) twice.
Here are the missing checks
# 1) If where you're copying packages from has an "orig" directory,
# someone has already created patches from this image and you
# would be creating patches using freshbit images, corrupting
# the patch generation.
#
# 2) If patch creation directory exists, then someone has already attempted
# to build a patch corresponding to ${RELEASE_NUMBER}${UPDATE_U}-${BUILD}-${FLAVOR}
Here are the missing checks
# 1) If where you're copying packages from has an "orig" directory,
# someone has already created patches from this image and you
# would be creating patches using freshbit images, corrupting
# the patch generation.
#
# 2) If patch creation directory exists, then someone has already attempted
# to build a patch corresponding to ${RELEASE_NUMBER}${UPDATE_U}-${BUILD}-${FLAVOR}