Updated patches for linux-lts-utopic
This commit is contained in:
parent
e70f0ce053
commit
0c6b5eb93c
5 changed files with 8415 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2008-2014 Rubén Rodríguez <ruben@trisquel.info>
|
||||
# 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
|
||||
|
|
@ -23,6 +23,7 @@ VERSION=1
|
|||
. ./config
|
||||
|
||||
for PATCH in $DATA/*.patch ; do
|
||||
echo $PATCH
|
||||
patch -p1 < $PATCH
|
||||
done
|
||||
|
||||
|
|
@ -43,12 +44,31 @@ sed s/family=ubuntu/family=trisquel/ -i debian/rules.d/0-common-vars.mk
|
|||
|
||||
rename s/ubuntu/trisquel/ debian.*/config/config.common.ubuntu
|
||||
|
||||
sed 's/Linux/Linux-libre/g' debian/control debian/control.stub -i
|
||||
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.utopic/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.utopic/config/amd64/config.flavour.lowlatency
|
||||
cp debian.master/config/amd64/config.flavour.lowlatency debian.utopic/config/amd64/config.flavour.lowlatency
|
||||
|
||||
changelog "Removed non-free bits"
|
||||
|
||||
cp debian/changelog debian.master/changelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue