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:45:22 +0000 |
commit | 6779ab69fc8eea32a5abfbc0d0cc0efc6d4b86ff (patch) | |
tree | 6b0520d78d444b677aa904a0ad2d510d1cc015ba /bitbake/doc | |
parent | c859853f3206c77332ca5bf972dcd70e7d625cf6 (diff) | |
download | poky-6779ab69fc8eea32a5abfbc0d0cc0efc6d4b86ff.tar.gz |
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]
(From OE-Core rev: f050c510b070d919d50e491476e83f2b0ae2b7b2)
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 'bitbake/doc')
0 files changed, 0 insertions, 0 deletions