[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Anybody have a decent 7.2 iso image update script?



I have a set of scripts that work for me.  I started with the scripts from
the CD-HOWTO (I think), and hacked and slashed to fit my directory layout.
My versions could certainly be cleaned up, and may in fact be broken.  I
have no illusions about my skill (actually, my lack of any) in writing clean
scripts.  But I use these as is.  You are welcome to try them and see if
they help.

After setting up the staging area for the CD structure and burning a few
frisbees ( I left out the .disc1-i386 and .disc2-i386 files) I worked out
the kinks and have had good success with the attached scripts.

I run the updateRPMS.sh, which tries to replace existing .rpm files with the
updates.  I added a loop to the script that makes an effort to locate a
pre-existing .rpm on multiple discs to update.

On occasion I have to correct the behavior of this script manually.  For
example: multiple .rpms exist for a package, say foo-1.2.3-9.i386.rpm and
foo-1.2.3-12.i386.rpm.  This script will first update to foo-1.2.3-12 and
then down-grade(?) to foo-1.2.3-9.i386.rpm.  I have the script updating only
from the i386 and noarch directories.  I usually update the i686 .rpms by
hand.  The number of i686 files is so low this is not a problem for me.
Perhaps one of these days ...

Then I run updateperms.sh, updateHDList.sh and mkiso.sh script, which builds
an updated .iso from the now-updated file collections.  I then use the
burncd.sh script to start the burn.

And don't laugh too hard at the code ;-)

Hope this helps,

Lamar

----- Original Message -----
From: "Michael St. Laurent" <mikes hartwellcorp com>
To: "Red Hat Enigma Mailing List" <enigma-list redhat com>
Sent: Wednesday, January 30, 2002 8:48 PM
Subject: Anybody have a decent 7.2 iso image update script?


> Has anyone written a script to mount the iso images for the 7.2 disks and
> perform the steps to update the RPMS with the latest errata?  I started to
> follow the steps in the recently mentioned web page (the RedHat-CD-HOWTO)
> but soon realized that since my CD-R drive wasn't on the Linux box I was
> going to have trouble making the CD bootable without a raw image to write.
>
> --------------------
> Michael St. Laurent
> Hartwell Corporation
>
> [root earth] root# rm -rf /bin/laden
>
>
>
> _______________________________________________
> enigma-list mailing list
> enigma-list redhat com
> https://listman.redhat.com/mailman/listinfo/enigma-list

Attachment: burncd.sh
Description: Binary data

Attachment: mkiso.sh
Description: Binary data

Attachment: updateHDList.sh
Description: Binary data

Attachment: updateperms.sh
Description: Binary data

Attachment: updateRPMS.sh
Description: Binary data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]