Felix Fietkau
1529c7d824
image: increase squashfs block size - visibly reduces image size in many cases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:34:08 +00:00
Jo-Philipp Wich
32b5ea459c
[include] image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-26 02:02:35 +00:00
Felix Fietkau
12e992638e
default to using gzip with mksquashfs if lzma and xz are unavailable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 09:16:55 +00:00
John Crispin
a0eecf1178
extend squashfs padding for 256k flash sectors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:37:46 +00:00
Gabor Juhos
c1359b5705
generic: use padjffs2 in prepare_generic_squashfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:37:58 +00:00
Felix Fietkau
4613220875
tools/squashfs4: update to version 4.2 (adds support for xz compression)
...
Based on a patch by Jonas Gorski
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:00 +00:00
Jo-Philipp Wich
e29c4698e9
[include] image.mk: only upgrade permissions instead of overwriting, utilize tar -p flag for targz image targets ( #7667 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 17:38:15 +00:00
Imre Kaloz
06e8850d41
cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:46:09 +00:00
Imre Kaloz
00da58c6ae
remove 2.6.25 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
Imre Kaloz
c1725149e1
switch from ext2 to ext4 (w/o) journaling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 12:12:39 +00:00
Felix Fietkau
67fbcc7bd4
remove linux 2.4 specific build system code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:38 +00:00
Nicolas Thill
f1d6454a21
image/ext2: fix rootfs partition size after [21362]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 06:14:32 +00:00
Nicolas Thill
ba1debe042
include: rearrange image.mk, indent, reorder, change some ifeq/ifneq tests
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-29 00:44:26 +00:00
Nicolas Thill
8b1974bdad
buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
Nicolas Thill
f696b88feb
images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:27:03 +00:00
Alexandros C. Couloumbis
e11f6c9349
don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:36:58 +00:00
Alexandros C. Couloumbis
8a70f533b7
finalize lzma/jffs2 support (currently not enebled by default, for kernels >=2.6.33) based on Edgar Soldin patches:
...
https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 14:07:22 +00:00
Nicolas Thill
9d42bb1a21
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
Florian Fainelli
6e84b166c4
change from /jffs to /overlay, patch from Daniel Dickinson
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
Nicolas Thill
c930e873c4
sort entries in images md5sums files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 04:03:37 +00:00
Lars-Peter Clausen
221422bfac
image.mk: Adjust ubifs build behaviour to that of others image types
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 04:14:03 +00:00
Imre Kaloz
98d6f0382b
with no users left, remove support for 2.6.21
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:37:57 +00:00
Felix Fietkau
fa404080cc
fix rootfs preparation with rootfs containing files with whitespaces in the filename (based on patch from #6551 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 23:10:57 +00:00
Lars-Peter Clausen
2710572b04
Add support for building ubifs images.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 01:10:45 +00:00
Imre Kaloz
bbc7795b2f
get rid of even more 2.6.28 stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 21:35:42 +00:00
Felix Fietkau
f9f60dce00
ar71xx: the squashfs-4k images are unreliable in some builds. add 4k, 8k padding to the generic squashfs images and use them on 4k devices as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-24 13:55:40 +00:00
Felix Fietkau
ea7dd8e255
unbreak brcm-2.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-03 15:38:04 +00:00
Imre Kaloz
301bcdf15c
use the new option for creating squashfs4-lzma images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 09:53:29 +00:00
Imre Kaloz
807acf7ca7
swap logic on squashfs version selection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 12:06:47 +00:00
Gabor Juhos
5e1d6a2347
create v4 squashfs image for 2.6.31
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 09:52:25 +00:00
Felix Fietkau
25a843cb1d
work around a threading bug in mksquashfs4 by limiting the number of threads to 1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 12:55:41 +00:00
Florian Fainelli
1a5076a7cc
use --binary option of md5sum to improve compatibility with other platforms ( #5192 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-25 17:16:00 +00:00
Felix Fietkau
916ce4ba2f
get rid of linux 2.6.29
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-17 16:20:25 +00:00
Felix Fietkau
bc965cfde8
enable lzma for squashfs4 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 18:11:22 +00:00
Gabor Juhos
80f719bd91
[image] create squashfs4 images if kernel version >=2.6.29
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-15 12:10:47 +00:00
Ralph Hempel
2c21b38c09
don't abort if the operation is failing
...
( if the board is connected via NFS files might be created by root and can't be changed at this point of time )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 17:42:29 +00:00
Felix Fietkau
38afbcb1e2
fix potential rootfs owner/group mismatch (tgz root only, patch from #4562 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 17:19:29 +00:00
Nicolas Thill
9a4014daef
[tools] genext2fs: update to 1.4.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-17 03:05:10 +00:00
Andy Boyett
cfab7bab63
generate md5 checksums of generated firware images. closes #4003
...
- checksums located in bin/md5sums
- integrity can be verified using md5sum -c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-07 08:01:55 +00:00
Felix Fietkau
627b34f1f2
rework parallel building to get rid of some warnings
...
and add back support for parallelizing the kernel build
fixes #3882
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:59:47 +00:00
Gabor Juhos
1d8beaa089
[images] strip kernel version from image names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 17:43:36 +00:00
Gabor Juhos
59ab5f370a
fix generation of cpio.gz images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 10:51:52 +00:00
Felix Fietkau
1eca489138
add cpio.gz support (patch from #2595 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 15:46:01 +00:00
John Crispin
9a5e720042
remove whitespaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 20:30:18 +00:00
John Crispin
0f0020cac0
added generation of x86 livecds, from #2391
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 18:53:19 +00:00
Felix Fietkau
6bcd07afdd
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Felix Fietkau
d10a56dc58
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau
c29e126571
fix image installation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-03 01:21:41 +00:00
Nicolas Thill
e996d0881f
remove the @ and change the comment from [8107] ( closes : #2122 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-26 06:43:29 +00:00
Nicolas Thill
f6aff55a07
fix jffs2 images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 18:29:59 +00:00
Felix Fietkau
85c3d5e4f1
really fix tgz images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-19 18:20:56 +00:00
Florian Fainelli
21259095f9
Fix the tgz image build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 14:40:57 +00:00
Felix Fietkau
67b10c9ee3
better support for handling various jffs2 eraseblock sizes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-16 22:06:45 +00:00
Felix Fietkau
b3ee15232a
add portability fixes from #1720
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 12:21:58 +00:00
Imre Kaloz
12d1bd76b0
add support for jffs2 filesystems with 256k blocksize, fix taishan support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-05 20:55:21 +00:00
Florian Fainelli
0514876233
Call the Initramfs template if existing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 10:29:50 +00:00
Felix Fietkau
f460eb1cdb
fixes for a few build errors on osx without fink
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 01:30:48 +00:00
Felix Fietkau
1cabba028e
revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 19:18:38 +00:00
Florian Fainelli
7a5a2cec7a
Use find -exec instead of xargs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 16:09:15 +00:00
Felix Fietkau
d60f254616
kernel build cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 17:24:20 +00:00
Felix Fietkau
18de319d9d
make squashfs overlay support more generic and integrate it for x86-2.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +00:00
Tim Yardley
fcbe667a81
make maxinodes configureable for ext2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-22 22:35:08 +00:00
Felix Fietkau
53aef8417d
Add initial version of the new Image Builder
...
It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-10 21:52:28 +00:00
Nicolas Thill
ef05ebce87
only squash owners, not permissions, when generating ext2 images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-30 14:44:27 +00:00
Felix Fietkau
fb0dfcb2be
minor cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 04:06:29 +00:00
Felix Fietkau
25fe6a2e04
add prereq checks for target/linux/* and target/image/*, check for fdisk for the x86 builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 21:12:18 +00:00
Felix Fietkau
f453a7e3a5
add missing include
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 01:18:54 +00:00
Felix Fietkau
258f15cef3
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 21:04:14 +00:00
Felix Fietkau
0f07b5babf
make filesystem size selection generic (for ext2)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 03:27:24 +00:00
Florian Fainelli
a6b335b84e
Prevent SSH keys from being chmoded to 644 ( #664 ), looks like those are the only files concerned for now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 23:03:46 +00:00
Nicolas Thill
71dcfb2a3e
add BOARD and KERNEL to tgz image file name
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 02:14:47 +00:00
Gerry Rozema
fe3afc62e8
Build bzImage for x86 builds - allow ext2 images even if initramfs used, they are needed for creating boot images
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-17 07:20:08 +00:00
Gerry Rozema
bd0cc205a2
Make ext2 image larger for uml, update uml kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-14 07:41:23 +00:00
Nicolas Thill
6d8578a5d3
add genext2fs to build ext2 filesystem images
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-22 16:33:33 +00:00
Mike Baker
17dad6fbd2
fix a few directories missed in [4176]'s source -> download
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 17:00:14 +00:00
Gerry Rozema
42fb2160c4
UML target completed. Added ext2 target fs for use with uml images
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-20 21:06:47 +00:00
Mike Baker
f9e5c1b1d5
credit where credit is due
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Mike Baker
57013b9f30
switch on new verbose system
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-23 21:47:24 +00:00
Felix Fietkau
d9fc41ff70
add 0xdeadc0de to the jffs2 filesystem images
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-22 00:59:47 +00:00
Felix Fietkau
08cbdbc1b0
build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00