Commit Graph

315 Commits

Author SHA1 Message Date
Martin Michlmayr 0dc5a508cb [armel] Enable KERNEL_LZMA, i.e. compress kernels with lzma to get
much better compression.

svn path=/dists/trunk/linux-2.6/; revision=14606
2009-11-12 17:34:23 +00:00
Maximilian Attems 886f5bff3d maintainer script snipp outdated copyright headers
as we ship that code and already modified more then bits,
just take up responsibility. copyright is deducible from commits.
let's one jump directly to the code when opening relevant file.

svn path=/dists/trunk/linux-2.6/; revision=14596
2009-11-10 14:20:30 +00:00
Maximilian Attems 4aafa3d751 maintainer scripts nuke unused variable silent_loader
unused undocumented so can just go.

svn path=/dists/trunk/linux-2.6/; revision=14595
2009-11-10 14:20:26 +00:00
Maximilian Attems 874e54e1b2 postinst: get rid of reverse symlinks handling
maximilian suggested to grab an axe and rip the reverse symlinks handling out.
The man page for kernel-img.conf has no reference to it anymore.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

svn path=/dists/trunk/linux-2.6/; revision=14593
2009-11-10 09:05:10 +00:00
Maximilian Attems bd26c9179c Really fix missing kernel-img.conf makes a debian kernel not installable
There is no /etc/kernel-img.con on a fresh debootstrap sid. Installing a
kernel leads to:

|mikejones:/var/lib# dpkg --configure -a
|Setting up linux-image-2.6.31-1-amd64 (2.6.31-1) ...
|Running depmod.
|Running update-initramfs.
|update-initramfs: Generating /boot/initrd.img-2.6.31-1-amd64
|Error retreiving answer for linux-image-2.6.31-1-amd64/postinst/create-kimage-link-2.6.31-1-amd64:
| linux-image-2.6.31-1-amd64/postinst/create-kimage-link-2.6.31-1-amd64 doesn't exist at
| /var/lib/dpkg/info/linux-image-2.6.31-1-amd64.postinst line 522, <STDIN> line 3.
|dpkg: error processing linux-image-2.6.31-1-amd64 (--configure):
| subprocess installed post-installation script returned error exit status 9

As far as I understand debconf, there must be a template and input() for
${package_name}/postinst/create-kimage-link-$version in order to get a
value saved. Since I did not find it I guess that this can't work.

If the bootloader is palo than the answer is ignored anyway so the
question is not required there.

kernel-img.conf(5) says that do_symlinks defaults to yes.

This could also fix piuparts [0].

[0] http://piuparts.debian.org/sid/fail/linux-image-2.6.31-1-amd64_2.6.31-1.log

[ nuked that template in question and this is indeed the right fix
  instead of reprompting user for useless questions.
  Add a comment and keep current ordering. -maks ]

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Really fix making a debian kernel installable without kernel-img.conf.

boah the code below this with reverse links must die pretty soon.

thanks for good analysis and bug report.

svn path=/dists/trunk/linux-2.6/; revision=14589
2009-11-08 20:39:41 +00:00
Maximilian Attems bfa7df899d nuke now empty config maintainer script
svn path=/dists/trunk/linux-2.6/; revision=14588
2009-11-08 20:39:28 +00:00
Ben Hutchings 1ea43a7025 postinst: Accept absolute paths in modules.dep generated by the lenny version of module-init-tools (Closes: #552610)
svn path=/dists/trunk/linux-2.6/; revision=14532
2009-11-01 00:59:45 +00:00
Ben Hutchings e775ea3ceb Improve package descriptions
- Clarify the differences between i386 flavours (Closes: #414690)
- Simplify wording of the description template

svn path=/dists/trunk/linux-2.6/; revision=14342
2009-10-06 23:26:20 +00:00
Ben Hutchings e2520b9603 Include USB device list in bug reports
svn path=/dists/trunk/linux-2.6/; revision=14332
2009-10-04 20:01:29 +00:00
Ben Hutchings 54998d8ce3 Optionally include network configuration and status in bug reports
svn path=/dists/trunk/linux-2.6/; revision=14331
2009-10-04 19:43:48 +00:00
Ben Hutchings 401243c9f8 Set $PATH to include /sbin and /usr/sbin
svn path=/dists/trunk/linux-2.6/; revision=14330
2009-10-04 19:19:58 +00:00
Ben Hutchings 371152a87b Ask whether bug affects the system used for reporting before including its model and PCI information
svn path=/dists/trunk/linux-2.6/; revision=14329
2009-10-04 19:07:23 +00:00
Ben Hutchings fc5a6eed98 Include firmware package status in bug reports
svn path=/dists/trunk/linux-2.6/; revision=14328
2009-10-04 18:55:39 +00:00
Ben Hutchings 08ee7482bb Include model information in bug reports
svn path=/dists/trunk/linux-2.6/; revision=14327
2009-10-04 18:49:10 +00:00
Ben Hutchings dc0a9993ac Include PCI device list in bug reports even if the running kernel doesn't match
svn path=/dists/trunk/linux-2.6/; revision=14324
2009-10-04 17:07:54 +00:00
Ben Hutchings 02eed2eef7 Prompt bug reporters to run the kernel version they're reporting on or otherwise record boot messages
svn path=/dists/trunk/linux-2.6/; revision=14322
2009-10-04 16:55:31 +00:00
Maximilian Attems 11de16d79d postinst, preinst: nuke unused variable
svn path=/dists/trunk/linux-2.6/; revision=14320
2009-10-04 16:42:25 +00:00
Maximilian Attems 4798154a03 maintainer script nuke "official_image" variable
we are allways *offical*.

svn path=/dists/trunk/linux-2.6/; revision=14319
2009-10-04 16:42:21 +00:00
Moritz Muehlenhoff 4c1fc0fa66 Make the description of linux-support a little more verbose
svn path=/dists/trunk/linux-2.6/; revision=14308
2009-10-01 21:57:22 +00:00
Maximilian Attems 4f411f7daf postinst cleanup
rename some variables to be more descriptive

svn path=/dists/trunk/linux-2.6/; revision=14294
2009-09-24 20:37:46 +00:00
Maximilian Attems ca7dbf40ee allow non initrd images for now
nuke the preinst check if their is an initramfs,
check makes no sense as anyway around thanks to dep by linux-image

svn path=/dists/trunk/linux-2.6/; revision=14293
2009-09-24 20:37:39 +00:00
Moritz Muehlenhoff 0b88783800 update standards version to 3.8.3
svn path=/dists/trunk/linux-2.6/; revision=14211
2009-09-08 21:02:54 +00:00
Bastian Blank 86b0dcfe84 debian/templates/image.plain.bug/include-1tainted:
Produce long text for taint check.

svn path=/dists/trunk/linux-2.6/; revision=14205
2009-09-02 15:11:38 +00:00
Bastian Blank 59d0e2d840 * debian/changelog: Update.
* debian/templates/image.plain.bug/control: Add Submit-As: linux-2.6.

svn path=/dists/trunk/linux-2.6/; revision=14204
2009-09-02 10:25:19 +00:00
Bastian Blank 4c070f4513 debian/templates/image.plain.bug/include-1tainted: Add TAINT_CRAP.
svn path=/dists/trunk/linux-2.6/; revision=14203
2009-09-02 09:42:35 +00:00
Bastian Blank 1aa710396d debian/templates/image.plain.bug/include-1tainted
- Use bit positions for calculation.
- Remove spaces from output.

svn path=/dists/trunk/linux-2.6/; revision=14202
2009-09-02 09:39:20 +00:00
Moritz Muehlenhoff 3c2c1e6e67 * Add Vcs-Svn and Vcs-Browser stanzas pointing to the SVN branch
used for development in unstable. There are other branches
  used for experimental (trunk), oldstable and stable, but Vcs-*
  doesn't yet provide the ability to distinguish branches in a
  more fine-grained manner. (Closes: #471495)

svn path=/dists/trunk/linux-2.6/; revision=14159
2009-08-21 17:16:34 +00:00
Ben Hutchings 6f7671ee3a Add warning on upgrade to a new upstream version where the system appears to be missing necessary firmware files (closes: #541702)
svn path=/dists/trunk/linux-2.6/; revision=14145
2009-08-20 02:22:34 +00:00
Bastian Blank 2a022b3670 Merge /dists/sid/linux-2.6.
svn path=/dists/trunk/linux-2.6/; revision=14107
2009-08-14 21:56:25 +00:00
Maximilian Attems 5a5be7d960 on review completly nuke config
this check makes no sense at all,
and also refers to a gone postinst template.

svn path=/dists/trunk/linux-2.6/; revision=14035
2009-07-27 13:15:12 +00:00
Maximilian Attems 3fc99a1d39 keep the hook variable in their respective Maintainer script
they are unused anywhere else.

svn path=/dists/trunk/linux-2.6/; revision=14034
2009-07-27 12:27:56 +00:00
Maximilian Attems 45dc3175d2 config nuke left over mkimage variable
svn path=/dists/trunk/linux-2.6/; revision=14033
2009-07-27 12:27:45 +00:00
Maximilian Attems 436fcde23e postinst nuke undocumented move_image variable
didn't find that variable move_image documented
and just adds extra complexity.

svn path=/dists/trunk/linux-2.6/; revision=14031
2009-07-27 12:16:21 +00:00
Maximilian Attems 1354ca37d1 official linux-2.6 images update their modules dir
no point in keeping code that allows to circumvent this.
cleans up preinst a lot, nuke related varialbes everywhere.

as bonus nukes in preinst an comment that seems misplaced now..

svn path=/dists/trunk/linux-2.6/; revision=14030
2009-07-27 12:16:03 +00:00
Maximilian Attems 3c7cb82f14 preinst cleanup unused loader variables
preinst doesn't run any bootloader,
so no need to have any related code around.

svn path=/dists/trunk/linux-2.6/; revision=14029
2009-07-27 12:15:49 +00:00
Maximilian Attems 6cc708546f maintainer scripts cleanup nuke trailing newlines
svn path=/dists/trunk/linux-2.6/; revision=14028
2009-07-27 12:15:33 +00:00
Maximilian Attems d226ba0519 Nuke handling related to /initrd directory
the template is quite aged and thus we don't need to check for that.
first step in cleaning up the symlink mess.

svn path=/dists/trunk/linux-2.6/; revision=14027
2009-07-27 12:15:18 +00:00
Maximilian Attems 209a5deff1 maintainer scripts: nuke unused variable do_bootfloppy
floppy are legacy and not something linux-2.6 really cares about.

svn path=/dists/trunk/linux-2.6/; revision=14026
2009-07-27 12:15:02 +00:00
Maximilian Attems 1046c03678 postinst cleanup commented out code
svn path=/dists/trunk/linux-2.6/; revision=14025
2009-07-27 12:14:50 +00:00
Maximilian Attems f168f5c559 config nuke useless code related to upgrade
neither are the variables use nor thus the powerpc exception do
anything.

svn path=/dists/trunk/linux-2.6/; revision=14024
2009-07-27 12:14:37 +00:00
Maximilian Attems baf7bc30e9 config doesn't invoke any boot loader
nuke related boot loader search code and related variables.

svn path=/dists/trunk/linux-2.6/; revision=14023
2009-07-27 12:14:25 +00:00
Maximilian Attems a78d971938 postinst cleanup overly verbose DEBUG stuff
no need to have code duplication in debug warnings,
as we can read or strace them anyway.

svn path=/dists/trunk/linux-2.6/; revision=14022
2009-07-27 12:14:14 +00:00
Maximilian Attems 2ab25d6d69 postinst cleanup the !initrd code pathes
never used and useless.

svn path=/dists/trunk/linux-2.6/; revision=14021
2009-07-27 12:14:01 +00:00
Maximilian Attems a61bed4555 prerm cleanup from unused variables related to initramfs
svn path=/dists/trunk/linux-2.6/; revision=14020
2009-07-27 12:13:50 +00:00
Maximilian Attems 87197ea652 postrm cleanup initramfs related variables
svn path=/dists/trunk/linux-2.6/; revision=14019
2009-07-27 12:13:41 +00:00
Maximilian Attems 7ed10787f2 postinst nuke useless depmod-error template
as we always ship an initramfs that code path,
was never executed and thus is useless for us, nuke it.

svn path=/dists/trunk/linux-2.6/; revision=14018
2009-07-27 12:13:29 +00:00
Maximilian Attems 8bad787f9a config clean up of usesless variables regarding initramfs
svn path=/dists/trunk/linux-2.6/; revision=14017
2009-07-27 12:13:11 +00:00
Maximilian Attems 238bf2017b axe old k-p legacy checks on files in /
linux-2.6 never installed stuff in /,
we shouldn't care at all about this.

svn path=/dists/trunk/linux-2.6/; revision=14016
2009-07-27 12:12:53 +00:00
Maximilian Attems a06416a817 preinst do initrd by default
svn path=/dists/trunk/linux-2.6/; revision=14015
2009-07-27 12:12:33 +00:00
Maximilian Attems 3f8cb4be09 preinst don't check against do_initrd setting
initramfs is the default and user shouldn't be prompted for it.
nukes thus some useless templates.

also nuke do_initrd and warn_initrd variables all over the places.

svn path=/dists/trunk/linux-2.6/; revision=14014
2009-07-27 12:12:07 +00:00