[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344641: marked as done (please add means to run hooks/install scripts only for specific versions)



Your message dated Fri, 26 Sep 2014 00:56:21 +0100
with message-id <1411689381.3659.52.camel@decadent.org.uk>
and subject line Re: please add means to run hooks/install scripts only for specific versions
has caused the Debian Bug report #344641,
regarding please add means to run hooks/install scripts only for specific versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
344641: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344641
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.44
Severity: wishlist

I have a hook added by a kernel-patch, so it should only run with
a very specific version of linux-image.

Right now I have to do this at the top of the script:

case $0 in
  *_${version}) :;;
  *) exit 0;;
esac

This causes the script to exit if its name does not correspond to
the $version for which the initramfs is being created. It would be
nice if I could add the hooks or scripts to .../${version}.d/ and
expect them to only be executed/install to images for ${version}.

Please also refer to #298120.

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-4   Tiny utilities for small and embed
ii  cpio                          2.6-9      GNU cpio -- a program to manage ar
ii  klibc-utils                   1.1.1-6    small statically-linked utilities 
ii  udev                          0.076-6    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- debconf-show failed

-- 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
"vulgarity is simply the conduct of other people."
                                                        
                                                        -- oscar wilde

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


--- End Message ---
--- Begin Message ---
This wishlist report is over 8 years old, so I think it's safe to assume
it won't be implemented.

Ben.

-- 
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: