Commit Graph

155 Commits

Author SHA1 Message Date
Bastian Blank
9863acaddd debian/lib/python: PEP8 and other style fixes.
svn path=/dists/trunk/linux-2.6/; revision=18488
2012-01-11 16:52:29 +00:00
Ben Hutchings
f838ecc2de Update firmware WHENCE file parsing
All File fields now describe just one file, which may be followed by
other related fields.  Never flush the file details immediately.

For some File fields, there are now multiple following Source fields.
Collect them in a list.

svn path=/dists/trunk/linux-2.6/; revision=18432
2011-12-29 18:28:04 +00:00
Bastian Blank
8537a6b1a0 debian/lib/python/debian_linux/debian.py: Accept shorter versions.
svn path=/dists/trunk/linux-2.6/; revision=18191
2011-10-28 18:47:00 +00:00
Ben Hutchings
cb043ef739 Fix debian_linux.utils.read_control to tolerate extra blank lines
svn path=/dists/trunk/linux-2.6/; revision=18042
2011-09-03 20:55:12 +00:00
Ben Hutchings
07aafecfb1 Move debian_linux.utils.Templates._read_control out to module scope
svn path=/dists/trunk/linux-2.6/; revision=18041
2011-09-03 20:53:59 +00:00
Bastian Blank
c0e8d4a8be debian/lib/python/debian_linux/gencontrol.py:
Don't remove entries starting with "X-".

svn path=/dists/trunk/linux-2.6/; revision=17835
2011-07-18 16:22:41 +00:00
Ben Hutchings
c5c0944e33 Restore the third version component
UTS_RELEASE and all the file names still use "3.0.0", which means the
installation commands using a version truncated to two components
fail.  And if we truncate UTS_RELEASE this will break many userland
tools, starting with depmod (!).

svn path=/dists/trunk/linux-2.6/; revision=17556
2011-06-01 05:41:03 +00:00
Ben Hutchings
1b919cfb84 Prepare gencontrol and templates for Linux 3.0
- Remove all relations based on the 'major' template variable
- Define 'source_package' template variable and use it in place
  of 'linux-@major@' in linux-patch-debian-<version> description
- Expect only 2 upstream version components if first component is
  not '2'
- Remove the 'major' template variable and 'MAJOR' make variable

svn path=/dists/trunk/linux-2.6/; revision=17482
2011-05-30 18:54:31 +00:00
Ben Hutchings
1be2b34d3c Add Python module debian_linux.firmware based on script in firmware-nonfree
svn path=/dists/trunk/linux-2.6/; revision=17029
2011-03-09 03:22:59 +00:00
Bastian Blank
7f5e7db196 Merge /dists/squeeze/linux-2.6 (2.6.32-30).
svn path=/dists/trunk/linux-2.6/; revision=16903
2011-02-16 17:06:01 +00:00
Ben Hutchings
04b38ec92d Merge changes from 2.6.32-16
Add patches that were added in 2.6.32-16 and are not in 2.6.35-rc3.
Update configuration.
Update maintainer scripts and debconf templates.
Add linux-tools-<version> package.

svn path=/dists/trunk/linux-2.6/; revision=15934
2010-07-04 21:07:52 +00:00
Ben Hutchings
2c6587bd9e debian_linux.abi: Consider symbols equal regardless of the module they are in
svn path=/dists/sid/linux-2.6/; revision=15883
2010-06-18 03:21:47 +00:00
Bastian Blank
5f54dc434f Merge debugging package support.
svn path=/dists/sid/linux-2.6/; revision=15651
2010-05-09 16:50:27 +00:00
Bastian Blank
ab3c0154f7 * debian/bin/gencontrol.py: Add support for debug packages.
* debian/lib/python/debian_linux/config.py: Add image-dbg section.
* debian/templates/control.image-dbg.in: Add.

svn path=/dists/trunk/linux-2.6/; revision=15566
2010-04-27 08:50:30 +00:00
Bastian Blank
8adf3a084f * debian/bin/kconfig.py: Add option overrides.
* debian/lib/python/debian_linux/kconfig.py:
  Add set method for externaly parsed options.

svn path=/dists/trunk/linux-2.6/; revision=15565
2010-04-27 08:43:41 +00:00
Bastian Blank
0d4f98db65 debian/lib/python/debian_linux/gencontrol.py: Don't need subst variables.
svn path=/dists/trunk/linux-2.6/; revision=15528
2010-04-20 19:27:18 +00:00
Bastian Blank
2adc7b9fdf debian/lib/python/debian_linux/gencontrol.py: Sort makeflags.
svn path=/dists/trunk/linux-2.6/; revision=15527
2010-04-20 19:22:08 +00:00
Bastian Blank
e5436e3974 debian/lib/python/debian_linux/gencontrol.py:
Support arches without featuresets.

svn path=/dists/trunk/linux-2.6/; revision=14973
2010-01-21 16:29:34 +00:00
Bastian Blank
f39af9bc20 debian/lib/python/debian_linux/debian.py: Accept NMU version.
svn path=/dists/trunk/linux-2.6/; revision=14673
2009-11-24 18:35:28 +00:00
Bastian Blank
efe8b3659e debian/lib/python/debian_linux/debian.py: Check some version tags.
svn path=/dists/trunk/linux-2.6/; revision=14671
2009-11-24 18:30:25 +00:00
Bastian Blank
e39e268dbd Move all description related config options into its own section.
* debian/bin/gencontrol.py: Handle description parts.
* debian/config: Update.
* debian/lib/python/debian_linux/config.py: Recognize new section.
* debian/lib/python/debian_linux/gencontrol.py: Remove old code.

svn path=/dists/trunk/linux-2.6/; revision=14469
2009-10-27 16:35:16 +00:00
Bastian Blank
aaa9f09b7b debian/lib/python/debian_linux/debian.py:
Make it possible to override the arches of all relations.

svn path=/dists/trunk/linux-2.6/; revision=14229
2009-09-14 09:42:44 +00:00
Bastian Blank
3320c09c45 debian/lib/python/debian_linux/debian.py: Style fixes.
svn path=/dists/trunk/linux-2.6/; revision=14228
2009-09-14 09:27:02 +00:00
Bastian Blank
33b37eb04a debian/lib/python/debian_linux/gencontrol.py:
Also substitute the relation version.

svn path=/dists/trunk/linux-2.6/; revision=14078
2009-08-03 08:43:32 +00:00
Bastian Blank
9e6796a8c6 * debian/bin/buildcheck.py: Rewrite complete symbol check.
* debian/lib/python/debian_linux/abi.py: Cleanup.

svn path=/dists/trunk/linux-2.6/; revision=13956
2009-07-17 14:01:24 +00:00
Bastian Blank
ec1ca0a0a6 debian/lib/python/debian_linux/kconfig.py: Use sorted dict.
svn path=/dists/trunk/linux-2.6/; revision=13649
2009-05-20 15:12:51 +00:00
Bastian Blank
6f09d6c8a8 debian/lib/python/debian_linux/utils.py: Only import debian module if needed.
svn path=/dists/trunk/linux-2.6/; revision=13648
2009-05-20 15:12:30 +00:00
Bastian Blank
90009cd8db debian/lib/python/debian_linux/utils.py
- Don't implement the complete dict interface.
- Fix get behaviour on non-existant entries.

svn path=/dists/trunk/linux-2.6/; revision=13397
2009-04-12 10:27:59 +00:00
Bastian Blank
881efecbce debian/lib/python/debian_linux/config.py: Recognize build section.
svn path=/dists/trunk/linux-2.6/; revision=13150
2009-03-17 12:25:30 +00:00
Bastian Blank
a94d55bc0d Merge /dists/sid/linux-2.6.
svn path=/dists/trunk/linux-2.6/; revision=12535
2008-12-28 16:55:48 +00:00
Bastian Blank
33f0a2eb8a debian/lib/python/debian_linux/patches.py:
Support shell style globs in remove action.

svn path=/dists/trunk/linux-2.6/; revision=12015
2008-08-10 09:35:19 +00:00
Bastian Blank
f298d464c4 debian/lib/python/debian_linux/gencontrol.py: Fix longclass usage.
svn path=/dists/trunk/linux-2.6/; revision=11913
2008-07-26 21:40:08 +00:00
Bastian Blank
01034d0421 * debian/bin/gencontrol.py:
Add support for short and long description text additions per flavour.
* debian/lib/python/debian_linux/config.py:
  Support image/desc-parts config entry.

svn path=/dists/trunk/linux-2.6/; revision=11703
2008-06-25 12:55:37 +00:00
Bastian Blank
a6e1800783 debian/lib/python/debian_linux/debian.py
- Make short description also a list.
- Support extend of description with another description.

svn path=/dists/trunk/linux-2.6/; revision=11702
2008-06-25 12:54:20 +00:00
Bastian Blank
c2c2ce206e debian/lib/python/debian_linux/debian.py:
Make description output method easier.

svn path=/dists/trunk/linux-2.6/; revision=11701
2008-06-25 12:34:38 +00:00
Bastian Blank
a85064f716 * debian/bin/gencontrol.py: Python style update.
* debian/lib/python/debian_linux/gencontrol.py
  - Python style update.
  - Never process package entry parts in-place.

svn path=/dists/trunk/linux-2.6/; revision=11358
2008-05-11 18:53:46 +00:00
Bastian Blank
b74b0fa3dd debian/lib/python/debian_linux/gencontrol.py: Python style update.
svn path=/dists/trunk/linux-2.6/; revision=11357
2008-05-11 18:45:11 +00:00
Bastian Blank
8aec23954b * debian/bin/gencontrol.py: Fix small problem.
* debian/lib/python/debian_linux/gencontrol.py: Further cleanups.

svn path=/dists/trunk/linux-2.6/; revision=11355
2008-05-11 18:37:03 +00:00
Bastian Blank
97084867c6 * debian/bin/gencontrol.py: Remove further "vars" updates.
* debian/lib/python/debian_linux/gencontrol.py: Cleanup.

svn path=/dists/trunk/linux-2.6/; revision=11354
2008-05-11 18:26:27 +00:00
Bastian Blank
72d6fe9b3c * debian/bin/gencontrol.py: Cleanup.
* debian/lib/python/debian_linux/gencontrol.py
  - Provide all informations for main type functions.
  - Remove some "vars" updates.

svn path=/dists/trunk/linux-2.6/; revision=11352
2008-05-11 18:17:54 +00:00
Daniel Baumann
5920d88945 Reverting previous re-adding of process_version_linux as it is desired to be somewhere else.
svn path=/dists/trunk/linux-2.6/; revision=11308
2008-05-06 11:03:49 +00:00
Daniel Baumann
25eb9d06bf Re-adding dropped process_version_linux argument in linux-support to make conglomeration packages work again.
svn path=/dists/trunk/linux-2.6/; revision=11305
2008-05-06 10:42:03 +00:00
Maximilian Attems
f7c50a1460 Revert "debian/bin, debian/lib: Infrastructure was declared irrelevant, drop it."
as announced revert trunk sabotage

This reverts commit ccf3463f401b082e89a76d3475eff5b30c05622a.

svn path=/dists/trunk/linux-2.6/; revision=11215
2008-05-01 07:54:28 +00:00
Bastian Blank
fb5a6dc08c debian/bin, debian/lib: Infrastructure was declared irrelevant, drop it.
svn path=/dists/trunk/linux-2.6/; revision=11213
2008-04-27 06:26:15 +00:00
Bastian Blank
3787190a1e debian/lib/python/debian_linux/debian.py: Rename debian member to revision.
svn path=/dists/trunk/linux-2.6/; revision=11100
2008-04-19 11:22:11 +00:00
Bastian Blank
019ee7fece * debian/lib/python/debian_linux/patches.py
- Simplify reverse check.
  - Add series list.
* debian/templates/patch.apply.in
  - Fix extra matching.
  - Use full version check.

svn path=/dists/trunk/linux-2.6/; revision=11097
2008-04-19 09:52:44 +00:00
Bastian Blank
d119386ec6 * debian/lib/python/debian_linux/patches.py: Don't dictify patch data.
* debian/patches/series/1~experimental.1-extra: Convert to new format.
* debian/templates/patch.apply.in: Use debian_linux.patches.PatchSeries.

svn path=/dists/trunk/linux-2.6/; revision=10935
2008-03-22 12:41:25 +00:00
Bastian Blank
d899a4c6c6 debian/bin/gencontrol.py:
Move some linux specific code from ebian/lib/python/debian_linux/gencontrol.py.

svn path=/dists/trunk/linux-2.6/; revision=10254
2008-01-29 14:31:16 +00:00
Bastian Blank
bc6927d169 Merge /dists/sid/linux-2.6.
svn path=/dists/trunk/linux-2.6/; revision=10251
2008-01-29 13:13:46 +00:00
Bastian Blank
466164eac3 debian/lib/python/debian_linux/config.py: Fix.
svn path=/dists/trunk/linux-2.6/; revision=10162
2008-01-21 20:23:22 +00:00