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