Change to the following directory by typing:
cd /usr/local/uce/cli/bin/ |
Type the following command:
-p is required and its value is the path of the packages to be uploaded.
-r is optional and provides a recursive search through the given path.
-d is optional and provides debugging information.
./pkg_loader.sh -p path [ -r ] [ -d ] |
Type a Sun Update Connection – Enterprise user name with full permissions.
Type a password for the Sun Update Connection – Enterprise user.
For the channel, type the number of the distribution-architecture, according to the displayed list of Available Channels, to which the packages you want to upload belong.
At the prompt Would you like all found components to be added under specific category?, type y to put the packages in a user-defined category, and then at the Category name prompt, type the name of the category.
If the category does not yet exist in the Sun Update Connection – Enterprise components list, it will be created. If you type n, the packages are added under a default category in the components list.
pkg_loader.sh will tar the Solaris package directories. Then it uploads the tarballs to the knowledge base. Sun Update Connection – Enterprise recognizes them as Solaris packages and enables you to deploy them as PKGs.