Repository navigation
Conversation
Also, add a local patch for the growfs bit, which has not been upstreamed yet.
This is the only mode that supports the `-append` option. It has nothing to do with "not MMC".
In addition to triggering a factory-reset, add the ability to check for (and in the case of a marker file, optionally clear) a factory reset condition. With the upcoming DDI image support, the location of the marker file will move, so having the check implementation in factory will make it easier to keep them in sync.
This is needed when we move away from overlay to plain mounts of /var.
This makes it possible to ship differing system files depending on the images being built. E.g. an ITB image might expect a different /etc/fstab than a DDI.
This opens up for DDI images to ship their own implementation. Now that it is supported, defer factory-reset condition check to the factory binary instead of having a separate implementation here.
In the upcoming DDI image format, a pre-script is required.
Sign the image, allowing a UEFI firmware to load run Barebox when secure boot is enabled (provided the corresponding cert is loaded in the db, of course).
First user is the initramfs, where it is used to setup the verity device. Later on, it will be extended for use by RAUC during upgrades, to fetch image info in statd, etc.
run.sh has degenerated quite a bit over the years - in no small part due to the way the qemu-system argv is constructed. Cut our losses by taking a fresh look at this problem, now that lots of things need to change anyway. Keep the old script as-is for targets that still use ITB based images.
With DDI images, test-mode and other marker files are stored on /boot/efi instead of /mnt/aux. Add a --with-marker-dir configure option, and select the right directory based on IX_IMAGE_DDI.
Until we have a Barebox release which includes the upstream LVM support, build from a GIT tag on the kernelkit branch.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Checklist
Tick relevant boxes, this PR is-a or has-a: