linux-meta/0000775000000000000000000000000013267602717010044 5ustar linux-meta/debian/0000775000000000000000000000000013267602751011264 5ustar linux-meta/debian/changelog0000664000000000000000000001534713267602751013150 0ustar linux-meta-azure (4.15.0.1009.9) bionic; urgency=medium * Bump ABI 4.15.0-1009 -- Kleber Sacilotto de Souza Tue, 24 Apr 2018 12:24:41 +0200 linux-meta-azure (4.15.0.1008.8) bionic; urgency=medium * Bump ABI 4.15.0-1008 -- Seth Forshee Sat, 21 Apr 2018 20:29:37 -0500 linux-meta-azure (4.15.0.1007.7) bionic; urgency=medium * Bump ABI 4.15.0-1007 * Miscellaneous Ubuntu changes - switch to using linux-image for signed kernel - convert linux-signed into transitional packages -- Seth Forshee Fri, 20 Apr 2018 11:44:28 -0500 linux-meta-azure (4.15.0.1006.6) bionic; urgency=medium * Bump ABI 4.15.0-1006 -- Marcelo Henrique Cerri Fri, 13 Apr 2018 15:03:21 -0300 linux-meta-azure (4.15.0.1004.5) bionic; urgency=medium * Bump ABI 4.15.0-1004 * linux-azure needs to provide linux-azure-edge meta package for bionic (LP: #1760900) - add azure-edge control information -- Marcelo Henrique Cerri Wed, 04 Apr 2018 19:20:55 -0300 linux-meta-azure (4.15.0.1003.4) bionic; urgency=medium * Bump ABI 4.15.0-1003 * Enable secure boot on linux-azure (LP: #1754042) - Add linux-signed-azure meta package -- Marcelo Henrique Cerri Fri, 23 Mar 2018 16:42:03 -0300 linux-meta-azure (4.15.0.1002.3) bionic; urgency=medium * Bump ABI 4.15.0-1002 -- Marcelo Henrique Cerri Thu, 15 Feb 2018 16:38:13 -0200 linux-meta-azure (4.15.0.1001.2) bionic; urgency=medium * Bump ABI 4.15.0-1001 -- Marcelo Henrique Cerri Thu, 01 Feb 2018 13:45:14 -0200 linux-meta-azure (4.13.0.1008.9) xenial; urgency=medium * Bump ABI 4.13.0-1008 -- Marcelo Henrique Cerri Fri, 26 Jan 2018 17:55:21 -0200 linux-meta-azure (4.13.0.1007.8) xenial; urgency=medium * Bump ABI 4.13.0-1007 -- Stefan Bader Thu, 25 Jan 2018 11:22:46 +0100 linux-meta-azure (4.13.0.1006.7) xenial; urgency=medium * Bump ABI 4.13.0-1006 -- Marcelo Henrique Cerri Fri, 12 Jan 2018 11:14:03 -0200 linux-meta-azure (4.13.0.1005.6) xenial; urgency=medium * Bump ABI 4.13.0-1005 -- Marcelo Henrique Cerri Mon, 08 Jan 2018 19:30:59 -0200 linux-meta-azure (4.13.0.1004.5) xenial; urgency=medium * Bump ABI 4.13.0-1004 -- Marcelo Henrique Cerri Sun, 07 Jan 2018 15:45:44 -0200 linux-meta-azure (4.13.0.1003.4) xenial; urgency=medium * Bump ABI 4.13.0-1003 -- Marcelo Henrique Cerri Sat, 06 Jan 2018 16:23:13 -0200 linux-meta-azure (4.13.0.1002.3) xenial; urgency=medium * Bump ABI 4.13.0-1002 -- Marcelo Henrique Cerri Wed, 13 Dec 2017 09:29:36 -0200 linux-meta-azure (4.11.0.1016.16) xenial; urgency=medium * Bump ABI 4.11.0-1016 -- Marcelo Henrique Cerri Tue, 05 Dec 2017 14:34:27 -0200 linux-meta-azure (4.11.0.1015.15) xenial; urgency=medium * Bump ABI 4.11.0-1015 -- Kleber Sacilotto de Souza Thu, 02 Nov 2017 18:02:10 +0100 linux-meta-azure (4.11.0.1014.14) xenial; urgency=medium * Bump ABI 4.11.0-1014 -- Thadeu Lima de Souza Cascardo Mon, 16 Oct 2017 17:53:02 -0200 linux-meta-azure (4.11.0.1013.13) xenial; urgency=medium * Bump ABI 4.11.0-1013 -- Marcelo Henrique Cerri Mon, 02 Oct 2017 13:03:29 -0300 linux-meta-azure (4.11.0.1012.12) xenial; urgency=medium * Bump ABI 4.11.0-1012 -- Marcelo Henrique Cerri Thu, 21 Sep 2017 17:02:08 -0300 linux-meta-azure (4.11.0.1011.11) xenial; urgency=medium * Bump ABI 4.11.0-1011 -- Marcelo Henrique Cerri Tue, 19 Sep 2017 16:00:01 -0300 linux-meta-azure (4.11.0.1010.10) xenial; urgency=medium * Bump ABI 4.11.0-1010 -- Marcelo Henrique Cerri Fri, 15 Sep 2017 20:32:37 -0300 linux-meta-azure (4.11.0.1009.9) xenial; urgency=medium * Bump ABI 4.11.0-1009 -- Marcelo Henrique Cerri Thu, 07 Sep 2017 16:45:08 -0300 linux-meta-azure (4.11.0.1008.8) xenial; urgency=medium * Bump ABI 4.11.0-1008 -- Marcelo Henrique Cerri Tue, 29 Aug 2017 19:03:30 -0300 linux-meta-azure (4.11.0.1007.7) xenial; urgency=medium * Bump ABI 4.11.0-1007 -- Marcelo Henrique Cerri Tue, 22 Aug 2017 21:04:55 -0300 linux-meta-azure (4.11.0.1006.6) xenial; urgency=medium * Bump ABI 4.11.0-1006 -- Kamal Mostafa Tue, 15 Aug 2017 12:34:50 -0700 linux-meta-azure (4.11.0.1005.5) xenial; urgency=medium * Bump ABI 4.11.0-1005 -- Marcelo Henrique Cerri Tue, 01 Aug 2017 18:08:48 -0300 linux-meta-azure (4.11.0.1004.4) xenial; urgency=medium * Bump ABI 4.11.0-1004 -- Marcelo Henrique Cerri Thu, 27 Jul 2017 17:44:36 -0300 linux-meta-azure (4.11.0.1003.3) xenial; urgency=medium * Bump ABI 4.11.0-1003 -- Marcelo Henrique Cerri Tue, 27 Jun 2017 18:00:19 -0300 linux-meta-azure (4.11.0.1002.2) xenial; urgency=medium * Bump ABI 4.11.0-1002 -- Marcelo Henrique Cerri Tue, 20 Jun 2017 19:19:53 -0300 linux-meta-azure (4.11.0.1001.1) xenial; urgency=medium * Bump ABI 4.11.0-1001 * Miscellaneous upstream changes - Add meta-package linux-cloud-tools-azure - Install -tools and -cloud-tools packages with linux-azure -- Marcelo Henrique Cerri Fri, 16 Jun 2017 17:45:25 -0300 linux-meta-azure (4.10.0.1006.6) xenial; urgency=medium * Bump ABI 4.10.0-1006 -- Marcelo Henrique Cerri Wed, 31 May 2017 15:17:39 -0300 linux-meta-azure (4.10.0.1005.5) xenial; urgency=medium * Bump ABI 4.10.0-1005 -- Thadeu Lima de Souza Cascardo Mon, 15 May 2017 22:57:10 -0300 linux-meta-azure (4.10.0.1004.4) xenial; urgency=medium * Bump ABI 4.10.0-1004 -- Stefan Bader Thu, 04 May 2017 18:04:18 +0200 linux-meta-azure (4.10.0.1003.3) xenial; urgency=medium * Bump ABI 4.10.0-1003 -- Stefan Bader Fri, 24 Mar 2017 16:45:06 +0100 linux-meta-azure (4.10.0.1002.2) xenial; urgency=medium * Bump ABI 4.10.0-1002 -- Marcelo Henrique Cerri Thu, 16 Mar 2017 13:05:59 -0300 linux-meta-azure (4.10.0.1001.1) xenial; urgency=medium * linux-image-azure ABI 1001 -- Brad Figg Mon, 27 Feb 2017 13:34:50 -0800 linux-meta/debian/compat0000664000000000000000000000000213267602717012464 0ustar 5 linux-meta/debian/control0000664000000000000000000001026613267602751012674 0ustar Source: linux-meta-azure Section: devel Priority: optional Maintainer: Ubuntu Kernel Team Standards-Version: 3.6.1 Build-Depends: dpkg (>= 1.13.19), debhelper (>= 5), gawk Vcs-Git: git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/azure Package: linux-headers-azure Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-headers-${kernel-abi-version}-azure Description: Linux kernel headers for Azure systems. This package will always depend on the latest kernel headers available for Azure systems. Package: linux-image-azure Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-azure Description: Linux kernel image for Azure systems. This package will always depend on the latest kernel image available for Azure systems. Package: linux-azure Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-azure (= ${binary:Version}), linux-headers-azure (= ${binary:Version}), linux-tools-azure (= ${binary:Version}), linux-cloud-tools-azure (= ${binary:Version}) Description: Complete Linux kernel for Azure systems. This package will always depend on the latest complete Linux kernel available for Azure systems. Package: linux-tools-azure Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-azure Description: Linux kernel versioned tools for Azure systems. This package will always depend on the latest Linux kernel versioned tools available for Azure systems. Package: linux-cloud-tools-azure Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-cloud-tools-${kernel-abi-version}-azure Description: Linux kernel versioned cloud tools for Azure systems. This package will always depend on the latest Linux kernel versioned cloud tools available for Azure systems. Package: linux-headers-azure-edge Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-headers-${kernel-abi-version}-azure Description: Linux kernel headers for Azure systems. This package will always depend on the latest kernel headers available for Azure systems. Package: linux-image-azure-edge Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-azure Description: Linux kernel image for Azure systems. This package will always depend on the latest kernel image available for Azure systems. Package: linux-azure-edge Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-azure-edge (= ${binary:Version}), linux-headers-azure-edge (= ${binary:Version}), linux-tools-azure-edge (= ${binary:Version}), linux-cloud-tools-azure-edge (= ${binary:Version}) Description: Complete Linux kernel for Azure systems. This package will always depend on the latest complete Linux kernel available for Azure systems. Package: linux-tools-azure-edge Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-azure Description: Linux kernel versioned tools for Azure systems. This package will always depend on the latest Linux kernel versioned tools available for Azure systems. Package: linux-cloud-tools-azure-edge Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-cloud-tools-${kernel-abi-version}-azure Description: Linux kernel versioned cloud tools for Azure systems. This package will always depend on the latest Linux kernel versioned cloud tools available for Azure systems. Package: linux-signed-image-azure Architecture: amd64 Section: oldlibs Depends: ${misc:Depends}, linux-image-azure Description: Signed Azure Linux kernel image (dummy transitional package) This package will always depend on the latest azure kernel image available. Signed with the Ubuntu EFI key. Package: linux-signed-azure Architecture: amd64 Section: oldlibs Depends: ${misc:Depends}, linux-azure Description: Complete Signed Azure Linux kernel and headers (dummy transitional package) This package will always depend on the latest complete azure Linux kernel and headers. Signed with the Ubuntu EFI key. linux-meta/debian/control.common0000664000000000000000000000044113267602717014157 0ustar Source: linux-meta-azure Section: devel Priority: optional Maintainer: Ubuntu Kernel Team Standards-Version: 3.6.1 Build-Depends: dpkg (>= 1.13.19), debhelper (>= 5), gawk Vcs-Git: git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/azure linux-meta/debian/control.d/0000775000000000000000000000000013267602717013170 5ustar linux-meta/debian/control.d/azure0000664000000000000000000000317613267602717014250 0ustar Package: linux-headers-azure Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-headers-${kernel-abi-version}-azure Description: Linux kernel headers for Azure systems. This package will always depend on the latest kernel headers available for Azure systems. Package: linux-image-azure Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-azure Description: Linux kernel image for Azure systems. This package will always depend on the latest kernel image available for Azure systems. Package: linux-azure Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-azure (= ${binary:Version}), linux-headers-azure (= ${binary:Version}), linux-tools-azure (= ${binary:Version}), linux-cloud-tools-azure (= ${binary:Version}) Description: Complete Linux kernel for Azure systems. This package will always depend on the latest complete Linux kernel available for Azure systems. Package: linux-tools-azure Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-azure Description: Linux kernel versioned tools for Azure systems. This package will always depend on the latest Linux kernel versioned tools available for Azure systems. Package: linux-cloud-tools-azure Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-cloud-tools-${kernel-abi-version}-azure Description: Linux kernel versioned cloud tools for Azure systems. This package will always depend on the latest Linux kernel versioned cloud tools available for Azure systems. linux-meta/debian/control.d/azure-edge0000664000000000000000000000325313267602717015146 0ustar Package: linux-headers-azure-edge Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-headers-${kernel-abi-version}-azure Description: Linux kernel headers for Azure systems. This package will always depend on the latest kernel headers available for Azure systems. Package: linux-image-azure-edge Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-azure Description: Linux kernel image for Azure systems. This package will always depend on the latest kernel image available for Azure systems. Package: linux-azure-edge Architecture: amd64 Section: metapackages Priority: optional Depends: ${misc:Depends}, linux-image-azure-edge (= ${binary:Version}), linux-headers-azure-edge (= ${binary:Version}), linux-tools-azure-edge (= ${binary:Version}), linux-cloud-tools-azure-edge (= ${binary:Version}) Description: Complete Linux kernel for Azure systems. This package will always depend on the latest complete Linux kernel available for Azure systems. Package: linux-tools-azure-edge Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-tools-${kernel-abi-version}-azure Description: Linux kernel versioned tools for Azure systems. This package will always depend on the latest Linux kernel versioned tools available for Azure systems. Package: linux-cloud-tools-azure-edge Architecture: amd64 Section: metapackages Depends: ${misc:Depends}, linux-cloud-tools-${kernel-abi-version}-azure Description: Linux kernel versioned cloud tools for Azure systems. This package will always depend on the latest Linux kernel versioned cloud tools available for Azure systems. linux-meta/debian/control.d/signed-azure0000664000000000000000000000115013267602717015505 0ustar Package: linux-signed-image-azure Architecture: amd64 Section: oldlibs Depends: ${misc:Depends}, linux-image-azure Description: Signed Azure Linux kernel image (dummy transitional package) This package will always depend on the latest azure kernel image available. Signed with the Ubuntu EFI key. Package: linux-signed-azure Architecture: amd64 Section: oldlibs Depends: ${misc:Depends}, linux-azure Description: Complete Signed Azure Linux kernel and headers (dummy transitional package) This package will always depend on the latest complete azure Linux kernel and headers. Signed with the Ubuntu EFI key. linux-meta/debian/copyright0000664000000000000000000000307613267556576013242 0ustar This is the Debian GNU/Linux prepackaged version of the Linux kernel. Linux was written by Linus Torvalds and others. This package was put together by Simon Shapiro , from sources retrieved from directories under ftp.cs.helsinki.fi:/pub/Software/Linux/Kernel/ The sources may be found at most Linux ftp sites, including ftp://ftp.kernel.org/pub/linux/kernel/ This package was then maintained by Sven Rudolph. This package was maintained by Herbert Xu from March 1997 to May 2004. This package was maintained by the Debian Kernel Team This package was split off by Herbert Xu in September 2004. Linux is copyrighted by Linus Torvalds and others. 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; version 2 dated June, 1991. 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. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. linux-meta/debian/rules0000775000000000000000000000546213267602717012355 0ustar #!/usr/bin/make -f # # debian/rules for kernel-source. # # GNU copyright 1997 to 1999 by Joey Hess. # Copyright (c) 1999-2004 Herbert Xu # Copyright (c) 2004 Jens Schmalzing # # Pull out the source suffix, we intend to maintain an -lts- suffix # but otherwise assume this main packages are not intended to have a suffix # so that linux-meta and linux-meta-ti-omap4 will behave normally, but # linux-meta-lts-vivid will add the series suffix. SERIES=$(shell dpkg-parsechangelog | sed -ne 's/^Distribution: *//p' | sed -e 's/-\(security\|updates\|proposed\)$$//') SOURCE=$(shell dpkg-parsechangelog | sed -ne 's/^Source: *//p') SUFFIX=$(shell dpkg-parsechangelog | sed -ne 's/^Source: *linux-meta-lts/-lts/p') # 5 digit versions (2.6.38.., 3 digit kernel base versions (2.6.38) KERNEL_VERSION=$(shell dpkg-parsechangelog | grep ^Version | sed -e \ 's/Version: \([0-9]*\.[0-9]*\.[0-9]*\)\..*/\1/') KERNEL_ABI=$(shell head -n1 < debian/changelog | gawk '{n=split($$0,v,"."); print v[4];}') # 4 digit versions (3.0..), 2 digit kernel base versions (3.0) #KERNEL_VERSION=$(shell dpkg-parsechangelog | grep ^Version | sed -e \ 's/Version: \([0-9]*\.[0-9]*\)\..*/\1/') #KERNEL_ABI=$(shell head -n1 < debian/changelog | gawk '{n=split($$0,v,"."); print v[3];}') KERNEL_ABI_VERSION=$(KERNEL_VERSION)-$(KERNEL_ABI) GENERIC_amd64=azure GENERIC=$(value GENERIC_$(shell dpkg-architecture -qDEB_HOST_ARCH)) GENERIC_DEP=$(if $(GENERIC),$(GENERIC),) control_files := debian/control.common $(shell LC_ALL=C ls -d debian/control.d/*) SHELL := sh -e build: dh_testdir clean: debian/control dh_testdir dh_testroot dh_clean debian/control: $(control_files) rm -f debian/control.tmp for i in $^; do \ sed \ -e 's/@SERIES@/$(SERIES)/g' \ -e 's/@SUFFIX@/$(SUFFIX)/g' \ $$i >> debian/control.tmp; \ echo >> debian/control.tmp; \ done rm -f $@ mv debian/control.tmp $@ install: build dh_testdir dh_testroot dh_clean -k gencontrol_flags = -Vkernel-version=$(KERNEL_VERSION) gencontrol_flags += -Vkernel-abi-version=$(KERNEL_ABI_VERSION) gencontrol_flags += -Vgeneric-depends=$(GENERIC_DEP) # Build architecture-independent files here. binary-indep: debian/control install dh_testdir dh_testroot dh_installdirs -i dh_installdocs -i dh_installchangelogs -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i -- $(gencontrol_flags) dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: debian/control install dh_testdir dh_testroot dh_installdirs -s dh_installdocs -s dh_installchangelogs -s dh_compress -s dh_fixperms -s dh_installdeb -s dh_gencontrol -s -- $(gencontrol_flags) dh_md5sums -s dh_builddeb -s binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install linux-meta/debian/scripts/0000775000000000000000000000000013267556576012770 5ustar linux-meta/debian/scripts/misc/0000775000000000000000000000000013267556576013723 5ustar linux-meta/debian/scripts/misc/git-ubuntu-log0000775000000000000000000000753513267556576016545 0ustar #!/usr/bin/python3 import os import sys import codecs import urllib.request import json import textwrap sys.stdin = codecs.getreader("utf-8")(sys.stdin.detach()) sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach()) entries = [] def add_entry(entry): if entry and 'ignore' not in entry: if 'bugs' not in entry and 'cves' in entry: for cve in entry['cves']: if cve not in bugs: bugs.append(cve) entries.append(entry) # Suck up the git log output and extract the information we need. bugs = [] entry = None subject_wait = False for line in sys.stdin: if line.startswith('commit '): add_entry(entry) entry = {} subject_wait = True elif line.startswith('Author: '): bits = line.strip().split(maxsplit=1) entry['author'] = bits[1] elif subject_wait and line.startswith(' '): subject_wait = False entry['subject'] = line.strip() elif line.startswith(' BugLink: ') and 'launchpad.net' in line: bits = line.strip().split(maxsplit=1) bits = bits[1].split('/') entry.setdefault('bugs', []).append(bits[-1]) # Accumulate bug numbers. if bits[-1] not in bugs: bugs.append(bits[-1]) elif line.startswith(' CVE-'): entry.setdefault('cves', []).append(line.strip()) elif line.startswith(' Ignore:'): entry['ignore'] = True add_entry(entry) entries.reverse() # Go through the entries and clear out authors for upstream commits. for entry in entries: if entry['subject'].startswith('UBUNTU:'): entry['subject'] = entry['subject'][7:].strip() else: del entry['author'] # Lump everything without a bug at the bottom. bugs.append('__packaging__') bugs.append('__mainline__') emit_nl = False for bug in bugs: if bug == '__packaging__': title = 'Miscellaneous Ubuntu changes' elif bug == '__mainline__': title = 'Miscellaneous upstream changes' elif bug.startswith('CVE-'): title = bug else: bug_info = None try: #urllib.request.urlcleanup() request = urllib.request.Request('https://api.launchpad.net/devel/bugs/' + bug) request.add_header('Cache-Control', 'max-age=0') with urllib.request.urlopen(request) as response: data = response.read() bug_info = json.loads(data.decode('utf-8')) title = bug_info['title'] if 'description' in bug_info: for line in bug_info['description'].split('\n'): if line.startswith('Kernel-Description:'): title = line.split(' ', 1)[1] except urllib.error.HTTPError: title = 'INVALID or PRIVATE BUG' title += ' (LP###' + bug + ')' emit_title = True for entry in entries: if (bug == '__packaging__' and 'bugs' not in entry and 'cves' not in entry and 'author' in entry) or \ (bug == '__mainline__' and 'bugs' not in entry and 'cves' not in entry and 'author' not in entry) or \ ('bugs' in entry and bug in entry['bugs']) or \ ('cves' in entry and bug in entry['cves']): if emit_title: if emit_nl: print('') emit_nl = True title_lines = textwrap.wrap(title, 76) print(' * ' + title_lines[0].replace('LP###', 'LP: #')) for line in title_lines[1:]: line = line.replace('LP###', 'LP: #') print(' ' + line) emit_title = False title_lines = textwrap.wrap(entry['subject'], 76) print(' - ' + title_lines[0]) for line in title_lines[1:]: line = line.replace('LP###', 'LP: #') print(' ' + line) linux-meta/debian/source/0000775000000000000000000000000013267602717012566 5ustar linux-meta/debian/source/options0000664000000000000000000000007413267556576014220 0ustar # force "dpkg-source -I -i" behavior diff-ignore tar-ignore linux-meta/update-version0000775000000000000000000000525313267602717012744 0ustar #!/bin/bash tag_prefix="Ubuntu-azure-" if [ "$#" -ne 1 ]; then echo "Usage: $0 " 1>&2 exit 1 fi master_dir="$1" # Work out the master kernel version. if [ -f "$master_dir/debian/debian.env" ]; then branch=`sed -ne 's/DEBIAN=//p' <"$master_dir/debian/debian.env"` changelog="-l$branch/changelog" else changelog="" fi master_version=`(cd "$master_dir" && LC_ALL=C dpkg-parsechangelog -S Version $changelog)` # Work out our current version taking into account closed sections. here_series=$( LC_ALL=C dpkg-parsechangelog -S Distribution ) if [ "$here_series" = "UNRELEASED" ]; then here_version=$( LC_ALL=C dpkg-parsechangelog -o 1 -S Version ) here_series=$( LC_ALL=C dpkg-parsechangelog -c 1 -S Distribution ) else here_version=$( LC_ALL=C dpkg-parsechangelog -S Version ) fi # Ensure we have the appropriate tag. here_tagversion=$( echo "$tag_prefix$here_version" | sed -e 's/~/_/g' ) count=$( git for-each-ref "refs/tags/$here_tagversion" | wc -l ) if [ "$count" != 1 ]; then echo "$0: $here_tagversion: tag not found" 1>&2 exit 1 fi # We need to ensure the ABI number matches our master source. # extract both for comparison. here_abi=${here_version%.*} master_abi=$(echo ${master_version%.*} | sed -e 's/-/./g') master_abi_human=${master_version%.*} # Extract the upload number from the _previous_ upload and increment it. here_upload=${here_version##*.} here_upload=$(( $here_upload + 1 )) here_newversion="$master_abi.$here_upload" #echo "here_version<$here_version> here_abi<$here_abi> here_newversion<$here_newversion>" #echo "master_version<$master_version> master_abi<$master_abi>" # First insert any primary changes. marker="__CHANGELOG_FRAGMENT_MARKER__" dch --newversion "$here_newversion" "$marker" # Prepare the the blank changelog. tmp="/tmp/$$.msg" # If the parent represents an ABI bump include that. if dpkg --compare-versions "$here_abi" lt "$master_abi"; then echo "Updated to ABI: $master_abi" [ -f "$tmp" ] && echo "" >>"$tmp" echo " * Bump ABI $master_abi_human" >>"$tmp" fi # Format any existing commits. count=$( git log --oneline "$here_tagversion".. | wc -l ) if [ "$count" != 0 ]; then [ -f "$tmp" ] && echo "" >>"$tmp" git log "$here_tagversion".. | "debian/scripts/misc/git-ubuntu-log" >>"$tmp" fi # Insert official changelog fragment. sed -i -e '/^ \* '"$marker"'/{ r '"$tmp"' d }' debian/changelog rm -f "$tmp" # Close this changelog entry. dch --distribution "$here_series" --release '' # Emit final closing commands. echo "git commit -s -m 'UBUNTU: $tag_prefix$here_newversion' debian/changelog" here_tagversion=$( echo "$tag_prefix$here_newversion" | sed -e 's/~/_/g' ) echo "git tag -s -m '$tag_prefix$here_newversion' '$here_tagversion'"