Linux-images jenkins and time

Hello there,

I see some nice patches in linux-next https://source.puri.sm/Librem5/linux-next/commit/943e968dc344b7a5535f299b12b462aaecb60a75

And I see that on my phone just picked up the linux-image version 5.3.0+librem5.7.

I am now curious about the CI/CD jobs that test/build/push the packages. What is the normal flow of this source code to be built/tested/pushed on the repos?

Say if there is no bug found? Can I try out the 5.3.0+librem5.8 quicker?

I might just have found it in pipelines/artifacts hum hum

1 Like

Well wish me luck :wink:

root@pietro:/home/purism# apt install ./linux-image-5.3.0-librem5-h1_5.3.0+librem5.8+gitlabci1_arm64.deb ./linux-image-5.3.0-librem5-h1_5.3.0+librem5.8+gitlabci1_arm64.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'linux-image-5.3.0-librem5-h1' instead of './linux-image-5.3.0-librem5-h1_5.3.0+librem5.8+gitlabci1_arm64.deb'
Note, selecting 'linux-image-5.3.0-librem5-h1' instead of './linux-image-5.3.0-librem5-h1_5.3.0+librem5.8+gitlabci1_arm64.deb'
The following packages will be upgraded:
  linux-image-5.3.0-librem5-h1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/11.1 MB of archives.
After this operation, 2,048 B disk space will be freed.
Get:1 /home/purism/linux-image-5.3.0-librem5-h1_5.3.0+librem5.8+gitlabci1_arm64.deb linux-image-5.3.0-librem5-h1 arm64 5.3.0+librem5.8+gitlabci1 [11.1 MB]
(Reading database ... 73067 files and directories currently installed.)
Preparing to unpack .../linux-image-5.3.0-librem5-h1_5.3.0+librem5.8+gitlabci1_arm64.deb ...
Unpacking linux-image-5.3.0-librem5-h1 (5.3.0+librem5.8+gitlabci1) over (5.3.0+librem5.7) ...
Setting up linux-image-5.3.0-librem5-h1 (5.3.0+librem5.8+gitlabci1) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-librem5-h1
Using DTB: imx8mq-librem5.dtb
Installing /usr/lib/linux-image-5.3.0-librem5-h1/freescale/imx8mq-librem5.dtb into /boot/dtbs/5.3.0-librem5-h1/./imx8mq-librem5.dtb
Taking backup of imx8mq-librem5.dtb.
Installing new imx8mq-librem5.dtb.
Installing /usr/lib/linux-image-5.3.0-librem5-h1/freescale/imx8mq-librem5.dtb into /boot/dtbs/5.3.0-librem5-h1/./imx8mq-librem5.dtb
Taking backup of imx8mq-librem5.dtb.
Installing new imx8mq-librem5.dtb.
flash-kernel: deferring update (trigger activated)
Using DTB: imx8mq-librem5.dtb
Installing /usr/lib/linux-image-5.3.0-librem5-h1/freescale/imx8mq-librem5.dtb into /boot/dtbs/5.3.0-librem5-h1/./imx8mq-librem5.dtb
Taking backup of imx8mq-librem5.dtb.
Installing new imx8mq-librem5.dtb.
Installing /usr/lib/linux-image-5.3.0-librem5-h1/freescale/imx8mq-librem5.dtb into /boot/dtbs/5.3.0-librem5-h1/./imx8mq-librem5.dtb
Taking backup of imx8mq-librem5.dtb.
Installing new imx8mq-librem5.dtb.
flash-kernel: deferring update (trigger activated)
Processing triggers for flash-kernel (3.99pureos+libre5.3) ...
Using DTB: imx8mq-librem5.dtb
Installing /usr/lib/linux-image-5.3.0-librem5-h1/freescale/imx8mq-librem5.dtb into /boot/dtbs/5.3.0-librem5-h1/./imx8mq-librem5.dtb
Taking backup of imx8mq-librem5.dtb.
Installing new imx8mq-librem5.dtb.
flash-kernel: installing version 5.3.0-librem5-h1
Taking backup of vmlinuz.
Installing new vmlinuz.
Taking backup of initrd.img.
Installing new initrd.img.
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
```

so with :

 dpkg-query -l 'linux-image-*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version                   Architecture Description
+++-============================-=========================-============-============================================
ii  linux-image-5.3.0-librem5-h1 5.3.0+librem5.8+gitlabci1 arm64        Linux 5.3 for the Librem 5 and its devkit
un  linux-image-amd64            <none>                    <none>       (no description available)
ii  linux-image-librem5          5.3.0+librem5.8+gitlabci1 arm64        Linux kernel for the Librem 5 and its devkit

I get :
reboot works!
now I hear a small pop when I connect USB cable ( I think it’s a system sound )
power on with power button works!!! no more hold 15 seconds!

3 Likes

Nice!! I can’t wait to get this update.

I got the phone on Friday night and got 2 updates straight away.
Yesterday again new update. It is really exiting to get new updates and see how progress is made! :smiley:

1 Like

It is still in the staging area: https://master.pureos.net/migrations/excuses/amber-phone-staging-to-amber-phone/1 where it will linger for 3 days. You can check using the above link when it will graduate into the proper repository…

It should be possible to include the staging repository into the souces list, but I am not sure how that would be done…

2 Likes

Great, at this point I will simply wait. I am ok not to point to staging repo all the time, im hoping to hvae a more stable experience :wink: