buildhistory revert
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
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 <[email protected]>:
Quoted 15 lines
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
Signature · 2 lines
Yann Dirson <[email protected]> Blade / Shadow -- http://shadow.tech
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:
Quoted 23 lines
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 <[email protected]>:
Quoted 15 lines
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
If you see a spurious rebuild, you should investigate with bitbake-diffsigs, rather that trying to outsmart the build system, else you're likely to shoot yourself in the foot :)
2019-10-10 17:32 UTC+02:00, Mauro Ziliani <[email protected]>:
Quoted 53 lines
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_nohistcontains 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_nohisttable there a record with the field "value=18".I make this from sqlite3 tool
DELETE FROM
PRMAIN_nohistWHERE version LIKE 'linux-imx-%' AND value>=13I 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:
Quoted 23 lines
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 <[email protected]>:
Quoted 15 lines
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
Signature · 2 lines
Yann Dirson <[email protected]> Blade / Shadow -- http://shadow.tech