From: <ow...@us...> - 2009-09-24 07:58:55
|
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. |