~ubuntu-branches/debian/wheezy/microcode.ctl/wheezy

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Package Import Robot
  • Author(s): Henrique de Moraes Holschuh
  • Date: 2012-09-02 16:14:26 UTC
  • Revision ID: package-import@ubuntu.com-20120902161426-hv6yejqn3jzdrphu
Tags: 1.18~0+nmu1
* Non-maintainer upload.
* Replace microcode.ctl with a transitional package, to migrate
  systems to the new intel-microcode package
  + Change to empty native package, debhelper compat level 7
  + debian/copyright: update
  + Move to contrib/oldlibs, priority extra
  + Remove replaces of a package not seen in the last decade
  + Change description to that of a transitional package
  + Depend on intel-microcode (>> 1) which superseded installing
    microcode updates, and on iucode-tool, which superseded
    the processing of microcode directly downloaded from Intel
  + Conflict with intel-microcode (<< 1) to be able to remove
    /usr/share/misc/intel-microcode.dat which might have been
    installed either by microcode.ctl's update-intel-microcode
    script or by intel-microcode (<< 1).
  + Use dpkg-maintscript-helper to remove the initscript
  + Remove /usr/share/misc/intel-microcode.dat if still present when
    configuring, and regenerates the initramfs in that case.  This
    avoids left-over cruft microcode in the initramfs for the case
    where update-intel-microcode was used, and we're being configured
    together with intel-microcode (>> 1)
* This upload effectively removes microcode.ctl from Debian.  Close all
  open bugs against microcode.ctl:
  + closes: #282583, #500802, #563910, #571408, #593845, #597039, #608675
  + closes: #627261, #660121, #663360, #664492, #674667, #684104

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# see: dh_installdeb(1)
 
3
 
 
4
set -e
 
5
 
 
6
# summary of how this script can be called:
 
7
#        * <new-preinst> `install'
 
8
#        * <new-preinst> `install' <old-version>
 
9
#        * <new-preinst> `upgrade' <old-version>
 
10
#        * <old-preinst> `abort-upgrade' <new-version>
 
11
# for details, see http://www.debian.org/doc/debian-policy/ or
 
12
# the debian-policy package
 
13
 
 
14
dpkg-maintscript-helper rm_conffile /etc/init.d/microcode.ctl -- "$@"
 
15
 
 
16
# dh_installdeb will replace this with shell code automatically
 
17
# generated by other debhelper scripts.
 
18
 
 
19
#DEBHELPER#
 
20
 
 
21
exit 0