Controlling Dependent Package Inclusion

There are three different ways to control the inclusion of dependent packages. These can be specified both from the gpt-bundle command line and the bundle definition file. The following table summarizes these.

Table 6.3. Dependent Package Inclusion Control Commands

gpt-bundle switchBundle Definition File ElementDescription
-nodepsPackageFlags NoDepsDo not include any dependent packages.
-nosetupsPackageFlags NoSetupsDo not include any dependent setup packages.
-exclude=PACKAGE NAMEExcludedPackagesDo not include package that matches PACKAGE NAME.

The following shows some examples of how dependency inclusion can be controlled from the command line.

  1. The following skips the setup packages globus_common_setup and globus_trusted_ca_42864e48_setup. Inside the bundle definition file the NoSetups flag is set.

    bash$  gpt-bundle -bn=newfee -bv=3.4 -bl=MEB-2.5b1 -bs=Beta -nosetup -verbose -xml=template.xml globus_proxy_utils
    Adding: globus_common-gcc32-pgm
    Adding: globus_proxy_utils-gcc32-pgm
    Adding Dep Pkg: globus_common-gcc32-rtl
    Adding Dep Pkg: globus_gsi_callback-gcc32-rtl
    Adding Dep Pkg: globus_gsi_cert_utils-gcc32-rtl
    Adding Dep Pkg: globus_gsi_openssl_error-gcc32-rtl
    Adding Dep Pkg: globus_openssl-gcc32-rtl
    Adding Dep Pkg: globus_openssl_module-gcc32-rtl
    Adding Dep Pkg: globus_gsi_proxy_ssl-gcc32-rtl
    Adding Dep Pkg: globus_gsi_sysconfig-gcc32-rtl
    Adding Dep Pkg: globus_gsi_credential-gcc32-rtl
    Adding Dep Pkg: globus_gsi_proxy_core-gcc32-rtl
    CREATING PACKAGES FOR globus_common-gcc32-pgm.....gpt..DONE
    CREATING PACKAGES FOR globus_common-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_callback-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_cert_utils-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_credential-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_openssl_error-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_proxy_core-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_proxy_ssl-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_sysconfig-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_openssl-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_openssl_module-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_proxy_utils-gcc32-pgm.....gpt..DONE
    Bundle written as /home/mbletzin/work/doc-bundles/newfee-MEB-2.5b1-i686-pc-linux-gnu-bin.tar.gz
    
  2. The following skips all of the globus_common packages. Inside the bundle definition file globus_common is listed in the ExcludedPackages element.

    bash$ gpt-bundle -bn=newfee -bv=3.4 -bl=MEB-2.5b1 -bs=Beta -x=globus_common -verbose -xml=template.xml globus_proxy_utils
    Adding: globus_common-gcc32-pgm
    Adding: globus_proxy_utils-gcc32-pgm
    Adding Dep Pkg: globus_gsi_callback-gcc32-rtl
    Adding Dep Pkg: globus_gsi_cert_utils-gcc32-rtl
    Adding Dep Pkg: globus_gsi_openssl_error-gcc32-rtl
    Adding Dep Pkg: globus_openssl-gcc32-rtl
    Adding Dep Pkg: globus_openssl_module-gcc32-rtl
    Adding Dep Pkg: globus_trusted_ca_42864e48_setup-noflavor-pgm
    Adding Dep Pkg: globus_common_setup-noflavor-pgm
    Adding Dep Pkg: globus_gsi_proxy_ssl-gcc32-rtl
    Adding Dep Pkg: globus_gsi_sysconfig-gcc32-rtl
    Adding Dep Pkg: globus_gsi_credential-gcc32-rtl
    Adding Dep Pkg: globus_gsi_proxy_core-gcc32-rtl
    CREATING PACKAGES FOR globus_common-gcc32-pgm.....gpt..DONE
    CREATING PACKAGES FOR globus_common_setup-noflavor-pgm.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_callback-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_cert_utils-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_credential-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_openssl_error-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_proxy_core-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_proxy_ssl-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_gsi_sysconfig-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_openssl-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_openssl_module-gcc32-rtl.....gpt..DONE
    CREATING PACKAGES FOR globus_proxy_utils-gcc32-pgm.....gpt..DONE
    CREATING PACKAGES FOR globus_trusted_ca_42864e48_setup-noflavor-pgm.....gpt..DONE
    Bundle written as /home/mbletzin/work/doc-bundles/newfee-MEB-2.5b1-i686-pc-linux-gnu-bin.tar.gz