Add preseed image
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
parent
0a02454402
commit
f6ee3b7d2b
|
@ -0,0 +1,45 @@
|
|||
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||||
#
|
||||
# This project is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This project 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 General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this project. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
.PHONY: mtools-signkey
|
||||
|
||||
all: preseed.img
|
||||
|
||||
pubring.kbx:
|
||||
gpg --homedir $$PWD \
|
||||
--list-keys 51A23D9D7C4DF41AA48FA893E99CF5537790B839 || \
|
||||
gpg --homedir $$PWD \
|
||||
--recv-keys 51A23D9D7C4DF41AA48FA893E99CF5537790B839
|
||||
|
||||
mtools-4.0.43.tar.bz2:
|
||||
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
|
||||
mtools-4.0.43/mformat -i $@ ::
|
||||
mtools-4.0.43/mcopy -i $@ \
|
||||
../trisquel-guix-installer.experimental.a-lec.org/config/debconf/FAIBASE \
|
||||
::
|
||||
mtools-4.0.43/mdir -i $@ ::
|
Loading…
Reference in New Issue