-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docker): add command to inject packed docker images into firmware images #119
Commits on May 29, 2024
-
feat(file): add ability to read file contents from image
We add a small helper function to read file contents from the image programmatically.
Configuration menu - View commit details
-
Copy full SHA for 337d633 - Browse repository at this point
Copy the full SHA 337d633View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec69de - Browse repository at this point
Copy the full SHA aec69deView commit details
Commits on Jun 5, 2024
-
feat(image): add methods to determine arch for images
We add helper functionality to determine the architecture for which an image was built. This feature relies on this information being stored in the os-release file.
Configuration menu - View commit details
-
Copy full SHA for 2561811 - Browse repository at this point
Copy the full SHA 2561811View commit details -
feat(docker): add command to inject docker images
With omnect-ui (and possibly other use cases) we want to inject docker images post-built via omnect-cli. This commit adds a new command that realizes this feature. To this end, we extend the omnect-cli to fetch docker images, pack them, and copy them into the platform image.
Configuration menu - View commit details
-
Copy full SHA for 3eac612 - Browse repository at this point
Copy the full SHA 3eac612View commit details -
test: update /usr/lib/os-release in test images
We update the test images to reflect the information currently supplied in /usr/lib/os-release. In particular, this now includes the `OMNECT_TARGET_ARCH` variable. The updated content reflects a build for `build-omnect-gateway-devel-rpi4-omnect-lab` and contains the following info: ``` ID=omnect-os NAME="dobi-OMNECT-gateway-devel" VERSION="4.0.18.0" VERSION_ID=4.0.18.0 PRETTY_NAME="dobi-OMNECT-gateway-devel 4.0.18.0" DISTRO_FEATURES="debuginfod ipv4 ipv6 polkit seccomp zeroconf bluetooth wifi wifi-commissioning flash-mode-2 flash-mode-3 iotedge persistent-var-log resize-data systemd virtualization" MACHINE="raspberrypi4-64" MACHINE_FEATURES=" apm keyboard screen touchscreen bluetooth wifi sdio vc4graphics" META_OMNECT_GIT_SHA="15bae4449c8246bc7cd497329ae61e8b3177880b" META_OMNECT_GIT_BRANCH="fix/os-release_target_arch" META_OMNECT_GIT_REPO="META_OMNECT_GIT_REPO_NOT_SET" META_OMNECT_VERSION="META_OMNECT_VERSION_NOT_SET" OMNECT_OS_GIT_SHA="OMNECT_OS_GIT_SHA_NOT_SET" OMNECT_OS_GIT_BRANCH="OMNECT_OS_GIT_BRANCH_NOT_SET" OMNECT_OS_GIT_REPO="OMNECT_OS_GIT_REPO_NOT_SET" OMNECT_OS_VERSION="OMNECT_OS_VERSION_NOT_SET" OMNECT_DEVEL_TOOLS=" curl e2fsprogs ethtool gdbserver htop iproute2-ip ldd less lshw lsof ltrace mmc-utils screen strace sysstat tcpdump valgrind " OMNECT_RELEASE_IMAGE="0" OMNECT_TARGET_ARCH="aarch64" ```
Configuration menu - View commit details
-
Copy full SHA for 7ea5a64 - Browse repository at this point
Copy the full SHA 7ea5a64View commit details -
test: add mock feature for testing purposes
We add the mock feature to the omnect-cli to enable conditional compilation for some testing scenarios which require mocking.
Configuration menu - View commit details
-
Copy full SHA for c61d1e5 - Browse repository at this point
Copy the full SHA c61d1e5View commit details -
test: add integration test for docker inject feature
We therefore also restructure the docker module with an inner module. This way we can encapsulate the used implementation depending on the `mock` feature flag.
Configuration menu - View commit details
-
Copy full SHA for 4d946d0 - Browse repository at this point
Copy the full SHA 4d946d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6786764 - Browse repository at this point
Copy the full SHA 6786764View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a5d86 - Browse repository at this point
Copy the full SHA 86a5d86View commit details
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 104c977 - Browse repository at this point
Copy the full SHA 104c977View commit details -
feat: add display trait implementation for partition types
We add an implementation of the display trait for the partitions to print them from omnect-cli.
Configuration menu - View commit details
-
Copy full SHA for 38eb673 - Browse repository at this point
Copy the full SHA 38eb673View commit details -
fix(cli): ensure partition names are not renamed
We ensure that clap uses partition names as they are. Until now clap converts them to kebab-case, which leads to inconsistencies with the omnect-cli file copy-* commands.
Configuration menu - View commit details
-
Copy full SHA for eac71c9 - Browse repository at this point
Copy the full SHA eac71c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c8ca3f - Browse repository at this point
Copy the full SHA 8c8ca3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 132b746 - Browse repository at this point
Copy the full SHA 132b746View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fce216 - Browse repository at this point
Copy the full SHA 7fce216View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ac4e03 - Browse repository at this point
Copy the full SHA 2ac4e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9c31a - Browse repository at this point
Copy the full SHA cb9c31aView commit details -
refactor: make Compression type interface public
We want to reuse the compression functionality for `File` types within the crate. Thus, we make the operations public. To this end we type to enclose compression options parameters to the value types.
Configuration menu - View commit details
-
Copy full SHA for a7202da - Browse repository at this point
Copy the full SHA a7202daView commit details -
fix(docker): fix archive file suffix to xz
We pack the docker image with xz, as such use the correct file suffix.
Configuration menu - View commit details
-
Copy full SHA for 4872f39 - Browse repository at this point
Copy the full SHA 4872f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a33b05c - Browse repository at this point
Copy the full SHA a33b05cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 519b995 - Browse repository at this point
Copy the full SHA 519b995View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea334f8 - Browse repository at this point
Copy the full SHA ea334f8View commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 48d58fe - Browse repository at this point
Copy the full SHA 48d58feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c80175 - Browse repository at this point
Copy the full SHA 3c80175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e99c7 - Browse repository at this point
Copy the full SHA 66e99c7View commit details