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-15-2012, 01:51 PM
Ben Hutchings
 
Default Bug#659866: mkinitramfs: Copy modules.builtin into initramfs

Like modules.order, this file is only generated at kernel build time.

Closes: #659866
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
mkinitramfs | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/mkinitramfs b/mkinitramfs
index 039eb81..bb8880f 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -197,11 +197,12 @@ for d in bin conf/conf.d etc lib/modules run sbin scripts ${MODULESDIR}; do
mkdir -p "${DESTDIR}/${d}"
done

-# Copy the modules.order file in
-if [ -f "${MODULESDIR}/modules.order" ]; then
- cp -p "${MODULESDIR}/modules.order"
- "${DESTDIR}${MODULESDIR}/modules.order"
-fi
+# Copy in modules.builtin and modules.order (not generated by depmod)
+for x in modules.builtin modules.order; do
+ if [ -f "${MODULESDIR}/${x}" ]; then
+ cp -p "${MODULESDIR}/${x}" "${DESTDIR}${MODULESDIR}/${x}"
+ fi
+done

# MODULES=list case. Always honour.
for x in "${CONFDIR}/modules" /usr/share/initramfs-tools/modules.d/*; do
--
1.7.9
 
Old 03-03-2012, 07:00 PM
maximilian attems
 
Default Bug#659866: mkinitramfs: Copy modules.builtin into initramfs

On Wed, 15 Feb 2012, Ben Hutchings wrote:

> Like modules.order, this file is only generated at kernel build time.
>
> Closes: #659866
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

thanks applied to initramfs-tools git branch, will soon land
in master for next upload.

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120303200028.GF4762@stro.at">http://lists.debian.org/20120303200028.GF4762@stro.at
 

Thread Tools




All times are GMT. The time now is 03:56 AM.

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