HP Software Package Builder (SPB) manual Software Elements

Page 20

Software Packaging

Software Package Structure

Group related files in the source filesystem that will directly translate to the destination filesystem.

Software Elements

A software package is created from a hierarchy of software elements, which are structured and defined in a PSF. The SPB-specific software elements are as follows:

File

A file is the lowest level of software element that can be

 

contained in a software package. Files are grouped

 

together to create filesets.

Fileset

A fileset serves as a container for files, associated file

 

attributes, and separate control scripts. A fileset is

 

comprised of a group of files. Filesets are grouped and

 

contained in products. A fileset can only belong to one

 

product; however, a fileset may be referenced in

 

multiple subproducts within one product. A fileset can

 

also be included in multiple bundles through the

 

product it is contained within. A minimum of one

 

fileset is required for a PSF.

Product

A product is a container for filesets, subproducts,

 

and/or control scripts specific to a software package.

 

Products are collections that form a set of related

 

software. A product can contain one fileset or multiple

 

filesets. Products can contain filesets specific to

 

different versions of the product and different

 

hardware platforms. All these different filesets can be

 

packaged together for distribution. A minimum of one

 

product is required for a PSF.

Subproduct

A subproduct is a reference to groups of related filesets

 

within a product. For example, you might create a

 

subproduct that references a fileset grouping for the

 

entire runtime configuration, manuals, or

 

demonstration versions of the product. It is important

 

to remember that subproducts only reference filesets

 

and do not physically contain the fileset. The use of

 

subproducts is optional and considered an advanced

 

feature.

20

Chapter 2

Image 20
Contents Edition Manufacturing Part Number DecemberWarranty Government LicenseCopyright Notice Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Software Package Builder Overview FeaturesFeatures Benefits Software Package Builder and HP-UX Software DistributorSoftware Package Builder Overview Optimizing Java To access Java configuration informationSystem Requirements To download SPB from the Web Installation OverviewInstallation Starting Software Package Builder Specifying Packaging Policy Rules FilePage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software Packaging LifecycleSoftware packaging lifecycle is displayed in Figure TIP Software Package Structure Organizing FilesystemsSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Elements Functions and Relationships Structural Function Relationship ElementSoftware Package Structure Product Specification File AttributesRequired Attribute Values Software Element Required AttributeRecommended Attribute Values Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Attribute Table Screen RegionsPackage Structure PSF View Messages TabPolicy Help Tab Additional Information MenusTool Bar Page Getting Started with Software Getting Started Using the SPB GUI Creating a New PSFTo create a PSF To create a product and add filesetsManaging Fileset Content Step From the Structure menu, select Add Elements FilesTo create a destination filesystem Step Click Add DirectoryValidating a PSF To set file or directory permissionsTo set attributes Setting AttributesTo filter the attribute display You enter new data into the PSF, SPB re-validates the file Using the SPB Command Line Interface Editing from the CLIValidating from the CLI ExampleIncorporating SPB into Automated Processes Return ValuesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Using Advanced Features RegionsFile Mapping OptionsTo set the recursive option Setting FileMapping Options To set the file * or include option Mode field of the Directory Attributes and File Attributes File Mode AccessAdd PermissionsAttributes table To apply a mode to all filesStep Select Apply to All Permissions Selections To change the default representation of the Mode fieldStep Select the Advanced Options button Managing Fileset Content Subproduct Creating and Using a SubproductTo create a subproduct Creating and Using a Bundle To create a bundleAttribute Table Creating and Using a Vendor or CategoryTo add a vendor or category Creating and Using Vendor Defined Attributes To create a vendor defined attributeTo edit a vendor defined attribute AttributesDependency Attributes Overview of Software Specification AttributesSoftware Specification Attributes Specifications ResolvingSoftware SPBSPB will not Software Specification StatusWorking with Dependency Attributes To add a dependency attribute using the and relationship To add a dependency attribute using the or relationship Select Structure Add Elements CorequisitesClick Add Set Click AddStep Select Structure Add Elements Corequisites To add remote content as a dependency attributeClick Add Content Using Control Scripts Using Control Scripts Additional Information Page Glossary GlossaryMultiple architecture Optional attribute Tag Unconfigure script Unconfigure script Glossary Index Software elements, 20 bundle, 21 category Index