Fix bug 1151
cover Fix bug 1151
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(-)
PATCH 1/1 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.
--- .../initrdscripts/files/init-install.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/initrdscripts/files/init-install.sh +3 -3
@@ -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
Signature · 1 line
1.7.0.4
Saul Wold
AppliedQuoted 12 lines · Mei Lei
The following changes since commit
a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711:
Kumar Gala (1):
eglibc: forceGLIBC_EXTRA_OECONFto not be uset for nativesdkare 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/bug1151Mei Lei (1):
init-install.sh: Fix make partition and make file system issues
Quoted 9 lines
.../initrdscripts/files/init-install.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Merged into OE-Core
Thanks
Sau!