Support for booting without initramfs
authorGatis Paeglis <gatis.paeglis@qt.io>
Wed, 24 Aug 2016 11:26:47 +0000 (13:26 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 10 Jan 2018 13:52:58 +0000 (13:52 +0000)
commit4233b1db199d5207138b9f2946b35d28557cc7a5
tree775d85d78c7067a2ce0fcd4dc5ae1ce4e0bff4dc
parent652d9dd98a610ba6ebda3e3e6c5202f53d3dc439
Support for booting without initramfs

Previously when initramfs-* was not found in a deployment's
boot directory, it was assumed that rootfs is prepared for
ostree booting by a kernel patch.

With this patch, the behaviour changes to be - if initramfs-*
is not found, assume that system is using a static
ostree-prepare-root as init process. Booting without initramfs
is a common use case on embedded systems. This approach is
also more convenient, than having to patch the kernel.

Closes: #1401
Approved by: cgwalters
Makefile-tests.am
src/boot/grub2/ostree-grub-generator
src/libostree/ostree-sysroot-deploy.c
tests/test-no-initramfs.sh [new file with mode: 0755]