[ostree-init] Default to "current" for root
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree-init] Default to "current" for root
- Date: Wed, 1 Feb 2012 15:31:11 +0000 (UTC)
commit 4f1d806a3224efa3e5e5b6ea37ad0135786ff191
Author: Colin Walters <walters verbum org>
Date: Wed Feb 1 10:25:39 2012 -0500
Default to "current" for root
So we'll have:
current -> gnomeos-3.4-i686-runtime-current -> gnomeos-3.4-i686-runtime-57ecdd28...
This avoids having to modify the grub entry if you want to switch
between -runtime-current and -devel-current.
src/ostree-init.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/ostree-init.c b/src/ostree-init.c
index 80ab17c..bf54165 100644
--- a/src/ostree-init.c
+++ b/src/ostree-init.c
@@ -203,10 +203,7 @@ main(int argc, char *argv[])
free (tmp);
if (!ostree_root)
- {
- fprintf (stderr, "No ostree= argument specified\n");
- exit (1);
- }
+ ostree_root = "current";
if (!readonly)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]