chiark / gitweb /
generators: rename add_{root,usr}_mount to add_{sysroot,sysroot_usr}_mount
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 2 May 2015 17:01:29 +0000 (12:01 -0500)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:21:10 +0000 (08:21 +0100)
commit86bdfce4885106a833847da2199fca1250ba5851
treea62a38d7271f55f7acea9d806d1566d9aa02c59d
parent0eb4b7f2e7ed1dda0511b440ec002c668de99fb9
generators: rename add_{root,usr}_mount to add_{sysroot,sysroot_usr}_mount

This makes it obvious that those functions are only usable in the
initramfs.

Also, add a warning when noauto, nofail, or automount is used for the
root fs, instead of silently ignoring. Using those options would be a
sign of significant misconfiguration, and if we bother to check for
them, than let's go all the way and complain.

Other various small cleanups and reformattings elsewhere.
src/shared/generator.c
src/shared/generator.h