Add install method and makefile
Jason D. Clinton [Tue, 1 Jul 2008 19:58:14 +0000 (14:58 -0500)]
Makefile [new file with mode: 0644]
manifest [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..248fcd2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+CPFLAGS=-pv --parents
+INSTALLPREFIX=SET_ME
+
+all:
+
+clean:
+
+install: manifest
+       IFS=: ;\
+       cat $< | while read mode source; do \
+               cp ${CPFLAGS} $${source} ${INSTALLPREFIX}/;\
+               chmod $${mode} ${INSTALLPREFIX}/$${source} ;\
+       done
+
+.PHONY: all clean install
+
diff --git a/manifest b/manifest
new file mode 100644 (file)
index 0000000..d8d9467
--- /dev/null
+++ b/manifest
@@ -0,0 +1,49 @@
+755:./etc/library.sh
+755:./etc/logdev.sh
+755:./etc/cloner/library.sh
+755:./etc/cloner/prep_disks.sh
+755:./etc/cloner/include.sh
+755:./etc/cloner/switch_cd.sh
+755:./etc/cloner/remount-fs.sh
+755:./etc/cloner/get_setup.sh
+755:./etc/cloner/installer.sh
+755:./etc/cloner/startup.sh
+755:./etc/cloner/detect_cd.sh
+644:./etc/dropbear/dropbear_rsa_host_key
+644:./etc/dropbear/dropbear_dss_host_key
+644:./etc/nsswitch.conf
+755:./etc/hardware_output.sh
+644:./etc/screenrc
+644:./etc/group
+644:./etc/udev/udev.conf
+644:./etc/udev/rules.d/cd-awesomeness.rules
+755:./etc/udev/scripts/find_next_cd
+755:./etc/ifup.udhcp.sh
+644:./etc/lvm/lvm.conf
+755:./etc/rescue/startup.sh
+755:./etc/syscheck/startup.sh
+644:./etc/modules_other.conf
+755:./etc/profile
+644:./etc/shells
+755:./etc/startup.sh
+755:./etc/hardware.sh
+644:./etc/fstab
+644:./etc/inittab
+644:./etc/passwd
+644:./etc/mtab
+755:./etc/breakin/stop.sh
+755:./etc/breakin/burnin/mcelog
+755:./etc/breakin/burnin/badblocks
+755:./etc/breakin/burnin/ecc
+755:./etc/breakin/burnin/hpl
+755:./etc/breakin/network.sh
+755:./etc/breakin/startup.sh
+755:./etc/breakin/hardware.sh
+755:./etc/breakin/dumplog.sh
+755:./etc/resumescreen
+644:./etc/ld.so.conf
+755:./etc/init.d/rcS
+644:./manifest
+644:./.gitignore
+644:./var/run/utmp
+644:./Makefile