aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
Commit message (Collapse)AuthorAgeFilesLines
* image: fix initramfs image nameGabor Juhos2013-07-191-1/+1
| | | | | | | | | | | Preserve order of components in initramfs image filename when doing copy from $(KDIR) to $(BIN_DIR). Patchwork: http://patchwork.openwrt.org/patch/3811/ Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: export ubifs image from mkfs.ubifsLuka Perkov2013-02-031-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add permission exceptions, do not clobber shadow ↵Jo-Philipp Wich2012-06-051-1/+1
| | | | | | permissions - based on patch by Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: increase squashfs block size - visibly reduces image size in many casesFelix Fietkau2011-12-131-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs ↵Jo-Philipp Wich2011-09-261-1/+1
| | | | | | -processors option git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* default to using gzip with mksquashfs if lzma and xz are unavailableFelix Fietkau2011-07-241-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* extend squashfs padding for 256k flash sectorsJohn Crispin2011-07-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: use padjffs2 in prepare_generic_squashfsGabor Juhos2011-07-021-9/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] image.mk: only upgrade permissions instead of overwriting, utilize ↵Jo-Philipp Wich2011-03-211-4/+6
| | | | | | tar -p flag for targz image targets (#7667) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cleanupImre Kaloz2010-11-221-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove 2.6.25 supportImre Kaloz2010-11-221-8/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch from ext2 to ext4 (w/o) journalingImre Kaloz2010-11-221-6/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove linux 2.4 specific build system codeFelix Fietkau2010-06-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image/ext2: fix rootfs partition size after [21362]Nicolas Thill2010-05-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: rearrange image.mk, indent, reorder, change some ifeq/ifneq testsNicolas Thill2010-04-291-79/+86
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZNicolas Thill2010-04-281-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is ↵Nicolas Thill2010-04-281-11/+12
| | | | | | selected or not git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change from /jffs to /overlay, patch from Daniel DickinsonFlorian Fainelli2010-03-211-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sort entries in images md5sums filesNicolas Thill2010-03-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: Adjust ubifs build behaviour to that of others image typesLars-Peter Clausen2010-03-051-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* with no users left, remove support for 2.6.21Imre Kaloz2010-02-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix rootfs preparation with rootfs containing files with whitespaces in the ↵Felix Fietkau2010-01-221-3/+3
| | | | | | filename (based on patch from #6551) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for building ubifs images.Lars-Peter Clausen2010-01-111-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of even more 2.6.28 stuffImre Kaloz2009-12-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* unbreak brcm-2.4Felix Fietkau2009-11-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use the new option for creating squashfs4-lzma imagesImre Kaloz2009-11-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swap logic on squashfs version selectionImre Kaloz2009-10-261-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* create v4 squashfs image for 2.6.31Gabor Juhos2009-08-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* work around a threading bug in mksquashfs4 by limiting the number of threads ↵Felix Fietkau2009-08-061-1/+1
| | | | | | to 1 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use --binary option of md5sum to improve compatibility with other platforms ↵Florian Fainelli2009-07-251-1/+1
| | | | | | (#5192) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of linux 2.6.29Felix Fietkau2009-07-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable lzma for squashfs4 by defaultFelix Fietkau2009-05-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [image] create squashfs4 images if kernel version >=2.6.29Gabor Juhos2009-05-151-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't abort if the operation is failingRalph Hempel2009-03-021-3/+3
| | | | | | | | ( 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
* fix potential rootfs owner/group mismatch (tgz root only, patch from #4562)Felix Fietkau2009-02-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] genext2fs: update to 1.4.1Nicolas Thill2009-02-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generate md5 checksums of generated firware images. closes #4003Andy Boyett2008-10-071-0/+9
| | | | | | | - 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