chiark / gitweb /
switch_root: do not fail, if base_filesystem_create() failed
authorHarald Hoyer <harald@redhat.com>
Wed, 3 Sep 2014 11:31:25 +0000 (13:31 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 6 Nov 2014 14:28:42 +0000 (15:28 +0100)
commit6d0f91bf551464c57bc12f99deccd515fb3f628d
treeb558ebf05e10beb6d86f38cfad2d1ae5e976f757
parent2b671e9560d5a7e78374a33acfc7f089cfa05c2f
switch_root: do not fail, if base_filesystem_create() failed

Not all switch roots are like base_filesystem_create() wants them
to look like. They might even boot, if they are RO and don't have the FS
layout. Just ignore the error and switch_root nevertheless.

base_filesystem_create() should have logged, what went wrong.
src/shared/switch-root.c