Skip to content
Snippets Groups Projects
Commit b97d8572 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

linux-meta-hwe fixed helper

parent 239e6edc
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#
# Copyright (C) 2017-2018 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2017-2020 Ruben Rodriguez <ruben@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
......@@ -17,20 +17,27 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=5
VERSION=6
. ./config
rm ./debian/control.d/signed-generic
find debian/control.d/ -type f | grep -v -e '/generic$' -e '/lowlatency$' -e '/virtual$' |xargs rm
sed 's/18.04/9.0/g; s/16.04 to 16.10/8.0/; s/16.04/8.0/; s/Xenial/Flidas/; s/Bionic/Etiona/' -i debian/control
sed 's/linux-firmware/firmware-linux-free/' -i debian/control ./debian/control.d/generic debian/control.d/lowlatency
/bin/sed 's/linux-firmware/firmware-linux-free/' -i debian/control ./debian/control.d/*
sed 's/Ubuntu/upstream/' -i debian/control
sed 's/Linux/Linux-libre/g' -i debian/control ./debian/control.d/generic debian/control.d/lowlatency
sed '/signed/,/^$/ d' -i debian/control
sed 's/, intel-microcode \[amd64 i386\]//; s/, amd64-microcode \[amd64 i386\]//;' debian/control debian/control.d/generic debian/control.d/lowlatency -i
find debian/control.d/ -type f | grep -v -e '/generic$' -e '/lowlatency$' -e '/virtual$' |xargs rm
sed '/Package.*gkeop.*/,/^$/d' -i debian/control
cat << EOF >> debian/control
Package: linux-source-hwe
Architecture: all
Depends: \${misc:Depends}, linux-source-\${kernel-version}
Description: Linux-libre kernel source with upstream patches
This package will always depend on the latest Linux-libre kernel source code
available. The upstream patches have been applied.
EOF
changelog "Removed linux-firmware dependency, renamed release for Trisquel"
changelog "Removed nonfree kernel variants, renamed release for Trisquel"
compile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment