flatcar-scripts/build_library
Kai Lueke 7fafef2084 set_lsb_release: define Flatcar sysext level
Sysext images have a compatibility matching mechanism that searches for
the matching OS version or custom sysext level setting. On Flatcar
there is just the OS version set in /etc/os-release until now which
means that sysext images can't easily be used together with autoupdates
that change the OS version.

Define a sysext level for Flatcar so that users can refer to it instead
of the OS version when they have images that don't rely on a particular
Flatcar version.
Here an example of the now possible metadata:
/etc/extensions/NAME/usr/lib64/extension-release.d/extension-release.NAME
  ID=flatcar
  SYSEXT_LEVEL=1.0
and a symlink /etc/extensions/NAME/usr/lib → /etc/extensions/NAME/usr/lib64
to work around the problem that using lib/ as path destroys Flatcar's
lib → lib64 symlink.
In the future the matching logic hopefully gets more flexible because
now it is just a string comparison. Also, the architecture is not
matched either for now - we should work with upstream to improve this.

Closes: https://github.com/flatcar-linux/Flatcar/issues/643
2022-03-10 18:15:04 +01:00
..
board_options.sh build_library/board_options: Fix pkg_version function 2021-09-28 16:32:30 +02:00
build_image_util.sh Allow specifying multiple compression formats 2022-03-07 12:01:21 +00:00
catalyst_sdk.sh build_library/catalyst_sdk.sh: Try different way of picking python as default intepreter 2021-12-10 20:06:40 +01:00
catalyst_toolchains.sh catalyst_toolchains: don't touch the SDK 2021-06-25 10:37:21 +02:00
catalyst.sh bootstrap_sdk: no package updates in stage 1 2021-03-03 17:32:38 +01:00
check_root build_library/check_root: ignore dangling '*egg-info' symlink 2022-01-11 10:02:53 +00:00
configure_bootloaders.sh 2317.0.1 2019-11-07 19:40:01 +01:00
cros_vm_constants.sh Move cros_vm_constants to build_library 2021-08-27 14:20:54 +02:00
dev_container_util.sh Allow specifying multiple compression formats 2022-03-07 12:01:21 +00:00
disk_layout.json Revert "Revert "disk_layout: use btrfs for the OEM partition"" 2021-08-03 10:50:06 +02:00
disk_util build_library/disk_util: use byte array for conversion 2021-08-27 17:25:34 +02:00
ebuild_aci_manifest.in Initial checkin of docker-aci build script 2017-03-01 14:59:43 -08:00
ebuild_aci_util.sh build_library: Enhance license info and store it on the image 2020-06-09 21:09:44 +02:00
gen_tmpfiles.py build_library: Convert python2 scripts to python3 2021-08-18 18:56:48 +02:00
generate_au_zip.py generate_au_zip: Remove useless line 2021-08-24 16:08:15 +02:00
generate_grub_hashes.py build_library: Fix getting integer from string 2021-08-18 19:01:51 +02:00
generate_kernel_hash.py build_library: Fix python script extension 2021-08-18 18:57:04 +02:00
grub_install.sh 2345.0.0 2019-12-04 14:59:11 +01:00
grub.cfg grub.cfg: Stop probing for UUID 0x01 2020-08-04 11:45:29 +02:00
menu.lst grub: the one bootloader to rule them all 2014-12-05 16:51:11 -08:00
modify_image_util.sh Allow specifying multiple compression formats 2022-03-07 12:01:21 +00:00
niftycloud_ovf.sh vm_image_util: changed niftycloud format to ovf 2014-12-18 17:22:51 +09:00
oem_aci_util.sh build_library: Enhance license info and store it on the image 2020-06-09 21:09:44 +02:00
parallels_pvs.sh build_library: set parallels build scripts as executable 2016-10-27 13:27:30 -07:00
prod_image_util.sh Allow specifying multiple compression formats 2022-03-07 12:01:21 +00:00
qemu_template.sh build_lib/qemu_tmpl: fix short-form warning 2021-07-16 16:04:50 +02:00
release_util.sh Rename zstd to zst 2022-03-08 14:02:37 +00:00
set_lsb_release set_lsb_release: define Flatcar sysext level 2022-03-10 18:15:04 +01:00
template_interoute.ovf init commit of interoute oem build 2015-09-05 00:32:50 +01:00
template_vmware.ovf build_library/template_vmware.ovf: Newer OS type and hardware version 2020-07-09 12:19:23 +02:00
test_build_root fix(test_image_content): Improve /usr symlink and conflict tests. 2013-12-09 19:32:54 -08:00
test_image_content.sh build_library: update GLSA allowlist 2022-02-17 10:44:28 +01:00
test_oem_pkgs test_oem_pkgs: Drop reference to oem-xendom0 2017-06-08 14:48:38 -07:00
toolchain_util.sh SDK container: enable binpkg cache for nightly builds 2022-01-12 15:44:30 +01:00
torcx_manifest.sh build_library/torcx_manifest.sh: list all component pkgs in sources_on_disk() 2022-01-14 16:00:51 +00:00
update_chroot_util.sh update_chroot: Add a way to remove hard blockers 2021-12-10 20:06:40 +01:00
virtualbox_ovf.sh virtualbox_ovf.sh: use virtio network interfaces 2014-11-07 16:16:03 -07:00
vm_image_util.sh Allow specifying multiple compression formats 2022-03-07 12:01:21 +00:00
write_hdd.sh build_library: set parallels build scripts as executable 2016-10-27 13:27:30 -07:00