Commit Graph

71 Commits

Author SHA1 Message Date
Maximilian Attems bdb19873b1 powerpc fix installation of images
"The problem is that (a) the kernel's postinst uses debconf, which uses
stdin and stdout for communication and forbids other junk from appearing
there, and (b) the kernel's postinst calls update-initramfs, which
outputs status information to stdout which debconf thinks is a command
in its protocol and thus confuses any future real debconf commands.
Since the kernel's postinst is the thing with special requirements due
to using debconf, it should be the thing responsible for redirecting
file descriptors around as necessary." -cjwatson

svn path=/dists/sid/linux-2.6/; revision=13347
2009-04-06 09:50:07 +00:00
Maximilian Attems 8bb5dc230d Postrm cleanup new module-init-tools 3.7 files.
merge from trunk.

svn path=/dists/sid/linux-2.6/; revision=13319
2009-04-03 13:45:38 +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 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 7d24d1946c plain image simplify postinst
we don't need there any notion of "$hostversion".
also reword error message.

svn path=/dists/trunk/linux-2.6/; revision=12829
2009-02-18 02:01:03 +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
Maximilian Attems 237a444fe0 postinst don't spam on reinstall
user proably don't even cares about the symbolic link,
nuke 2 messages as they don't provide info.
nor is there any action for the admin.

svn path=/dists/trunk/linux-2.6/; revision=12163
2008-09-04 13:52:56 +00:00
Maximilian Attems dff52f05ea shorten postinst output
no need to bother the user if this is postinst or even a "hook script".

svn path=/dists/trunk/linux-2.6/; revision=12067
2008-08-14 17:41:51 +00:00
Maximilian Attems 101770431a linux image postinst cosmetic printf fix.
currently is printed:
Running depmod.
Using mkinitramfs-kpkg to build the ramdisk.

just print:
Running depmod.
Running mkinitramfs-kpkg.

(which reminds me that this wrapper should be nuked).

svn path=/dists/trunk/linux-2.6/; revision=11743
2008-07-01 15:09:13 +00:00
Maximilian Attems 7fb1ffc66c linux image postinst shut up useless message
if no initrd creator is around we cry woolf anyway.

svn path=/dists/trunk/linux-2.6/; revision=11528
2008-06-05 21:05:40 +00:00
Bastian Blank 32ce50b5fa debian/templates/temp.image.plain/templates: Remove leftover translation hints.
svn path=/dists/trunk/linux-2.6/; revision=11091
2008-04-18 08:53:00 +00:00
Bastian Blank 2269ad9e7d debian/templates/temp.image.plain/templates:
Mark descriptions as not translated.

svn path=/dists/trunk/linux-2.6/; revision=11085
2008-04-17 09:57:58 +00:00
Maximilian Attems ebf431faad debconf template rewirte.
project smith hit the linux-2.6 templates.
linux-2.6 should generate now much less lintian warnings.
thanks to bubulle!!!

svn path=/dists/trunk/linux-2.6/; revision=11084
2008-04-16 16:45:12 +00:00
Maximilian Attems 6f51a74eae postinst: nuke the real user mentioned useless warn()
svn path=/dists/trunk/linux-2.6/; revision=10529
2008-02-12 22:55:06 +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 b71724c48f postinst: Nuke confusing postinst message.
this message generates far to many bugreports
and seems pretty useless, so just get rid of it.

svn path=/dists/trunk/linux-2.6/; revision=10527
2008-02-12 22:43:43 +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
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