diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-03-07 01:59:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-07 14:44:26 +0000 |
commit | f050c510b070d919d50e491476e83f2b0ae2b7b2 (patch) | |
tree | dc8c268b4c3ba18d4faa9f632b7e4d22ff4c98eb /meta/recipes-gnome/gdk-pixbuf | |
parent | 0e6881146d87f0d214d80bc92e54c113906db63a (diff) | |
download | openembedded-core-f050c510b070d919d50e491476e83f2b0ae2b7b2.tar.gz openembedded-core-f050c510b070d919d50e491476e83f2b0ae2b7b2.tar.bz2 openembedded-core-f050c510b070d919d50e491476e83f2b0ae2b7b2.zip |
e2fsprogs: mke2fs: add the ability to copy files from a given directory
We will add a -d option which will be used for adding the files from a
given directory to the filesystem, it is similiar to genext2fs, but
genext2fs doesn't fully support ext4.
* We already have the basic operations in debugfs:
- Copy regular file
- Create directory
- Create symlink
- Create special file
We will move these operations into create_inode.h and create_inode.c,
then let both mke2fs and debugfs use them.
* What we need to do are:
- Copy the given directory recursively, this will be done by the
populate_fs()
- Set the owner, mode and other informations
- Handle the hard links
TODO:
- The libext2fs can't create the socket file (S_IFSOCK), do we have a
plan to support it ?
[YOCTO #4083]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Reviewed-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gdk-pixbuf')
0 files changed, 0 insertions, 0 deletions