Ben Hutchings
fe07623c54
Stop changing 'build' and 'source' symlinks in linux-image maintainer scripts
...
These symlinks now belong to the linux-headers packages.
svn path=/dists/trunk/linux-2.6/; revision=18616
2012-01-24 06:24:49 +00:00
Ben Hutchings
7cfabda7d7
prerm: Print an error message when aborting removal of the running kernel ( Closes : #601962 )
...
svn path=/dists/sid/linux-2.6/; revision=18424
2011-12-28 00:29:32 +00:00
Ben Hutchings
66caf86b16
use strict; use warnings;
...
Declare implicitly-global variables with 'my'.
Fix variable name discrepancies.
Remove unused variables.
svn path=/dists/trunk/linux-2.6/; revision=16224
2010-08-30 00:33:54 +00:00
Ben Hutchings
bf53f8f2c6
postinst: Remove support for 'default' boot loaders
...
Warn users on upgrade if the current configuration may rely on this.
The debconf templates will need a translation update.
svn path=/dists/sid/linux-2.6/; revision=15990
2010-07-16 14:58:05 +00:00
Ben Hutchings
8203cf8518
Always set kernel image basename template variable (=K)
...
Instead of setting an empty value, then fixing that to 'vmlinuz', set
the correct value to start with and remove the install-time fixups.
svn path=/dists/sid/linux-2.6/; revision=15890
2010-06-19 00:41:27 +00:00
Ben Hutchings
5850161882
Get rid of Debian architecture template variable (=A)
...
This is only used to initialise a variable which is itself not used.
svn path=/dists/sid/linux-2.6/; revision=15888
2010-06-19 00:27:37 +00:00
Ben Hutchings
b511ef3368
Get rid of some flag template variables (=IB, =M, =S)
...
These are always empty now.
svn path=/dists/sid/linux-2.6/; revision=15886
2010-06-18 03:53:48 +00:00
Ben Hutchings
967fd2f280
Get rid of the installation directory template variable (=D)
...
This is always '/boot'. We can also stop manipulating this constant
in the maintainer scripts.
svn path=/dists/sid/linux-2.6/; revision=15885
2010-06-18 03:46:24 +00:00
Ben Hutchings
b57f84c58a
Get rid of the stem template variable (=ST)
...
We're not going to rename back to 'kernel' any time soon.
svn path=/dists/sid/linux-2.6/; revision=15884
2010-06-18 03:35:05 +00:00
Ben Hutchings
71af6e5df6
templates: Remove more bogus //g modifiers
...
svn path=/dists/trunk/linux-2.6/; revision=15165
2010-02-16 03:45:59 +00:00
Maximilian Attems
2c83717624
pass DEB_MAINT_PARAMS to hook scripts
...
hook scripts like to know the invoked maintainer script options.
svn path=/dists/trunk/linux-2.6/; revision=15014
2010-01-26 17:24:06 +00:00
Ben Hutchings
cc4b0680ed
Correct comments referring to dpkg --print-installation-architecture in maintainer scripts ( Closes : #558077 )
...
svn path=/dists/trunk/linux-2.6/; revision=14821
2009-12-29 14:33:11 +00:00
Maximilian Attems
1b6e3e1ee2
nuke variable relative_links
...
unused and undocumented, thus can go.
svn path=/dists/trunk/linux-2.6/; revision=14664
2009-11-23 11:52:55 +00:00
Maximilian Attems
8d0a1929ec
prerm no need to remove modules.dep
...
we do it anyway on postrm
svn path=/dists/trunk/linux-2.6/; revision=14647
2009-11-17 14:52:25 +00:00
Maximilian Attems
142bd1773d
nuke unused variable have_conffile
...
not used anywhere beside postinst.
svn path=/dists/trunk/linux-2.6/; revision=14644
2009-11-17 13:00:05 +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
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
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
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
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
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
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
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
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
Maximilian Attems
99cc5aa0df
reboot warning gone
...
warldi killed some time ago, no need to reference it.
svn path=/dists/trunk/linux-2.6/; revision=10528
2008-02-12 22:51:43 +00:00
Bastian Blank
e4ecb6ce61
* debian/changelog: Update.
...
* debian/templates/temp.image.plain: Merge from kernel-package 11.001.
svn path=/dists/trunk/linux-2.6/; revision=9662
2007-10-14 10:39:04 +00:00
Bastian Blank
641195b4ff
* debian/rules.real:
...
Support plain image type. This uses the kernel-package templates for now.
* debian/templates/temp.image.plain: Import from kernel-package.
svn path=/dists/trunk/linux-2.6/; revision=7944
2006-12-06 10:31:20 +00:00