FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-16-2010, 12:53 PM
Гузанов Даниил
 
Default Bug#561289:

dan@dan-desktop:~/linux$ cat /etc/kernel/postinst.d/initramfs-tools
#!/bin/sh

# passing the kernel version is required
[ -z "$1" ] && exit 0

# kernel-package passes an extra arg; hack to not run under kernel-package

[ -z "$2" ] || exit 0

# we're good - create initramfs.* update runs do_bootloader
update-initramfs -c -t -k "$1"

dan@dan-desktop:~/linux$ cat /etc/kernel/postrm.d/initramfs-tools

#!/bin/sh

# passing the kernel version is required
[ -z "$1" ] && exit 0

# kernel-package passes an extra arg; hack to not run under kernel-package
#[ -z "$2" ] || exit 0


# delete initramfs
update-initramfs -d -k "$1"

-----------------------

Why do you use so strange hack? Kernel-package works with initramfs-tools perfectly.
 
Old 02-16-2010, 05:02 PM
maximilian attems
 
Default Bug#561289:

On Tue, Feb 16, 2010 at 04:53:00PM +0300, ?????????????? ???????????? wrote:
>
> -----------------------
>
> Why do you use so strange hack? Kernel-package works with initramfs-tools
> perfectly.

k-p and perfection is a good laugh indeed.

anyway if you would want to test out latest script it is in
initramfs-tools git, see
http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100216180251.GK19179@baikonur.stro.at">http://lists.debian.org/20100216180251.GK19179@baikonur.stro.at
 
Old 04-08-2010, 11:39 AM
Гузанов Даниил
 
Default Bug#561289:

It works with initramfs-tools-0.94. Cool %)
 

Thread Tools




All times are GMT. The time now is 12:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org