summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree-initrd
Commit message (Collapse)AuthorAgeFilesLines
* ostree-initrd: Make it an initramfs, not initrdYevgeny Popovych2018-08-142-23/+9
| | | | | | | | | | | | | | | | | | | The reasoning here is to allow initramfs generated by this recipe to be included in FIT. To do so w/o changing openembedded-core (it allows only cpio format) - init script should be able to execute from a rootfs (i.e. true initramfs), not ramdisk (initrd). See [1] for more information on these keywords. The gist of this change is switch from `pivot_root` to `switch_root`. This also allows to get rid of some clutter, since `switch_root` handles transition to new sysroot all by itself. Again, see [1] for details on these utility/syscall. [1] https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt Signed-off-by: Yevgeny Popovych <yevgenyp@pointgrab.com>
* Share /run directory between initramfs and system image to communicate ↵Anton Gerasimov2017-11-031-1/+1
| | | | ostree-booted file
* Retry mounting sysrootPhil Wise2017-06-222-2/+8
| | | | Fixes DEM-169
* Fix warnings from shellcheck shell linterPhil Wise2017-06-221-16/+10
|
* Mount the root filesystem by label rather than pathPhil Wise2017-04-212-3/+5
| | | | | | | | Support identifying the root filesystem via a kernel command line like 'ostree_root=LABEL=mylabel'. Also make it mount a filesystem labeled 'otaroot' by default. This means it is possible to test the Minnowboard build in Qemu.
* Bump OSTree version to v2016.11Anton Gerasimov2016-10-121-1/+1
| | | | | | | Bug-AGL: SPEC-285 Change-Id: Ie76e8bbad1f272cfc0bc34654a708d3ae233dde0 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
* Tuned initrd image and pseudo environment to fix bugs with extendedAnton Gerasimov2016-10-042-0/+103
security attributes. Bug-AGL: SPEC-259 Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>