README 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. How to get the list of patches:
  2. We used to just kind of guess which patches were needed. Now, we look at the
  3. patches installed on the system and build our list from that. WARNING - The
  4. system that you run this on must be a pretty clean system, with no extra
  5. software or hardware packages (e.g. compilers, software development
  6. environments, etc.). We don't want to complain to our customers that they
  7. must install the C compiler! So, I recommend running these scripts on a fresh
  8. clean QA-type system that has had the latest recommended patches or jumbo
  9. patch set applied. If for some reason you need to edit the auto generated
  10. patch files, please put a comment in this file with the date and your ID.
  11. Solaris:
  12. You will need one system for each supported OS release. This means, for
  13. DS 6.2, both a Solaris 8 and a Solaris 9 system. Log into each system as root
  14. and execute the getSolPatches.pl script. By default it tries to use
  15. /usr/bin/perl, so if that is not available, any perl version > 5.005_03 can be
  16. used (older versions might work). Redirect the output to a file
  17. (e.g. /tmp/patches), then copy that file over solN_patches.c, where N is the
  18. OS release number (e.g. 8 or 9). Then, merge the files together into one -
  19. for example, mergeSolPatches.pl sol8_patches.c sol9_patches.c > sol_patches.c.
  20. Each patch is already tagged with what release version it came from and is applied to.
  21. HP:
  22. Log into the reference machine and run getHPPatches.pl > /tmp/patches. You
  23. may have to be superuser - for some reason, swlist must be run as root on some
  24. machines but not others. So, if you run it and get strange error messages, try
  25. it as root. Then, copy /tmp/patches over hp_patches.c. By default, the perl
  26. script tries to use /tools/ns/bin/perl5.6.1, so if that does not exist, try
  27. another version of perl. HP ships with a very old version of perl (v4) that
  28. may or may not work.