X-Git-Url: https://git.plutz.net/?p=rpi_small;a=blobdiff_plain;f=Makefile;h=0de0de261ee75ef2733be48f9a204363a2773d4e;hp=8e8fe91252f56b41c60c6894b772fbe16849e840;hb=666a971407dbc61083273bf5b4d4463b999e89e1;hpb=462f5b00c78def3eef69550b76e7e56f706e6f80 diff --git a/Makefile b/Makefile index 8e8fe91..0de0de2 100644 --- 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 +# +# 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 . + .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