Annotation of loncom/anaconda/Makefile, revision 1.8

1.1       harris41    1: TARGET=/mnt/drive/install.lon-capa.org/3.1/currentcdsource
1.6       harris41    2: CONFIGTARGET=/mnt/drive/loncapaconfig
1.1       harris41    3: 
                      4: all: instimage hdstg2_img netstg2_img hdlist
                      5: 
                      6: hdlist:
                      7: 	/bin/rm -f $(TARGET)/RedHat/base/hdlist
                      8: 	cd $(TARGET)/misc/src/anaconda/utils; chmod u+x genhdlist; ./genhdlist $(TARGET)
1.6       harris41    9: 
                     10: loncapaconfig:
                     11: 	rm -Rf $(CONFIGTARGET)/*
1.7       harris41   12: 	install -d $(CONFIGTARGET)/usr/bin
1.6       harris41   13: 	install RedHat/instimage/usr/bin/loncapaconfig $(CONFIGTARGET)/usr/bin/loncapaconfig
1.7       harris41   14: 	install $(TARGET)/RedHat/instimage/usr/bin/python $(CONFIGTARGET)/usr/bin/python
                     15: 	install $(TARGET)/RedHat/instimage/usr/bin/python1.5 $(CONFIGTARGET)/usr/bin/python1.5
1.6       harris41   16: 	install -d $(CONFIGTARGET)/usr/lib
                     17: 	cp -pR $(TARGET)/RedHat/instimage/usr/lib/* $(CONFIGTARGET)/usr/lib
1.1       harris41   18: 
                     19: instimage:
                     20: 	install RedHat/instimage/usr/lib/anaconda/todo.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/todo.py
                     21: 	install RedHat/instimage/usr/lib/anaconda/installclass.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/installclass.py
                     22: 	install RedHat/instimage/usr/lib/anaconda/text.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/text.py
1.3       harris41   23: 	install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/partitioning.py
1.1       harris41   24: 	install RedHat/instimage/usr/lib/anaconda/textw/userauth.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/userauth.py
1.5       harris41   25: 	install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py
                     26: 	install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/accessconf.py
1.1       harris41   27: 	install RedHat/instimage/usr/bin/anaconda $(TARGET)/RedHat/instimage/usr/bin/anaconda
                     28: 	install ../../packaging/comps $(TARGET)/RedHat/base/comps
                     29: 
                     30: hdstg2_img:
                     31: 	rm -Rf /tmp/hdstg2_img; install -d /tmp/hdstg2_img
                     32: 	install $(TARGET)/RedHat/base/hdstg2.img /tmp/hdstg2_img
                     33: 	gzip -dc /tmp/hdstg2_img/hdstg2.img > /tmp/hdstg2_img/hdstg2.ext2
                     34: 	install -d /tmp/hdstg2_img/ext2
                     35: 	mount -o loop /tmp/hdstg2_img/hdstg2.ext2 /tmp/hdstg2_img/ext2
1.2       harris41   36: 	install RedHat/instimage/usr/bin/anaconda /tmp/hdstg2_img/ext2/usr/bin/anaconda.real
1.1       harris41   37: 	gzip -dc /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/hdstg2_img/anaconda.cpio
                     38: 	cd /tmp/hdstg2_img; cpio -idumv < anaconda.cpio
                     39: 	install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/hdstg2_img/anaconda/todo.py
                     40: 	install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/hdstg2_img/anaconda/installclass.py
                     41: 	install RedHat/instimage/usr/lib/anaconda/text.py /tmp/hdstg2_img/anaconda/text.py
                     42: 	install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/hdstg2_img/anaconda/textw/userauth.py
1.4       harris41   43: 	install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py /tmp/hdstg2_img/anaconda/textw/partitioning.py
1.5       harris41   44: 	install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py /tmp/hdstg2_img/anaconda/textw/libraryconf.py
                     45: 	install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py /tmp/hdstg2_img/anaconda/textw/accessconf.py
1.1       harris41   46: 	cd /tmp/hdstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz
                     47: 	install /tmp/hdstg2_img/anaconda.cgz /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz
                     48: 	umount /tmp/hdstg2_img/ext2
                     49: 	gzip -c /tmp/hdstg2_img/hdstg2.ext2 > /tmp/hdstg2_img/hdstg2.img
                     50: 	install /tmp/hdstg2_img/hdstg2.img $(TARGET)/RedHat/base/hdstg2.img
                     51: 
                     52: netstg2_img:
                     53: 	rm -Rf /tmp/netstg2_img; install -d /tmp/netstg2_img
                     54: 	install $(TARGET)/RedHat/base/netstg2.img /tmp/netstg2_img
                     55: 	gzip -dc /tmp/netstg2_img/netstg2.img > /tmp/netstg2_img/netstg2.ext2
                     56: 	install -d /tmp/netstg2_img/ext2
                     57: 	mount -o loop /tmp/netstg2_img/netstg2.ext2 /tmp/netstg2_img/ext2
1.2       harris41   58: 	install RedHat/instimage/usr/bin/anaconda /tmp/netstg2_img/ext2/usr/bin/anaconda.real
1.1       harris41   59: 	gzip -dc /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/netstg2_img/anaconda.cpio
                     60: 	cd /tmp/netstg2_img; cpio -idumv < anaconda.cpio
                     61: 	install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/netstg2_img/anaconda/todo.py
                     62: 	install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/netstg2_img/anaconda/installclass.py
                     63: 	install RedHat/instimage/usr/lib/anaconda/text.py /tmp/netstg2_img/anaconda/text.py
1.4       harris41   64: 	install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py /tmp/netstg2_img/anaconda/textw/partitioning.py
1.1       harris41   65: 	install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/netstg2_img/anaconda/textw/userauth.py
1.5       harris41   66: 	install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py /tmp/netstg2_img/anaconda/textw/libraryconf.py
                     67: 	install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py /tmp/netstg2_img/anaconda/textw/accessconf.py
1.1       harris41   68: 	cd /tmp/netstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz
                     69: 	install /tmp/netstg2_img/anaconda.cgz /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz
                     70: 	umount /tmp/netstg2_img/ext2
                     71: 	gzip -c /tmp/netstg2_img/netstg2.ext2 > /tmp/netstg2_img/netstg2.img
                     72: 	install /tmp/netstg2_img/netstg2.img $(TARGET)/RedHat/base/netstg2.img

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>