Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 00/14] use "mke2fs -d" to create the ext2/3/4 image
Date: Fri, 7 Mar 2014 01:59:21 -0500	[thread overview]
Message-ID: <cover.1394174908.git.liezhi.yang@windriver.com> (raw)

Benefits:
* The "mke2fs -d" is more faster than populate-extfs.sh, it will save about 25
  seconds for a core-image-sato rootfs from my testing.

* Will fix these bugs:
  5901: Error at rootfs time if 'ptest-pkgs' is in IMAGE_FEATURES
  5797: populate-extfs.sh: problem with large images
  5712: /var/lib/opkg/alternatives/[[: File not found by ext2_lookup

NOTE:
* These patches have been merged into e2fsprogs's next branch, we can
  drop them when the new e2fsprogs releases and we upgrade it. It is a
  little different from the upstream since I've fixed it a little
  according to the feedback.

* Thanks for Darren's great help.

// Robert

The following changes since commit c6825ec6e92e20bb64a051d1576f363c16e98d68:

  recipes: bump PRs (2014-03-05 17:26:24 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/e2fs
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/e2fs

Robert Yang (14):
  e2fsprogs: mke2fs: add the ability to copy files from a given
    directory
  e2fsprogs: mke2fs: copy files recursively
  e2fsprogs: mke2fs: create special file
  e2fsprogs: mke2fs: create symlink
  e2fsprogs: mke2fs: copy regular file
  e2fsprogs: mke2fs: create directory
  e2fsprogs: mke2fs: set owner/mode/time for the inode
  e2fsprogs: mke2fs: add an option: -d root-directory
  e2fsprogs: mke2fs: handle hardlinks
  e2fsprogs: debugfs: use the functions in misc/create_inode.c
  e2fsprogs: mke2fs: update the manual for the -d option
  e2fsprogs: enable the "-d" related patches
  image_types.bbclass: use mke2fs -d to create the ext2/3/4 image
  e2fsprogs: populate-extfs.sh: remove it

 meta/classes/image_types.bbclass                   |    3 +-
 ...the-ability-to-copy-files-from-a-given-di.patch |   98 ++++
 ...isc-create_inode.c-copy-files-recursively.patch |  135 ++++++
 ...3-misc-create_inode.c-create-special-file.patch |  103 ++++
 .../0004-misc-create_inode.c-create-symlink.patch  |   63 +++
 ...005-misc-create_inode.c-copy-regular-file.patch |  224 +++++++++
 ...0006-misc-create_inode.c-create-directory.patch |   62 +++
 ..._inode.c-set-owner-mode-time-for-the-inod.patch |   81 ++++
 ...8-mke2fs.c-add-an-option-d-root-directory.patch |  168 +++++++
 ...0009-misc-create_inode.c-handle-hardlinks.patch |  210 +++++++++
 ...-use-the-functions-in-misc-create_inode.c.patch |  496 ++++++++++++++++++++
 ...s.8.in-update-the-manual-for-the-d-option.patch |   43 ++
 .../e2fsprogs/e2fsprogs/populate-extfs.sh          |   96 ----
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb |   13 +-
 14 files changed, 1695 insertions(+), 100 deletions(-)
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0002-misc-create_inode.c-copy-files-recursively.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0003-misc-create_inode.c-create-special-file.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0004-misc-create_inode.c-create-symlink.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0005-misc-create_inode.c-copy-regular-file.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0006-misc-create_inode.c-create-directory.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0007-misc-create_inode.c-set-owner-mode-time-for-the-inod.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0008-mke2fs.c-add-an-option-d-root-directory.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0009-misc-create_inode.c-handle-hardlinks.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0010-debugfs-use-the-functions-in-misc-create_inode.c.patch
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch
 delete mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh

-- 
1.7.10.4



             reply	other threads:[~2014-03-07  6:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07  6:59 Robert Yang [this message]
2014-03-07  6:59 ` [PATCH 01/14] e2fsprogs: mke2fs: add the ability to copy files from a given directory Robert Yang
2014-03-07  6:59 ` [PATCH 02/14] e2fsprogs: mke2fs: copy files recursively Robert Yang
2014-03-07  6:59 ` [PATCH 03/14] e2fsprogs: mke2fs: create special file Robert Yang
2014-03-07  6:59 ` [PATCH 04/14] e2fsprogs: mke2fs: create symlink Robert Yang
2014-03-07  6:59 ` [PATCH 05/14] e2fsprogs: mke2fs: copy regular file Robert Yang
2014-03-07  6:59 ` [PATCH 06/14] e2fsprogs: mke2fs: create directory Robert Yang
2014-03-07  6:59 ` [PATCH 07/14] e2fsprogs: mke2fs: set owner/mode/time for the inode Robert Yang
2014-03-07  6:59 ` [PATCH 08/14] e2fsprogs: mke2fs: add an option: -d root-directory Robert Yang
2014-03-07  6:59 ` [PATCH 09/14] e2fsprogs: mke2fs: handle hardlinks Robert Yang
2014-03-07  6:59 ` [PATCH 10/14] e2fsprogs: debugfs: use the functions in misc/create_inode.c Robert Yang
2014-03-07  6:59 ` [PATCH 11/14] e2fsprogs: mke2fs: update the manual for the -d option Robert Yang
2014-03-07  6:59 ` [PATCH 12/14] e2fsprogs: enable the "-d" related patches Robert Yang
2014-03-07  6:59 ` [PATCH 13/14] image_types.bbclass: use mke2fs -d to create the ext2/3/4 image Robert Yang
2014-03-07  6:59 ` [PATCH 14/14] e2fsprogs: populate-extfs.sh: remove it Robert Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1394174908.git.liezhi.yang@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox