]> git.plutz.net Git - rpi_small/blobdiff - Makefile
include gummikraken test service in build
[rpi_small] / Makefile
index 8e8fe91252f56b41c60c6894b772fbe16849e840..0de0de261ee75ef2733be48f9a204363a2773d4e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,20 @@
+#  Generator for Oktopus boot media
+#  Copyright (C) 2018 Hochschule für Technik und Wirtschaft Berlin
+#                written by Paul Hänsch <oktopus@plutz.net>
+#
+#  This program is free software: you can redistribute it and/or modify
+#  it under the terms of the GNU Affero General Public License as published by
+#  the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU Affero General Public License for more details.
+#
+#  You should have received a copy of the GNU Affero General Public License
+#  along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
 .FORCE:
 
 BOOTSTRAP = http://raspbian.raspberrypi.org/raspbian
@@ -56,7 +73,9 @@ files/root/.ssh/authorized_keys: id_rsa.pub
        chmod 700 files/root/ files/root/.ssh/
        chmod 600 '$@'
 
-raspi.img: raspi_root/ files/ partitions files/root/.ssh/authorized_keys files/etc/network/interfaces.d/wifi
+include gummikraken.mk
+
+raspi.img: raspi_root/ files/ partitions files/root/.ssh/authorized_keys files/etc/network/interfaces.d/wifi files/srv/gummikraken/
        -rmdir "$@.mnt"
        mkdir "$@.mnt"  # fail receipe if dir is nonempty
        dd bs=1M count=0 seek=1024 of="$@"  # set up sparse file