summaryrefslogtreecommitdiffstats
path: root/mining
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-06-22 00:15:03 +0200
committerFelix Richter <github@syntax-fehler.de>2011-06-22 00:15:03 +0200
commite54a21f2247130db78b38d01567080011c1775a2 (patch)
treef088307469aa3c6519d1a3b649137f1f3c1304bd /mining
parent471d596f7fb9a8e344af4d8967bfd3a3ab4ba688 (diff)
Makefile: does more of the right things now
Makefile will patch quirks from the live system: 1. /etc/init.d/live-boot 2. ati_license Makefile will install and configure lm-sensors
Diffstat (limited to 'mining')
-rw-r--r--mining/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mining/Makefile b/mining/Makefile
index c673ee3e..0fab7b1f 100644
--- a/mining/Makefile
+++ b/mining/Makefile
@@ -1,11 +1,18 @@
.PHONY: all format install
select-target:
@echo "You are made of stupid!"
+ echo "look here"
+ @cat Makefile
format:
cat README
install:
+ apt-get install --yes lm-sensors
echo '#!/bin/bash' > /usr/bin/ati_license
+ echo '#!/bin/sh' > /etc/init.d/live-boot
+ echo 'wall "going down"' >> /etc/init.d/live-boot
+ chmod 755 /etc/init.d/live-boot
echo 'sudo tar xvf /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz -C /' >> /usr/bin/ati_license
cp -r user /home
configure:
- cat CONFIGURE
+ sensors-detect
+ @cat CONFIGURE