[ostree] prepare-root: Don't be strict about the sysroot mount name here
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] prepare-root: Don't be strict about the sysroot mount name here
- Date: Tue, 9 Jul 2013 16:05:11 +0000 (UTC)
commit b5b2aca592d5bf82cac998c65ece3c2fd7119a71
Author: Colin Walters <walters verbum org>
Date: Tue Jul 9 12:04:02 2013 -0400
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.
src/switchroot/ostree-prepare-root.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c
index 72172dc..cc885d3 100644
--- a/src/switchroot/ostree-prepare-root.c
+++ b/src/switchroot/ostree-prepare-root.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]