]> code.ossystems Code Review - openembedded-core.git/commit
init-install.sh: Fix make partition and make file system issues
authorMei Lei <lei.mei@intel.com>
Wed, 10 Aug 2011 14:35:59 +0000 (22:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Aug 2011 16:11:23 +0000 (17:11 +0100)
commit67c9804e0416defb7c3f69bd02bbae3710e5be0a
tree3f70c570180065ab531fae4aa273d0b798b22f53
parentc6bb9445de90cfb46db9c40842dbe1bfbb5b8ce8
init-install.sh: Fix make partition and make file system issues

[YOCTO #1151]

Change the offset from the beginning of the disk to aligne the blocks.

In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly,
and get some warnings about choose another specific tools to create file system for reliability.

So use mkpart instead of mkpartfs and only use mkfs.ext3 to create file system.

Signed-off-by: Mei Lei <lei.mei@intel.com>
meta/recipes-core/initrdscripts/files/init-install.sh