release 6.14.9
This commit is contained in:
9
debian/bin/gencontrol.py
vendored
9
debian/bin/gencontrol.py
vendored
@@ -350,14 +350,7 @@ class Gencontrol(Base):
|
||||
def process_changelog(self) -> None:
|
||||
version = self.version = self.changelog[0].version
|
||||
|
||||
if self.changelog[0].distribution == 'UNRELEASED':
|
||||
self.abiname = f'{version.linux_upstream}+unreleased'
|
||||
elif self.changelog[0].distribution == 'experimental':
|
||||
self.abiname = f'{version.linux_upstream}'
|
||||
elif version.linux_revision_backports:
|
||||
self.abiname = f'{version.linux_upstream_full}+bpo'
|
||||
else:
|
||||
self.abiname = f'{version.linux_upstream_full}'
|
||||
self.abiname = f'{version.linux_upstream_full}'
|
||||
|
||||
self.vars = {
|
||||
'upstreamversion': self.version.linux_upstream,
|
||||
|
2
debian/bin/genpatch-pfkernel
vendored
2
debian/bin/genpatch-pfkernel
vendored
@@ -7,7 +7,7 @@ w=$(git rev-parse --path-format=absolute --show-toplevel) ; : "${w:?}" ; cd "$w"
|
||||
|
||||
dst='debian/patches/pf-tmp'
|
||||
src='../linux-extras'
|
||||
branches='amd-pstate cpuidle crypto fixes invlpgb kbuild nfs smb zstd'
|
||||
branches='amd-pstate cpuidle crypto exfat fixes fuse invlpgb kbuild nfs smb zstd'
|
||||
|
||||
if [ -d "${dst}" ] ; then rm -rf "${dst}" ; fi
|
||||
mkdir -p "${dst}"
|
||||
|
13
debian/bin/refine-configs
vendored
13
debian/bin/refine-configs
vendored
@@ -11,12 +11,15 @@ dpkg-parsechangelog --show-field Source | grep -Eq '^linux'
|
||||
|
||||
ch_ver=$(dpkg-parsechangelog --show-field Version)
|
||||
|
||||
v=$1
|
||||
ktarget=$1
|
||||
[ -n "${ktarget}" ] || ktarget=oldconfig
|
||||
|
||||
v=$2
|
||||
[ -n "$v" ] || v=$(echo "${ch_ver}" | sed -E 's/^\d+://;s/-[^-]+$//')
|
||||
[ -n "$v" ]
|
||||
|
||||
## should be source tree with patches applied
|
||||
src_dir=$2
|
||||
src_dir=$3
|
||||
[ -n "${src_dir}" ] || src_dir="/tmp/linux-$v"
|
||||
[ -n "${src_dir}" ]
|
||||
[ -d "${src_dir}" ]
|
||||
@@ -25,8 +28,8 @@ src_dir=$(readlink -f "${src_dir}")
|
||||
nproc=$(nproc || printf 2)
|
||||
case "${nproc}" in
|
||||
[0-1] ) nproc=2 ;;
|
||||
[2-9] | 1[0-9] ) ;;
|
||||
* ) nproc=20 ;;
|
||||
[2-8] ) ;;
|
||||
* ) nproc=8 ;;
|
||||
esac
|
||||
|
||||
rm -rf debian/build/
|
||||
@@ -44,7 +47,7 @@ for c in ${configs} ; do
|
||||
|
||||
f="debian/build/$c"
|
||||
cp -f "$f" "${src_dir}/.config"
|
||||
env -C "${src_dir}" make "-j${nproc}" oldconfig
|
||||
env -C "${src_dir}" make "-j${nproc}" "${ktarget}"
|
||||
cp -f "${src_dir}/.config" "$f"
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user