|
From: <ch...@us...> - 2008-01-18 21:56:37
|
Revision: 1012
http://ipcop.svn.sourceforge.net/ipcop/?rev=1012&view=rev
Author: chepati
Date: 2008-01-18 13:56:43 -0800 (Fri, 18 Jan 2008)
Log Message:
-----------
udevtrigger and udevsettle are the same binary, so use a link. I haven't tested this, but I'm confident it will work. The problem with the size of the ppc root-1.img was that I was creating a 20MB ext2 image so all five floppies could fit in it when loaded. The solution is to create justa 4MB ext2 image and then mount /lib/modules/KVER/kernel/drivers as a tmpfs. I will need to put that part in the init for the ppc. This way we're not sacrificing the languages database or any other feature present on the x86 floppies.
Modified Paths:
--------------
ipcop/trunk/lfs/initramfs
Modified: ipcop/trunk/lfs/initramfs
===================================================================
--- ipcop/trunk/lfs/initramfs 2008-01-16 19:02:31 UTC (rev 1011)
+++ ipcop/trunk/lfs/initramfs 2008-01-18 21:56:43 UTC (rev 1012)
@@ -90,10 +90,10 @@
cp -a /dev/console $(INITRAMFS_DIR)/dev/
cp -a /dev/null $(INITRAMFS_DIR)/dev/
- # Install udevd, udevtrigger, udevsettle
+ # Install udevd, udevtrigger, and create a link udevsettle -> udevtrigger
install -D /sbin/udevd $(INITRAMFS_DIR)/bin
- install -D /sbin/udevsettle $(INITRAMFS_DIR)/bin
install -D /sbin/udevtrigger $(INITRAMFS_DIR)/bin
+ ln -s udevtrigger $(INITRAMFS_DIR)/bin/udevsettle
# Copy some udev devices and helpers
cp -a /lib/udev $(INITRAMFS_DIR)/lib/
@@ -415,7 +415,7 @@
$(INSTALLER_DIR)/images/$(SNAME)-$(VERSION)-root-1.img
else
# For ppc, we're using an ext2 initrd image
- dd if=/dev/zero of=/tmp/$(SNAME)-$(VERSION)-root-1.img bs=1024k count=20 && \
+ dd if=/dev/zero of=/tmp/$(SNAME)-$(VERSION)-root-1.img bs=1024k count=4 && \
mkfs.ext2 -F -m 0 /tmp/$(SNAME)-$(VERSION)-root-1.img && \
for i in `seq 0 7`; do \
if (! losetup /dev/loop$${i} >/dev/null 2>&1 ); then \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|