Sun Connection 1.1 Release Notes

Adding Solaris Software With a Script

The directory change impacts the CLI procedures that are used for Solaris software. In this procedure, you will use a script from the Sun Connection CLI application to upload Solaris software. Use this procedure if you are unfamiliar with Solaris commands and having trouble unpacking the PKGs or tarring the directories.

Before You Begin

Install the latest Sun Connection CLI.

The script is located at /opt/SUNWuce/cli/bin/uce_cli.sh.

ProcedureTo Upload Solaris Software With CLI

  1. Change to the following directory by typing:


    cd /opt/SUNWuce/cli/bin/
    
  2. Type the following command:

    uce_cli -upload_files -D OS-version_architecture -T file1[,file2] -u admin

    Where the file1 and file2 are absolute pathnames.

  3. Type a password for the Sun Connection admin user.

  4. 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.

  5. 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 Connection components list, it will be created. If you type n, the packages are added under a default category in the components list.

    uce_cli.sh will tar the Solaris package directories. Then it uploads the tarballs to the knowledge base. Sun Connection recognizes them as Solaris packages and enables you to deploy them as PKGs.