Rui Miguel Seabra wrote:
On Tue, 2004-05-25 at 00:36 +1000, Dennis Gilmore wrote:
would be really neat is to specify a location say a nfs share that has the iso images and the package installer i.e yum, apt, or up2date could mount that isos and get the packages off without having to make a package tree
This reminds me of a doubt I have: Can one simply mount, say...
/mnt/rec/FC2-i386-isos/FC2-i386-disc1.iso /var/ftp/pub/fc2/disc1 auto defaults,loop=/dev/loop0 0 0
/mnt/rec/FC2-i386-isos/FC2-i386-disc2.iso /var/ftp/pub/fc2/disc2 auto defaults,loop=/dev/loop1 0 0
/mnt/rec/FC2-i386-isos/FC2-i386-disc3.iso /var/ftp/pub/fc2/disc3 auto defaults,loop=/dev/loop2 0 0
/mnt/rec/FC2-i386-isos/FC2-i386-disc4.iso /var/ftp/pub/fc2/disc4 auto defaults,loop=/dev/loop3 0 0
and then point askmethod to ftp://server/pub/fc2/ ?
Is this possible, or something like it?
I don't know if the installer can read the ISOs like that. Here is what I did:
----
mkdir /home/mirrors/FC2
mkdir iso
mount FC2-i386-disc1.iso iso -t iso9660 -o loop=/dev/loop3
cp -a iso/* /home/mirrors/FC2
umount iso
mount FC2-i386-disc2.iso iso -t iso9660 -o loop=/dev/loop3
cp -a iso/* /home/mirrors/FC2
umount iso
mount FC2-i386-disc3.iso iso -t iso9660 -o loop=/dev/loop3
cp -a iso/* /home/mirrors/FC2
umount iso
mount FC2-i386-disc4.iso iso -t iso9660 -o loop=/dev/loop3
cp -a iso/* /home/mirrors/FC2
umount iso
rmdir iso
----
Note: It will complain about duplicate TRANS.TBL files. It does not matter if you overwrite those on each 'cp' or not.
I have a symlink like this: ln -s /home/mirrors /var/www/html/mirrors
At install time I use the http protocal, the host name of my server and /mirrors/FC2 as the path. FTP should work similarly.
-- Bryan White, ArcaMax Inc.
There's no point in acting all surprised about it. All the planning charts and demolition orders have been on display in your local planning department on Alpha Centauri for fifty of your Earth years, so you've had plenty of time to lodge any formal complaint and it's far too late to start making a fuss about it now. - Prostetnic Vogon Jeltz