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 03-12-2010, 06:08 PM
Ferenc Wagner
 
Default Bug#573580: Acknowledgement (new option to ignore hooks etc. under /usr/share/initramfs-tools)

Hrm, the top level scripts are probably worth copying unconditionally.
Please also consider this on top of my previous patch:

--- a/mkinitramfs
+++ b/mkinitramfs
@@ -229,7 +229,8 @@ rm -f ${DESTDIR}/bin/kinit* ${DESTDIR}/bin/gzip
copy_exec /usr/share/initramfs-tools/init /init

# add existant boot scripts
-[ -n "$system" ] && for b in $(cd /usr/share/initramfs-tools/scripts/ && find .
+[ -z "$system" ] && depth="-maxdepth 1"
+for b in $(cd /usr/share/initramfs-tools/scripts/ && find . $depth
-regextype posix-extended -regex '.*/[[:alnum:]_]+$' -type f); do
[ -d "${DESTDIR}/scripts/$(dirname "${b}")" ]
|| mkdir -p "${DESTDIR}/scripts/$(dirname "${b}")"
--
Thanks,
Feri.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87tysle4tg.fsf@tac.ki.iif.hu">http://lists.debian.org/87tysle4tg.fsf@tac.ki.iif.hu
 

Thread Tools




All times are GMT. The time now is 12:41 AM.

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