summaryrefslogtreecommitdiff
path: root/include/image.mk
Commit message (Collapse)AuthorAgeFilesLines
* include/image.mk: do not make initramfs build exclusiveFlorian Fainelli2013-06-271-17/+17
| | | | | | | | Allow building initramfs along with other types of filesystems. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37050
* target: split jffs2 NAND out of jffs2Jonas Gorski2013-06-051-7/+19
| | | | | | | | | | | | Make jffs2_nand a separate option so this can be triggered without forcing jffs2 images for nor targets. Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout in <page_size>:<block_size> pairs. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36860
* include/image.mk: export ubifs image from mkfs.ubifsLuka Perkov2013-02-031-0/+1
| | | | SVN-Revision: 35473
* image.mk: use XZ bcj architecture filter if availableFlorian Fainelli2013-01-111-1/+4
| | | | | | | | | | xz supports using an architecture specific BCJ filter, use that one to save us a couple kB while producing squashfs filesystems (mimics the Linux kernel). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35097
* Revert "include/image.mk: call Image/Build/{cpiogz,targz}"Florian Fainelli2012-12-041-2/+0
| | | | | | | | This breaks on platforms building their own targz/cpioz images. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34498
* include/image.mk: call Image/Build/{cpiogz,targz}Florian Fainelli2012-12-041-0/+2
| | | | | | | | | | | | | All Image/mkfs/... macros call the Image/Build except for Image/mkfs/targz and Image/mkfs/cpiogz This patch adds the Image/Build call for Image/mkfs/targz and Image/mkfs/cpiogz. Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34473
* build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted spaceGabor Juhos2012-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* image.mk: don't squash file permissions in JFFS2 imagesFlorian Fainelli2012-11-271-2/+2
| | | | | | | | | | | | | | | Currently we call mkfs.jffs2 --squash, which will change both file permissions and owners. If we have some file with suid bits, it will clear these bits. Thus it's enough to just squash file owners, by replacing that argument to --squash-uids. Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34397
* include/image.mk: /tmp should have mode 1777Jo-Philipp Wich2012-07-011-1/+1
| | | | | | | | | | On the off chance that the root filesystem's /tmp is used directly as a temporary directory instead of having a tmpfs mounted over it, it should have the sticky bit set. Signed-off-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 32572
* base-files: add permission exceptions, do not clobber shadow permissions - ↵Jo-Philipp Wich2012-06-051-1/+1
| | | | | | based on patch by Mark Mentovai <mark@moxienet.com> SVN-Revision: 32073
* image: increase squashfs block size - visibly reduces image size in many casesFelix Fietkau2011-12-131-1/+3
| | | | SVN-Revision: 29519
* image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs ↵Jo-Philipp Wich2011-09-261-1/+1
| | | | | | -processors option SVN-Revision: 28305
* default to using gzip with mksquashfs if lzma and xz are unavailableFelix Fietkau2011-07-241-0/+1
| | | | SVN-Revision: 27748
* extend squashfs padding for 256k flash sectorsJohn Crispin2011-07-031-2/+2
| | | | SVN-Revision: 27404
* generic: use padjffs2 in prepare_generic_squashfsGabor Juhos2011-07-021-9/+1
| | | | SVN-Revision: 27356
* tools/squashfs4: update to version 4.2 (adds support for xz compression)Felix Fietkau2011-04-031-1/+9
| | | | | | Based on a patch by Jonas Gorski SVN-Revision: 26422
* image.mk: only upgrade permissions instead of overwriting, utilize tar -p ↵Jo-Philipp Wich2011-03-211-4/+6
| | | | | | flag for targz image targets (#7667) SVN-Revision: 26259
* cleanupImre Kaloz2010-11-221-6/+1
| | | | SVN-Revision: 24090
* remove 2.6.25 supportImre Kaloz2010-11-221-8/+0
| | | | SVN-Revision: 24089
* switch from ext2 to ext4 (w/o) journalingImre Kaloz2010-11-221-6/+11
| | | | SVN-Revision: 24084
* remove linux 2.4 specific build system codeFelix Fietkau2010-06-261-1/+1
| | | | SVN-Revision: 21951
* image/ext2: fix rootfs partition size after [21362]Nicolas Thill2010-05-051-1/+1
| | | | SVN-Revision: 21369
* include: rearrange image.mk, indent, reorder, change some ifeq/ifneq testsNicolas Thill2010-04-291-79/+86
| | | | SVN-Revision: 21244
* buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZNicolas Thill2010-04-281-5/+5
| | | | SVN-Revision: 21238
* images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is ↵Nicolas Thill2010-04-281-11/+12
| | | | | | selected or not SVN-Revision: 21237
* don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. ↵Alexandros C. Couloumbis2010-04-131-6/+20
| | | | | | switch verbose mode on compresor statistics. SVN-Revision: 20844
* finalize lzma/jffs2 support (currently not enebled by default, for kernels ↵Alexandros C. Couloumbis2010-04-131-1/+6
| | | | | | >=2.6.33) based on Edgar Soldin patches: https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html SVN-Revision: 20837
* define a shared IMG_PREFIX variable used as a basename for image files, it ↵Nicolas Thill2010-04-121-4/+6
| | | | | | contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files SVN-Revision: 20834
* change from /jffs to /overlay, patch from Daniel DickinsonFlorian Fainelli2010-03-211-2/+1
| | | | SVN-Revision: 20356
* sort entries in images md5sums filesNicolas Thill2010-03-101-1/+1
| | | | SVN-Revision: 20116
* image.mk: Adjust ubifs build behaviour to that of others image typesLars-Peter Clausen2010-03-051-1/+2
| | | | SVN-Revision: 19985
* with no users left, remove support for 2.6.21Imre Kaloz2010-02-111-1/+1
| | | | SVN-Revision: 19578
* fix rootfs preparation with rootfs containing files with whitespaces in the ↵Felix Fietkau2010-01-221-3/+3
| | | | | | filename (based on patch from #6551) SVN-Revision: 19282
* Add support for building ubifs images.Lars-Peter Clausen2010-01-111-0/+10
| | | | SVN-Revision: 19097
* get rid of even more 2.6.28 stuffImre Kaloz2009-12-271-1/+1
| | | | SVN-Revision: 18953
* ar71xx: the squashfs-4k images are unreliable in some builds. add 4k, 8k ↵Felix Fietkau2009-11-241-4/+8
| | | | | | padding to the generic squashfs images and use them on 4k devices as well SVN-Revision: 18526
* unbreak brcm-2.4Felix Fietkau2009-11-031-1/+1
| | | | SVN-Revision: 18287
* use the new option for creating squashfs4-lzma imagesImre Kaloz2009-11-021-1/+1
| | | | SVN-Revision: 18269
* swap logic on squashfs version selectionImre Kaloz2009-10-261-5/+5
| | | | SVN-Revision: 18163
* create v4 squashfs image for 2.6.31Gabor Juhos2009-08-261-1/+1
| | | | SVN-Revision: 17406
* work around a threading bug in mksquashfs4 by limiting the number of threads ↵Felix Fietkau2009-08-061-1/+1
| | | | | | to 1 SVN-Revision: 17146
* use --binary option of md5sum to improve compatibility with other platforms ↵Florian Fainelli2009-07-251-1/+1
| | | | | | (#5192) SVN-Revision: 16977
* get rid of linux 2.6.29Felix Fietkau2009-07-171-1/+1
| | | | SVN-Revision: 16883
* enable lzma for squashfs4 by defaultFelix Fietkau2009-05-211-1/+1
| | | | SVN-Revision: 15962
* create squashfs4 images if kernel version >=2.6.29Gabor Juhos2009-05-151-1/+12
| | | | SVN-Revision: 15866
* don't abort if the operation is failing ( if the board is connected via NFS ↵Ralph Hempel2009-03-021-3/+3
| | | | | | files might be created by root and can't be changed at this point of time ) SVN-Revision: 14729
* fix potential rootfs owner/group mismatch (tgz root only, patch from #4562)Felix Fietkau2009-02-191-1/+1
| | | | SVN-Revision: 14569
* genext2fs: update to 1.4.1Nicolas Thill2009-02-171-1/+1
| | | | SVN-Revision: 14536
* generate md5 checksums of generated firware images. closes #4003 - checksums ↵Andy Boyett2008-10-071-0/+9
| | | | | | located in bin/md5sums - integrity can be verified using md5sum -c SVN-Revision: 12889
* rework parallel building to get rid of some warnings and add back support ↵Felix Fietkau2008-08-161-0/+1
| | | | | | for parallelizing the kernel build fixes #3882 SVN-Revision: 12322