Commit Graph

32 Commits

Author SHA1 Message Date
Maximilian Attems 53a28a1725 images nuke modules.devname on removal
svn path=/dists/trunk/linux-2.6/; revision=16081
2010-08-04 18:57:14 +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
Maximilian Attems aaf45a2e6a postrm rm modules.sotfdep
svn path=/dists/sid/linux-2.6/; revision=15555
2010-04-25 22:58:27 +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 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 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 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 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 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 0bd7f1ad9e postrm add new bin files
fixes:
rmdir: failed to remove `/lib/modules/2.6.29-rc8-amd64': Directory not empty
dpkg - warning: while removing linux-image-2.6.29-rc8-amd64, directory
`/lib/modules/2.6.29-rc8-amd64' not empty so not removed.

ls /lib/modules/2.6.29-rc8-amd64
modules.alias.bin  modules.dep.bin  modules.symbols.bin

should also land in sid branch.

svn path=/dists/trunk/linux-2.6/; revision=13314
2009-04-02 00:09:50 +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
Maximilian Attems 71ddbdaf30 postrm: Nuke initramfs sha1sum on linux-image package removal.
update-initramfs doesn't touch initramfs on sha1sum mismatch per
default (debian default). this can be overriden manualy.
there is no point in keeping an initramfs record of a gone image.

svn path=/dists/trunk/linux-2.6/; revision=9930
2007-12-09 23:03:38 +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