depot制作

# swlist
# Initializing...
# Contacting target "swt"...
#
# Target: swt:/
#

#
# Bundle(s):
#

10GigEthr-02 B.11.31.1003 PCIe 10 Gigabit Ethernet;Supptd HW=567799-B21
B2491BA B.11.31 MirrorDisk/UX (Server)
B3693AA C.05.00.000 HP GlancePlus/UX for 11.31
B3835DA C.03.05 HP Process Resource Manager
B3929FB B.05.00.02 OnlineJFS for Veritas File System 5.0 Bundle
B5736DA A.04.20.31.05 HA Monitors
B6848BA 1.4.gm.46.16 Ximian GNOME 1.4 GTK+ Libraries for HP-UX
B8843CA A.03.05 HP-UX Workload Manager
Base-VXFS B.11.31 Base VxFS File System 4.1 Bundle for HP-UX
Base-VxFS-50 B.05.00.02 Veritas File System Bundle 5.0 for HP-UX

# pwd
/cdrom/HPUX/11.31
# swpackage -s /cdrom/HPUX/11.31 -x media_type=tape B3693AA @ /tmp/glance5.0/glance5.0.depot

======= 07/26/18 13:39:07 PDT BEGIN swpackage SESSION

* Session started for user "root@swt".

* Source: swt:/cdrom/HPUX/11.31
* Target: swt:/tmp/glance5.0/glance5.0.depot
* Software selections:
B3693AA


* Beginning Selection Phase.
* Reading the source depot "/cdrom/HPUX/11.31".
* Reading the contained files information for each selected
product.

NOTE: The temporary target depot "/var/tmp/pkgAAA004373" has been
created.
* Selection Phase succeeded.


* Beginning Analysis Phase.
* Analysis Phase succeeded.


* Beginning Package Phase.

* Packaging the bundle
"B3693AA,r=C.05.00.000,a=HP-UX_B.11.31_IA/PA,v=HP".

* Packaging the product "Glance".
* Packaging the fileset "Glance.GLANCE".
* Packaging the fileset "Glance.GLANCE".
* Packaging the fileset "Glance.GPLIC".
* Packaging the fileset "Glance.GPLIC".
* Packaging the fileset "Glance.GPM".
* Packaging the fileset "Glance.GPM".
* Packaging the fileset "Glance.GPM-JPN".
* Packaging the fileset "Glance.GPM-JPN".

* Packaging the product "MeasurementInt".
* Packaging the fileset "MeasurementInt.ARM".
* Packaging the fileset "MeasurementInt.ARM".
* Packaging the fileset "MeasurementInt.MI".
* Packaging the fileset "MeasurementInt.MI".
* Packaging the fileset "MeasurementInt.MI-JPN".
* Packaging the fileset "MeasurementInt.MI-JPN".
* Package Phase succeeded.


* Beginning Tapemaker Phase.
* Copying the temporary depot to the tape
"/tmp/glance5.0/glance5.0.depot".
* Calculating the tape blocks required to copy the temporary
depot to the tape "/tmp/glance5.0/glance5.0.depot".
NOTE: The temporary depot requires 70130 Kbytes on the tape
"/tmp/glance5.0/glance5.0.depot".
* Writing the tape "/tmp/glance5.0/glance5.0.depot" (tape 1 of
1).
* Writing the fileset "MeasurementInt.MI" (1 of 14)
* Writing the fileset "MeasurementInt.MI" (2 of 14)
* Writing the fileset "MeasurementInt.ARM" (3 of 14)
* Writing the fileset "MeasurementInt.ARM" (4 of 14)
* Writing the fileset "MeasurementInt.MI-JPN" (5 of 14)
* Writing the fileset "MeasurementInt.MI-JPN" (6 of 14)
* Writing the fileset "Glance.GLANCE" (7 of 14)
* Writing the fileset "Glance.GLANCE" (8 of 14)
* Writing the fileset "Glance.GPLIC" (9 of 14)
* Writing the fileset "Glance.GPLIC" (10 of 14)
* Writing the fileset "Glance.GPM" (11 of 14)
* Writing the fileset "Glance.GPM" (12 of 14)
* Writing the fileset "Glance.GPM-JPN" (13 of 14)
* Writing the fileset "Glance.GPM-JPN" (14 of 14)
* Tape #1: CRC-32 checksum & size: 2026145879 71813120

* Removing the temporary depot.
* Tapemaker Phase succeeded.


======= 07/26/18 13:39:44 PDT END swpackage SESSION

# cd /tmp/glance5.0/
# ls
glance5.0.depot
# ll
total 140272
-rw-r--r-- 1 root sys 71813120 Jul 26 13:39 glance5.0.depot
#

原文地址:https://www.cnblogs.com/rsrzrcj/p/15380318.html