flatcar-scripts/build_library
James Le Cuirot e44b946abf
build_image: Deduplicate --extract_update and --generate_update options
The --extract_update option used to do exactly that, just extract the
USR-A partition for updates and no more. Now it does the same thing as
--generate_update, except it names the file flatcar_test_update.gz
rather than flatcar_production_update.gz. --generate_update is never
actually used because official update payloads are manually generated
with the generate_payload script later on.

Resolve this confusion by deduplicating the common code between them.
Any update payload produced during this stage of the build is only
useful for testing, so change --generate_update to always create
flatcar_test_update.gz. --generate_update now implies --extract_update
and both are enabled by default.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-12-03 16:01:19 +00:00
..
portage Drop Catalyst package.use.force for alternatives 2024-07-22 14:08:57 +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 build_image: Deduplicate --extract_update and --generate_update options 2024-12-03 16:01:19 +00:00
catalyst_sdk.sh dev-lang/rust: Drop our custom package in favour of upstream Gentoo's 2024-08-15 16:54:11 +01:00
catalyst_toolchains.sh Upgrade to Catalyst 4 2024-07-15 14:27:59 +01:00
catalyst.sh dev-lang/rust: Drop our custom package in favour of upstream Gentoo's 2024-08-15 16:54:11 +01:00
check_root build_library/check_root: Silence a warning about cgi.py 2023-05-11 12:29:48 +02: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 Drop lots of obsolete release signing and upload code 2024-11-26 14:58:24 +00:00
disk_layout.json disk_layout: use btrfs for the /usr partition 2023-09-25 12:56:04 +02:00
disk_util disk_util: Mount btrfs fs with rescue= option 2024-03-05 17:35:55 +01:00
extra_sysexts.sh sysext: Add python sysext 2024-05-29 19:18:18 +02:00
extract-initramfs-from-vmlinuz.sh build_library: Generate content files for initrd too 2023-02-01 14:43:24 +01:00
gen_tmpfiles.py build_library/gen_tmpfiles.py: Add options for allowed users and groups 2023-04-26 15:39:58 +02:00
generate_au_zip.py Drop lots of obsolete release signing and upload code 2024-11-26 14:58:24 +00: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 grub_install.sh: Compress modules with xz instead of gzip to save space 2024-11-18 14:56:20 +00:00
grub.cfg build_library/grub.cfg: Enable grub fallback behavior 2024-09-17 11:01:06 +02:00
menu.lst grub: the one bootloader to rule them all 2014-12-05 16:51:11 -08:00
modify_image_util.sh Drop lots of obsolete release signing and upload code 2024-11-26 14:58:24 +00:00
parallels_pvs.sh build_library: set parallels build scripts as executable 2016-10-27 13:27:30 -07:00
prefix_util.sh Drop all instances of ineffective --root-deps=rdeps option 2024-11-12 22:08:21 +00:00
prod_image_util.sh Drop lots of obsolete release signing and upload code 2024-11-26 14:58:24 +00:00
qemu_template.sh Switch from raw (.fd) EDK2 firmware images to QCOW2, plus 4MB on amd64 2024-11-12 11:59:40 +00:00
release_util.sh Drop lots of obsolete release signing and upload code 2024-11-26 14:58:24 +00:00
reports_util.sh build_library: Move report function to a separate file 2023-06-06 13:01:09 +02:00
sbsign_util.sh app-crypt/azure-keyvault-pkcs11: Bump to new pre-release for HSM support 2024-11-18 13:33:12 +00:00
set_lsb_release Use new website flatcar.org 2022-09-14 14:32:49 +02:00
sysext_mangle_containerd-flatcar build_library: Don't preserve file ownership when copying sysext files 2024-08-30 09:16:25 +02:00
sysext_mangle_docker-flatcar build_library: remove two Docker files not used on Flatcar 2024-10-02 16:32:20 +02:00
sysext_mangle_flatcar-podman sysext: Add podman sysext 2024-05-03 22:59:36 +09:00
sysext_mangle_flatcar-python build_library: Shrink the sysext-python image by removing python tests 2024-08-14 17:25:31 +02:00
sysext_mangle_flatcar-zfs build_library: Add mangle script for zfs sysext 2024-03-11 11:57:45 +00:00
sysext_prod_builder build_sysext: Detect dev rebuild of release tag, fix build ID issue 2024-08-29 10:39:07 +02: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 test_image_content: add GLSA 202407-05 to allowlist 2024-07-17 09:41:24 +02:00
test_oem_pkgs *: Make catalyst and emerge verbose by default 2023-02-16 13:57:05 +01:00
toolchain_util.sh Drop all instances of ineffective --root-deps=rdeps option 2024-11-12 22:08:21 +00:00
update_chroot_util.sh build_library/update_chroot_util.sh: Ignore equery's non-zero exit status 2023-04-26 07:49:56 +02:00
virtualbox_ovf.sh virtualbox_ovf.sh: use virtio network interfaces 2014-11-07 16:16:03 -07:00
vm_image_util.sh Drop lots of obsolete release signing and upload code 2024-11-26 14:58:24 +00:00
write_hdd.sh build_library: set parallels build scripts as executable 2016-10-27 13:27:30 -07:00