search for: localebasedir

Displaying 20 results from an estimated 27 matches for "localebasedir".

Did you mean: dlocalebasedir
2017 Jan 26
2
[PATCH v2 0/2] Fix srandom issues.
A better way to solve this I think. Rich.
2016 Jun 01
2
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems and change root suggested by --suggest option in virt-rescue. Commands are passed on kernel command line in format guestfs_command=command;. Command ends with a semicolon and there can be multiple commands specified. These are executed just before bash starts. On successfull run user is presented directly with bash in
2014 Mar 20
5
[PATCH 1/3] builder/virt-index-validate: try to cleanup in any occasion
...ate.c index 4b7fe93..fed0f81 100644 --- a/builder/index-validate.c +++ b/builder/index-validate.c @@ -62,6 +62,7 @@ main (int argc, char *argv[]) struct section *sections; struct parse_context context; FILE *in; + int ret; setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEBASEDIR); @@ -109,19 +110,22 @@ main (int argc, char *argv[]) exit (EXIT_FAILURE); } - if (do_parse (&context, in) != 0) { - fprintf (stderr, _("%s: '%s' could not be validated, see errors above\n"), + ret = do_parse (&context, in); + + if (fclose (in) == EOF) { +...
2016 Jun 09
2
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...> " --format[=raw|..] Force disk format for -a option\n" > @@ -87,21 +92,30 @@ usage (int status) > exit (status); > } > > -int > -main (int argc, char *argv[]) > -{ > - setlocale (LC_ALL, ""); > - bindtextdomain (PACKAGE, LOCALEBASEDIR); > - textdomain (PACKAGE); > - > - parse_config (); > +struct drv *drvs = NULL; > +struct drv *drv; > +char **cmds = NULL; > +const char *format = NULL; > +bool format_consumed = true; > +int c; > +int option_index; > +int network = 0; > +char *append = NULL;...
2016 Jun 01
0
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...ain guest Add disks from libvirt guest\n" " --format[=raw|..] Force disk format for -a option\n" @@ -87,21 +92,30 @@ usage (int status) exit (status); } -int -main (int argc, char *argv[]) -{ - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEBASEDIR); - textdomain (PACKAGE); - - parse_config (); +struct drv *drvs = NULL; +struct drv *drv; +char **cmds = NULL; +const char *format = NULL; +bool format_consumed = true; +int c; +int option_index; +int network = 0; +char *append = NULL; +int memsize = 0; +int smp = 0; +int suggest = 0; +int autos...
2016 May 24
1
[PATCH] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems and change root suggested by --suggest option in virt-rescue. Commands are passed on kernel command line in format guestfs_command=command;. Command ends with a semicolon and there can be multiple commands specified. These are executed just before bash starts. On successfull run user is presented directly with bash in
2016 Jun 16
0
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...aw|..] Force disk format for -a option\n" >> @@ -87,21 +92,30 @@ usage (int status) >> exit (status); >> } >> >> -int >> -main (int argc, char *argv[]) >> -{ >> - setlocale (LC_ALL, ""); >> - bindtextdomain (PACKAGE, LOCALEBASEDIR); >> - textdomain (PACKAGE); >> - >> - parse_config (); >> +struct drv *drvs = NULL; >> +struct drv *drv; >> +char **cmds = NULL; >> +const char *format = NULL; >> +bool format_consumed = true; >> +int c; >> +int option_index; >> +...
2014 Mar 20
2
Re: [PATCH 1/3] builder/virt-index-validate: try to cleanup in any occasion
...; > @@ -62,6 +62,7 @@ main (int argc, char *argv[]) > > > > struct section *sections; > > struct parse_context context; > > FILE *in; > > > > + int ret; > > > > setlocale (LC_ALL, ""); > > bindtextdomain (PACKAGE, LOCALEBASEDIR); > > > > @@ -109,19 +110,22 @@ main (int argc, char *argv[]) > > > > exit (EXIT_FAILURE); > > > > } > > > > - if (do_parse (&context, in) != 0) { > > - fprintf (stderr, _("%s: '%s' could not be validated, see...
2012 Aug 06
1
[PATCH V2] virt-diff: add new virt-diff tool
...$(top_builddir)/src/libguestfs.la \ ../gnulib/lib/libgnu.la +virt_diff_SOURCES = \ + ../fish/keys.c \ + virt-diff.c + +virt_diff_CFLAGS = \ + -DGUESTFS_WARN_DEPRECATED=1 \ + -I$(top_srcdir)/src -I$(top_builddir)/src \ + -I$(top_srcdir)/fish \ + -I$(srcdir)/../gnulib/lib -I../gnulib/lib \ + -DLOCALEBASEDIR=\""$(datadir)/locale"\" \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + $(LIBCONFIG_CFLAGS) + +virt_diff_LDADD = \ + $(LIBCONFIG_LIBS) \ + $(top_builddir)/src/libguestfs.la \ + ../gnulib/lib/libgnu.la + # Manual pages and HTML files for the website. man_MANS = virt-cat.1 virt-filesyst...
2012 Feb 10
3
[PATCH 0/3] Fix guestfish edit command.
This is a further, more comprehensive fix for https://bugzilla.redhat.com/show_bug.cgi?id=788641 The guestfish 'edit' command (aka 'emacs', 'vi') suffered from the same problems as virt-edit and more. It could have failed and left a partially overwritten file, and it didn't preserve permissions etc from the original file. These three patches fix all this. The first
2016 Jul 22
1
[PATCH] static const char *str -> static const char str
...red) (guestfs_h *g, const char *pelem, void *data), void *data, char **pelem); diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index ad1601c..a5297ba 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -78,7 +78,7 @@ main (int argc, char *argv[]) bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); - static const char *options = "t:V?"; + static const char options[] = "t:V?"; static const struct option long_options[] = { { "help", 0, 0, '?' }, { "qemu", 1, 0, 0 }, diff --git a/utils/boot-analysis/boot-...
2017 Jan 26
3
[PATCH 0/3] p2v: Allow nbdkit as an alternative NBD server.
qemu-nbd is a fine NBD server. However it's not easy to compile a reliably working version on RHEL 5. This patch series allows nbdkit to be used as an alternative (qemu-nbd is still the default). Rich.
2013 Mar 04
1
[PATCH] fuse: Add guestmount-cleanup program to handle unmounting (RHBZ#916780).
* PATCH FOR DISCUSSION ONLY - NOT TO BE APPLIED * Colin suggested something which seems eminently sensible: https://bugzilla.redhat.com/show_bug.cgi?id=916780 I've been through a couple of rounds of trying to implement this. I started with adding the option as suggested to the guestmount program, but it tended to make the guestmount program more complex. More importantly, adding the option
2012 Jan 17
2
[PATCH v2] New tool: virt-format
This is the same as the previous patch, but the partition type is now chosen automatically from mbr or gpt, unless the user expresses a preference. https://gb.redhat.com/archives/libguestfs/2012-January/msg00136.html Rich.
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
...context, FILE *in); static void usage (int exit_status) @@ -60,11 +60,15 @@ main (int argc, char *argv[]) int compat_1_24_1 = 0; const char *input; struct section *sections; + struct parse_context context; + FILE *in; setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); + parse_context_init (&context); + for (;;) { c = getopt_long (argc, argv, options, long_options, &option_index); if (c == -1) break; @@ -99,32 +103,32 @@ main (int argc, char *argv[]) input = argv[optind++]; - yyin = fopen (input, "r&...
2016 Oct 03
3
[PATCH v2 0/2] New tool: virt-tail.
Nothing new in the virt-tail command itself, but the second commit includes a simple test. Rich.
2016 Oct 03
0
[PATCH v2 1/2] New tool: virt-tail.
...virt-filesystems virt-log virt-ls virt-tail SHARED_SOURCE_FILES = \ ../fish/windows.h \ @@ -132,14 +133,39 @@ virt_ls_LDADD = \ $(LTLIBINTL) \ ../gnulib/lib/libgnu.la +virt_tail_SOURCES = \ + $(SHARED_SOURCE_FILES) \ + tail.c + +virt_tail_CPPFLAGS = \ + -DGUESTFS_WARN_DEPRECATED=1 \ + -DLOCALEBASEDIR=\""$(datadir)/locale"\" \ + -I$(top_srcdir)/src -I$(top_builddir)/src \ + -I$(top_srcdir)/fish \ + -I$(srcdir)/../gnulib/lib -I../gnulib/lib + +virt_tail_CFLAGS = \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + $(LIBXML2_CFLAGS) + +virt_tail_LDADD = \ + $(top_builddir)/src/libutils.la \...
2016 Oct 01
1
[PATCH] New tool: virt-tail.
This adds a new tool which does a follow operation (ie. tail -f) on one or more log/text files inside the guest. I've only done limited testing, but it works for me for tailing various long-running builds inside guests which I'm doing at the moment. There are no tests at present. Rich.
2016 Oct 03
0
[PATCH v3 1/2] New tool: virt-tail.
...virt-filesystems virt-log virt-ls virt-tail SHARED_SOURCE_FILES = \ ../fish/windows.h \ @@ -132,14 +133,39 @@ virt_ls_LDADD = \ $(LTLIBINTL) \ ../gnulib/lib/libgnu.la +virt_tail_SOURCES = \ + $(SHARED_SOURCE_FILES) \ + tail.c + +virt_tail_CPPFLAGS = \ + -DGUESTFS_WARN_DEPRECATED=1 \ + -DLOCALEBASEDIR=\""$(datadir)/locale"\" \ + -I$(top_srcdir)/src -I$(top_builddir)/src \ + -I$(top_srcdir)/fish \ + -I$(srcdir)/../gnulib/lib -I../gnulib/lib + +virt_tail_CFLAGS = \ + $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + $(LIBXML2_CFLAGS) + +virt_tail_LDADD = \ + $(top_builddir)/src/libutils.la \...
2012 Jan 17
2
[PATCH] New tool: virt-format
Rather than me explaining over again what it does, I've included the man page below. Rich. ---------------------------------------------------------------------- virt-format(1) Virtualization Support virt-format(1) NAME virt-format - Erase and make a blank disk SYNOPSIS virt-format [--options] -a disk.img [-a disk.img ...] DESCRIPTION