package-helpers-cmxsl/helpers/make-osinfo-db
2022-01-29 14:45:17 +00:00

42 lines
1.5 KiB
Bash

#!/bin/sh
#
# Copyright (C) 2022 Trisquel GNU/Linux developers
# <trisquel-devel@listas.trisquel.info>
#
# 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
#Apply patches fow new fully free distros availbale at libosinfo as Jan-2022
# trisquel.info
patch -p1 < $DATA/trisquel9-e43f4830.patch
sed -i '/derives-from/d' data/os/trisquel.info/trisquel-9.xml.in
sed -i '/release-date/a \ \ \ \ <codename>Etiona</codename>' data/os/trisquel.info/trisquel-9.xml.in
# guix.gnu.org
patch -p1 < $DATA/guix_base-9bb849fe.patch
patch -p1 < $DATA/guix_1.3-e75ed5cd.patch
# hyperbola.info
patch -p1 < $DATA/hyperbola_03-a77800ad.patch
# pureos.net
rm -r data/os/pureos.net
patch -p1 < $DATA/pure-os_8-3570a396.patch
changelog "Apply patches fow new fully free distros availbale at libosinfo (Jan-2022)."
compile