summaryrefslogtreecommitdiffstats
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
commit9adf9b9c122dbf0dc81c82d2421c8b147d41dc21 (patch)
treef0fd3363dfc3dd0bebcad4c45c1137b7f4b52ea3
parent7e6e4bcc68777aa7ddd7b925167dfd40c3ffed3a (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
-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