[Trisquel-devel] [PATCH 4/5] Add fai-server package helper

Pablo Correa Gomez ablocorrea at hotmail.com
Fri Sep 10 19:40:38 CEST 2021


Thank you for taking care of this one!

However, there should be still two fixes to be done before it fully
works in trisquel: 
 - Adjust FAI_DEBOOTSTRAP line in conf/nfsroot.conf
 - We do not build linux-image-server in trisquel. It should be
replaced with linux-image-amd64 or the i386 equivalent in conf/NFSROOT.

Additionally, I believe it should be great if in the changelog you
would mention the trisquel issue in the forum that lead to this change.
It would be very useful for future reference.

On Fri, 2021-09-03 at 18:53 +0200, Denis 'GNUtoo' Carikli wrote:
> The sources.list has been extracted from a Trisquel livecd and
> a whitespace issue was fixed along the way.
> 
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo en cyberdimension.org>
> ---
>  helpers/DATA/fai-server/sources.list | 13 +++++++++++++
>  helpers/make-fai-server              | 28
> ++++++++++++++++++++++++++++
>  2 files changed, 41 insertions(+)
>  create mode 100644 helpers/DATA/fai-server/sources.list
>  create mode 100644 helpers/make-fai-server
> 
> diff --git a/helpers/DATA/fai-server/sources.list b/helpers/DATA/fai-
> server/sources.list
> new file mode 100644
> index 0000000..5b5bf6c
> --- /dev/null
> +++ b/helpers/DATA/fai-server/sources.list
> @@ -0,0 +1,13 @@
> +# Trisquel repositories for supported software and updates
> +
> +deb https://archive.trisquel.info/trisquel etiona main
> +#deb-src https://archive.trisquel.info/trisquel etiona main
> +
> +deb https://archive.trisquel.info/trisquel etiona-updates main
> +#deb-src https://archive.trisquel.info/trisquel etiona-updates main
> +
> +deb https://archive.trisquel.info/trisquel etiona-security main
> +#deb-src https://archive.trisquel.info/trisquel etiona-security main
> +
> +#deb https://archive.trisquel.info/trisquel etiona-backports main
> +#deb-src https://archive.trisquel.info/trisquel etiona-backports
> main
> diff --git a/helpers/make-fai-server b/helpers/make-fai-server
> new file mode 100644
> index 0000000..6ddfdb0
> --- /dev/null
> +++ b/helpers/make-fai-server
> @@ -0,0 +1,28 @@
> +#!/bin/sh
> +#
> +#    Copyright (C) 2021 Denis 'GNUtoo' Carikli <
> GNUtoo en cyberdimension.org>
> +#
> +#    This program 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 2 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 General Public License for more details.
> +#
> +#    You should have received a copy of the GNU General Public
> License
> +#    along with this program; if not, write to the Free Software
> +#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
> MA  02110-1301 USA
> +#
> +
> +VERSION=1
> +
> +. ./config
> +
> +cp $DATA/sources.list conf/sources.list
> +
> +changelog "Replace ubuntu sources.list by Trisquel's"
> +
> +compile



More information about the Trisquel-devel mailing list