prepare-root: Don't be strict about the sysroot mount name here

While the systemd integration effectively requires /sysroot, it will
help people trying to use OSTree with other initramfs systems
(e.g. initramfs-tools) if we don't hardcode that requirement in this
tool.
This commit is contained in:
Colin Walters 2013-07-09 12:04:02 -04:00
parent 420763e90d
commit b5b2aca592
1 changed files with 0 additions and 5 deletions

View File

@ -100,11 +100,6 @@ main(int argc, char *argv[])
}
root_mountpoint = argv[1];
if (strcmp (root_mountpoint, "/sysroot") != 0)
{
fprintf (stderr, "ostree-prepare-root: Expected /sysroot\n");
exit (1);
}
ostree_target = parse_ostree_cmdline ();
if (!ostree_target)