install: add root directory to LookupPaths structure
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Feb 2016 23:16:51 +0000 (00:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2016 11:43:30 +0000 (13:43 +0200)
commite4bb56c7a946190c348a3c686af6cb35661fa5fe
treee7e4f6ab3b1d2fe789a670e339a826d85772c76c
parent32c0ed7bbb94037a50c267f25071522dc8eb3e68
install: add root directory to LookupPaths structure

We use the root directory parameter while putting together the LookupPaths
structure, hence let's also store it in the structure as-is. That way we can
drop a parameter from half of the functions in install.c

Also, let's move the validation of the root paths into lookup_paths_init() so
that we can drop even more code from install.c
src/shared/install.c
src/shared/install.h
src/shared/path-lookup.c
src/shared/path-lookup.h
src/sysv-generator/sysv-generator.c