mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
image build and composition scripts for Flatcar Container Linux
The scripts that invoked `cros_workon` without specifying a path to the script were not calling the internal `cros_workon` directly, but rather a copy installed in `/usr/bin/cros_workon`. `/usr/bin/cros_workon` comes from the `coreos-base/cros-devutil` and is a wrapper script that sources `common.sh` file to figure the location of the `scripts` and finally invokes the internal `cros_workon`. Curious thing is that the sourced `common.sh` comes from the `/usr/lib/crosutils` directory and contents of the directory come from the `dev-util/crosutils` package. And that `common.sh` is different from the one in the scripts directory, but fortunately the part that detects the path to the `scripts` directory is the same. I'm not sure where where exactly the copy of `common.sh` in `/usr/lib/crosutils` comes from - likely from somewhere in `https://chromium.googlesource.com/chromiumos/platform/crosutils`. Just cut the middle layers and call the internal copy of `cros_workon` directly. |
||
---|---|---|
build_library | ||
contrib | ||
jenkins | ||
lib | ||
oem | ||
sdk_lib | ||
signing | ||
.gitignore | ||
bash_completion | ||
boot_nspawn | ||
bootstrap_sdk | ||
build_docker_aci | ||
build_image | ||
build_oem_aci | ||
build_packages | ||
build_toolchains | ||
build_torcx_store | ||
check_out_of_date.py | ||
clean_loopback_devices | ||
code-of-conduct.md | ||
common.sh | ||
CONTRIBUTING.md | ||
core_date | ||
core_dev_sign_update | ||
core_pre_alpha | ||
core_roller_upload | ||
core_sign_update | ||
cros_workon | ||
DCO | ||
find_overlay_dups | ||
get_latest_image.sh | ||
get_package_list | ||
image_inject_bootchain | ||
image_set_group | ||
image_to_vm.sh | ||
LICENSE | ||
NOTICE | ||
prune_images | ||
README.md | ||
rebuild_packages | ||
set_official | ||
set_shared_user_password.sh | ||
set_version | ||
setup_board | ||
tag_release | ||
update_chroot | ||
update_distfiles | ||
update_ebuilds | ||
update_metadata |
Flatcar Container Linux SDK scripts
Welcome to the scripts repo, your starting place for most things here in the Flatcar Container Linux SDK. To get started you can find our documentation on the Flatcar docs website.