[yocto] buildhistory revert

Mauro Ziliani mauro at faresoftware.it
Thu Oct 10 08:32:50 PDT 2019


I find the solution.

I know that I have not modified the packages rebuilded (i.e the kernel)

So I see in prserv.sqlite3.

The table PRMAIN_nohist contains the history of buildhistory for each 
pkg/recipe.

I deleted the  line which the field value i bigger or equal the value I need

The package kernel-4.1.15-2.0.1_4.1.15-r0.17_armhf.deb is built from 
recipe linux-imx

Inside PRMAIN_nohist table there a record with the field "value=18".

I make this from sqlite3 tool

DELETE FROM PRMAIN_nohist WHERE version LIKE 'linux-imx-%' AND value>=13

I rebuild the linux-imx with bitbake linux-imx and magically the package 
kernel-4.1.15-2.0.1_4.1.15-r0.13_armhf.deb is build.


MZ


Il 10/10/19 14:40, Yann Dirson ha scritto:
> The PR server takes care not to reuse those versions.
> Apart from making sure your recipe's signature matches the one for
> 0.13, you probably can't (assuming you don't want to mess with your
> PR's database).
>
>
> 2019-10-10 10:27 UTC+02:00, Mauro Ziliani <mauro at faresoftware.it>:
>> Hi all
>>
>> I need to change the build number of a package.
>>
>> That is: i have the package
>> kernel-4.1.15-2.0.1_4.1.15-r0.*17*_armhf.deb, but in need to turn back
>> to kernel-4.1.15-2.0.1_4.1.15-r0.*13*_armhf.deb
>>
>>
>> Can I setup manually the 17 value to 13?
>>
>>
>> Mauro
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191010/689a442d/attachment.html>


More information about the yocto mailing list