Michael T. Halligan wrote:
Can anybody recommend a guide as to how I'd go about incorporating SLES SP2 into a SLES9 repository? I'm about to image a number of servers, and ideally would have them all come up fully patched, and ready to go.
Here's what I did for SLES9.SP1: # create the repository structure cd /repository/install/linux mkdir SLES9.SP1 mkdir SLES9.SP1/sles9 mkdir SLES9.SP1/core9 mkdir SLES9.SP1/SLES9-SP1 # copy the first CD from the iso image in SLES9.ISO mount -o loop SLES9.ISO/SLES9-CD1.iso /mnt/iso cp /mnt/iso SLES9.SP1/sles9/CD1 umount /mnt/iso # copy remaining iso images for i in {1-5}; do mount -o loop SLES9.ISO/SLES9-SP1-CD${i}.iso /mnt/iso cp -a /mnt/iso/ SLES9.SP1/SLES9-SP1/CD${i} umount /mnt/iso done mkdir yast vi yast/instorder /SLES9-SP1/CD1 /sles9/CD1 /core9/CD1 vi yast/order (Tabs!) /SLES9-SP1/CD1 /SLES9-SP1/CD1 /sles9/CD1 /sles9/CD1 /core9/CD1 /core9/CD1 ln -s sles9/CD1/boot boot ln -s sles9/CD1/content content ln -s sles9/CD1/control.xml control.xml ln -s SLES9-SP1/CD1/driverupdate driverupdate ln -s SLES9-SP1/CD1/linux linux ln -s sles9/CD1/media.1 media.1 -Mike