[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop: [320] ipcop/trunk/lfs/cdrom
From: chepati () users ! sourceforge ! net
Date: 2007-04-30 16:52:34
Message-ID: E1HiZ74-0000lJ-5a () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]
Revision: 320
http://ipcop.svn.sourceforge.net/ipcop/?rev=320&view=rev
Author: chepati
Date: 2007-04-30 09:52:33 -0700 (Mon, 30 Apr 2007)
Log Message:
-----------
There must be an /etc/inittab (as opposed to /var/ipcop/etc/inittab) or the installed \
system will not find it's default init level and will not boot. Fixed the strip \
command. As I had it before, the kernel modules were stripped and rendered useless. \
Also, make sure there's a /tmp directory in the list of installed directories or grub \
will not install and the ipcoprd.img will not be created. That's because the \
installer assumes /tmp exists. And lastly and most importantly, I've switch from \
squashfs to tar.lzma for the image that contains the installable files.
Modified Paths:
--------------
ipcop/trunk/lfs/cdrom
Modified: ipcop/trunk/lfs/cdrom
===================================================================
--- ipcop/trunk/lfs/cdrom 2007-04-30 16:47:45 UTC (rev 319)
+++ ipcop/trunk/lfs/cdrom 2007-04-30 16:52:33 UTC (rev 320)
@@ -124,14 +124,22 @@
cd /tmp$(CONFIG_ROOT)/etc && rm -rf *
cd /tmp/etc && mv * /tmp$(CONFIG_ROOT)/etc
+ # Leave a copy of inittab in etc or bad things will happen
+ cp /tmp$(CONFIG_ROOT)/etc/inittab /tmp/etc
+
# These used to be done in the installer - no more....
cd /tmp/lib/modules/$(KVER) && touch modules.dep
# We do the stripping here because we don't want to destroy our development tree by \
stripping all symbols # Instead we strip all binaries and libraries as we create the \
ISO. It's quite safe to do strip --strip-all # on libraries if they will not be \
used for development.
- cd /tmp && find ./{,usr/}{bin,lib,sbin} -type f -exec $(TOOLS_DIR)/bin/strip \
--strip-all '{}' ';'
- cd /tmp && find ./{,usr/}lib/*so* -maxdepth 0 -type f -exec $(TOOLS_DIR)/bin/strip \
--strip-all '{}' ';' + # Just be very careful not to strip the kernel modules!!!
+ cd /tmp && find ./bin -maxdepth 1 -type f -exec $(TOOLS_DIR)/bin/strip --strip-all \
'{}' ';' + cd /tmp && find ./sbin -maxdepth 1 -type f -exec $(TOOLS_DIR)/bin/strip \
--strip-all '{}' ';' + cd /tmp && find ./lib -maxdepth 1 -type f -exec \
$(TOOLS_DIR)/bin/strip --strip-all '{}' ';' + cd /tmp && find ./usr/bin -maxdepth 1 \
-type f -exec $(TOOLS_DIR)/bin/strip --strip-all '{}' ';' + cd /tmp && find \
./usr/sbin -maxdepth 1 -type f -exec $(TOOLS_DIR)/bin/strip --strip-all '{}' ';' + cd \
/tmp && find ./usr/lib -maxdepth 1 -type f -name *so* -exec $(TOOLS_DIR)/bin/strip \
--strip-all '{}' ';'
# Create a tarball with /var/ipcop
cd /tmp && tar -cf - var/ipcop/* | lzma -si $(LZMA_eOPT) e \
@@ -143,8 +151,12 @@
$(INSTALLER_DIR)/cdrom/$(SNAME)-$(VERSION)-varlog.tar.lzma
cd /tmp && rm -rf var/log/*
- # Now create a squash image with the rest of ipcop
- mksquashfs /tmp $(INSTALLER_DIR)/cdrom/$(SNAME)-$(VERSION).squashfs
+ # Create a tmp directory
+ cd /tmp && mkdir -p tmp
+
+ # Now create a lzma-ed tarball with the rest of ipcop
+ cd /tmp && tar -cf - . | lzma -si $(LZMA_eOPT) e \
+ $(INSTALLER_DIR)/cdrom/$(SNAME)-$(VERSION).tar.lzma
cd /tmp && rm -rf *
# Other files
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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