--- loncom/anaconda/Attic/Makefile 2001/01/22 16:45:21 1.1 +++ loncom/anaconda/Attic/Makefile 2001/01/25 14:46:41 1.6 @@ -1,4 +1,5 @@ TARGET=/mnt/drive/install.lon-capa.org/3.1/currentcdsource +CONFIGTARGET=/mnt/drive/loncapaconfig all: instimage hdstg2_img netstg2_img hdlist @@ -6,11 +7,22 @@ hdlist: /bin/rm -f $(TARGET)/RedHat/base/hdlist cd $(TARGET)/misc/src/anaconda/utils; chmod u+x genhdlist; ./genhdlist $(TARGET) +loncapaconfig: + rm -Rf $(CONFIGTARGET)/* +# install -d $(CONFIGTARGET)/usr/bin + install RedHat/instimage/usr/bin/loncapaconfig $(CONFIGTARGET)/usr/bin/loncapaconfig + install -d $(CONFIGTARGET)/usr/lib + cp -pR $(TARGET)/RedHat/instimage/usr/bin/* $(CONFIGTARGET)/usr/bin + cp -pR $(TARGET)/RedHat/instimage/usr/lib/* $(CONFIGTARGET)/usr/lib + instimage: install RedHat/instimage/usr/lib/anaconda/todo.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/todo.py install RedHat/instimage/usr/lib/anaconda/installclass.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/installclass.py install RedHat/instimage/usr/lib/anaconda/text.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/text.py + install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/partitioning.py install RedHat/instimage/usr/lib/anaconda/textw/userauth.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/userauth.py + install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py + install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/accessconf.py install RedHat/instimage/usr/bin/anaconda $(TARGET)/RedHat/instimage/usr/bin/anaconda install ../../packaging/comps $(TARGET)/RedHat/base/comps @@ -20,13 +32,16 @@ hdstg2_img: gzip -dc /tmp/hdstg2_img/hdstg2.img > /tmp/hdstg2_img/hdstg2.ext2 install -d /tmp/hdstg2_img/ext2 mount -o loop /tmp/hdstg2_img/hdstg2.ext2 /tmp/hdstg2_img/ext2 - install RedHat/instimage/usr/bin /tmp/hdstg2_img/ext2/usr/bin/anaconda.real + install RedHat/instimage/usr/bin/anaconda /tmp/hdstg2_img/ext2/usr/bin/anaconda.real gzip -dc /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/hdstg2_img/anaconda.cpio cd /tmp/hdstg2_img; cpio -idumv < anaconda.cpio install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/hdstg2_img/anaconda/todo.py install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/hdstg2_img/anaconda/installclass.py install RedHat/instimage/usr/lib/anaconda/text.py /tmp/hdstg2_img/anaconda/text.py install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/hdstg2_img/anaconda/textw/userauth.py + install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py /tmp/hdstg2_img/anaconda/textw/partitioning.py + install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py /tmp/hdstg2_img/anaconda/textw/libraryconf.py + install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py /tmp/hdstg2_img/anaconda/textw/accessconf.py cd /tmp/hdstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz install /tmp/hdstg2_img/anaconda.cgz /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz umount /tmp/hdstg2_img/ext2 @@ -39,13 +54,16 @@ netstg2_img: gzip -dc /tmp/netstg2_img/netstg2.img > /tmp/netstg2_img/netstg2.ext2 install -d /tmp/netstg2_img/ext2 mount -o loop /tmp/netstg2_img/netstg2.ext2 /tmp/netstg2_img/ext2 - install RedHat/instimage/usr/bin /tmp/netstg2_img/ext2/usr/bin/anaconda.real + install RedHat/instimage/usr/bin/anaconda /tmp/netstg2_img/ext2/usr/bin/anaconda.real gzip -dc /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/netstg2_img/anaconda.cpio cd /tmp/netstg2_img; cpio -idumv < anaconda.cpio install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/netstg2_img/anaconda/todo.py install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/netstg2_img/anaconda/installclass.py install RedHat/instimage/usr/lib/anaconda/text.py /tmp/netstg2_img/anaconda/text.py + install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py /tmp/netstg2_img/anaconda/textw/partitioning.py install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/netstg2_img/anaconda/textw/userauth.py + install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py /tmp/netstg2_img/anaconda/textw/libraryconf.py + install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py /tmp/netstg2_img/anaconda/textw/accessconf.py cd /tmp/netstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz install /tmp/netstg2_img/anaconda.cgz /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz umount /tmp/netstg2_img/ext2