* [PATCH 1/2] libogg: upgrade to 1.3.3
@ 2017-11-16 15:56 Maxin B. John
2017-11-16 15:56 ` [PATCH 2/2] image.bbclass: improve reproducibility Maxin B. John
0 siblings, 1 reply; 4+ messages in thread
From: Maxin B. John @ 2017-11-16 15:56 UTC (permalink / raw)
To: openembedded-core
1.3.2 -> 1.3.3
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
meta/recipes-multimedia/libogg/{libogg_1.3.2.bb => libogg_1.3.3.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-multimedia/libogg/{libogg_1.3.2.bb => libogg_1.3.3.bb} (80%)
diff --git a/meta/recipes-multimedia/libogg/libogg_1.3.2.bb b/meta/recipes-multimedia/libogg/libogg_1.3.3.bb
similarity index 80%
rename from meta/recipes-multimedia/libogg/libogg_1.3.2.bb
rename to meta/recipes-multimedia/libogg/libogg_1.3.3.bb
index 0142e0f..8d88f1f 100644
--- a/meta/recipes-multimedia/libogg/libogg_1.3.2.bb
+++ b/meta/recipes-multimedia/libogg/libogg_1.3.3.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=db1b7a668b2a6f47b2af88fb008ad555 \
SRC_URI = "http://downloads.xiph.org/releases/ogg/${BP}.tar.xz"
-SRC_URI[md5sum] = "5c3a34309d8b98640827e5d0991a4015"
-SRC_URI[sha256sum] = "3f687ccdd5ac8b52d76328fbbfebc70c459a40ea891dbf3dccb74a210826e79b"
+SRC_URI[md5sum] = "87ed742047f065046eb6c36745d871b8"
+SRC_URI[sha256sum] = "4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08"
inherit autotools pkgconfig
--
2.4.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] image.bbclass: improve reproducibility
2017-11-16 15:56 [PATCH 1/2] libogg: upgrade to 1.3.3 Maxin B. John
@ 2017-11-16 15:56 ` Maxin B. John
2017-11-21 10:59 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Maxin B. John @ 2017-11-16 15:56 UTC (permalink / raw)
To: openembedded-core
Improve reproducibility of builds by adding --apparent-size to du -ks in
get_rootfs_size
[YOCTO #12235]
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 0d14250..a24a561 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -524,7 +524,7 @@ def get_rootfs_size(d):
initramfs_fstypes = d.getVar('INITRAMFS_FSTYPES') or ''
initramfs_maxsize = d.getVar('INITRAMFS_MAXSIZE')
- output = subprocess.check_output(['du', '-ks',
+ output = subprocess.check_output(['du', '--apparent-size', '-ks',
d.getVar('IMAGE_ROOTFS')])
size_kb = int(output.split()[0])
base_size = size_kb * overhead_factor
--
2.4.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] image.bbclass: improve reproducibility
2017-11-16 15:56 ` [PATCH 2/2] image.bbclass: improve reproducibility Maxin B. John
@ 2017-11-21 10:59 ` Burton, Ross
2017-11-21 11:15 ` Maxin B. John
0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2017-11-21 10:59 UTC (permalink / raw)
To: Maxin B. John; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 2197 bytes --]
I think this is to blame for a slew of failures on the autobuilder:
http://errors.yoctoproject.org/Errors/Latest/?filter=57ddf212e64207edfbd813d32ca3a15f6c1c8211&type=commit
Such as:
NOTE: FAIL [0.616s]: test_df (df.DfTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py",
line 32, in wrapped_f
return func(*args, **kwargs)
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py",
line 32, in wrapped_f
return func(*args, **kwargs)
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/cases/df.py",
line 13, in test_df
self.assertTrue(int(output)>5120, msg=msg)
AssertionError: False is not true : Not enough space on image. Current size
is 0
Ross
On 16 November 2017 at 15:56, Maxin B. John <maxin.john@intel.com> wrote:
>
> Improve reproducibility of builds by adding --apparent-size to du -ks in
> get_rootfs_size
>
> [YOCTO #12235]
>
> Signed-off-by: Maxin B. John <maxin.john@intel.com>
> ---
> meta/classes/image.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 0d14250..a24a561 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -524,7 +524,7 @@ def get_rootfs_size(d):
> initramfs_fstypes = d.getVar('INITRAMFS_FSTYPES') or ''
> initramfs_maxsize = d.getVar('INITRAMFS_MAXSIZE')
>
> - output = subprocess.check_output(['du', '-ks',
> + output = subprocess.check_output(['du', '--apparent-size', '-ks',
> d.getVar('IMAGE_ROOTFS')])
> size_kb = int(output.split()[0])
> base_size = size_kb * overhead_factor
> --
> 2.4.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
[-- Attachment #2: Type: text/html, Size: 2940 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] image.bbclass: improve reproducibility
2017-11-21 10:59 ` Burton, Ross
@ 2017-11-21 11:15 ` Maxin B. John
0 siblings, 0 replies; 4+ messages in thread
From: Maxin B. John @ 2017-11-21 11:15 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
Hi Ross,
On Tue, Nov 21, 2017 at 10:59:49AM +0000, Burton, Ross wrote:
>I think this is to blame for a slew of failures on the autobuilder:
Sorry for that. Please revert it.
>http://errors.yoctoproject.org/Errors/Latest/?filter=57ddf212e64207edfbd813d32ca3a15f6c1c8211&type=commit
>
>Such as:
>
>NOTE: FAIL [0.616s]: test_df (df.DfTest)
>NOTE: ----------------------------------------------------------------------
>NOTE: Traceback (most recent call last):
>File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
> return func(*args, **kwargs)
> File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
> return func(*args, **kwargs)
> File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/cases/df.py", line 13, in test_df
> self.assertTrue(int(output)>5120, msg=msg)
> AssertionError: False is not true : Not enough space on image. Current size is 0
>
>Ross
I will check what went wrong there.
>On 16 November 2017 at 15:56, Maxin B. John <maxin.john@intel.com> wrote:
>>
>> Improve reproducibility of builds by adding --apparent-size to du -ks in
>> get_rootfs_size
>>
>> [YOCTO #12235]
Best Regards,
Maxin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-21 11:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-16 15:56 [PATCH 1/2] libogg: upgrade to 1.3.3 Maxin B. John
2017-11-16 15:56 ` [PATCH 2/2] image.bbclass: improve reproducibility Maxin B. John
2017-11-21 10:59 ` Burton, Ross
2017-11-21 11:15 ` Maxin B. John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox