[yocto] [psplash][PATCH 1/3] Cleanup poky logo
From: Yann Dirson Make the shipped logo used as source for psplash-poky-img.h to have the name expected by make-image-header.sh, and remove unused logo. Signed-off-by: Yann Dirson --- base-images/poky-logo.png| Bin 7006 -> 0 bytes base-images/{poky-logo2.png => psplash-poky.png} | Bin psplash-poky-img.h | 1 + 3 files changed, 1 insertion(+) delete mode 100644 base-images/poky-logo.png rename base-images/{poky-logo2.png => psplash-poky.png} (100%) diff --git a/base-images/poky-logo.png b/base-images/poky-logo.png deleted file mode 100644 index 64520782bb301feb340924c2e911b570b824a89e.. GIT binary patch literal 0 HcmV?d1 literal 7006 zcmX9@c|26#8>WazWtSzDq-IEIrBDe`l4Wi)V_(L;B>TQZLKGT1N!ey8GmNdsSi;zs zvG3XU!B}R-`04xm+pP_HC-i&-n|X|` zx{|71wN!8CXLyk6JzL7%T7RP(HGE0cs3u)pqvjs!GqD1n*KF03{~6$$F*2Qc9a*kxxDFU*(>@Q+|^LhW>nDb71I5u zu^Aw=8`JRUsIEV6dx`-VH2>jy!trMmfY92{}W%+>-MWRXtx@lHqg=A?OfCEw^viy-s`zbGD#om z+96pt_W6GvYT0Ws%^2?9Z9)9$533st$QFu_( zc9)U95Yq5ldWUPlSRbwFH>2|vz0;dC8i$$~-0$|??e&@JZfhO?NN;WK9{b2_t?L>~ z-X({$PNvZMLQAHGyC+h2J6q`eVcnD2^sYa_VEEmPy66h4r3^WHWc4G z{gpnPP%$^LPww0wNgSF+6KAJZCh{1gX{7mqkvS}VsHbjWdVl=u@O(+b(kyd?%$)o- zHDB7cG|&8tVUCYYEmhNIu>;Hfd$T2-D~q(L@q?L?nH6I9+6r^-SKr#)^lB4rv5GnS zcX)kmX^k|!xn~b;W@3x4-I{W zRz`!J1YQQQtdCmnOPPk=UaIe%eb!U{MXT@Q^W_rE2(53}IXy9r%X=wW-@#I#qzY>g z<)wVAt0@UAwj3kB04r;eFd?`|@Mhl}2-)>y=ezvp%12Y8z~ZHlc6NTcli9L5=A*`_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M#1$>@NWJzq!EP?s#*8yA2%%t3u+!w!3&?nO`ZIxiqkha z)(UZ;BQYS1(1XL*4pPJCLa2|Fu0%}Wkr9;Qkuts=_J=0KPlCGkh{pM2HkHCG=vu3U z)Kq?7SjQGVnAHUdI?hv^uuPH+HL{4q)p7w8?>Zl8SMCtN(R$
[yocto] [psplash][PATCH 3/3] Generate image headers from their PNG source, while still including them in dist tarball
From: Yann Dirson Signed-off-by: Yann Dirson --- Makefile.am|5 + psplash-bar-img.h | 47 -- psplash-hand-img.h | 320 -- psplash-poky-img.h | 1022 4 files changed, 5 insertions(+), 1389 deletions(-) delete mode 100644 psplash-bar-img.h delete mode 100644 psplash-hand-img.h delete mode 100644 psplash-poky-img.h diff --git a/Makefile.am b/Makefile.am index a14152a..0e751b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,7 @@ psplash_SOURCES = psplash.c psplash.h psplash-fb.c psplash-fb.h \ psplash-console.c psplash-console.h \ psplash-colors.h psplash-config.h \ psplash-poky-img.h psplash-bar-img.h radeon-font.h +BUILD_SOURCES = psplash-poky-img.h psplash-bar-img.h psplash_write_SOURCES = psplash-write.c psplash.h @@ -16,3 +17,7 @@ MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depc snapshot: $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` +psplash-bar-img.h: base-images/psplash-bar.png + ./make-image-header.sh $< BAR +psplash-poky-img.h: base-images/psplash-poky.png + ./make-image-header.sh $< POKY diff --git a/psplash-bar-img.h b/psplash-bar-img.h deleted file mode 100644 index c1c7626..000 --- a/psplash-bar-img.h +++ /dev/null @@ -1,47 +0,0 @@ -/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */ - -#define BAR_IMG_ROWSTRIDE (920) -#define BAR_IMG_WIDTH (230) -#define BAR_IMG_HEIGHT (28) -#define BAR_IMG_BYTES_PER_PIXEL (4) /* 3:RGB, 4:RGBA */ -#define BAR_IMG_RLE_PIXEL_DATA ((uint8*) \ - "\203\354\354\341\377\4\326\326\315\377\236\236\233\377\200\200\201\377" \ - "nnq\377\377mmp\377\331mmp\377\4nnq\377\200\200\201\377\236\236\233\377" \ - "\326\326\315\377\205\354\354\341\377\2\260\260\253\377oor\377\377mmp" \ - "\377\337mmp\377\2oor\377\260\260\253\377\203\354\354\341\377\1\262\262" \ - "\256\377\377mmp\377\343mmp\377\4\262\262\256\377\354\354\341\377\332" \ - "\332\321\377pps\377\377mmp\377\343mmp\377\3pps\377\332\332\321\377\244" \ - "\244\241\377\204mmp\377\1\205\205\205\377\377\354\354\341\377\333\354" \ - "\354\341\377\1\205\205\205\377\204mmp\377\2\244\244\241\377\210\210\210" \ - "\377\203mmp\377\2\203\203\203\377\351\351\336\377\377\354\354\341\377" \ - "\333\354\354\341\377\2\351\351\336\377\203\203\203\377\203mmp\377\2\210" \ - "\210\210\377qqs\377\203mmp\377\1\255\255\251\377\377\354\354\341\377" \ - "\335\354\354\341\377\1\255\255\251\377\203mmp\377\1qqs\377\204mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \ - "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\204mmp\377" \ - "\1qqs\377\203mmp\377\1\255\255\251\377\377\354\354\341\377\335\354\354" \ - "\341\377\1\255\255\251\377\203mmp\377\2qqs\377\210\210\210\377\203mm" \ - "p\377\2\203\203\203\377\351\351\336\377\377\354\354\341\377\333\354\354" \ - "\341\377\2\351\351\336\377\203\203\203\377\203mmp\377\2\210\210\210\377" \ - "\244\244\241\377\204mmp\377\1\205\205\205\377\377\354\354\341\377\333" \ - "\354\354\341\377\1\205\205\205\377\204mmp\377\3\244\244\241\377\332\332" \ - "\321\377pps\377\377mmp\377\343mmp\377\4pps\377\332\332\321\377\354\354" \ - "\341\377\262\262\256\377\377mmp\377\343mmp\377\1\262\262\256\377\203" \ - "\354\354\341\377\2\260\260\253\377oor\377\377mmp\377\337mmp\377\2oor" \ - "\377\260\260\253\377\205\354\354\341\377\4\326\326\315\377\236\236\233" \ - "\377\200\200\201\377nnq\377\377mmp\377\331mmp\377\4nnq\377\200\200\201" \ - "\377\236\236\233\377\326\326\315\377\203\354\354\341\377"
[yocto] [psplash][PATCH 2/3] Import png source for images, extracted from headers
From: Yann Dirson The prefered form for manipulating an image is the PNG source from which the C code was generated. These PNG were extracted by feeding data from the C headers to libpng. Signed-off-by: Yann Dirson --- base-images/psplash-bar.png | Bin 0 -> 544 bytes base-images/psplash-hand.png | Bin 0 -> 3572 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 base-images/psplash-bar.png create mode 100644 base-images/psplash-hand.png diff --git a/base-images/psplash-bar.png b/base-images/psplash-bar.png new file mode 100644 index ..56e1d86c1778bea7ddc5da103c1fa2a6e9e1554d GIT binary patch literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^+z`*$2)5S5QV$R#U8?$Z)NF4o` z?CE_nX-bq|*U1?NlbMf}GAY(|JG@Ncc+$wk=)ZKr@(s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?Kk_r_p_eRoRYGaab~;2;b65?2tPJ9 z8UXC(H5yQ0p>$;m`zWf>7$b93{o7v1CoKuCxPa=GhiN}J7w;o%oV zoCXI6;lmHlp|Fr#;vE2-IPo7`y7Vpt0@wFMs`T}#h}faS_GoWbmix=rg9jb7SMGG` zn9s-Q)5mf7awX)cE)~eDcX9l$I6|i4E9%_UP(jzsSJ$%#%WqhTng0aoKoj$$&?X zdT{8_L1F=9XJ4<2-~HlVnZZ9$@`}n z7Z-!LxR_Tyb2uEVzWdkM_>l4n*Q9x6#xN%*6N!oLM@GB4dRUz${YAy0Wl z5FU?5>BzU)Y`Ar+}?V!)tTu$;o>tjsHwe>QGzT=#`+jU^8pJme`uM zp0aC_LwR{ArOQNb?+}rMW?$g9-yZlxAT+6nhp%pJ)aFZrVipP)p(B0k3 zbr=9#qyZg2eu(nht<}|aZoA9A%GlVSsIR}zbr{dE_U!RQYsG z_1);{8N?4i)Oh^`B0BK}Gnwr|F8RPL#US3M{N!}Yc91b)zw4$Tq2{D^t zVPc#=@A?4d@py=eig1|)<5my=xOJ-z0|O(JgHtMVP+3_C(HLC&}$(Zf+hw{#Z-og-}u)JopyM z%S#a)yqR4|Nf2Oj^z*B)exQ{S6A-XjqP3)?fYVx3CesR+F3Nk3;pBCe21H)}u& z1On=U0Dw+6gX`CSq&*5M5(!aST8M)=SCesleI0FWkI~Wbgp-k5IvhS+h_bR0 zdV(qTIZB$D`!2@Nfx^9Xo`aoJ`^cV|HRTThP}xjOOM}RudGMz~k|7?b=oPf zfU2syn4HvkR3XO(bL9u@_LSZnz z{PGj;39`kD7cbG=+(~QL<=@DK3#YMvf0p+J*}`BjVq|3Ojebt>7D{C{}xB zNh}r%Uc4BGN;Qhn(Q#NT?7VX9YY2tGICJI%_V3Ty{)`hrc4D*HFgrWH{h;^v|4pV9 u=EaBr-A_2?https://lists.yoctoproject.org/listinfo/yocto
[yocto] gitlab-ci helper scripts for OpenEmbedded builds
Hi all, We released our scripts to help in setting up continuous integration of a yocto-based project using Gitlab-CI. You'll find the repository at https://github.com/BladeGroup/gitlab-oe Although we're using this in production, it still has a couple of rough edges and may need tuning for different usages. We'd love to hear how well it fits (or doesn't fit ;) with other use cases, and will gladly consider evolutions to make it more generally usable. Best regards, -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Reducing the size of the image by optimizing python
You can also look at the package dependency graph (see the file generated by bitbake -g) to get a better idea of what pulls what. 2019-10-19 17:10 UTC+02:00, richard.pur...@linuxfoundation.org : > On Sat, 2019-10-19 at 14:55 +, Abhi Arora wrote: >> Thanks your for the suggestion. >> >> From where I can find out what modules and packages python3-misc >> downloads and installs? I am new to yocto and Don't know where to >> look for. I tried grep but didn't help me. > > python3-misc is a package. You can look at its dependencies to see what > it adds to the image. > >> And how about optimization using pyc file? Is it doable? > > Start simple. If you have python3-misc installed its using a lot of > space and is the sensible place to start with trimming things down. > > Optimising to just pyc files is an optimisation further than most > people find they need and will be much harder to do. > > Cheers, > > Richard > > > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] gitlab-runner
Ok, I'll find time to publish that some time before monday 2019-09-20 8:05 UTC+02:00, Robert ber...@yocto.user : > Hi Yann, > > Please se my comments in-line > > On 19/09/2019 16:35, Yann Dirson wrote: >> Do you want a recipe for gitlab-runner, or something for getting >> gitlab-runned to tun a bitbake build ? The latter I have, though >> imperfect and not readily packaged, but I can possibly try to publish >> something (planned for a long time, but hey...) > > Actually both. It's some setup of a customer who does not use Yocto yet > on their boards ad I would like to help them replace some Linux distro > with the yocto project and therefor need gitlab-runner on the boards as > well as kicking off a bitbake. > > In case you have something which already does something it's more than I > have and we can try to polish it ;) > > Regards, > > Robert > >> >> 2019-09-19 16:16 UTC+02:00, Adrian Bunk : >>> On Thu, Sep 19, 2019 at 09:39:55AM -0400, Randy MacLeod wrote: >>>> On 9/19/19 2:56 AM, Robert ber...@yocto.user wrote: >>>>> Hi, >>>>> >>>>> Does someone happen to have a BitBake recipe for gitlab-runner?[1] >>>>> >>>>> [1] https://gitlab.com/gitlab-org/gitlab-runner >>>>> >>>>> A quick search did not show up anything;) >>>> >>>> There's nothing in the layer index: >>>> >>>> https://layers.openembedded.org/layerindex/branch/master/recipes/?q=runner >>>> >>>> (It wasn't clear if you knew about the index.) >>>> >>>> I did find: >>>> https://gitlab.cern.ch/Caribou/meta-caribou/tree/master/misc/gitlab-ci >>>> that mentions gitlab-runner but it doesn't seem like that layer >>>> provides >>>> a recipe but you might want to check it out anyway and let us know if >>>> it works for you. >>>> ... >>> >>> It just downloads an ARM binary from the internet. >>> >>> Any layer actually building gitlab-runner would have to provide >>> 200 Go libraries. >>> >>>> ,./Randy >>> >>> cu >>> Adrian >>> >>> -- >>> >>> "Is there not promise of rain?" Ling Tan asked suddenly out >>> of the darkness. There had been need of rain for many days. >>> "Only a promise," Lao Er said. >>> Pearl S. Buck - Dragon Seed >>> >>> -- >>> ___ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >>> >> >> > > -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] gitlab-runner
Do you want a recipe for gitlab-runner, or something for getting gitlab-runned to tun a bitbake build ? The latter I have, though imperfect and not readily packaged, but I can possibly try to publish something (planned for a long time, but hey...) 2019-09-19 16:16 UTC+02:00, Adrian Bunk : > On Thu, Sep 19, 2019 at 09:39:55AM -0400, Randy MacLeod wrote: >> On 9/19/19 2:56 AM, Robert ber...@yocto.user wrote: >> > Hi, >> > >> > Does someone happen to have a BitBake recipe for gitlab-runner?[1] >> > >> > [1] https://gitlab.com/gitlab-org/gitlab-runner >> > >> > A quick search did not show up anything;) >> >> There's nothing in the layer index: >> >> https://layers.openembedded.org/layerindex/branch/master/recipes/?q=runner >> >> (It wasn't clear if you knew about the index.) >> >> I did find: >> https://gitlab.cern.ch/Caribou/meta-caribou/tree/master/misc/gitlab-ci >> that mentions gitlab-runner but it doesn't seem like that layer provides >> a recipe but you might want to check it out anyway and let us know if >> it works for you. >>... > > It just downloads an ARM binary from the internet. > > Any layer actually building gitlab-runner would have to provide > 200 Go libraries. > >> ,./Randy > > cu > Adrian > > -- > >"Is there not promise of rain?" Ling Tan asked suddenly out > of the darkness. There had been need of rain for many days. >"Only a promise," Lao Er said. > Pearl S. Buck - Dragon Seed > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] gitlab-ci helper scripts for OpenEmbedded builds
Hi Thomas, Le mar. 24 sept. 2019 à 14:36, Thomas Goodwin a écrit : > Hi Yann, > > Thanks for sharing! We're working through something similar using a tweak > to the CROPS docker containers and GitLab-CI (we started with autobuilder > 2, so we've actually merged quite a bit of that experience with our GitLab > setup). > Thanks for pointing me to CROPS, that will help bringing Docker support here :) > Using docker runners as our cluster, we setup volume mounts to the host > system for caching the shared state and downloads directories (as well as > other artifacts upon successful build). As part of the CI setup, we then > insert a build/conf/auto.conf file that enforces the usage of that volume > (DL_DIR and SSTATE_DIR). At the deploy stage (package feeds, etc. like > you're doing), we did the same thing -- copy out to that path so that it > ends up on the network share rather than the container. > > Also like you, we're using the "include" and "extends" instructions > throughout so that we have a top-level "common" set of CI YAML includes > alongside a growing set of repositories for each machine-specific build. > Each of those repositories follows the Yocto release branching style so > that we can trace build success to newer releases by simply creating a > branch and using the branch name for the initial clone of the layers. > > One thing that came directly from our autobuilder 2 experience is a way to > inject extra variables into the autoconf. AB2 called this *EXTRAARGS*, > which was simply a list of variables to add. For our common CI "setup" > stage, we check for a file of the same name (extraargs.conf) and append it > to the auto.conf if it exists. In this way our downstream projects can > simply include that file if necessary and version control it as new release > branches are added. > > One of the drawbacks we've seen in going this route is that every > repository has its own build timeout limit, which is always laughably > small. There's a backlog issue on GitLab for a global definition of this > value, but it's slated for 12.7 (I think). > > I'm hoping to put a write-up out soon with examples for how this all > worked together, but I want to hold off until we can get the CROPS changes > we needed upstreamed in a way that doesn't break those containers for > everyone else (something about the entrypoint doesn't appreciate the > runner's bash/shell detection script). > Looking forward to this! > Cheers, > > Thomas > > Geon Technologies, LLC > > > On Mon, Sep 23, 2019 at 5:50 PM Yann Dirson > wrote: > >> Hi all, >> >> We released our scripts to help in setting up continuous integration >> of a yocto-based project >> using Gitlab-CI. You'll find the repository at >> https://github.com/BladeGroup/gitlab-oe >> >> Although we're using this in production, it still has a couple of >> rough edges and may need >> tuning for different usages. We'd love to hear how well it fits (or >> doesn't fit ;) with other use >> cases, and will gladly consider evolutions to make it more generally >> usable. >> >> Best regards, >> -- >> Yann Dirson >> Blade / Shadow -- http://shadow.tech >> -- >> ___ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> > -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] buildhistory revert
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 : > 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 > > -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] buildhistory revert
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 : > 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 : >>> 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 >>> >>> >> > -- Yann Dirson Blade / Shadow -- http://shadow.tech -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto