summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/e2fsprogs
AgeCommit message (Collapse)AuthorFiles
2013-11-12e2fsprogs: fix tests/f_extent_ooboundsRobert Yang2
tests/f_extent_oobounds runs debugfs from the system, not from the source tree, and if the system's debugfs doesn't have the extent_open command it fails silently. Use $DEBUGFS and $MKE2FS to get the in-tree executables for this test, just like other test scripts do. (Build machines which run make check shouldn't need to have e2fsprogs installed, and we should be testing just-built versions of the tools anyway) This patch is from: http://www.spinics.net/lists/linux-ext4/msg38880.html Eric Sandeen had sent it to the linux-ext4 mailing list, but haven't been merge by now. [YOCTO #5511] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30e2fsprogs: Escape filenames in populate-extfs.shSøren Holm1
Without this patch filenames containing spaces do not get into the final ext2/3/4 filsystem. [YOCTO #5401] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26e2fsprogs: add populate-extfs.shRobert Yang2
This script is originally from Darren Hart, it will be used for creating the ext* filesystem from a given directory, which will replace the genext2fs in image_types.bbclass at the moment, we may use the mke2fs to replace this script again when it has the initial directory support. Changes of the script: * Rename it from mkdebugfs.sh to populate-extfs.sh * Add a simple usage * Add checking for the number of the parameters * Add the "regular empty file" and "fifo" file type * Set mode, uid and gid for the file * Save the command lines to a file and batch run them * Change the error message * Improve the performance * Add the support for hardlink [YOCTO #3848] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26e2fsprogs: properly set up extent header in do_writeRobert Yang2
do_write doesn't fully set up the first extent header on a new inode, so if we write a 0-length file, and don't write any data to the new file, we end up creating something that looks corrupt to kernelspace: EXT4-fs error (device loop0): ext4_ext_check_inode:464: inode #12: comm ls: bad header/extent: invalid magic - magic 0, entries 0, max 0(0), depth 0(0) Do something similar to ext4_ext_tree_init() here, and fill out the first extent header upon creation to avoid this. [YOCTO #3848] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26e2fsprogs: only update the icache for ext2_inodeRobert Yang2
We only read the cache when: bufsize == sizeof(struct ext2_inode) then we should only update the cache in the same condition, otherwise there would be errors, for example: cache[0]: cached ino 14 when bufsize = 128 by ext2fs_write_inode_full() cache[1]: cached ino 14 when bufsize = 156 by ext2fs_read_inode_full() Then update the cache: cache[0]: cached ino 15 when bufsize = 156 by ext2fs_read_inode_full() Then the ino 14 would hit the cache[1] when bufsize = 128 (but it was cached by bufsize = 156), so there would be errors. [YOCTO #3848] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26e2fsprogs: let debugfs do sparse copyRobert Yang2
Let debugfs do sparse copy when src is a sparse file, just like "cp --sparse=auto" This patch has been reviewed by the linux-ext4 mailing list, but isn't merged atm. [YOCTO #3848] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26e2fsprogs: the max length of debugfs argument is too shortRobert Yang2
The max length of debugfs argument is 256 which is too short, the arguments are two paths, the PATH_MAX is 4096 according to /usr/include/linux/limits.h, so use BUFSIZ (which is 8192 on Linux systems), that's also what the ss library uses. This patch has been reviewed by the linux-ext4 mailing list, but isn't merged atm. [YOCTO #3848] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-22Drop darwin8/darwin9 usageRichard Purdie1
There were darwin8/darwin9 overrides spinkled in the code from times gone by. Lets settle on the darwin override and remove the others since its pointless duplication. We always inject darwin into OVERRIDES if needed in the darwin8/9 cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-09e2fsprogs: upgrade to 1.42.8Andrei Dinu5
upgrade from 1.42.7 -> 1.42.8 Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-18e2fsprogs: Fix case where ${B} != ${S}Richard Purdie1
Fix out of tree builds by placing built objects in the correct location. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28e2fsprogs : upgrade to 1.42.7Andrei Dinu5
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-01e2fsprogs : upgrade to 1.42.6Andrei Dinu6
- removed the usage of the patches already contained in the new version - adapted patch remove.ldconfig.call.patch so that it applies on new version Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14e2fsprogs: fix out-of-tree buildsRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-03e2fsprogs: Don't install findfsPhil Blundell1
This binary is provided by util-linux nowadays. Fixes: WARNING: The recipe is trying to install files into a shared area when those files already exist. Those files are: /fast/jenkins/workspace/.../tmp-eglibc/sysroots/x86_64-linux/sbin/findfs Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-28e2fsprogs: Drop fsck binaryRichard Purdie1
There are conflicts in the native sysroot over the fsck binary. Whilst providing people with alternatives is good to a point, the source in util-linux is clearly the copy which is now being maintained and moved forwards which the copy in e2fsprogs being older and with less features. The simplest solution is simply to no longer offer this and used the maintained version from util-linux. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-28e2fsprogs: Fully remove/disable blkidRichard Purdie2
We've removed libblkid from e2fsprogs as it was being provided by util-linux. The blkid binary is also provided there and providing it within e2fsprogs too, linked against a different and potentially incompatible library we're likely asking for trouble. It also leads to inconsistencies in the native sysroot since we don't consistently get one given provider of blkid (but always the liblibid from util-linux). To clean this up, fully remove/disable the blkid binary and package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-11e2fsprogs: fix packaging error for libext2fsAndreas Oberritter1
* libext2fs is located in base_libdir, not libdir Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21e2fsprogs: upgrade to 1.42.1Scott Garman5
Includes minor tweaks to the formatting of some patch headers and the addition of a SOB line where needed. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-02-23e2fsprogs: Cope with ${libdir} and ${base_libdir} being the sameMike Crowe1
${libdir} and ${base_libdir} may be the same. If they are don't try and move files onto themselves. Signed-off-by: Mike Crowe <mac@mcrowe.com>
2012-02-23e2fsprogs: e2initrd_helper was moved in libdir but not packaged correctly in ↵Andrei Gherzan1
FILES_libext2fs The new install path of e2initrd_helper is %{libdir}. FILES_libext2fs modified accordigly to avoid QA warnings. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-02-23e2fsprogs: remove ldconfig call from install-libsMartin Jansa2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-01e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKEScott Garman2
Koen Kooi suggested that the quotefix patch was not needed, and the build of the recipe should now be multithread-safe. My testing has confirmed this. Signed-off-by: Scott Garman <sgarman@zenlinux.com>
2012-01-19e2fsprogs_1.42.bb: Fix build fallout for uclibcKhem Raj2
e2fsprogs 1.42 onwards uses fallocate() which uclibc does not implement(yet). In most of places its use is controlled and it only used when configure detects fallocate being present but in this one case it missed to check for fallocate being available so here we add the check Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-01-17e2fsprogs: upgrade to 1.42Scott Garman6
Refactored quotefix.patch to apply cleanly. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-01-05e2fsprogs: move libraries to base_libdirScott Garman1
The e2fsprogs utilities are installed into base_sbindir (/sbin) and should not link to libraries under exec_prefix (/usr). So move these libraries from libdir (/usr/lib) to base_libdir (/lib). Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03util-linux: Update to 2.20.1Saul Wold1
Add patch remove setting CC, LD and LDFLAGS on commandline since they are passed correctly via configure. Those setting also caused the configure information about -std=gnu99 from being passed correctly. Removed patch that was fixed upstream Added scanf configuration, since this is a cross-compile target check libuuid removed an API that e2fsprogs uuidd used (uuid__generate_*), thus we disable it in this patch and will now provide uuidd from util-linux. See http://sourceforge.net/projects/e2fsprogs/forums/forum/7053/topic/4639484 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-10-31e2fsprogs: move mke2fs.conf to e2fsprogs-mke2fs packagePaul Eggleton1
mke2fs.conf, which contains defaults for filesystem formatting options, ought to be shipped along with mke2fs itself. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-22e2fsprogs: include devtools scriptsDmitry Eremin-Solenikov1
Some scripts are necessary to develop programs with libcom_err and libss. Include those into e2fsprogs-dev package. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj1
Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-17e2fsprogs_1.41.14.bb: Package libraries into separate packagesKhem Raj1
add libcomerr libss libe2p libext2fs packages helps in reducing the root file system size [RP: Added PR bump] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-04-18e2fsprogs: Upgrade from 1.41.12 to 1.41.14Mei Lei4
Signed-off-by: Mei Lei <lei.mei@intel.com>
2011-04-04e2fsprogs.inc: inherit gettext class instead of adding gettext to DEPENDS ↵Khem Raj1
directly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-02-22Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-24nfs-utils, e2fsprogs, mtd-utils, libsm: bump PRPaul Eggleton1
This ensures package runtime dependencies are up-to-date after splitting out libuuid and libblkid in util-linux recipe Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Qing He <qing.he@intel.com>
2010-12-30RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi1
For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-16recipes-devtools: Add Summary informationMark Hatle1
Add Summary information and update Descripts as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-12-09SRC_URI Checksums AdditionalsSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-09-29e2fsprogs: Don't change ownership of the patches directoryGary Thomas1
Patches can be symlinks and changing their ownership may not be possible. Therefore stop doing this. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie5
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>