Age | Commit message (Collapse) | Author |
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
directories.
This should help e.g. with the following issue:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7174
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Particularly, musl is a notorious source of failures and so it's
very useful to do at least one build against it by default.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
It wasn't clear what the option does, and why it need to be on the command line,
so the replacement is a 'global_maintainer_override' config file setting which
does the same thing, in a cleaner fashion.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
No longer used since migration to devtool: all upgrades are automatic
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
|
|
It doesn't make any sense to build it when skip compile.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
This makes debug easier.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
For example, first run:
$ upgradehelper.py less -d 5
It did the upgrade
Second run:
$ upgradehelper.py less -d 5
DEBUG: Skipping upgrade of less: is in history and not 30 days passed
Let it always do the upgrade makes it easier to use when do upgrade locally.
It will still do the check when the recipe is all.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
Fixed:
$ upgradehelper.py less
ERROR: smtp host not set! Sending emails disabled!
ERROR: 'From' address not set! Sending emails disabled!
Only check email settings when "-e" is specified can fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
* Use UniverseUpdater() for the following 3 cases:
+ Upgrade all recipes
+ Upgrade 1 recipe
- '--maintainer' is not a must when any more when use --send-emails, the
maintainer be got from distrodata.
+ Upgrade multiple recipes
* Use "args" as the parameter of UniverseUpdater() and Updater(), this can make
the parameters simple, and easy for extending.
* Make upgrade "all" recipes respect the args, it didn't care --send-emails or
--maintainer which would suprise the user.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
Now we can use:
$ upgradehelper.py recipe1 recipe2
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
The error message in the log is:
Initialising tasks...ERROR: Task do_checkpkg does not exist for target strace [snip]
So line.find("ERROR: Task do_checkpkg does not exist") == 0 doesn't
work, use != -1 to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
This helps avoid 'cascading build failures' where one failed update
holds up everything else.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
entry that may not exist
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
errors
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
This helped with diagnozing issues described in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12396
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
This was using the removed recipe parsing code to determine if
a package supports ptest; it should be replaced with using bitbake API
but for now we can simply add all update packages to the list.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
It was broken and commented out, and not really necessary.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
The hand-crafted recipe updating/rewriting has been replaced by calling devtool.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
AUH simply creates a series of commits now, so we can create and
run testimage directly on the branch we're on.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
It should not be really necessary, and wastes time
as the upstream source needs to be re-fetched.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
devtool has a much better support for rebasing patches,
can be used interactively when things go wrong, and we
also need to avoid having two codebases for updating
recipes that broadly do the same thing.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
So that it can be later used in the commit message.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Devtool has support for this, and it's useful when the upstream
never issues new versions; in this situation we can simply
attempt to update to the latest revision.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Let's just write the commits into the current branch, and leave
branch management to some other tool.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
There was code to skip upstream version check if it was performed
recently, which was actually broken as it didn't verify that
checkpkg.csv already contains the package we want to update.
Let's just drop the whole logic and run checkpkg always.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
in bitbake conf, but not in AUH conf
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
When is executing in normal mode the poky respository may be
leaves on uncleaned state, so clean it.
Signed: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
When the layer mode is enabled and the upgradehelper is run
with all, there is a need to discover what recipes are provides
the layer to only try to upgrade those.
[YOCTO #8962]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
[YOCTO #8962]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
[YOCTO #8962]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
[YOCTO #8962]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
[YOCTO #8962]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
Those settings are to support layer recipe upgrades runs
into the AUH.
[YOCTO #8962]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
This handler looks for files not shipped but currently isn't
working causing a infinite recursion loop.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
Upgrade status email should indicate the URL of the log folder instead of the tar URL
[YOCTO #10670]
Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
|
|
If do_package fails and isn't files not shipped related don't try to
execute again the compile step because will cause infinite recursion.
Now raise a new exception for PackageError.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
In certain cases a patch could be fail to apply at level of integration
for do a testimage, so if a patch fails to apply add the ability to
abort git am session and mark the package as integration error.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
The _order_pkgs_to_upgrade function order a set of packages to
be upgraded based on bitbake dependency graph, currently _order_pkgs_to_upgrade
is broken so disable it while fix.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
If no packages are found to upgrade, it didn't make sense to build
gcc runtime before is only a waste of time.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
[YOCTO #9747]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
|
The original workdir directory is needed for make diff's for example
when license change [1], in order to avoid deletion of original workdir
when recipe is upgraded.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
[1] https://lists.yoctoproject.org/pipermail/yocto/2016-January/028025.html
|