[OE-core] [PATCH] grub2.inc: run autogen.sh before configure
Yu, Mingli
mingli.yu at windriver.com
Tue Aug 2 06:25:13 UTC 2016
On 2016年08月02日 03:22, Burton, Ross wrote:
>
> On 1 August 2016 at 02:54, <mingli.yu at windriver.com
> <mailto:mingli.yu at windriver.com>> wrote:
>
> When adding new source files from upstream the autogen.sh
> script needs to be run
>
>
> This results in this change:
>
> packages/corei7-64-poky-linux/grub-efi/grub-efi: PKGSIZE changed from
> 6787555 to 7524227 (+10%)
> * FILELIST: added "/usr/sbin/grub-sparc64-setup"
> packages/corei7-64-poky-linux/grub-efi/grub-efi: FILELIST: added
> "/usr/sbin/grub-sparc64-setup"
> packages/corei7-64-poky-linux/grub/grub-dbg: PKGSIZE changed from
> 26159624 to 28829025 (+10%)
> packages/corei7-64-poky-linux/grub/grub: PKGSIZE changed from 5942339 to
> 6679011 (+12%)
> * FILELIST: added "/usr/sbin/grub-sparc64-setup"
> packages/corei7-64-poky-linux/grub/grub: FILELIST: added
> "/usr/sbin/grub-sparc64-setup"
>
> Is this intentional?
Thanks Ross! This is unintentional, adding autogen.sh in
do_configure_prepend in grub2.inc results this issue, it is because:
* before add autogen.sh in grub2.inc, there is a patch
./meta/recipes-bsp/grub/files/grub2-remove-sparc64-setup-from-x86-builds.patch
used to remove grub-sparc64-setup in Makefile.util.am for x86 builds.
* After add autogen.sh in grub2.inc, the previous patch logic to remove
grub-sparc64-setup in Makefile.util.am for x86 builds is overwritten
by autogen.sh (Which will regenerate Makefile.util.am) in do_configure
phase.
Anyway, resend the V2 patch to remove the side effect.
Thanks,
Grace
> Ross
More information about the Openembedded-core
mailing list