File:  [LON-CAPA] / loncom / anaconda / Attic / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Thu Jan 25 04:02:30 2001 UTC (23 years, 4 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
implementing accessconf.py as a source-to-target file -Scott

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

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