From d9bcd179a5a1e02de4cd2490bfb821e1a7270188 Mon Sep 17 00:00:00 2001 From: Alessandro GARDICH Date: Sat, 23 May 2009 21:26:47 +0000 Subject: trouble with ext2 filesystem Phil Blundell wrote: > On Sat, 2009-05-23 at 22:23 +0200, Alessandro GARDICH wrote: >> At now I modify qemux86.conf cause usually EXTRA_IMAGECMD is in the >> machine config file, but to add hardware specific parameters (flash size >> and erase size). I'm not sure if is the right place. Probably in the >> distro configuration could be better. > > The distro config probably is the right place for this. After all, the > number of inodes you need depends primarily on the number of files that > you're going to ship in the rootfs, and that in turn is primarily > influenced by the DISTRO's policies rather than by any inherent aspect > of the MACHINE. > > The other uses of EXTRA_IMAGECMD that I guess you're thinking of are > mostly to do with jffs2 parameters, which are rather different in that > they're determined by the specifics of the hardware in use and hence do > go with the MACHINE rather than the DISTRO. > > p. > > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel true, reform the patch for kaeilos.conf Acked-by: Marco Cavallini --- conf/distro/kaeilos.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/distro/kaeilos.conf b/conf/distro/kaeilos.conf index 6d01c773ce..2b3aae879f 100644 --- a/conf/distro/kaeilos.conf +++ b/conf/distro/kaeilos.conf @@ -42,6 +42,8 @@ DISTRO_TYPE ?= "debug" # Also, it appears that no locales fit in 16Mb for now. "C" locale rules! IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}' +# increase inode/block ratio for ext2 filesystem +EXTRA_IMAGECMD_ext2 = "-i 4096" # set feed path variables FEED_BASEPATH = "feeds/2008/${ANGSTROM_PKG_FORMAT}/${LIBC}/" -- cgit 1.2.3-korg From f342e6cd9fd63dc8ab03e2e51559c3dfa97bf73f Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Tue, 9 Jun 2009 13:08:48 +0200 Subject: sysklog-1.5: Remove -s (strip) from install. We want OE do the stripping for us, which splits off the debugging info instead of throwing it away. Signed-off-by: Leon Woestenberg --- recipes/sysklogd/sysklogd-1.5/no-strip-install.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/sysklogd/sysklogd-1.5/no-strip-install.patch diff --git a/recipes/sysklogd/sysklogd-1.5/no-strip-install.patch b/recipes/sysklogd/sysklogd-1.5/no-strip-install.patch new file mode 100644 index 0000000000..5a78f01738 --- /dev/null +++ b/recipes/sysklogd/sysklogd-1.5/no-strip-install.patch @@ -0,0 +1,15 @@ +Index: sysklogd-1.5/Makefile +=================================================================== +--- sysklogd-1.5.orig/Makefile 2009-06-09 13:02:41.000000000 +0200 ++++ sysklogd-1.5/Makefile 2009-06-09 13:03:06.000000000 +0200 +@@ -127,8 +127,8 @@ + rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd tklogd + + install_exec: syslogd klogd +- ${INSTALL} -m 500 -s syslogd ${BINDIR}/syslogd +- ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd ++ ${INSTALL} -m 500 syslogd ${BINDIR}/syslogd ++ ${INSTALL} -m 500 klogd ${BINDIR}/klogd + + install_man: + ${INSTALL} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8 -- cgit 1.2.3-korg From b1c44841c6afa47ae34de08f2792d6758cc3143b Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 9 Jun 2009 21:05:35 +0900 Subject: minimal.conf: increase number of inodes in ext2 rootfs to 8192. --- conf/distro/minimal.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf index c05676cb50..ed939599e1 100644 --- a/conf/distro/minimal.conf +++ b/conf/distro/minimal.conf @@ -61,6 +61,9 @@ CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}" DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}" DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" +# increase inode/block ratio for ext2 filesystem +EXTRA_IMAGECMD_ext2 = "-i 8092" + ############################################################################# # KERNEL ############################################################################# -- cgit 1.2.3-korg From 04537a9178db5f9d6c9eaa8f6818b78499dadc56 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 9 Jun 2009 21:53:31 +0900 Subject: minimal.conf: really set inodes in ext2 rootfs to 8192 now. --- conf/distro/minimal.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf index ed939599e1..f9c4670c67 100644 --- a/conf/distro/minimal.conf +++ b/conf/distro/minimal.conf @@ -62,7 +62,7 @@ DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}" DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" # increase inode/block ratio for ext2 filesystem -EXTRA_IMAGECMD_ext2 = "-i 8092" +EXTRA_IMAGECMD_ext2 = "-i 8192" ############################################################################# # KERNEL -- cgit 1.2.3-korg