Compare commits
3 Commits
c8f625973d
...
9a216f1d70
Author | SHA1 | Date |
---|---|---|
Denis 'GNUtoo' Carikli | 9a216f1d70 | |
Denis 'GNUtoo' Carikli | 15314378aa | |
Denis 'GNUtoo' Carikli | 8447264004 |
|
@ -8,4 +8,7 @@
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this file. If not, see <http://www.gnu.org/licenses/>.
|
# along with this file. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
guix shell -C \
|
||||||
|
autoconf automake coreutils grep m4 sed \
|
||||||
|
-- \
|
||||||
autoreconf -fi $@
|
autoreconf -fi $@
|
||||||
|
|
|
@ -13,33 +13,24 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this project. If not, see <http://www.gnu.org/licenses/>.
|
# along with this project. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
GUIX_VERSION ?= v1.4.0
|
||||||
|
GUIX_SHELL ?= guix time-machine --commit=$(GUIX_VERSION) -- shell
|
||||||
|
|
||||||
.PHONY: mtools-signkey
|
.PHONY: mtools-signkey
|
||||||
|
|
||||||
all: preseed.img
|
all: preseed.img check
|
||||||
|
|
||||||
pubring.kbx:
|
PRESEED_IMG_DEPS = \
|
||||||
gpg --homedir $$PWD \
|
Makefile \
|
||||||
--list-keys 51A23D9D7C4DF41AA48FA893E99CF5537790B839 || \
|
../trisquel-guix-installer.experimental.a-lec.org/config/debconf/FAIBASE
|
||||||
gpg --homedir $$PWD \
|
|
||||||
--recv-keys 51A23D9D7C4DF41AA48FA893E99CF5537790B839
|
|
||||||
|
|
||||||
mtools-4.0.43.tar.bz2:
|
preseed.img: $(PRESEED_IMG_DEPS)
|
||||||
wget http://ftp.gnu.org/gnu/mtools/$@ -O $@
|
|
||||||
|
|
||||||
mtools-4.0.43.tar.bz2.sig:
|
|
||||||
wget http://ftp.gnu.org/gnu/mtools/$@ -O $@
|
|
||||||
|
|
||||||
mtools-4.0.43: mtools-4.0.43.tar.bz2 mtools-4.0.43.tar.bz2.sig
|
|
||||||
gpg --homedir $$PWD --verify mtools-4.0.43.tar.bz2.sig
|
|
||||||
tar xf mtools-4.0.43.tar.bz2
|
|
||||||
cd mtools-4.0.43 && \
|
|
||||||
./configure && \
|
|
||||||
make
|
|
||||||
|
|
||||||
preseed.img: mtools-4.0.43
|
|
||||||
dd if=/dev/zero of=$@ count=2048
|
dd if=/dev/zero of=$@ count=2048
|
||||||
mtools-4.0.43/mformat -i $@ ::
|
$(GUIX_SHELL) mtools -- mformat -i $@ ::
|
||||||
mtools-4.0.43/mcopy -i $@ \
|
$(GUIX_SHELL) mtools -- mcopy -i $@ \
|
||||||
../trisquel-guix-installer.experimental.a-lec.org/config/debconf/FAIBASE \
|
../trisquel-guix-installer.experimental.a-lec.org/config/debconf/FAIBASE \
|
||||||
::
|
::
|
||||||
mtools-4.0.43/mdir -i $@ ::
|
$(GUIX_SHELL) mtools -- mdir -i $@ ::
|
||||||
|
|
||||||
|
check: preseed.img preseed.img.sha512
|
||||||
|
sha512sum -c preseed.img.sha512
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
4ccceabb06d01526915c15a4f5b5dab58d75f3dc70ad4837696e29d9dc1956f4a5652f2a0574602fc12fa42b34e11df69fa0cc3da87e6eff8d7a18d50a16ae07 preseed.img
|
Loading…
Reference in New Issue