Commit Graph

46 Commits

Author SHA1 Message Date
Bernhard Reutner-Fischer
165a61d58a - remove stray ';' 2007-07-30 14:22:25 +00:00
Bernhard Reutner-Fischer
59c867406d - test if dir exists before trying to rmdir it.
Fixes failure due to non-existing usr/share dir on the target.
2007-07-30 12:37:16 +00:00
"Steven J. Hill"
d04f3b5aaf Get rid of extra directory entries. 2007-06-16 17:55:32 +00:00
Peter Korsgaard
4cdef5138d s/FAKEROUTE/FAKEROOT/ 2007-05-03 08:25:17 +00:00
Bernhard Reutner-Fischer
73be7f9ef4 - make sure to download fakeroot if needed 2007-04-06 16:36:48 +00:00
Bernhard Reutner-Fischer
f94a44c3ad - use numeric values for the superuser to be more portable.
Closes #1250
2007-03-20 16:52:44 +00:00
Bernhard Reutner-Fischer
0e59ed0208 - bump version. Closes #1225 2007-03-20 16:42:51 +00:00
Bernhard Reutner-Fischer
0091f181ef - do not use TARGET_DEVICE_TABLE if is is empty 2007-02-15 16:49:39 +00:00
Bernhard Reutner-Fischer
edea8785d8 - BR2_TARGET_ROOTFS_EXT2_RESBLKS is ignored if it is 0. It should be used if it is 0 (since 0 means something here--"do not reserve any blocks".
Thanks to timw. Closes #484.
2006-12-22 12:34:35 +00:00
Bernhard Reutner-Fischer
af9f612b67 - Lars Munch noticed that i broke the ext2 compressor. Thanks! 2006-12-20 16:45:47 +00:00
Bernhard Reutner-Fischer
787635669b - update the ext2 rootfs compression mechanism to allow for gzip, bzip2, lzma or none 2006-12-14 15:47:50 +00:00
Bernhard Reutner-Fischer
6933e0ae04 - use the HOSTCC as set by the user. 2006-11-29 19:02:47 +00:00
Bernhard Reutner-Fischer
d15b0f98f1 - Change LC_ALL=POSIX to LC_ALL=C and remove LANG=C as suggested by vapier. 2006-11-28 08:49:17 +00:00
Bernhard Reutner-Fischer
cbb32d16c4 - pass a LC_ALL to du to avoid i18n trouble when calculating the size.
Fixes #1044
2006-11-22 23:36:41 +00:00
Bernhard Reutner-Fischer
a44651de6e - Patch from Thomas Lundquist to support lzma compressed ext2 rootfs. 2006-11-04 19:15:56 +00:00
Bernhard Reutner-Fischer
6342c83201 - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-10-01 15:17:52 +00:00
Mike Frysinger
b81bcbd229 Alessio Massaro writes: The syntax $VAR_NAME is used in several places. The correct syntax is actually $(VAR_NAME) 2006-04-21 01:23:35 +00:00
Eric Andersen
674d61d84b yet again... rework fakeroot handling to ensure fakeroot is invoked just once,
as it seems to sometimes lose values logged during from earlier invocations.
2006-04-10 22:49:48 +00:00
Eric Andersen
8cfa7aa965 As noted by jacmet in bug 824:
svn 14777 seems to have broken cramfs/squashfs/tarroot.

The problem is that $(IMAGE) is the absolute path of the image including
directories, so the build tries to access
$(STAGING_DIR)/_fakeroot.</full/path/to/buildroot/directory> which doesn't
exist.

The fix is to define CRAMFS/SQUASHFS/TAR_TARGET as $(notdir
$(IMAGE).<extension>) instead.
2006-04-10 17:48:53 +00:00
Eric Andersen
5418a92350 make sure things still work even when fakeroot is not in active use 2006-04-07 22:42:15 +00:00
Eric Andersen
ee66f55213 rework fakeroot handling to avoid races during parallel make causing several
fakeroot instances stomping eachother's temp files.
2006-04-07 20:30:43 +00:00
Mike Frysinger
2e31d32a0c touchup target menu display 2005-09-09 00:12:13 +00:00
Eric Andersen
d70e7f4f1e Prevent problems with fakeroot possibly trying to use stale host filesystem
inodes by carefully regenerating fakeroot.env from package specific files.
2005-08-08 07:53:10 +00:00
Eric Andersen
06c5ff4e82 minor cleanup for target handling 2005-08-08 06:57:43 +00:00
Mike Frysinger
ab3bf08f9c also need to depend on makedevs as noted by emalkowski in Bug #366 2005-08-08 00:42:49 +00:00
Mike Frysinger
5bfaa0bb40 make sure ext2 target depends on fakeroot 2005-08-07 08:30:24 +00:00
Eric Andersen
d1345f067e Allow packages to use fakeroot. To accomodate this, convert all
target filesystem creation tools to also use fakeroot.
2005-08-04 06:32:52 +00:00
Eric Andersen
5ef0c31bf4 Run ldconfig on the target rootfs to generate /etc/ld.so.cache 2005-07-14 23:30:39 +00:00
Eric Andersen
369864cf10 be a bit more consistant with naming, always escape wildcards 2005-06-24 08:36:13 +00:00
Eric Andersen
7e94594783 rename patches to avoid any confision as to patch order 2005-02-25 00:57:48 +00:00
Eric Andersen
eb86ef270a Do not squash perms, just owner 2005-02-18 23:58:16 +00:00
Eric Andersen
bb15c2215e more changes towards better board support 2005-02-17 18:21:20 +00:00
Eric Andersen
499d3b9983 cleanup whitespace 2005-02-16 19:48:43 +00:00
Eric Andersen
f4649ed254 doh. The first hunk of my patch was redundant 2005-02-15 09:44:16 +00:00
Eric Andersen
587277d8a0 Fix it so that owners and permissions specified in device table
entires are not squashed.
2005-02-15 09:26:57 +00:00
Eric Andersen
66adf26aa4 We need to calculate filesystem size right when we run genext2fs.
As was, size was calculated right when 'make' was run, at which
point the rootfs may well be empty...
2005-02-12 04:32:17 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Mike Frysinger
cdd46741aa menuconfig -> config 2005-02-10 00:59:22 +00:00
Mike Frysinger
80e5aaa56b touchups 2005-02-09 16:05:07 +00:00
Eric Andersen
0a87bc7b58 Patch from gtj -- http://bugs.uclibc.org/view.php?id=39
0000039: Adds options to ext2 filesystem creation

Adds ability to specify block and inode counts, reserved blocks, permissions
squash and device table in the configuration.

Also adds capability to gzip output and to copy the resulting image to a
secondary location like a tftp server's root directory.
2005-01-23 10:53:06 +00:00
Eric Andersen
c0ca7f4bdc Update to latest CVS version of genext2fs
http://cvs.sourceforge.net/viewcvs.py/genext2fs/
which includes my device table stuff
2004-12-27 21:26:16 +00:00
Mike Frysinger
9a3cc345e1 Philip Rakity <prakity@yahoo.com>: I forgot to mention that the makefile in genextfs has
one error that the macosx ld program detects -- this
is the duplicate -o option
2004-12-22 02:03:12 +00:00
Tim Riker
aabea2803d use fs type as file extension 2004-10-27 18:12:49 +00:00
Eric Andersen
4c4768b2f7 Fix it so we once again build the target root_fs 2004-10-09 04:34:21 +00:00
Eric Andersen
6c2a7c0359 Remove references to the obsolete SOURCE_DIR 2004-10-09 04:15:52 +00:00
Eric Andersen
44eedc5c44 facelift step number two 2004-10-09 02:49:33 +00:00