Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1]Fix bug 1151
@ 2011-08-11  4:28 Mei Lei
  2011-08-11  4:28 ` [PATCH 1/1] init-install.sh: Fix make partition and make file system issues Mei Lei
  2011-08-12 17:51 ` [PATCH 0/1]Fix bug 1151 Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Mei Lei @ 2011-08-11  4:28 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711:
  Kumar Gala (1):
        eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib lmei3/bug1151
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/bug1151

Mei Lei (1):
  init-install.sh: Fix make partition and make file system issues

 .../initrdscripts/files/init-install.sh            |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] init-install.sh: Fix make partition and make file system issues
  2011-08-11  4:28 [PATCH 0/1]Fix bug 1151 Mei Lei
@ 2011-08-11  4:28 ` Mei Lei
  2011-08-12 17:51 ` [PATCH 0/1]Fix bug 1151 Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Mei Lei @ 2011-08-11  4:28 UTC (permalink / raw)
  To: openembedded-core

[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>
---
 .../initrdscripts/files/init-install.sh            |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index b9d9029..5e6b81c 100644
--- a/meta/recipes-core/initrdscripts/files/init-install.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install.sh
@@ -105,13 +105,13 @@ echo "Creating new partition table on /dev/${device} ..."
 parted /dev/${device} mklabel msdos
 
 echo "Creating boot partition on /dev/${device}1"
-parted /dev/${device} mkpartfs primary ext2 0 $boot_size
+parted /dev/${device} mkpart primary 1 $boot_size
 
 echo "Creating rootfs partition on /dev/${device}2"
-parted /dev/${device} mkpartfs primary ext2 $rootfs_start $rootfs_end 
+parted /dev/${device} mkpart primary $rootfs_start $rootfs_end
 
 echo "Creating swap partition on /dev/${device}3"
-parted /dev/${device} mkpartfs primary linux-swap $swap_start $disk_size
+parted /dev/${device} mkpart primary $swap_start $disk_size
 
 parted /dev/${device} print
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1]Fix bug 1151
  2011-08-11  4:28 [PATCH 0/1]Fix bug 1151 Mei Lei
  2011-08-11  4:28 ` [PATCH 1/1] init-install.sh: Fix make partition and make file system issues Mei Lei
@ 2011-08-12 17:51 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-08-12 17:51 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 08/10/2011 09:28 PM, Mei Lei wrote:
> The following changes since commit a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711:
>    Kumar Gala (1):
>          eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib lmei3/bug1151
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/bug1151
>
> Mei Lei (1):
>    init-install.sh: Fix make partition and make file system issues
>
>   .../initrdscripts/files/init-install.sh            |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-12 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11  4:28 [PATCH 0/1]Fix bug 1151 Mei Lei
2011-08-11  4:28 ` [PATCH 1/1] init-install.sh: Fix make partition and make file system issues Mei Lei
2011-08-12 17:51 ` [PATCH 0/1]Fix bug 1151 Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox