Annotation of loncom/anaconda/Makefile, revision 1.6
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)/*
! 12: # install -d $(CONFIGTARGET)/usr/bin
! 13: install RedHat/instimage/usr/bin/loncapaconfig $(CONFIGTARGET)/usr/bin/loncapaconfig
! 14: install -d $(CONFIGTARGET)/usr/lib
! 15: cp -pR $(TARGET)/RedHat/instimage/usr/bin/* $(CONFIGTARGET)/usr/bin
! 16: cp -pR $(TARGET)/RedHat/instimage/usr/lib/* $(CONFIGTARGET)/usr/lib
1.1 harris41 17:
18: instimage:
19: install RedHat/instimage/usr/lib/anaconda/todo.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/todo.py
20: install RedHat/instimage/usr/lib/anaconda/installclass.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/installclass.py
21: install RedHat/instimage/usr/lib/anaconda/text.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/text.py
1.3 harris41 22: install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/partitioning.py
1.1 harris41 23: install RedHat/instimage/usr/lib/anaconda/textw/userauth.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/userauth.py
1.5 harris41 24: install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py
25: install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py $(TARGET)/RedHat/instimage/usr/lib/anaconda/textw/accessconf.py
1.1 harris41 26: install RedHat/instimage/usr/bin/anaconda $(TARGET)/RedHat/instimage/usr/bin/anaconda
27: install ../../packaging/comps $(TARGET)/RedHat/base/comps
28:
29: hdstg2_img:
30: rm -Rf /tmp/hdstg2_img; install -d /tmp/hdstg2_img
31: install $(TARGET)/RedHat/base/hdstg2.img /tmp/hdstg2_img
32: gzip -dc /tmp/hdstg2_img/hdstg2.img > /tmp/hdstg2_img/hdstg2.ext2
33: install -d /tmp/hdstg2_img/ext2
34: mount -o loop /tmp/hdstg2_img/hdstg2.ext2 /tmp/hdstg2_img/ext2
1.2 harris41 35: install RedHat/instimage/usr/bin/anaconda /tmp/hdstg2_img/ext2/usr/bin/anaconda.real
1.1 harris41 36: gzip -dc /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/hdstg2_img/anaconda.cpio
37: cd /tmp/hdstg2_img; cpio -idumv < anaconda.cpio
38: install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/hdstg2_img/anaconda/todo.py
39: install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/hdstg2_img/anaconda/installclass.py
40: install RedHat/instimage/usr/lib/anaconda/text.py /tmp/hdstg2_img/anaconda/text.py
41: install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/hdstg2_img/anaconda/textw/userauth.py
1.4 harris41 42: install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py /tmp/hdstg2_img/anaconda/textw/partitioning.py
1.5 harris41 43: install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py /tmp/hdstg2_img/anaconda/textw/libraryconf.py
44: install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py /tmp/hdstg2_img/anaconda/textw/accessconf.py
1.1 harris41 45: cd /tmp/hdstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz
46: install /tmp/hdstg2_img/anaconda.cgz /tmp/hdstg2_img/ext2/usr/lib/anaconda.cgz
47: umount /tmp/hdstg2_img/ext2
48: gzip -c /tmp/hdstg2_img/hdstg2.ext2 > /tmp/hdstg2_img/hdstg2.img
49: install /tmp/hdstg2_img/hdstg2.img $(TARGET)/RedHat/base/hdstg2.img
50:
51: netstg2_img:
52: rm -Rf /tmp/netstg2_img; install -d /tmp/netstg2_img
53: install $(TARGET)/RedHat/base/netstg2.img /tmp/netstg2_img
54: gzip -dc /tmp/netstg2_img/netstg2.img > /tmp/netstg2_img/netstg2.ext2
55: install -d /tmp/netstg2_img/ext2
56: mount -o loop /tmp/netstg2_img/netstg2.ext2 /tmp/netstg2_img/ext2
1.2 harris41 57: install RedHat/instimage/usr/bin/anaconda /tmp/netstg2_img/ext2/usr/bin/anaconda.real
1.1 harris41 58: gzip -dc /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz >/tmp/netstg2_img/anaconda.cpio
59: cd /tmp/netstg2_img; cpio -idumv < anaconda.cpio
60: install RedHat/instimage/usr/lib/anaconda/todo.py /tmp/netstg2_img/anaconda/todo.py
61: install RedHat/instimage/usr/lib/anaconda/installclass.py /tmp/netstg2_img/anaconda/installclass.py
62: install RedHat/instimage/usr/lib/anaconda/text.py /tmp/netstg2_img/anaconda/text.py
1.4 harris41 63: install RedHat/instimage/usr/lib/anaconda/textw/partitioning.py /tmp/netstg2_img/anaconda/textw/partitioning.py
1.1 harris41 64: install RedHat/instimage/usr/lib/anaconda/textw/userauth.py /tmp/netstg2_img/anaconda/textw/userauth.py
1.5 harris41 65: install RedHat/instimage/usr/lib/anaconda/textw/libraryconf.py /tmp/netstg2_img/anaconda/textw/libraryconf.py
66: install RedHat/instimage/usr/lib/anaconda/textw/accessconf.py /tmp/netstg2_img/anaconda/textw/accessconf.py
1.1 harris41 67: cd /tmp/netstg2_img; find anaconda | cpio --quiet -H crc -o | gzip -9 > anaconda.cgz
68: install /tmp/netstg2_img/anaconda.cgz /tmp/netstg2_img/ext2/usr/lib/anaconda.cgz
69: umount /tmp/netstg2_img/ext2
70: gzip -c /tmp/netstg2_img/netstg2.ext2 > /tmp/netstg2_img/netstg2.img
71: install /tmp/netstg2_img/netstg2.img $(TARGET)/RedHat/base/netstg2.img
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>