~sircmpwn/sr.ht-dev

builds.sr.ht: ubuntu/noble starts development v1 PROPOSED

Haowen Liu: 1
 ubuntu/noble starts development

 5 files changed, 11 insertions(+), 4 deletions(-)
#1085429 alpine.yml success
#1085430 archlinux.yml failed
#1085431 debian.yml success
Hi Conrad,

Could you please check this patch once again? With this [1] commit, this 
patch should be good to go.

Haowen

[1] 
https://git.sr.ht/~sircmpwn/builds.sr.ht/commit/1b21add920b56007b8597db667e858a403a88b1d
Is there a plan to bring Ubuntu builds back in good working order?
When building a new jammy image, debootstrap by default only includes 
the main jammy APT suite, and then the genimg script then adds extra 
suites (for example jammy-security and jammy-updates) to the 
sources.list file later to be used for any future apt commands.

However to build a mantic image on jammy, you need the distro-info-data 
package from jammy-updates[0]. debootstrap pulls down the 
distro-info-data package from the jammy suite as a part of the base 
image for some reason, and the manual `sudo apt update && sudo apt 
upgrade -y` you tried pulls the newer version from `jammy-updates` which 
explains why it fixes the build.

[0]: https://packages.ubuntu.com/source/jammy-updates/distro-info-data

Taavi



          
          
          
        
      

      
      
      
      

      

      
      
      
      

      
      
        
          






According to its manpage, you can pass --extra-suites= to specify a 
comma-separated list of additional suites. I've never tried it though, 
and I don't ever recall seeing the same issue on the Debian image.

Taavi



          
          
          
        
      

      
      
      
      

      

      
      
      
      
      
      

      

      
      
      
      

      
      
        
          






On 1/23/2024 6:19 AM, Conrad Hoffmann wrote:>
Next
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/46264/mbox | git am -3
Learn more about email & git

[PATCH builds.sr.ht] ubuntu/noble starts development Export this patch

---
 contrib/crontab               | 8 +++++---
 images/ubuntu/24.04           | 1 +
 images/ubuntu/next            | 2 +-
 images/ubuntu/noble/functions | 1 +
 images/ubuntu/noble/genimg    | 3 +++
 5 files changed, 11 insertions(+), 4 deletions(-)
 create mode 120000 images/ubuntu/24.04
 create mode 120000 images/ubuntu/noble/functions
 create mode 100755 images/ubuntu/noble/genimg

diff --git a/contrib/crontab b/contrib/crontab
index b94c695..98155cf 100644
--- a/contrib/crontab
+++ b/contrib/crontab
@@ -3,7 +3,7 @@
30 20 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" alpine/edge
 0 21 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" -a amd64 debian/unstable
30 21 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" nixos/unstable
 0 22 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" -a amd64 ubuntu/next
 0 22 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" -a amd64 ubuntu/24.04
30 22 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" fedora/rawhide
 0 23 * * * chronic /usr/local/bin/submit_image_build -n "Daily scheduled build image refresh" guix

@@ -17,14 +17,16 @@
30 19 * * 2 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 debian/testing
 0 19 * * 3 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 freebsd/12.x
30 19 * * 3 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a x86_64 rockylinux/8
 0 19 * * 4 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 ubuntu/lts
 0 19 * * 4 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 ubuntu/22.04
30 19 * * 4 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" alpine/latest
 0 19 * * 5 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 freebsd/13.x
30 19 * * 5 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 ubuntu/23.04
30 19 * * 5 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 ubuntu/23.10
 0 19 * * 6 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 openbsd/latest
30 19 * * 6 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a x86_64 rockylinux/9

# Monthly
0 18 1 * * chronic /usr/local/bin/submit_image_build -n "Monthly scheduled build image refresh" -a amd64 ubuntu/oldlts
0 18 1 * * chronic /usr/local/bin/submit_image_build -n "Monthly scheduled build image refresh" -a amd64 ubuntu/20.04
30 18 1 * * chronic /usr/local/bin/submit_image_build -n "Monthly scheduled build image refresh" fedora/37
0 18 2 * * chronic /usr/local/bin/submit_image_build -n "Monthly scheduled build image refresh" alpine/older
0 18 3 * * chronic /usr/local/bin/submit_image_build -n "Monthly scheduled build image refresh" alpine/oldest
diff --git a/images/ubuntu/24.04 b/images/ubuntu/24.04
new file mode 120000
index 0000000..c44ffaf
--- /dev/null
+++ b/images/ubuntu/24.04
@@ -0,0 +1 @@
noble
\ No newline at end of file
diff --git a/images/ubuntu/next b/images/ubuntu/next
index ec22642..c44ffaf 120000
--- a/images/ubuntu/next
+++ b/images/ubuntu/next
@@ -1 +1 @@
mantic
\ No newline at end of file
noble
\ No newline at end of file
diff --git a/images/ubuntu/noble/functions b/images/ubuntu/noble/functions
new file mode 120000
index 0000000..c0b5bcc
--- /dev/null
+++ b/images/ubuntu/noble/functions
@@ -0,0 +1 @@
../functions
\ No newline at end of file
diff --git a/images/ubuntu/noble/genimg b/images/ubuntu/noble/genimg
new file mode 100755
index 0000000..7be89d1
--- /dev/null
+++ b/images/ubuntu/noble/genimg
@@ -0,0 +1,3 @@
#!/bin/sh -eux
export release=noble
exec ../genimg "$@"
-- 
2.39.2
I tried to apply this, but the image does not build (on /lts, at least?):

https://builds.sr.ht/~bitfehler/job/1104224
builds.sr.ht/patches: FAILED in 4m53s

[ubuntu/noble starts development][0] from [Haowen Liu][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/46264
[1]: mailto:lhw@lunacd.com

✗ #1085430 FAILED  builds.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/1085430
✓ #1085429 SUCCESS builds.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/1085429
✓ #1085431 SUCCESS builds.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/1085431