![]() ![]() | ![]() |
transfers changes from CVS to the important locations on a RedHat 6.2 cd file tree -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/userauth.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/userauth.py 14: install RedHat/instimage/usr/bin/anaconda $(TARGET)/RedHat/instimage/usr/bin/anaconda 15: install ../../packaging/comps $(TARGET)/RedHat/base/comps 16: 17: hdstg2_img: 18: rm -Rf /tmp/hdstg2_img; install -d /tmp/hdstg2_img 19: install $(TARGET)/RedHat/base/hdstg2.img /tmp/hdstg2_img 20: gzip -dc /tmp/hdstg2_img/hdstg2.img > /tmp/hdstg2_img/hdstg2.ext2 21: install -d /tmp/hdstg2_img/ext2 22: mount -o loop /tmp/hdstg2_img/hdstg2.ext2 /tmp/hdstg2_img/ext2 23: install RedHat/instimage/usr/bin /tmp/hdstg2_img/ext2/usr/bin/anaconda.real 24: gzip -dc /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/hdstg2_img/anaconda.cpio 25: cd /tmp/hdstg2_img; cpio -idumv < anaconda.cpio 26: install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/hdstg2_img/anaconda/todo.py 27: install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/hdstg2_img/anaconda/installclass.py 28: install RedHat/instimage/usr/lib/anaconda/text.py /tmp/hdstg2_img/anaconda/text.py 29: install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/hdstg2_img/anaconda/textw/userauth.py 30: cd /tmp/hdstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz 31: install /tmp/hdstg2_img/anaconda.cgz /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz 32: umount /tmp/hdstg2_img/ext2 33: gzip -c /tmp/hdstg2_img/hdstg2.ext2 > /tmp/hdstg2_img/hdstg2.img 34: install /tmp/hdstg2_img/hdstg2.img $(TARGET)/RedHat/base/hdstg2.img 35: 36: netstg2_img: 37: rm -Rf /tmp/netstg2_img; install -d /tmp/netstg2_img 38: install $(TARGET)/RedHat/base/netstg2.img /tmp/netstg2_img 39: gzip -dc /tmp/netstg2_img/netstg2.img > /tmp/netstg2_img/netstg2.ext2 40: install -d /tmp/netstg2_img/ext2 41: mount -o loop /tmp/netstg2_img/netstg2.ext2 /tmp/netstg2_img/ext2 42: install RedHat/instimage/usr/bin /tmp/netstg2_img/ext2/usr/bin/anaconda.real 43: gzip -dc /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/netstg2_img/anaconda.cpio 44: cd /tmp/netstg2_img; cpio -idumv < anaconda.cpio 45: install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/netstg2_img/anaconda/todo.py 46: install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/netstg2_img/anaconda/installclass.py 47: install RedHat/instimage/usr/lib/anaconda/text.py /tmp/netstg2_img/anaconda/text.py 48: install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/netstg2_img/anaconda/textw/userauth.py 49: cd /tmp/netstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz 50: install /tmp/netstg2_img/anaconda.cgz /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz 51: umount /tmp/netstg2_img/ext2 52: gzip -c /tmp/netstg2_img/netstg2.ext2 > /tmp/netstg2_img/netstg2.img 53: install /tmp/netstg2_img/netstg2.img $(TARGET)/RedHat/base/netstg2.img