trisquel-automatic-netinstall-qemu: document deployments on libre en communs physical machines.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-07-21 22:03:33 +02:00
parent b9abe6c2b3
commit 2d2dd5d426
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
2 changed files with 44 additions and 0 deletions

View File

@ -3,11 +3,28 @@ Deployment and limitations.
Creating an image is similar to the build of other software as you use
similar commands:
$ git clone https://forge.a-lec.org/cominfra/experimental-vms
$ cd experimental-vms/trisquel-automatic-netinstall-qemu
$ ./autogen.sh
$ ./configure --prefix=/ \
--with-trisquel-netinstall=~/Downloads/trisquel-netinst_11.0_amd64.iso
$ make
Since your account on a physical machines from Libre en communs might
lack permissions for accessing /dev/kvm, you might need to pass
'--disable-kvm' to ./configure, and since these machines also lack
many tools, you will need to workaround by using the provided
./libre-en-communs-guix-shell.sh script. For instance the following
should work:
$ git clone https://forge.a-lec.org/cominfra/experimental-vms
$ cd experimental-vms/trisquel-automatic-netinstall-qemu
$ wget https://cdimage.trisquel.info/trisquel-images/trisquel-netinst_11.0_amd64.iso
$ ./libre-en-communs-guix-shell.sh ./autogen.sh
$ ./libre-en-communs-guix-shell.sh ./configure --prefix=/ --disable-kvm
$ ./libre-en-communs-guix-shell.sh make
The image should then be in rootfs.img.
License
=======

View File

@ -0,0 +1,27 @@
#!/bin/sh
#
# Copyright (C) 2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
#
# This file 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 file 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.
# The Libre en communs physical machines lack many packages, so when
# this is the case we can simply use Guix to get these packages, but
# at the same time resources are also very constrained (because the
# hosts typically run many virtual machines), so if some host packages
# are available, we prefer to use that as this uses way less space.
guix_packages=" \
autoconf \
automake \
make \
mtools \
xorriso \
"
guix shell ${guix_packages} -- $@