1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/include
Gabor Juhos d90e805fe6 build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34408
2012-11-29 17:37:15 +00:00
..
site add preliminary support for musl 2012-11-23 20:02:29 +00:00
autotools.mk autotools.mk: add a gettext-version PKG_FIXUP (#11236) 2012-10-10 17:53:51 +00:00
cmake.mk
debug.mk
depends.mk
download.mk
host-build.mk build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir 2012-10-15 13:19:41 +00:00
host.mk
image.mk build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 2012-11-29 17:37:15 +00:00
kernel-build.mk
kernel-defaults.mk use xz compressed kernel tarballs 2012-11-18 08:49:08 +00:00
kernel-version.mk kernel: update linux 3.6 to 3.6.8 2012-11-29 07:42:19 +00:00
kernel.mk include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot 2012-11-22 13:43:24 +00:00
ltqtapi.mk unify tapi deps 2012-08-13 11:08:13 +00:00
netfilter.mk kernel: fix loading of nf_nat_irc 2012-11-18 21:18:37 +00:00
nls.mk
package-bin.mk
package-defaults.mk build: allow the package maintainer info to be specified globally for a source package 2012-10-08 11:40:57 +00:00
package-dumpinfo.mk
package-ipkg.mk buildroot: isolate the .install stamp files for build variants (#12279) 2012-11-07 16:15:22 +00:00
package-version-override.mk use autoreconf hook instead of manual call 2012-07-25 10:34:06 +00:00
package.mk buildroot: isolate the .install stamp files for build variants (#12279) 2012-11-07 16:15:22 +00:00
prereq-build.mk prereq-build.mk: do not perform static linking tests on Darwin 2012-08-12 12:34:28 +00:00
prereq.mk
quilt.mk
scan.mk
scons.mk fix up scons vs ccache 2012-07-28 21:06:59 +00:00
shell.sh
subdir.mk
target.mk
toolchain-build.mk toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol 2012-10-17 13:03:08 +00:00
toplevel.mk build: increase file descriptor count limit for the build, some systems (e.g. Mac OS X default to 256, which is too little for some parallel builds) 2012-10-31 00:23:47 +00:00
uclibc++.mk make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP 2012-10-24 13:05:10 +00:00
unpack.mk
verbose.mk
version.mk version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists 2012-09-24 18:26:48 +00:00