From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Reed, Judith" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: How to combine patches into one operation? Date: Tue, 05 Apr 2005 09:34:53 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1112708153 6081 80.91.229.2 (5 Apr 2005 13:35:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2005 13:35:53 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 05 15:35:50 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DIoBx-00024v-7q for gotm-tru64-unix-managers@gmane.org; Tue, 05 Apr 2005 15:34:05 +0200 Original-Received: (qmail 628 invoked by uid 5); 5 Apr 2005 13:35:16 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 613 invoked by uid 49501); 5 Apr 2005 13:35:15 -0000 Original-Received: from jreed@navisite.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 2.545573 secs); 05 Apr 2005 13:35:15 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 5 Apr 2005 13:35:13 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IEH007V372JYN@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 05 Apr 2005 09:35:12 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IEH00K02727EX@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 05 Apr 2005 09:35:03 -0400 (EDT) Original-Received: from navisite.com (medusa.appliedtheory.com [204.168.65.3]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IEH00CMB725VM@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 05 Apr 2005 09:34:55 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 Thread-Topic: SUMMARY: How to combine patches into one operation? Thread-Index: AcU4/15gYL0jY9tsSFqb77e7MA8wyQADIdVjADXFqYA= content-class: urn:content-classes:message X-Envelope-From: X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on spam2.ornl.gov X-Spam-Level: Xref: news.gmane.org gmane.os.tru64.managers:8180 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8180 =A0I had asked how to combine a group of patches for Tru64v5.1A PK6 into = a more compact operation. I rec'd several responses asking for a = summary, and a couple (appended at end) with suggestions. Thanks to = those who responded. In the end, here's what we did: =20 1. Determine which ones of the group supersede others, and use most = recent patch. 2. Determine if any patches patch the same files - after step one, none = did, so no need to reboot between based on this. 3. Determine which want to rebuild kernel. Several did, but they weren't = changing files which would affect the running system, thus we could = postpone reboot to end 4. Make sure nothing would change the running system - nothing did.=20 5. Do all with command line dupatch with appropriate switches, omit = kernel rebuilds and boots. 6. At end, rebuild kernel once, then reboot. This made it reasonably easy to do them.=20 Here's the dupatch command we used: ./dupatch -install -kit ./ -name [name] -note . -patch all -noauto = -proceed -product all Alan Davis responded to my query: If they are in dupatch format I usually do a fairly simple script that = installs each one using the command-line syntax of dupatch. If there are = reboots required I put a script in /sbin/rc3.d that will call the script = at the end of the boot sequence. The install script chmod's itself when = the last patch installs so it's no longer executable. Dr. Tom Blinn responded: =A0 If they were released as separate patch kits, you can either do the install sequentially but (in most cases, and depending on the content) defer the reboot until the end (usually you have to reboot if you've built a new kernel, and you can usually do the kernel rebuild once after loading all the patches that have new kernel modules).=A0 But if any of the patches really do have a dependency on a hard reboot after an earlier patch was put on the system, you'd have to discover this and cope with it. Otherwise, you would have to ask us (HP) to build you a patch kit that has all the content in a single kit.=A0 It's possible for us to do this, but it's a complicated process and a bit error prone, and if you don't really need it done, you'd be better off not asking for it.=A0 If the patches are ones that you downloaded from the public web sites and not a set of kit changes that you got in response to problem reports (what we call Customer Specific Patches) then I doubt you'd get very far asking to have a combined kit built. Long term, your best bet is to get to V5.1B with the current patch kit (whatever that is at the time), because as far as I know (and I'm in a position to know), there are no plans to ever release a new consolidated patch kit for V5.1A with all the patch content since the last kit (which you already have). Regards; Judith Reed