Hi,
Factory reset is a mechanism that is target to do a restore of rootfs
image, the target is to provide
reference software that helps embedded system vendors to do it easily
and to be file system independent.
Here is a design proposal to implement Factory reset, next describe the
component
Hi Armin,
I tested the ppc64 with poky master and looks great only a couple of issues,
When is compiling the kernel show this warning related to the config,
WARNING: [kernel config]: specified values did not make it into the
kernel's final
Value requested for CONFIG_FB_DDC not in fin
Hi Raghavendra,
On 20/05/15 04:01, Raghavendra Kakarla wrote:
Hi,
I have some requirement with apt-get in yocto genearted rootfs.
I built the yocto source code with enabling the apt package.
But after booting the image on my machine and run the "apt-get" command for
installing some packa
. Finally the field was also added
to Toaster templates, along with style changes proposed in attachment.
[YOCTO #7575]
Signed-off-by: Alex Franco
Signed-off-by: Aníbal Limón
---
layerindex/models.py | 1 +
layerindex/static/css/additional.css | 11 ++-
layerindex
Hi Trevor,
You can review the machine models at [1], the db schema is generated by
Django.
Regards,
alimon
[1]
http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/tree/layerindex/models.py#n331
On 04/06/15 09:44, Trevor Woerner wrote:
Thanks Nathan and Paul!
Any chance the datab
Hi,
I pushed and signed the changes to [1].
Cheers,
alimon
[1]
http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/log/?h=franco/recipe_inherits
On 08/06/15 17:00, Alex Franco wrote:
These patches add support for the inherits field in recipes. The first
one adds the inherits field
When is called pkg_upgrade_handler for generate email and save
build history at end sometimes status_msg is undefined.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index
Use build machines in email to maintainers instead of put that the build
succeed in major arch's, this give to the maintainer non ambiguos info.
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 266435d..19753a6 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -126,10 +126,14 @@ def parse_config_file
When license change it need to be specified into email to maintainers
for review it.
Add get_license_diff_file_name method to recipe class for get it
into email handler and write information about it.
[YOCTO 7186]
Signed-off-by: Aníbal Limón
---
recipe.py| 7 +++
upgradehelper.py
When try to upgrade only one recipe is needed to specify the version
also when enable send emails it need to have a maintainer to avoid
exception.
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 6af79a0..4a07d7b 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -148,10 +148,8 @@ class Updater(object
The changes can be found at,
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=alimon/devel
Aníbal Limón (11):
upgradehelper.py: Fix status_msg in pkg_upgrade_handler
upgradehelper.py: Make usage of new upstream detection mechanism
upgradehelper.py: Use settings.from as
Signed-off-by: Aníbal Limón
---
README | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README b/README
index ec3f955..dbcc755 100644
--- a/README
+++ b/README
@@ -112,7 +112,8 @@ The latest version of the code can always be found here:
http://git.yoctoproject.org/cgit
Now send emails almost in all cases this give the maintainer
patches and diff to continue work also if the build isn't
succesful.
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --
The validation for dropping changes needs to be defined only when
interactive mode is true if not this causes to drop the changes
for every failure.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/upgradehelper.py b
Print sentences need to be displayed as information in the logger
this unifies logger facilities.
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
recipe.py| 9 -
upgradehelper.py | 8
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/recipe.py b/recipe.py
Change logic to use new values in checkpkg file generated with new
oe.recipeutils.get_recipe_upstream_version and distrodata class.
Remove CSV parsing by hand use csv module and also add debugging when
discard recipes.
[YOCTO #7488]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 96
Hi Luke,
Comments below,
Best regards,
alimon
[1] https://autobuilder.yoctoproject.org/
[2] http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/
On 10/06/15 14:25, Luke (Lucas) Starrett wrote:
Hi,
I'm trying to understand the feasibility of shared-state across multiple users
in
Hi Paul,
Comments below,
Kind regards,
alimon
On 11/06/15 15:51, Paul Eggleton wrote:
On Wednesday 10 June 2015 16:28:50 Aníbal Limón wrote:
Now send emails almost in all cases this give the maintainer
patches and diff to continue work also if the build isn't
succesful.
[YOCTO
On 11/06/15 16:05, Paul Eggleton wrote:
On Thursday 11 June 2015 15:56:57 Aníbal Limón wrote:
Hi Paul,
Comments below,
Kind regards,
alimon
On 11/06/15 15:51, Paul Eggleton wrote:
On Wednesday 10 June 2015 16:28:50 Aníbal Limón wrote:
Now send emails almost in all cases this give
Now send emails almost in all cases this give the maintainer
patches and diff to continue work also if the build isn't
succesful.
[YOCTO #7489]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --
Hi Paul,
On 16/06/15 08:01, Paul Eggleton wrote:
Hi Aníbal,
On Friday 12 June 2015 20:10:45 Aníbal Limón wrote:
Now send emails almost in all cases this give the maintainer
patches and diff to continue work also if the build isn't
succesful.
[YOCTO #7489]
Signed-off-by: Aníbal
-off-by: Aníbal Limón
---
errors.py| 16
upgradehelper.py | 16 +++-
2 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/errors.py b/errors.py
index c650165..7194944 100644
--- a/errors.py
+++ b/errors.py
@@ -31,6 +31,11 @@ class Error(Exception
Hi all,
I'm glad to announce the enabling of Automatic Upgrade Helper (a.k.a.
AUH), the AUH is a service
that provides recipe upgrades and will be run on weekly basis.
If you are a maintainer (listed in [1]) you will receive AUH emails with
Recipe upgrades when AUH
detects that upgrade is ne
Hi Gary,
What version of python do you use?.
Since 2.7.9 cert checking is enabled by default causing this kind of
errors. [1]
[1] https://www.python.org/dev/peps/pep-0476/
Kind regards,
alimon
On 24/07/15 13:02, Gary Thomas wrote:
I was trying to run a simple fetch from python using
On 24/07/15 14:49, Gary Thomas wrote:
On 2015-07-24 13:30, Aníbal Limón wrote:
Hi Gary,
What version of python do you use?.
Since 2.7.9 cert checking is enabled by default causing this kind of
errors. [1]
[1] https://www.python.org/dev/peps/pep-0476/
Kind regards,
alimon
I'm
When run upgradehelper only with one recipe upgrade needed
validation isn't did.
[YOCTO #7947]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 63
Remove ability to run with several recipes because isn't make sense.
Supported modes are,
$ ./upgradehelper.py all
$ ./upgradehelper.py recipe --to_version VERSION
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 34 ++
1 file change
This changes can be found at,
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=alimon/devel
Aníbal Limón (10):
upgradehelper.py: Only run with one recipe or all.
upgradehelper.py: Validate if upgrade is needed
upgradehelper.py: Only send emails when patch file exist
Remove old decision of send email based on error because only
makes sense to send email when patch file was created.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index f10d974
Instead of load environment in detecting git repository use own
function making easy to debug.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 13fc7dd..9119cb0 100755
--- a
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 9119cb0..7bc8eed 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -285,10 +285,7 @@ class Updater(object
When AUH load recipe enviroment use bitbake -e call and parses the
output using regex VAR=VALUE.
For improve performance discard all the comments on cmd output adding
a output_filter using grep.
Signed-off-by: Aníbal Limón
---
bitbake.py | 7 +--
1 file changed, 5 insertions(+), 2
Buildhistory class isn't implemented so removed related code.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 7bc8eed..a31d041 100755
--- a/upgradehelper.py
Bitbake log only is written when error appears, rename it to be
consistent with information into the log.
Signed-off-by: Aníbal Limón
---
bitbake.py | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bitbake.py b/bitbake.py
index 54389fb..e23dc28 100644
--- a/bitbake.py
Reorder code related to upstream versioning detection no makes sense
to have in Updater because only in UniverseUpdater is used.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 161 ++-
1 file changed, 77 insertions(+), 84 deletions
eps for upgrade, add
support for detect when buildhistory is enabled loading the
environment without recipe.
[YOCTO #7175]
Signed-off-by: Aníbal Limón
---
bitbake.py | 41 ++--
buildhistory.py | 75
errors.py| 6 +++
up
Hi Paul,
On 31/07/15 10:29, Paul Eggleton wrote:
Hi Aníbal,
On Wednesday 29 July 2015 15:50:53 Aníbal Limón wrote:
Now AUH generates buildhistory diff when recipe was upgraded
successfully.
For enable this feature set into local.conf.
INHERIT += "buildhi
On 31/07/15 11:10, Paul Eggleton wrote:
On Friday 31 July 2015 10:39:37 Aníbal Limón wrote:
Hi Paul,
On 31/07/15 10:29, Paul Eggleton wrote:
Hi Aníbal,
On Wednesday 29 July 2015 15:50:53 Aníbal Limón wrote:
Now AUH generates buildhistory diff when recipe was upgraded
successfully.
For
Interactive mode for upgrade one recipe to user provided version,
$ ./upgradehelper.py recipe --to_version VERSION
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 34 ++
1 file changed, 10 insertions(+), 24 deletions(-)
diff --git a/upgradehelper.py b
This v2 fixes comments by Paul Eggleton in patch 01 and patch 05 of this
patchset.
This changes can be found at,
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=alimon/devel
Aníbal Limón (11):
upgradehelper.py: Only run with one recipe or all.
upgradehelper.py: Validate
When AUH load recipe enviroment use bitbake -e call and parses the
output using regex VAR=VALUE.
For improve performance discard all the comments on cmd output adding
a output_filter using grep.
Signed-off-by: Aníbal Limón
---
bitbake.py | 7 +--
1 file changed, 5 insertions(+), 2
When run upgradehelper only with one recipe upgrade needed
validation isn't did.
[YOCTO #7947]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 63
Instead of load environment in detecting git repository use own
function making easy to debug.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 13fc7dd..a3813c3 100755
--- a
Add comment to clarify why don't load git when is already instanced
the reason is the UniverseUpdater use poky git repository root instead
of per recipe directory.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --
Remove old decision of send email based on error because only
makes sense to send email when patch file was created.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index f10d974
When try to detect upstream version of recipes if one fails don't abort
all the execution.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 8d6c6f6..d4a5360 100755
Bitbake log only is written when error appears, rename it to be
consistent with information into the log.
Signed-off-by: Aníbal Limón
---
bitbake.py | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bitbake.py b/bitbake.py
index 54389fb..e23dc28 100644
--- a/bitbake.py
Buildhistory class isn't implemented so removed related code.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index d4a5360..8cca23e 100755
--- a/upgradehelper.py
Reorder code related to upstream versioning detection no makes sense
to have in Updater because only in UniverseUpdater is used.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 161 ++-
1 file changed, 77 insertions(+), 84 deletions
eps for upgrade, add
support for detect when buildhistory is enabled loading the
environment without recipe.
[YOCTO #7175]
Signed-off-by: Aníbal Limón
---
bitbake.py | 41 ++--
buildhistory.py | 75
errors.py| 6 +++
up
When SPECIAL_PKGSUFFIX packages don't have regexes use it from package
without SPECIAL_PKGSUFFIX.
[YOCTO #8102]
For example: python-native use regex from python if don't have one.
Signed-off-by: Aníbal Limón
---
rrs/tools/rrs_upstream_history.py | 40
is
fixes issues with suffixes containing archs at end.
[YOCTO #8102]
Signed-off-by: Aníbal Limón
---
rrs/tools/rrs_upstream_history.py | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/rrs/tools/rrs_upstream_history.py
b/rrs/tools/rrs_upstream_history.py
index aea
Don't hide error if git commit fails this helps to debug git
problems.
Git commit fail if isn't configured with user name and email.
[YOCTO #8390]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/upgradehelper.py b/upgradehelpe
#7439]
Signed-off-by: Aníbal Limón
---
README | 33 -
1 file changed, 20 insertions(+), 13 deletions(-)
diff --git a/README b/README
index dbcc755..44c3bf1 100644
--- a/README
+++ b/README
@@ -10,13 +10,20 @@ published upstream.
Setup
-
+0. AUH needs all
Aníbal Limón (10):
upgradehelper.py: Add step for build gcc-runtime at init.
upgradehelper.py: Fix bug when buildhistory isn't enabled
recipe.py: Improvements and refactor of fetch method.
buildhistory.py: Don't modify BB_ENV_EXTRAWHITE before init.
upgradehelper.py: Add sanit
When try to upgrade a recipe the first recipe in the list
takes too much time because gcc-runtime build is needed.
So add previous step to build gcc-runtime for every machine.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 5 +
1 file changed, 5 insertions(+)
diff --git a
Move code for add BUILDHISTORY_DIR to __init__ method because
it fails when import in early step.
Signed-off-by: Aníbal Limón
---
buildhistory.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/buildhistory.py b/buildhistory.py
index 1732f23..6eca6e1 100644
--- a
[YOCTO #8390]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 9b321f6..ae40fb1 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -28,6 +28,7 @@
import
Don't use buildhistory object if buildhistory_enabled is False
because cause undefined variable error.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index bb19b65..9b321f6 100755
Signed-off-by: Aníbal Limón
---
buildhistory.py | 3 ++-
git.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildhistory.py b/buildhistory.py
index 6eca6e1..2e442d2 100644
--- a/buildhistory.py
+++ b/buildhistory.py
@@ -20,8 +20,9 @@
import os
import
Make more clear fetch method changing recursive manner to
loop and split logic into try fetch and suffix change.
Now when fails only retry changing recipe suffix when recipe
isn't git based because does not make sense suffixes in SCM's.
Signed-off-by: Aníbal Limón
---
reci
the recipes that fail
upgrade
This helps to navigate over patches that have a successful upgrade.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
Signed-off-by: Aníbal Limón
---
requirements.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 requirements.txt
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 000..64b1ada
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+GitPython
--
2.1.4
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 114 +--
1 file changed, 86 insertions(+), 28 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index aeb9cf1..a08833e 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -91,7
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index a08833e..4f33d2f 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -591,7 +591,16 @@ class Updater(object
Hi Paul,
On 11/10/2015 02:46 AM, Paul Eggleton wrote:
> Hi Aníbal,
>
> On Monday 09 November 2015 16:01:34 Aníbal Limón wrote:
>> Make more clear fetch method changing recursive manner to
>> loop and split logic into try fetch and suffix change.
>>
>> Now when
On 11/10/2015 02:54 AM, Paul Eggleton wrote:
> On Monday 09 November 2015 16:01:35 Aníbal Limón wrote:
>> Move code for add BUILDHISTORY_DIR to __init__ method because
>> it fails when import in early step.
>>
>> Signed-off-by: Aníbal Limón
>> ---
>>
On 11/10/2015 02:59 AM, Paul Eggleton wrote:
> On Monday 09 November 2015 16:01:36 Aníbal Limón wrote:
>> [YOCTO #8390]
>>
>> Signed-off-by: Aníbal Limón ---
>> upgradehelper.py | 16 +++- 1 file changed, 11
>> insertions(+), 5 deletions(-)
>&
Sure. I forget it :).
On 11/10/2015 03:09 AM, Paul Eggleton wrote:
> On Monday 09 November 2015 16:01:39 Aníbal Limón wrote:
>> Signed-off-by: Aníbal Limón
>> ---
>
> Please provide a proper commit message for this one
When try to upgrade a recipe the first recipe in the list
takes too much time because gcc-runtime build is needed.
So add previous step to build gcc-runtime for every machine.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 5 +
1 file changed, 5 insertions(+)
diff --git a
This changeset fixes comments made by Paul Eggleton and adds 3 new commits
the last ones related to send email improvements.
The changes can be found at,
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=devel
Aníbal Limón (13):
upgradehelper.py: Add step for build gcc
Don't use buildhistory object if buildhistory_enabled is False
because cause undefined variable error.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index bb19b65..9b321f6 100755
[YOCTO #8390]
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 9b321f6..195d8c9 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -28,6 +28,7 @@
import
Signed-off-by: Aníbal Limón
---
buildhistory.py | 3 ++-
git.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildhistory.py b/buildhistory.py
index 59566c8..842efc3 100644
--- a/buildhistory.py
+++ b/buildhistory.py
@@ -20,8 +20,9 @@
import os
import
Make more clear fetch method changing recursive manner to
loop and split logic into try fetch and suffix change.
Now when fails only retry changing recipe suffix when recipe
isn't git based because does not make sense suffixes in SCM's.
Signed-off-by: Aníbal Limón
---
reci
Move code for add BUILDHISTORY_DIR to __init__ method because
it fails when import in early step.
Signed-off-by: Aníbal Limón
---
buildhistory.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/buildhistory.py b/buildhistory.py
index 1732f23..59566c8 100644
--- a
the recipes that fail
upgrade
This helps to navigate over patches that have a successful upgrade.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
Now upgradehelper runs recipe upgrades based on build dependencies, the
dependency information is taken of bitbake dependency graph.
So if recipe a depends in build time on recipe b and c these recipes
b and c are first tried to upgrade then a.
Signed-off-by: Aníbal Limón
---
upgradehelper.py
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index 5bb066a..a3ca373 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -591,7 +591,16 @@ class Updater(object
Signed-off-by: Aníbal Limón
---
requirements.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 requirements.txt
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 000..64b1ada
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+GitPython
--
2.1.4
This support is useful for review purposes after upgrade process
and these emails are saved into recipe work directory.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 14 ++
1 file changed, 14 insertions(+)
diff --git a/upgradehelper.py b/upgradehelper.py
index f7ce425..5eb9f5a
Change the policy for send emails to only send when upgrade succeed
to avoid waste time of the Maintainers when upgrade process fails
because the failure patch generated isn't useful.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 4 ++--
1 file changed, 2 insertions(+), 2 dele
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 109 +++
1 file changed, 53 insertions(+), 56 deletions(-)
diff --git a/upgradehelper.py b/upgradehelper.py
index c2bf506..f7ce425 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
Since 2.0 release KVM mode don't require VHOST enablement [1]
and a new option was added to support the old mode.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eebcbe19b7
Signed-off-by: Aníbal Limón
---
documentation/dev-manual/dev-manual-qemu.xml | 7 +++
1 file chang
wrote:
> Hi,
>
> Applied this patch with some modifications. Please see
> http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#qemu-using-the-runqemu-command
> for the changes.
>
> Thanks,
> Scott
>
> On Tue, Nov 17, 2015 at 9:18 AM, Aníbal Limón
> w
Also /dev/vhost isn't a require condition in kvm only in
kvm-vhost.
Signed-off-by: Aníbal Limón
---
documentation/dev-manual/dev-manual-qemu.xml | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/documentation/dev-manual/dev-manual-qemu.xml
b/documentation/dev-m
Use one dictionary to keep together the options this enables
possibility to define an interface for steps, see next commit.
Signed-off-by: Aníbal Limón
---
upgradehelper.py | 83
1 file changed, 42 insertions(+), 41 deletions(-)
diff
changes can also be found at,
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=boot_images_v2
Aníbal Limón (17):
{upgradehelper, bitbake}.py: Move _get_env function to bitbake
upgradehelper.py: Merge options into a dictionary
upgradehelper.py: Adds own module for steps
Remove unnecesary access function (_get_env) to environment move
logic to build dictionary to bitbake env method.
Signed-off-by: Aníbal Limón
---
bitbake.py | 19 ++-
upgradehelper.py | 26 --
2 files changed, 22 insertions(+), 23 deletions(-)
diff
Make consistent the enablement for this feature it need to be
explicit enable into upgrade-helper.conf and also needs configuration
in local.conf.
Signed-off-by: Aníbal Limón
---
README | 9 +++--
modules/steps.py | 6 +++---
upgradehelper.py | 40
.
- pkg_ctx: Package context per upgrade, it stores
all information related to one upgrade.
Signed-off-by: Aníbal Limón
---
steps.py | 142 ++
upgradehelper.py | 259 +--
2 files changed, 221 insertions(+), 180
Instead of have duplicate code add this new function
for make code easy to read.
Signed-off-by: Aníbal Limón
---
modules/recipe/base.py | 35 +--
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/modules/recipe/base.py b/modules/recipe/base.py
index
Remove duplicate code adding modify_recipe_files decorator,
this function interate over recipe_dir and found bb and
includes files to make modifications.
Modifications to recipe bb and include files are made by
function passed to modify_recipe_files.
Signed-off-by: Aníbal Limón
---
modules
Signed-off-by: Aníbal Limón
---
modules/steps.py | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/modules/steps.py b/modules/steps.py
index 4a2eee3..19549cc 100644
--- a/modules/steps.py
+++ b/modules/steps.py
@@ -50,15 +50,13 @@ def load_env(bb, git, opts, pkg_ctx
In order to avoid random errors of uncleaned repository.
Signed-off-by: Aníbal Limón
---
modules/steps.py | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/modules/steps.py b/modules/steps.py
index 19549cc..2685b80 100644
--- a/modules/steps.py
Recipe inherits are needed to detect what recipes support
certain feature.
For example: For detect ptest enable recipes and then do
ptest runtime test after succesful upgrade.
Signed-off-by: Aníbal Limón
---
modules/recipe/base.py | 25 +
1 file changed, 25 insertions
Signed-off-by: Aníbal Limón
---
modules/utils/git.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/utils/git.py b/modules/utils/git.py
index 48ed46d..d7f5713 100644
--- a/modules/utils/git.py
+++ b/modules/utils/git.py
@@ -61,6 +61,9 @@ class Git(object):
def create_patch
Testimage feature will provide the ability to run testimage
class over a set of succesful upgrades.
Also it will run ptest on recipes that support ptest and retrive
the result for store/send to maintainer.
Signed-off-by: Aníbal Limón
---
README | 25
1 - 100 of 315 matches
Mail list logo