- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: make_bundles
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 10:35 AM
10-25-2002 10:35 AM
The source directory I have these patches is in /tmp. Do I need to do an swcopy first. I'm confused on the process here. Please advise.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 11:40 AM
10-25-2002 11:40 AM
Re: make_bundles
make sure you have "unshar'd" each patch you downloaded.... (sh filename) You will have a .depot and a .text file out of that
to get the patch to the depot:
swcopy -s /tmp/PHCO_xxxx.depot PHCO_xxxx @ /var/spool/sw
note.. unless you have a special reason for creating a new depot, use /var/spool/sw... that is the default depot.
Repeat for each patch
swinstall -s /var/spool/sw
and you should get the patches placed in that depot
A very clean way to do this would be to note all the patches you want, go the to patches portion of the ITRC... select them all, download them as zip or tar package... you will get all the patches in one file, move that file to the directory where you want the depot/bundle and untar or uncompress. You will find a very handy little script comes with it that is already configured to create a new software depot....
either way
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 12:00 PM
10-25-2002 12:00 PM
Re: make_bundles
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 12:19 PM
10-25-2002 12:19 PM
Re: make_bundles
swpackage -s /var/spool/sw -x media_type=tape @ /dev/rmt/0m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 12:22 PM
10-25-2002 12:22 PM
Re: make_bundles
do
sh $file
done
mkdir /tmp/OBII 4.10 Patch 102002
for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/OBII 4.10 Patch 102002
done
#Register the depot
#
swreg -l depot /tmp/OBII 4.10 Patch 102002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 12:24 PM
10-25-2002 12:24 PM
Re: make_bundles
# make_bundles -o psf.mine
Take a look at "psf.mine" file and you should be able to modify the "tag" and "title" line to the description you wanted.
Afetr that I think you have to "swpackage" them.
# swpackage -s psf.mine -d
Now test ..
# swinstall -s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 12:33 PM
10-25-2002 12:33 PM
Re: make_bundles
Ted's original suggest to go to the ITRC Patch database and download any patch will provide you with a scipt that you can canabalize for your purposes. Doing so will provide you with the script ('create_depot_hp-ux_xx' where xx is the release (10 or 11) *and* a 'README_hp-ux' file describing the scripted procedure.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 12:40 PM
10-25-2002 12:40 PM
SolutionOnce you have them in the depot, you can use something like:
make_bundles -B -n CPM_Patches -c Patches -t "CPM Patches of 2002/06/13" -r 2002.06.13 /tmp/depot
After using the above command, I can either use the depot (/tmp/depot) as it is or tar it up and use the tarfile as my depot.
That's what I use to make a bundle of the depot I get when using CPM. This is how that bundle shows using "swlist -l bundle":
CPM_Patches 2002.09.06 CPM Patches of 2002/09/06
man make_bundles to see the options.
Darrell