Added linux-lts-wily and linux-meta-lts-wily
This commit is contained in:
parent
516450ae56
commit
18c622b4c7
8 changed files with 20275 additions and 0 deletions
74
helpers/make-linux-lts-wily
Normal file
74
helpers/make-linux-lts-wily
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2008-2015 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
|
||||
# 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
|
||||
|
||||
for PATCH in $DATA/*.patch ; do
|
||||
echo $PATCH
|
||||
patch -p1 < $PATCH
|
||||
done
|
||||
|
||||
sh $DATA/deblob-4.2 --force
|
||||
|
||||
# Compile with less modules and avoid abi check
|
||||
echo 'skipmodule = true' >> debian.master/rules.d/0-common-vars.mk
|
||||
echo 'skipabi = true' >> debian.master/rules.d/0-common-vars.mk
|
||||
echo 'skipmodule = true' >> debian/rules.d/0-common-vars.mk
|
||||
echo 'skipabi = true' >> debian/rules.d/0-common-vars.mk
|
||||
|
||||
line=$(grep -n ')-Ubuntu' debian/rules.d/0-common-vars.mk|cut -d: -f1)
|
||||
sed $(expr $line - 1 ),$(expr $line + 1 )d debian/rules.d/0-common-vars.mk -i
|
||||
sed s/family=ubuntu/family=trisquel/ -i debian/rules.d/0-common-vars.mk
|
||||
|
||||
rename s/ubuntu/trisquel/ debian.*/config/config.common.ubuntu
|
||||
|
||||
find debian* -type f -name *control* -exec sed 's/ with Ubuntu patches//; s/Linux/Linux-libre/g' -i {} \;
|
||||
|
||||
# Descriptions should not change based on the build arch
|
||||
sed 's/on DESC//; s/PKGVER on/PKGVER/; /^ DESC.$/d;' debian*/control.d/flavour-control.stub -i
|
||||
|
||||
sed '/^firmware/d' ./debian*/abi/*/fwinfo -i
|
||||
echo > ./debian.master/d-i/firmware/nic-modules
|
||||
echo > ./debian.master/d-i/firmware/scsi-modules
|
||||
|
||||
# Use BFQ scheduler in lowlatency kernels
|
||||
cat << EOF >> debian.master/config/config.common.trisquel
|
||||
CONFIG_IOSCHED_BFQ=y
|
||||
CONFIG_CGROUP_BFQIO=y
|
||||
# CONFIG_DEFAULT_BFQ is not set
|
||||
EOF
|
||||
cp debian.master/config/config.common.trisquel debian.wily/config/config.common.trisquel
|
||||
|
||||
cat << EOF >> debian.master/config/i386/config.flavour.lowlatency
|
||||
CONFIG_DEFAULT_BFQ=y
|
||||
CONFIG_DEFAULT_IOSCHED="BFQ"
|
||||
EOF
|
||||
cp debian.master/config/i386/config.flavour.lowlatency debian.master/config/amd64/config.flavour.lowlatency
|
||||
cp debian.master/config/i386/config.flavour.lowlatency debian.wily/config/amd64/config.flavour.lowlatency
|
||||
cp debian.master/config/amd64/config.flavour.lowlatency debian.wily/config/amd64/config.flavour.lowlatency
|
||||
|
||||
changelog "Removed non-free bits"
|
||||
|
||||
cp debian/changelog debian.master/changelog
|
||||
cp debian/changelog debian.wily/changelog
|
||||
|
||||
PARALLEL=true compile
|
||||
Loading…
Add table
Add a link
Reference in a new issue