[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[3592] ipcop/trunk/lfs/initramfs
From:       owes () users ! sourceforge ! net
Date:       2009-09-24 7:58:44
Message-ID: E1MqjDw-00064d-4L () d5vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 3592
          http://ipcop.svn.sourceforge.net/ipcop/?rev=3592&view=rev
Author:   owes
Date:     2009-09-24 07:58:43 +0000 (Thu, 24 Sep 2009)

Log Message:
-----------
Install mdadm in /sbin in initramfs.
Pull in more files for target initramfs.

Modified Paths:
--------------
    ipcop/trunk/lfs/initramfs

Modified: ipcop/trunk/lfs/initramfs
===================================================================
--- ipcop/trunk/lfs/initramfs	2009-09-24 06:51:16 UTC (rev 3591)
+++ ipcop/trunk/lfs/initramfs	2009-09-24 07:58:43 UTC (rev 3592)
@@ -283,7 +283,7 @@
 
 	# Raid
 	cp -af /lib/modules/$(KVER)/kernel/drivers/md		$(INITRAMFS_DIR)/lib/modules/$(KVER)/kernel/drivers
                
-	install -c -D /sbin/mdadm				$(INITRAMFS_DIR)/bin/mdadm
+	install -c -D /sbin/mdadm				$(INITRAMFS_DIR)/sbin
 
 	# Will see in the futur
 	# cp /sbin/badblocks $(INITRAMFS_DIR)/bin
@@ -340,18 +340,18 @@
 	cp -af $(INITRAMFS_DIR)/init /usr/lib/mkinitramfs/
 
 	# Create a basic initramfs directory structure
-	for directory in bin cdrom dev etc harddisk lib mnt proc root sys tmp var; do \
+	for directory in bin cdrom dev etc harddisk lib mnt proc root sbin sys tmp usr/bin \
usr/sbin var; do \  install -d -m 755 /usr/lib/mkinitramfs/$$directory; \
 	done
 
-	# Create a link bin -> sbin
-	ln -sf bin /usr/lib/mkinitramfs/sbin
-
 	# Copy important configuration
 	cp -af $(INITRAMFS_DIR)/etc/* /usr/lib/mkinitramfs/etc/
 
-	# Copy udev, busybox, and its links
+	# Copy udev, other tools, busybox, and its links
 	cp -af $(INITRAMFS_DIR)/bin/* /usr/lib/mkinitramfs/bin/
+	cp -af $(INITRAMFS_DIR)/sbin/* /usr/lib/mkinitramfs/sbin/
+	cp -af $(INITRAMFS_DIR)/usr/bin/* /usr/lib/mkinitramfs/usr/bin/
+	cp -af $(INITRAMFS_DIR)/usr/sbin/* /usr/lib/mkinitramfs/usr/sbin/
 
 	# Remove the installer
 	rm -f /usr/lib/mkinitramfs/bin/installer


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic