[slackintosh-users] Re: -current iso

  • From: Adrian Ulrich <adrian@xxxxxxxxxxxxxxxx>
  • To: slackintosh-users@xxxxxxxxxxxxx
  • Date: Mon, 7 May 2007 19:20:06 +0200

Hello Tom,

> H ive got a mirror of current set up using a modified version of Eric
> Hamlers OLD rsync_current.sh script, and when i was looking for one to
> create a dvd or cd's from my local mirror i found his new one.

We are using the attached script to create .iso images.

Keep in mind that /boot from -current is not up-to-date.
This means:

 - No new kernels (You'll boot the slackware 11 install kernel)
 - initrd is also outdated
 - The tagfiles are not up-to-date


Your iso should still work okay even when using the old initrd and the
old kernels. But you'll *need* to upgrade all tagfiles/maketag/etc
stuff!



Reagards,
 Adrian

#!/bin/sh

ISO_ROOT=/var/rsync/.releases/11.0/
ISO_OUT=/var/rsync/au/slackintosh-11.0-rc2-1.iso
ISO2_OUT=/var/rsync/au/slackintosh-11.0-rc2-2.iso
ISO3_OUT=/var/rsync/au/slackintosh-11.0-rc2-3.iso


mkhybrid -m ${ISO_ROOT}extra \
         -m "${ISO_ROOT}slackware/kde/*" \
         -m "${ISO_ROOT}slackware/t/*" \
         -m "${ISO_ROOT}slackware/k/*" \
         -m "${ISO_ROOT}slackware/f/*" \
         -m "${ISO_ROOT}slackware/tcl/*" \
         -m "${ISO_ROOT}slackware/kdei/*" \
         -m "${ISO_ROOT}source" \
         -m "${ISO_ROOT}pasture" \
         -m "${ISO_ROOT}testing" \
        -hfs-unlock -part -hfs -map $ISO_ROOT/iso/maps -no-desktop \
        -hfs-volid Slackintosh_CURR -r -o $ISO_OUT $ISO_ROOT

hmount $ISO_OUT
hattrib -b :boot:
humount $ISO_OUT

echo "# First ISO created at $ISO_OUT"


cd $ISO_ROOT && find . -type d |egrep -v 
"extra|kde$|kdei$|tcl$|k$|t$|f$|slackintosh$" > /tmp/exclud && mkisofs -J -R -o 
$ISO2_OUT -exclude-list /tmp/exclud .
echo "# Second ISO created at $ISO2_OUT"

cd $ISO_ROOT && find . -type d |egrep -v "source" > /tmp/exclud && mkisofs -J 
-R -o $ISO3_OUT -exclude-list /tmp/exclud .

Other related posts: