[Bug 2124984] [NEW] build.info is not present on Jammy buildd images

Allen Abraham 2124984 at bugs.launchpad.net
Wed Sep 17 19:13:27 UTC 2025


Public bug reported:

[ Impact ]

- Currently, every supported Ubuntu image since Noble contains the file /etc/cloud/build.info which provides information about the build_name and its corresponding serial. Ex:
    build_name: server
    serial: 20250821
- This file provides crucial information about the image which is used by subsequent processes. For example:
    CPC test automation uses this to check if the image is a pro or FIPS image
- Since this file was introduced in Buildd images in Plucky, Jammy images do not contain this file
- We would like to add this file into Jammy Buildd images to meet requirements for cloud images, including Buildd images
- The proposed plan involves changing the build file in livecd-rootfs to insert the /etc/cloud/build.info file at image build time
[ Test Plan ]

- Check if the current Jammy images contains the /etc/cloud/build.info file
- With this change, all newly generated Ubuntu images should contain the above mentioned file

[ Where problems could occur ]

- If any of the user’s process involves creating a folder with a similar
path, ex: if they have an automation which creates a folder cloud in
/etc

[ Other Info ]
~$ lsb_release -rd
Description:    Ubuntu 22.04.5 LTS
Release:        22.0

Initial draft MP created here:
https://code.launchpad.net/~allenab/livecd-rootfs/+git/livecd-
rootfs/+merge/492718

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [ Impact ]
  
  - Currently, every supported Ubuntu image since Noble contains the file /etc/cloud/build.info which provides information about the build_name and its corresponding serial. Ex:
-     build_name: server
-     serial: 20250821
+     build_name: server
+     serial: 20250821
  - This file provides crucial information about the image which is used by subsequent processes. For example:
-     CPC test automation uses this to check if the image is a pro or FIPS image
+     CPC test automation uses this to check if the image is a pro or FIPS image
  - Since this file was introduced in Buildd images in Plucky, Jammy images do not contain this file
  - We would like to add this file into Jammy Buildd images to meet requirements for cloud images, including Buildd images
  - The proposed plan involves changing the build file in livecd-rootfs to insert the /etc/cloud/build.info file at image build time
  [ Test Plan ]
  
  - Check if the current Jammy images contains the /etc/cloud/build.info file
  - With this change, all newly generated Ubuntu images should contain the above mentioned file
  
  [ Where problems could occur ]
  
  - If any of the user’s process involves creating a folder with a similar
  path, ex: if they have an automation which creates a folder cloud in
  /etc
  
  [ Other Info ]
  ~$ lsb_release -rd
  Description:    Ubuntu 22.04.5 LTS
  Release:        22.0
+ 
+ Initial draft MP created here:
+ https://code.launchpad.net/~allenab/livecd-rootfs/+git/livecd-
+ rootfs/+merge/492718

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2124984

Title:
  build.info is not present on Jammy buildd images

Status in livecd-rootfs package in Ubuntu:
  New

Bug description:
  [ Impact ]

  - Currently, every supported Ubuntu image since Noble contains the file /etc/cloud/build.info which provides information about the build_name and its corresponding serial. Ex:
      build_name: server
      serial: 20250821
  - This file provides crucial information about the image which is used by subsequent processes. For example:
      CPC test automation uses this to check if the image is a pro or FIPS image
  - Since this file was introduced in Buildd images in Plucky, Jammy images do not contain this file
  - We would like to add this file into Jammy Buildd images to meet requirements for cloud images, including Buildd images
  - The proposed plan involves changing the build file in livecd-rootfs to insert the /etc/cloud/build.info file at image build time
  [ Test Plan ]

  - Check if the current Jammy images contains the /etc/cloud/build.info file
  - With this change, all newly generated Ubuntu images should contain the above mentioned file

  [ Where problems could occur ]

  - If any of the user’s process involves creating a folder with a
  similar path, ex: if they have an automation which creates a folder
  cloud in /etc

  [ Other Info ]
  ~$ lsb_release -rd
  Description:    Ubuntu 22.04.5 LTS
  Release:        22.0

  Initial draft MP created here:
  https://code.launchpad.net/~allenab/livecd-rootfs/+git/livecd-
  rootfs/+merge/492718

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2124984/+subscriptions




More information about the foundations-bugs mailing list