/systemd-251/test/units/ |
D | testsuite-50.sh | 29 image="${image_dir}/minimal_0" 30 roothash="$(cat "${image}.roothash")" 34 systemd-dissect --json=short "${image}.raw" | grep -q -F '{"rw":"ro","designator":"root","partition… 35 systemd-dissect "${image}.raw" | grep -q -F "MARKER=1" 36 systemd-dissect "${image}.raw" | grep -q -F -f <(sed 's/"//g' "$os_release") 38 mv "${image}.verity" "${image}.fooverity" 39 mv "${image}.roothash" "${image}.foohash" 40 systemd-dissect --json=short "${image}.raw" --root-hash="${roothash}" --verity-data="${image}.foove… 41 systemd-dissect "${image}.raw" --root-hash="${roothash}" --verity-data="${image}.fooverity" | grep … 42 systemd-dissect "${image}.raw" --root-hash="${roothash}" --verity-data="${image}.fooverity" | grep … [all …]
|
D | testsuite-25.sh | 12 machinectl image-status testimage 30 machinectl image-status testimage3 32 machinectl image-status testimage 39 machinectl image-status testimage && { echo 'unexpected success'; exit 1; } 49 machinectl image-status testimage4 51 machinectl image-status testimage3 && { echo 'unexpected success'; exit 1; } 62 machinectl image-status testimage4 && { echo 'unexpected success'; exit 1; } 76 machinectl image-status scratch 89 machinectl image-status scratch2 95 machinectl image-status scratchi && { echo 'unexpected success'; exit 1; } [all …]
|
/systemd-251/src/machine/ |
D | image-dbus.c | 35 Image *image = userdata; in bus_image_method_remove() local 36 Manager *m = image->userdata; in bus_image_method_remove() 41 assert(image); in bus_image_method_remove() 47 "image", image->name, in bus_image_method_remove() 75 r = image_remove(image); in bus_image_method_remove() 102 Image *image = userdata; in bus_image_method_rename() local 103 Manager *m = image->userdata; in bus_image_method_rename() 108 assert(image); in bus_image_method_rename() 118 "image", image->name, in bus_image_method_rename() 138 r = image_rename(image, new_name); in bus_image_method_rename() [all …]
|
D | machined-dbus.c | 474 Image *image; in method_list_images() local 496 HASHMAP_FOREACH(image, images) { in method_list_images() 499 p = image_bus_path(image->name); in method_list_images() 504 image->name, in method_list_images() 505 image_type_to_string(image->type), in method_list_images() 506 image->read_only, in method_list_images() 507 image->crtime, in method_list_images() 508 image->mtime, in method_list_images() 509 image->usage, in method_list_images() 754 Image *image; in method_clean_pool() local [all …]
|
/systemd-251/src/portable/ |
D | portabled-image-bus.c | 36 Image *image, in bus_image_common_get_os_release() argument 41 assert(name_or_path || image); in bus_image_common_get_os_release() 45 assert(image); in bus_image_common_get_os_release() 46 m = image->userdata; in bus_image_common_get_os_release() 52 image, in bus_image_common_get_os_release() 55 &image, in bus_image_common_get_os_release() 62 if (!image->metadata_valid) { in bus_image_common_get_os_release() 63 r = image_read_metadata(image); in bus_image_common_get_os_release() 68 return bus_reply_pair_array(message, image->os_release); in bus_image_common_get_os_release() 102 Image *image, in bus_image_common_get_metadata() argument [all …]
|
D | portabled-bus.c | 113 Image *image; in method_get_image() local 123 … r = bus_image_acquire(m, message, name, NULL, BUS_IMAGE_REFUSE_BY_PATH, NULL, &image, error); in method_get_image() 127 r = bus_image_path(image, &p); in method_get_image() 138 Image *image; in method_list_images() local 160 HASHMAP_FOREACH(image, images) { in method_list_images() 165 r = bus_image_path(image, &p); in method_list_images() 171 image->path, in method_list_images() 178 image->path, bus_error_message(&error_state, r)); in method_list_images() 181 image->name, in method_list_images() 182 image_type_to_string(image->type), in method_list_images() [all …]
|
D | portabled-image.c | 50 int manager_image_cache_add(Manager *m, Image *image) { in manager_image_cache_add() argument 67 image->userdata = m; in manager_image_cache_add() 69 r = hashmap_put(m->image_cache, image->path, image); in manager_image_cache_add() 73 image_ref(image); in manager_image_cache_add() 75 if (image->discoverable) { in manager_image_cache_add() 76 r = hashmap_put(m->image_cache, image->name, image); in manager_image_cache_add() 80 image_ref(image); in manager_image_cache_add() 87 Image *image; in manager_image_cache_discover() local 99 HASHMAP_FOREACH(image, images) in manager_image_cache_discover() local 100 (void) manager_image_cache_add(m, image); in manager_image_cache_discover()
|
D | portabled-image-bus.h | 9 …ase(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 10 …ata(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 11 …ach(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 12 …ove(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 13 …ach(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 14 …nly(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 15 …mit(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, sd_bus_error *err… 20 int bus_image_path(Image *image, char **ret); 40 int bus_image_acquire(Manager *m, sd_bus_message *message, const char *name_or_path, Image *image, …
|
D | portablectl.c | 58 static int determine_image(const char *image, bool permit_non_existing, char **ret) { in determine_image() argument 66 if (image_name_is_valid(image)) { in determine_image() 69 if (!arg_quiet && laccess(image, F_OK) >= 0) in determine_image() 71 … "Prefix argument with './' to force reference to file in current working directory.", image); in determine_image() 73 c = strdup(image); in determine_image() 85 …r = chase_symlinks(image, NULL, CHASE_TRAIL_SLASH | (permit_non_existing ? CHASE_NONEXISTENT : 0),… in determine_image() 87 return log_error_errno(r, "Cannot normalize specified image path '%s': %m", image); in determine_image() 160 static int determine_matches(const char *image, char **l, bool allow_any, char ***ret) { in determine_matches() argument 171 r = extract_prefix(image, &prefix); in determine_matches() 173 … return log_error_errno(r, "Failed to extract prefix of image name '%s': %m", image); in determine_matches() [all …]
|
D | meson.build | 7 'portabled-image-bus.c', 8 'portabled-image-bus.h', 9 'portabled-image.c', 10 'portabled-image.h',
|
D | portable.c | 528 _cleanup_(image_unrefp) Image *image = NULL; in extract_image_and_extensions() 534 r = image_find_harder(IMAGE_PORTABLE, name_or_path, NULL, &image); in extract_image_and_extensions() 563 …r = portable_extract_by_path(image->path, /* path_is_extension= */ false, matches, &os_release, &u… in extract_image_and_extensions() 659 *ret_image = TAKE_PTR(image); in extract_image_and_extensions() 688 _cleanup_(image_unrefp) Image *image = NULL; in portable_extract() 698 &image, in portable_extract() 716 image->path, in portable_extract() 1240 const Image *image, in install_image_and_extensions_symlinks() argument 1249 assert(image); in install_image_and_extensions_symlinks() 1257 r = install_image_symlink(image->path, flags, changes, n_changes); in install_image_and_extensions_symlinks() [all …]
|
/systemd-251/docs/ |
D | PORTABLE_SERVICES.md | 15 their dependencies are packaged in an image, and are run directly from it. 29 or inside a raw disk image containing a Linux file system. This tree is called 30 the "image". It can be "attached" or "detached" from the system. When 31 "attached", specific systemd units from the image are made available on the 36 The OS tree/image can be created with any tool of your choice. For example, you 37 can use `dnf --installroot=` if you like, or `debootstrap`, the image format is 39 distribution images carry anyway. Or to say this differently: the image format 85 If you have a portable service image, maybe in a raw disk image called 94 1. It dissects the image, checks and validates the `os-release` file of the 95 image, and looks for all included unit files. [all …]
|
D | BUILDING_IMAGES.md | 11 require no further installation process beyond simple `dd`-ing the image to 16 [`mkosi`](https://github.com/systemd/mkosi) OS image builder developed and 17 maintained by the systemd project. If you are using or working on another image 23 Typically the same OS image shall be deployable in multiple instances, and each 41 same random data that is included in the image, and thus possibly generate 43 image than advisable. 48 is used in the image. 54 which carry additional identifying information about the OS image. 62 credentials from this image is lost. The file is automatically generated if 85 explicitly. Thus, golden image builders should write a suitable identifier into [all …]
|
D | HACKING.md | 41 image for the host distro by default. It is sufficient to type `mkosi` in the 42 systemd project directory to generate a disk image `image.raw` you can boot either 55 Every time you rerun the `mkosi` command a fresh image is built, incorporating 103 $ sudo mkosi # build a test image 104 $ sudo mkosi boot # boot up the test image 205 the build image available on the host. mkosi supports this by setting the `IncludeDirectory` option… 215 We already configured clangd to map any paths in /usr/include in the build image to mkosi.includedi… 218 We also need to make sure clangd is installed in the build image. To have mkosi install clangd in t… 219 image, edit the 20-local.conf file we created earlier and add the following contents under the `[Pa… 240 this, trying to do a regular build while the clangd image is running will fail. To circumvent this,… [all …]
|
/systemd-251/shell-completion/zsh/ |
D | _machinectl | 43 "image-status:Show image details" 44 "show-image:Show properties of image" 45 "clone:Clone an image" 46 "rename:Rename an image" 47 "read-only:Mark or unmark image read-only" 48 "remove:Remove an image" 50 "pull-tar:Download a TAR container image" 51 "pull-raw:Download a RAW container or VM image" 105 '--force[Download image even if already exists.]' \
|
/systemd-251/ |
D | .gitignore | 25 /image.raw 26 /.#image.raw.lck 27 /image.raw.cache-pre-dev 28 /image.raw.cache-pre-inst 29 /image.raw.manifest
|
/systemd-251/src/shared/ |
D | discover-image.c | 82 DEFINE_TRIVIAL_REF_UNREF_FUNC(Image, image, image_free); 86 static char **image_settings_path(Image *image) { in image_settings_path() argument 91 assert(image); in image_settings_path() 97 fn = strjoina(image->name, ".nspawn"); in image_settings_path() 107 l[i] = file_in_same_dir(image->path, fn); in image_settings_path() 114 static char *image_roothash_path(Image *image) { in image_roothash_path() argument 117 assert(image); in image_roothash_path() 119 fn = strjoina(image->name, ".roothash"); in image_roothash_path() 121 return file_in_same_dir(image->path, fn); in image_roothash_path() 554 _cleanup_(image_unrefp) Image *image = NULL; in image_discover() [all …]
|
D | dissect-image.c | 2225 static char *build_auxiliary_path(const char *image, const char *suffix) { in build_auxiliary_path() argument 2229 assert(image); in build_auxiliary_path() 2232 e = endswith(image, ".raw"); in build_auxiliary_path() 2236 n = new(char, e - image + strlen(suffix) + 1); in build_auxiliary_path() 2240 strcpy(mempcpy(n, image, e - image), suffix); in build_auxiliary_path() 2258 const char *image, in verity_settings_load() argument 2269 assert(image); in verity_settings_load() 2273 if (is_device_path(image)) in verity_settings_load() 2302 r = getxattr_malloc(image, "user.verity.roothash", &text); in verity_settings_load() 2309 p = build_auxiliary_path(image, ".roothash"); in verity_settings_load() [all …]
|
D | dissect-image.h | 276 int verity_settings_load(VeritySettings *verity, const char *image, const char *root_hash_path, con… 281 bool dissected_image_verity_candidate(const DissectedImage *image, PartitionDesignator d); 282 bool dissected_image_verity_ready(const DissectedImage *image, PartitionDesignator d); 283 bool dissected_image_verity_sig_ready(const DissectedImage *image, PartitionDesignator d);
|
/systemd-251/src/boot/efi/ |
D | linux_x86.c | 107 typedef void(*handover_f)(void *image, EFI_SYSTEM_TABLE *table, struct boot_params *params) __regpa… 109 static void linux_efi_handover(EFI_HANDLE image, struct boot_params *params) { in linux_efi_handover() argument 120 handover(image, ST, params); in linux_efi_handover() 124 EFI_HANDLE image, in linux_exec() argument 136 assert(image); in linux_exec() 197 linux_efi_handover(image, boot_params); in linux_exec()
|
D | drivers.c | 19 _cleanup_(efi_unload_image) EFI_HANDLE image = NULL; in load_one_driver() 33 err = BS->LoadImage(FALSE, parent_image, path, NULL, 0, &image); in load_one_driver() 37 err = BS->HandleProtocol(image, &LoadedImageProtocol, (void **)&loaded_image); in load_one_driver() 45 err = BS->StartImage(image, NULL, NULL); in load_one_driver() 54 TAKE_PTR(image); in load_one_driver()
|
D | stub.c | 150 EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { in efi_main() argument 183 InitializeLib(image, sys_table); in efi_main() 189 image, in efi_main() 192 image, in efi_main() 300 err = linux_exec(image, cmdline, cmdline_len, in efi_main()
|
/systemd-251/src/import/ |
D | export.c | 63 _cleanup_(image_unrefp) Image *image = NULL; in export_tar() 69 r = image_find(IMAGE_MACHINE, argv[1], NULL, &image); in export_tar() 75 local = image->path; in export_tar() 139 _cleanup_(image_unrefp) Image *image = NULL; in export_raw() 145 r = image_find(IMAGE_MACHINE, argv[1], NULL, &image); in export_raw() 151 local = image->path; in export_raw()
|
/systemd-251/mkosi.default.d/arch/ |
D | 10-mkosi.arch | 5 # This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi). 6 …k this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image. 64 …# Run `autoload -Uz compinit; compinit` from a zsh shell in the booted image to enable completions.
|
/systemd-251/po/ |
D | id.po | 159 msgid "Import a VM or container image" 160 msgstr "Impor sebuah image kontainer atau VM" 163 msgid "Authentication is required to import a VM or container image" 164 msgstr "Otentikasi diperlukan untuk mengimpor suatu image kontainer atau VM" 167 msgid "Export a VM or container image" 168 msgstr "Ekspor sebuah image kontainer atau VM" 171 msgid "Authentication is required to export a VM or container image" 172 msgstr "Otentikasi diperlukan untuk mengekspor suatu image kontainer atau VM" 175 msgid "Download a VM or container image" 176 msgstr "Unduh sebuah image kontainer atau VM" [all …]
|