Ben Hutchings
6030fffa97
Remove unused configuration variables from linux-image maintainer scripts
...
svn path=/dists/trunk/linux-2.6/; revision=18617
2012-01-24 06:38:10 +00:00
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
05c7ed67bd
Remove check() subroutine
...
This has been broken since kernel-package 10.037 because it uses '+='
instead of '.='. Since no-one seems to care, remove it rather than
fixing it.
svn path=/dists/trunk/linux-2.6/; revision=16234
2010-09-03 22:29:24 +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
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
1c6289c6bf
postrm and preinst nuke more even unused variables
...
those templates are nowhere to be found.
svn path=/dists/trunk/linux-2.6/; revision=14646
2009-11-17 13:27:20 +00:00
Maximilian Attems
bce89b35a4
postrm and preinst nuke more unused variables
...
svn path=/dists/trunk/linux-2.6/; revision=14645
2009-11-17 13:04:53 +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
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
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
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
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
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
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
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
Maximilian Attems
3aee2faa19
preinst: shorten output to useful info.
...
svn path=/dists/trunk/linux-2.6/; revision=13077
2009-03-11 14:56:41 +00:00
Maximilian Attems
70812f97cc
preinst: nuke useless "Done." line
...
svn path=/dists/trunk/linux-2.6/; revision=13076
2009-03-11 14:56:21 +00:00
Maximilian Attems
e6402c82e3
initramfs-tools: update-initramfs
...
don't use mkinitramfs-kpkg vestiges.
preinst and postinst needed a bit of surge to not call
the old mkinitramfs-kpkg interfaces. just check which initramfs
binary is around and call them.
they support all relevant linux-2.6 versions.
svn path=/dists/trunk/linux-2.6/; revision=12828
2009-02-18 01:35:38 +00:00
Bastian Blank
145bcd09d1
* debian/changelog: Update.
...
* debian/templates/temp.image.plain/preinst,
debian/templates/temp.image.plain/templates: Kill reboot warning.
svn path=/dists/trunk/linux-2.6/; revision=10186
2008-01-25 08:56:17 +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