From: Hilko Bengen Date: Wed, 28 Aug 2024 12:47:02 +0000 (+0200) Subject: New upstream version 1.52.1 X-Git-Tag: archive/raspbian/1.52.3-1+rpi1^2^2^2^2~6^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8fa850b3adbdf9efc21b357403fe017d328b7048;p=guestfs-tools.git New upstream version 1.52.1 --- diff --git a/.gitignore b/.gitignore index c0ca330..b0ee958 100644 --- a/.gitignore +++ b/.gitignore @@ -130,22 +130,8 @@ Makefile.in /sysprep/sysprep-operations.pod /sysprep/sysprep_operation_*.mli /sysprep/virt-sysprep -/test-data/test.iso /test-data/blank-disks/blank-disk-* /test-data/fake-virtio-win/fake-virtio-win.iso -/test-data/files/100kallnewlines -/test-data/files/100kallspaces -/test-data/files/100kallzeroes -/test-data/files/100krandom -/test-data/files/10klines -/test-data/files/abssymlink -/test-data/files/bin-x86_64-dynamic.gz -/test-data/files/hello.b64 -/test-data/files/initrd -/test-data/files/initrd-x86_64.img -/test-data/files/initrd-x86_64.img.gz -/test-data/files/lib-i586.so.xz -/test-data/files/test-grep.txt.gz /test-data/phony-guests/archlinux.img /test-data/phony-guests/blank-*.img /test-data/phony-guests/coreos.img diff --git a/Makefile.in b/Makefile.in index 706fc95..c0168d6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -642,6 +642,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ diff --git a/README b/README index 2148f90..988c5f9 100644 --- a/README +++ b/README @@ -7,7 +7,11 @@ For discussion, development, patches, etc. please use the mailing list: https://lists.libguestfs.org -Copyright (C) 2009-2023 Red Hat Inc. +Upstream git repository: + + https://github.com/libguestfs/guestfs-tools + +Copyright (C) 2009-2024 Red Hat Inc. The programs are distributed under the GPLv2+. Some parts are LGPLv2+ licensed. See individual files for license details, and COPYING and diff --git a/aclocal.m4 b/aclocal.m4 index ea7165c..0ed8608 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -14,14 +14,14 @@ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, -[m4_warning([this file was generated for autoconf 2.71. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],, +[m4_warning([this file was generated for autoconf 2.72. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# build-to-host.m4 serial 1 -dnl Copyright (C) 2023 Free Software Foundation, Inc. +# build-to-host.m4 serial 3 +dnl Copyright (C) 2023-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -63,18 +63,18 @@ AC_DEFUN([gl_BUILD_TO_HOST], case "$build_os" in cygwin*) case "$host_os" in - mingw*) + mingw* | windows*) gl_final_[$1]=`cygpath -w "$gl_final_[$1]"` ;; esac ;; esac dnl Convert it to C string syntax. - [$1]_c=`echo "$gl_final_[$1]" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes"` + [$1]_c=`printf '%s\n' "$gl_final_[$1]" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` [$1]_c='"'"$[$1]_c"'"' AC_SUBST([$1_c]) dnl Define somedir_c_make. - [$1]_c_make=`echo "$[$1]_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2"` + [$1]_c_make=`printf '%s\n' "$[$1]_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` dnl Use the substituted somedir variable, when possible, so that the user dnl may adjust somedir a posteriori when there are no special characters. if test "$[$1]_c_make" = '\"'"${gl_final_[$1]}"'\"'; then @@ -92,9 +92,15 @@ changequote(,)dnl gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g" changequote([,])dnl gl_sed_escape_for_make_2='s,\$,\\$$,g' + dnl Find out how to remove carriage returns from output. Solaris /usr/ucb/tr + dnl does not understand '\r'. + case `echo r | tr -d '\r'` in + '') gl_tr_cr='\015' ;; + *) gl_tr_cr='\r' ;; + esac ]) -# gettext.m4 serial 77 (gettext-0.22) +# gettext.m4 serial 78 (gettext-0.22.4) dnl Copyright (C) 1995-2014, 2016, 2018-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -306,9 +312,16 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ]])], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) - dnl Now see whether libintl exists and depends on libiconv. - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" + dnl Now see whether libintl exists and depends on libiconv or other + dnl OS dependent libraries, specifically on macOS and AIX. + gt_LIBINTL_EXTRA="$INTL_MACOSX_LIBS" + AC_REQUIRE([AC_CANONICAL_HOST]) + case "$host_os" in + aix*) gt_LIBINTL_EXTRA="-lpthread" ;; + esac + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } \ + && { test -n "$LIBICONV" || test -n "$gt_LIBINTL_EXTRA"; }; then + LIBS="$LIBS $LIBICONV $gt_LIBINTL_EXTRA" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ @@ -330,8 +343,8 @@ $gt_revision_test_code bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ]])], - [LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" + [LIBINTL="$LIBINTL $LIBICONV $gt_LIBINTL_EXTRA" + LTLIBINTL="$LTLIBINTL $LTLIBICONV $gt_LIBINTL_EXTRA" eval "$gt_func_gnugettext_libintl=yes" ]) fi @@ -493,8 +506,8 @@ AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) -# host-cpu-c-abi.m4 serial 15 -dnl Copyright (C) 2002-2023 Free Software Foundation, Inc. +# host-cpu-c-abi.m4 serial 17 +dnl Copyright (C) 2002-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -956,224 +969,73 @@ EOF dnl Sets the HOST_CPU_C_ABI_32BIT variable to 'yes' if the C language ABI dnl (application binary interface) is a 32-bit one, to 'no' if it is a 64-bit -dnl one, or to 'unknown' if unknown. +dnl one. dnl This is a simplified variant of gl_HOST_CPU_C_ABI. AC_DEFUN([gl_HOST_CPU_C_ABI_32BIT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([32-bit host C ABI], [gl_cv_host_cpu_c_abi_32bit], - [if test -n "$gl_cv_host_cpu_c_abi"; then - case "$gl_cv_host_cpu_c_abi" in - i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) - gl_cv_host_cpu_c_abi_32bit=yes ;; - x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) - gl_cv_host_cpu_c_abi_32bit=no ;; - *) - gl_cv_host_cpu_c_abi_32bit=unknown ;; - esac - else - case "$host_cpu" in - - # CPUs that only support a 32-bit ABI. - arc \ - | bfin \ - | cris* \ - | csky \ - | epiphany \ - | ft32 \ - | h8300 \ - | m68k \ - | microblaze | microblazeel \ - | nds32 | nds32le | nds32be \ - | nios2 | nios2eb | nios2el \ - | or1k* \ - | or32 \ - | sh | sh[1234] | sh[1234]e[lb] \ - | tic6x \ - | xtensa* ) - gl_cv_host_cpu_c_abi_32bit=yes - ;; - - # CPUs that only support a 64-bit ABI. -changequote(,)dnl - alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ - | mmix ) -changequote([,])dnl - gl_cv_host_cpu_c_abi_32bit=no - ;; + [case "$host_cpu" in + + # CPUs that only support a 32-bit ABI. + arc \ + | bfin \ + | cris* \ + | csky \ + | epiphany \ + | ft32 \ + | h8300 \ + | m68k \ + | microblaze | microblazeel \ + | nds32 | nds32le | nds32be \ + | nios2 | nios2eb | nios2el \ + | or1k* \ + | or32 \ + | sh | sh[1234] | sh[1234]e[lb] \ + | tic6x \ + | xtensa* ) + gl_cv_host_cpu_c_abi_32bit=yes + ;; + # CPUs that only support a 64-bit ABI. changequote(,)dnl - i[34567]86 ) + alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ + | mmix ) changequote([,])dnl - gl_cv_host_cpu_c_abi_32bit=yes - ;; - - x86_64 ) - # On x86_64 systems, the C compiler may be generating code in one of - # these ABIs: - # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. - # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 - # with native Windows (mingw, MSVC). - # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. - # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if (defined __x86_64__ || defined __amd64__ \ - || defined _M_X64 || defined _M_AMD64) \ - && !(defined __ILP32__ || defined _ILP32) - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - arm* | aarch64 ) - # Assume arm with EABI. - # On arm64 systems, the C compiler may be generating code in one of - # these ABIs: - # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. - # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. - # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) - # On hppa, the C compiler may be generating 32-bit code or 64-bit - # code. In the latter case, it defines _LP64 and __LP64__. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#ifdef __LP64__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - ia64* ) - # On ia64 on HP-UX, the C compiler may be generating 64-bit code or - # 32-bit code. In the latter case, it defines _ILP32. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#ifdef _ILP32 - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=yes], - [gl_cv_host_cpu_c_abi_32bit=no]) - ;; - - mips* ) - # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this - # at 32. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - powerpc* ) - # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. - # No need to distinguish them here; the caller may distinguish - # them based on the OS. - # On powerpc64 systems, the C compiler may still be generating - # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may - # be generating 64-bit code. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __powerpc64__ || defined __LP64__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - rs6000 ) - gl_cv_host_cpu_c_abi_32bit=yes - ;; - - riscv32 | riscv64 ) - # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. - # Size of 'long' and 'void *': - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __LP64__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - s390* ) - # On s390x, the C compiler may be generating 64-bit (= s390x) code - # or 31-bit (= s390) code. - AC_COMPILE_IFELSE( - [AC_LANG_SOURCE( - [[#if defined __LP64__ || defined __s390x__ - int ok; - #else - error fail - #endif - ]])], - [gl_cv_host_cpu_c_abi_32bit=no], - [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; + gl_cv_host_cpu_c_abi_32bit=no + ;; - sparc | sparc64 ) - # UltraSPARCs running Linux have `uname -m` = "sparc64", but the - # C compiler still generates 32-bit code. + *) + if test -n "$gl_cv_host_cpu_c_abi"; then + dnl gl_HOST_CPU_C_ABI has already been run. Use its result. + case "$gl_cv_host_cpu_c_abi" in + i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) + gl_cv_host_cpu_c_abi_32bit=yes ;; + x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) + gl_cv_host_cpu_c_abi_32bit=no ;; + *) + gl_cv_host_cpu_c_abi_32bit=unknown ;; + esac + else + gl_cv_host_cpu_c_abi_32bit=unknown + fi + if test $gl_cv_host_cpu_c_abi_32bit = unknown; then AC_COMPILE_IFELSE( [AC_LANG_SOURCE( - [[#if defined __sparcv9 || defined __arch64__ - int ok; - #else - error fail - #endif + [[int test_pointer_size[sizeof (void *) - 5]; ]])], [gl_cv_host_cpu_c_abi_32bit=no], [gl_cv_host_cpu_c_abi_32bit=yes]) - ;; - - *) - gl_cv_host_cpu_c_abi_32bit=unknown - ;; - esac - fi + fi + ;; + esac ]) HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" ]) -# iconv.m4 serial 26 -dnl Copyright (C) 2000-2002, 2007-2014, 2016-2023 Free Software Foundation, +# iconv.m4 serial 27 +dnl Copyright (C) 2000-2002, 2007-2014, 2016-2024 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -1212,7 +1074,7 @@ AC_DEFUN([AM_ICONV_LINK], dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. - am_save_CPPFLAGS="$CPPFLAGS" + gl_saved_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ @@ -1229,7 +1091,7 @@ AC_DEFUN([AM_ICONV_LINK], iconv_close(cd);]])], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then - am_save_LIBS="$LIBS" + gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( @@ -1242,14 +1104,14 @@ AC_DEFUN([AM_ICONV_LINK], iconv_close(cd);]])], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) - LIBS="$am_save_LIBS" + LIBS="$gl_saved_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10. - am_save_LIBS="$LIBS" + gl_saved_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi @@ -1379,7 +1241,7 @@ AC_DEFUN([AM_ICONV_LINK], esac]) test "$am_cv_func_iconv_works" = no || break done - LIBS="$am_save_LIBS" + LIBS="$gl_saved_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; @@ -1398,7 +1260,7 @@ AC_DEFUN([AM_ICONV_LINK], else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. - CPPFLAGS="$am_save_CPPFLAGS" + CPPFLAGS="$gl_saved_CPPFLAGS" LIBICONV= LTLIBICONV= fi @@ -1466,8 +1328,8 @@ size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, si fi ]) -# intlmacosx.m4 serial 8 (gettext-0.20.2) -dnl Copyright (C) 2004-2014, 2016, 2019-2023 Free Software Foundation, Inc. +# intlmacosx.m4 serial 10 (gettext-0.23) +dnl Copyright (C) 2004-2014, 2016, 2019-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -1488,7 +1350,7 @@ AC_DEFUN([gt_INTL_MACOSX], dnl Check for API introduced in Mac OS X 10.4. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], - [gt_save_LIBS="$LIBS" + [gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( @@ -1496,7 +1358,7 @@ AC_DEFUN([gt_INTL_MACOSX], [[CFPreferencesCopyAppValue(NULL, NULL)]])], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) - LIBS="$gt_save_LIBS"]) + LIBS="$gt_saved_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) @@ -1511,7 +1373,7 @@ AC_DEFUN([gt_INTL_MACOSX], dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the dnl first among the preferred languages and CC is the territory. AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages], - [gt_save_LIBS="$LIBS" + [gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( @@ -1519,7 +1381,7 @@ AC_DEFUN([gt_INTL_MACOSX], [[CFLocaleCopyPreferredLanguages();]])], [gt_cv_func_CFLocaleCopyPreferredLanguages=yes], [gt_cv_func_CFLocaleCopyPreferredLanguages=no]) - LIBS="$gt_save_LIBS"]) + LIBS="$gt_saved_LIBS"]) if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1], [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.]) @@ -1527,13 +1389,17 @@ AC_DEFUN([gt_INTL_MACOSX], INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then - INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + dnl Starting with macOS version 14, CoreFoundation relies on CoreServices, + dnl and we have to link it in explicitly, otherwise an exception + dnl NSInvalidArgumentException "unrecognized selector sent to instance" + dnl occurs. + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) -# lib-ld.m4 serial 11 -dnl Copyright (C) 1996-2003, 2009-2023 Free Software Foundation, Inc. +# lib-ld.m4 serial 13 +dnl Copyright (C) 1996-2003, 2009-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -1601,7 +1467,7 @@ else if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in - *-*-mingw*) + *-*-mingw* | windows*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) @@ -1631,9 +1497,9 @@ else fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. - acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do - IFS="$acl_save_ifs" + IFS="$acl_saved_IFS" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" @@ -1650,7 +1516,7 @@ else esac fi done - IFS="$acl_save_ifs" + IFS="$acl_saved_IFS" fi case $host in *-*-aix*) @@ -1701,8 +1567,8 @@ fi AC_LIB_PROG_LD_GNU ]) -# lib-link.m4 serial 33 -dnl Copyright (C) 2001-2023 Free Software Foundation, Inc. +# lib-link.m4 serial 34 +dnl Copyright (C) 2001-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -1772,11 +1638,11 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. - ac_save_CPPFLAGS="$CPPFLAGS" + acl_saved_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ - ac_save_LIBS="$LIBS" + acl_saved_LIBS="$LIBS" dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, dnl because these -l options might require -L options that are present in dnl LIBS. -l options benefit only from the -L options listed before it. @@ -1792,7 +1658,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [AC_LANG_PROGRAM([[$3]], [[$4]])], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) - LIBS="$ac_save_LIBS" + LIBS="$acl_saved_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes @@ -1803,7 +1669,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. - CPPFLAGS="$ac_save_CPPFLAGS" + CPPFLAGS="$acl_saved_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= @@ -2240,12 +2106,12 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. - save_libdir="$libdir" + saved_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac - libdir="$save_libdir" + libdir="$saved_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in @@ -2385,18 +2251,18 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi @@ -2493,18 +2359,18 @@ AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" $1="${$1}${$1:+ }$flag" done fi @@ -2515,8 +2381,8 @@ AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], AC_SUBST([$1]) ]) -# lib-prefix.m4 serial 20 -dnl Copyright (C) 2001-2005, 2008-2023 Free Software Foundation, Inc. +# lib-prefix.m4 serial 22 +dnl Copyright (C) 2001-2005, 2008-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -2643,10 +2509,10 @@ AC_DEFUN([AC_LIB_PREPARE_PREFIX], else acl_final_exec_prefix="$exec_prefix" fi - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" + prefix="$acl_saved_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the @@ -2654,13 +2520,13 @@ dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates @@ -2773,6 +2639,15 @@ changequote([,])dnl esac fi ;; + netbsd*) + dnl On NetBSD/sparc64, there is a 'sparc' subdirectory that contains + dnl 32-bit libraries. + if test $HOST_CPU_C_ABI_32BIT != no; then + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparc ;; + esac + fi + ;; *) dnl If $CC generates code for a 32-bit ABI, the libraries are dnl surely under $prefix/lib or $prefix/lib32, not $prefix/lib64. @@ -2797,7 +2672,7 @@ changequote([,])dnl fi fi if test -n "$searchpath"; then - acl_save_IFS="${IFS= }"; IFS=":" + acl_saved_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in @@ -2814,7 +2689,7 @@ changequote([,])dnl esac fi done - IFS="$acl_save_IFS" + IFS="$acl_saved_IFS" if test $HOST_CPU_C_ABI_32BIT = yes; then # 32-bit ABI. acl_libdirstem3= @@ -2840,7 +2715,7 @@ changequote([,])dnl ]) # nls.m4 serial 6 (gettext-0.20.2) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2023 Free +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2024 Free dnl Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -3217,7 +3092,8 @@ AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], ])dnl PKG_HAVE_DEFINE_WITH_MODULES # po.m4 serial 32 (gettext-0.21.1) -dnl Copyright (C) 1995-2014, 2016, 2018-2022 Free Software Foundation, Inc. +dnl Copyright (C) 1995-2014, 2016, 2018-2022, 2024 Free Software Foundation, +dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -3671,8 +3547,8 @@ AC_DEFUN([AM_XGETTEXT_OPTION], XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" ]) -# progtest.m4 serial 9 (gettext-0.21.1) -dnl Copyright (C) 1996-2003, 2005, 2008-2023 Free Software Foundation, Inc. +# progtest.m4 serial 10 (gettext-0.23) +dnl Copyright (C) 1996-2003, 2005, 2008-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -3733,9 +3609,9 @@ AC_CACHE_VAL([ac_cv_path_$1], ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in m4_if([$5], , $PATH, [$5]); do - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then @@ -3747,7 +3623,7 @@ AC_CACHE_VAL([ac_cv_path_$1], fi done done - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. m4_if([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" diff --git a/align/Makefile.in b/align/Makefile.in index 8abb0b6..132c970 100644 --- a/align/Makefile.in +++ b/align/Makefile.in @@ -605,6 +605,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -708,7 +710,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/bash/Makefile.in b/bash/Makefile.in index 8f05013..4c83255 100644 --- a/bash/Makefile.in +++ b/bash/Makefile.in @@ -536,6 +536,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -639,7 +641,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/builder/Makefile.am b/builder/Makefile.am index 42606aa..b474f0c 100644 --- a/builder/Makefile.am +++ b/builder/Makefile.am @@ -412,8 +412,10 @@ test-console-%.sh: chmod 0755 $@-t mv $@-t $@ +DISTCLEANFILES += \ + $(console_test_scripts) + CLEANFILES += \ - $(console_test_scripts) \ console-*.img \ console-*.out diff --git a/builder/Makefile.in b/builder/Makefile.in index c24dda6..bdc213e 100644 --- a/builder/Makefile.in +++ b/builder/Makefile.in @@ -156,8 +156,8 @@ bin_PROGRAMS = $(am__EXEEXT_1) virt-index-validate$(EXEEXT) @HAVE_OCAML_TRUE@am__append_5 = \ @HAVE_OCAML_TRUE@ $(top_builddir)/website/virt-builder.1.html \ @HAVE_OCAML_TRUE@ $(top_builddir)/website/virt-builder-repository.1.html -@HAVE_OCAML_TRUE@am__append_6 = *.qcow2 *.xz $(console_test_scripts) \ -@HAVE_OCAML_TRUE@ console-*.img console-*.out +@HAVE_OCAML_TRUE@am__append_6 = *.qcow2 *.xz console-*.img \ +@HAVE_OCAML_TRUE@ console-*.out @HAVE_OCAML_TRUE@TESTS = test-docs.sh test-virt-builder-cacheall.sh \ @HAVE_OCAML_TRUE@ test-virt-builder-list.sh \ @HAVE_OCAML_TRUE@ test-virt-index-validate.sh $(SLOW_TESTS) \ @@ -166,6 +166,9 @@ bin_PROGRAMS = $(am__EXEEXT_1) virt-index-validate$(EXEEXT) @HAVE_OCAML_TRUE@check_PROGRAMS = $(am__EXEEXT_2) @HAVE_OCAML_PKG_OUNIT_TRUE@@HAVE_OCAML_TRUE@am__append_7 = index_parser_tests @HAVE_OCAML_PKG_OUNIT_TRUE@@HAVE_OCAML_TRUE@am__append_8 = index_parser_tests +@HAVE_OCAML_TRUE@am__append_9 = \ +@HAVE_OCAML_TRUE@ $(console_test_scripts) + subdir = builder ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ @@ -697,6 +700,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -788,7 +793,7 @@ CLEANFILES = *~ *.bak *.orig *.rej *.cmi *.cmo *.cma *.cmx *.cmxa \ index-parse.h index-scan.c # Files that should be universally removed by 'make distclean'. -DISTCLEANFILES = .depend stamp-* +DISTCLEANFILES = .depend stamp-* $(am__append_9) # Special suffixes used by OCaml. @@ -801,7 +806,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/builder/builder.ml b/builder/builder.ml index bd44556..cbf1b91 100644 --- a/builder/builder.ml +++ b/builder/builder.ml @@ -28,7 +28,6 @@ open Planner open Utils open Cmdline -open Customize_cmdline open Unix open Printf diff --git a/builder/cmdline.ml b/builder/cmdline.ml index 6ed338d..4a7721e 100644 --- a/builder/cmdline.ml +++ b/builder/cmdline.ml @@ -23,8 +23,6 @@ open Tools_utils open Common_gettext.Gettext open Getopt.OptionName -open Customize_cmdline - open Utils module G = Guestfs diff --git a/builder/templates/Makefile.in b/builder/templates/Makefile.in index 360cada..3c1ad1f 100644 --- a/builder/templates/Makefile.in +++ b/builder/templates/Makefile.in @@ -537,6 +537,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -640,7 +642,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/builder/templates/fedora-40.index-fragment b/builder/templates/fedora-40.index-fragment new file mode 100644 index 0000000..629af04 --- /dev/null +++ b/builder/templates/fedora-40.index-fragment @@ -0,0 +1,22 @@ +[fedora-40] +name=Fedora® 40 Server +osinfo=fedora40 +arch=x86_64 +file=fedora-40.xz +checksum[sha512]=614b5c3024c6f8c8f1282e0a513fec37ba0f1d47079f2d332a4679ce7fd2fc19b6818e2d9074c4b2a4e2e34344da91c5c2cf9760d9bc16bf383760155d64c16f +format=raw +size=6442450944 +compressed_size=758997184 +expand=/dev/sda3 +notes=Fedora® 40 Server + + This Fedora image contains only unmodified @Core group packages. + + Fedora and the Infinity design logo are trademarks of Red Hat, Inc. + Source and further information is available from http://fedoraproject.org/ + + This template was generated by a script in the libguestfs source tree: + builder/templates/make-template.ml + Associated files used to prepare this template can be found in the + same directory. + diff --git a/builder/templates/fedora-40.ks b/builder/templates/fedora-40.ks new file mode 100644 index 0000000..367db55 --- /dev/null +++ b/builder/templates/fedora-40.ks @@ -0,0 +1,48 @@ +# Kickstart file for fedora-40 +# Generated by libguestfs.git/builder/templates/make-template.ml + +text +reboot +lang en_US.UTF-8 +keyboard us +network --bootproto dhcp +rootpw builder +firewall --enabled --ssh +timezone --utc America/New_York +selinux --enforcing + +bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH" + + +zerombr +clearpart --all --initlabel --disklabel=gpt +autopart --type=plain + +# Halt the system once configuration has finished. +poweroff + +%packages +@core +%end + +%post +# Ensure the installation is up-to-date. +dnf -y --best upgrade +# This required otherwise the kernel will not be bootable, see +# https://bugzilla.redhat.com/show_bug.cgi?id=1911177 +# https://bugzilla.redhat.com/show_bug.cgi?id=1945835#c24 +grub2-mkconfig -o '/etc/grub2.cfg' +# Enable Xen domU support. +pushd /etc/dracut.conf.d +echo 'add_drivers+=" xen:vbd xen:vif "' > virt-builder-xen-drivers.conf +popd +# To make dracut config changes permanent, we need to rerun dracut. +# Rerun dracut for the installed kernel (not the running kernel). +# See commit 0fa52e4e45d80874bc5ea5f112f74be1d3f3472f and +# https://www.redhat.com/archives/libguestfs/2014-June/thread.html#00045 +KERNEL_VERSION="$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n' | + sort -V | tail -1)" +dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION +%end + +# EOF diff --git a/builder/templates/fedora-40.virt-install-cmd b/builder/templates/fedora-40.virt-install-cmd new file mode 100644 index 0000000..d4ef840 --- /dev/null +++ b/builder/templates/fedora-40.virt-install-cmd @@ -0,0 +1,20 @@ +# This is the virt-install command which was used to create +# the virt-builder template 'fedora-40' +# NB: This file is generated for documentation purposes ONLY! +# This script was never run, and is not intended to be run. + +'virt-install' \ + '--transient' \ + '--name=tmp-ku0dopjv' \ + '--ram=4096' \ + '--arch=x86_64' \ + '--cpu=host' \ + '--vcpus=4' \ + '--os-variant=fedora34' \ + '--initrd-inject=fedora-40.ks' \ + '--extra-args=inst.ks=file:/fedora-40.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \ + '--disk=/home/rjones/d/guestfs-tools/builder/templates/tmp-ku0dopjv.img,size=6,format=raw' \ + '--location=https://lon.mirror.rackspace.com/fedora/releases/40/Server/x86_64/os/' \ + '--serial=pty' \ + '--nographics' + diff --git a/builder/templates/rhel-8.8.ks b/builder/templates/rhel-8.8.ks new file mode 100644 index 0000000..c6940ba --- /dev/null +++ b/builder/templates/rhel-8.8.ks @@ -0,0 +1,29 @@ +# Kickstart file for rhel-8.8 +# Generated by libguestfs.git/builder/templates/make-template.ml + +install +text +reboot +lang en_US.UTF-8 +keyboard us +network --bootproto dhcp +rootpw builder +firewall --enabled --ssh +timezone --utc America/New_York +selinux --enforcing + +bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH" + + +zerombr +clearpart --all --initlabel --disklabel=gpt +autopart --type=plain + +# Halt the system once configuration has finished. +poweroff + +%packages +@core +%end + +# EOF diff --git a/builder/templates/rhel-8.8.virt-install-cmd b/builder/templates/rhel-8.8.virt-install-cmd new file mode 100644 index 0000000..a851bbf --- /dev/null +++ b/builder/templates/rhel-8.8.virt-install-cmd @@ -0,0 +1,20 @@ +# This is the virt-install command which was used to create +# the virt-builder template 'rhel-8.8' +# NB: This file is generated for documentation purposes ONLY! +# This script was never run, and is not intended to be run. + +'virt-install' \ + '--transient' \ + '--name=tmp-6yvnmvlk' \ + '--ram=4096' \ + '--arch=x86_64' \ + '--cpu=host' \ + '--vcpus=4' \ + '--os-variant=rhel8.5' \ + '--initrd-inject=rhel-8.8.ks' \ + '--extra-args=ks=file:/rhel-8.8.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \ + '--disk=/home/rjones/d/guestfs-tools/builder/templates/tmp-6yvnmvlk.img,size=6,format=raw' \ + '--location=http://download.eng.bos.redhat.com/released/rhel-6-7-8/rhel-8/RHEL-8/8.8.0/BaseOS/x86_64/os' \ + '--serial=pty' \ + '--nographics' + diff --git a/builder/templates/rhel-8.9.ks b/builder/templates/rhel-8.9.ks new file mode 100644 index 0000000..54ee0a7 --- /dev/null +++ b/builder/templates/rhel-8.9.ks @@ -0,0 +1,29 @@ +# Kickstart file for rhel-8.9 +# Generated by libguestfs.git/builder/templates/make-template.ml + +install +text +reboot +lang en_US.UTF-8 +keyboard us +network --bootproto dhcp +rootpw builder +firewall --enabled --ssh +timezone --utc America/New_York +selinux --enforcing + +bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH" + + +zerombr +clearpart --all --initlabel --disklabel=gpt +autopart --type=plain + +# Halt the system once configuration has finished. +poweroff + +%packages +@core +%end + +# EOF diff --git a/builder/templates/rhel-8.9.virt-install-cmd b/builder/templates/rhel-8.9.virt-install-cmd new file mode 100644 index 0000000..2be7a91 --- /dev/null +++ b/builder/templates/rhel-8.9.virt-install-cmd @@ -0,0 +1,20 @@ +# This is the virt-install command which was used to create +# the virt-builder template 'rhel-8.9' +# NB: This file is generated for documentation purposes ONLY! +# This script was never run, and is not intended to be run. + +'virt-install' \ + '--transient' \ + '--name=tmp-jxd2unb6' \ + '--ram=4096' \ + '--arch=x86_64' \ + '--cpu=host' \ + '--vcpus=4' \ + '--os-variant=rhel8.5' \ + '--initrd-inject=rhel-8.9.ks' \ + '--extra-args=ks=file:/rhel-8.9.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \ + '--disk=/home/rjones/d/guestfs-tools/builder/templates/tmp-jxd2unb6.img,size=6,format=raw' \ + '--location=http://download.eng.bos.redhat.com/released/rhel-6-7-8/rhel-8/RHEL-8/8.9.0/BaseOS/x86_64/os' \ + '--serial=pty' \ + '--nographics' + diff --git a/builder/templates/rhel-9.2.ks b/builder/templates/rhel-9.2.ks new file mode 100644 index 0000000..42b8eb7 --- /dev/null +++ b/builder/templates/rhel-9.2.ks @@ -0,0 +1,28 @@ +# Kickstart file for rhel-9.2 +# Generated by libguestfs.git/builder/templates/make-template.ml + +text +reboot +lang en_US.UTF-8 +keyboard us +network --bootproto dhcp +rootpw builder +firewall --enabled --ssh +timezone --utc America/New_York +selinux --enforcing + +bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH" + + +zerombr +clearpart --all --initlabel --disklabel=gpt +autopart --type=plain + +# Halt the system once configuration has finished. +poweroff + +%packages +@core +%end + +# EOF diff --git a/builder/templates/rhel-9.2.virt-install-cmd b/builder/templates/rhel-9.2.virt-install-cmd new file mode 100644 index 0000000..92b8b16 --- /dev/null +++ b/builder/templates/rhel-9.2.virt-install-cmd @@ -0,0 +1,20 @@ +# This is the virt-install command which was used to create +# the virt-builder template 'rhel-9.2' +# NB: This file is generated for documentation purposes ONLY! +# This script was never run, and is not intended to be run. + +'virt-install' \ + '--transient' \ + '--name=tmp-9dylr5am' \ + '--ram=4096' \ + '--arch=x86_64' \ + '--cpu=host' \ + '--vcpus=4' \ + '--os-variant=rhel9.0' \ + '--initrd-inject=rhel-9.2.ks' \ + '--extra-args=inst.ks=file:/rhel-9.2.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \ + '--disk=/home/rjones/d/guestfs-tools/builder/templates/tmp-9dylr5am.img,size=6,format=raw' \ + '--location=http://download.eng.bos.redhat.com/released/RHEL-9/9.2.0/BaseOS/x86_64/os' \ + '--serial=pty' \ + '--nographics' + diff --git a/builder/templates/rhel-9.3.ks b/builder/templates/rhel-9.3.ks new file mode 100644 index 0000000..65c6744 --- /dev/null +++ b/builder/templates/rhel-9.3.ks @@ -0,0 +1,28 @@ +# Kickstart file for rhel-9.3 +# Generated by libguestfs.git/builder/templates/make-template.ml + +text +reboot +lang en_US.UTF-8 +keyboard us +network --bootproto dhcp +rootpw builder +firewall --enabled --ssh +timezone --utc America/New_York +selinux --enforcing + +bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH" + + +zerombr +clearpart --all --initlabel --disklabel=gpt +autopart --type=plain + +# Halt the system once configuration has finished. +poweroff + +%packages +@core +%end + +# EOF diff --git a/builder/templates/rhel-9.3.virt-install-cmd b/builder/templates/rhel-9.3.virt-install-cmd new file mode 100644 index 0000000..4eccb39 --- /dev/null +++ b/builder/templates/rhel-9.3.virt-install-cmd @@ -0,0 +1,20 @@ +# This is the virt-install command which was used to create +# the virt-builder template 'rhel-9.3' +# NB: This file is generated for documentation purposes ONLY! +# This script was never run, and is not intended to be run. + +'virt-install' \ + '--transient' \ + '--name=tmp-67yzt4ko' \ + '--ram=4096' \ + '--arch=x86_64' \ + '--cpu=host' \ + '--vcpus=4' \ + '--os-variant=rhel9.0' \ + '--initrd-inject=rhel-9.3.ks' \ + '--extra-args=inst.ks=file:/rhel-9.3.ks console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH' \ + '--disk=/home/rjones/d/guestfs-tools/builder/templates/tmp-67yzt4ko.img,size=6,format=raw' \ + '--location=http://download.eng.bos.redhat.com/released/RHEL-9/9.3.0/BaseOS/x86_64/os' \ + '--serial=pty' \ + '--nographics' + diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh index 705788a..f839fd7 100755 --- a/builder/test-virt-builder.sh +++ b/builder/test-virt-builder.sh @@ -69,6 +69,7 @@ virt-builder phony-fedora \ --write '/etc/append6: ' \ --append-line '/etc/append6:line2' \ + --chown 1:1:/etc/append6 \ --firstboot Makefile --firstboot-command 'echo "hello"' \ --firstboot-install "minicom,inkscape" @@ -112,6 +113,7 @@ echo append5: cat /etc/append5 echo append6: cat /etc/append6 +stat /etc/append6 | grep '^[ug]id:' echo ----- EOF @@ -154,6 +156,8 @@ append6: line2 +uid: 1 +gid: 1 -----" ]; then echo "$0: unexpected output:" cat test-virt-builder.out diff --git a/cat/Makefile.in b/cat/Makefile.in index 4d2d93e..302987d 100644 --- a/cat/Makefile.in +++ b/cat/Makefile.in @@ -651,6 +651,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -754,7 +756,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/edit/Makefile.in b/common/edit/Makefile.in index 4fad1e1..c41363f 100644 --- a/common/edit/Makefile.in +++ b/common/edit/Makefile.in @@ -382,6 +382,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -485,7 +487,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlcustomize/Makefile.in b/common/mlcustomize/Makefile.in index 714bb98..8c70633 100644 --- a/common/mlcustomize/Makefile.in +++ b/common/mlcustomize/Makefile.in @@ -599,6 +599,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -702,7 +704,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlcustomize/customize_cmdline.ml b/common/mlcustomize/customize_cmdline.ml index 245d996..48ee334 100644 --- a/common/mlcustomize/customize_cmdline.ml +++ b/common/mlcustomize/customize_cmdline.ml @@ -157,7 +157,7 @@ let rec argspec () = let len = String.length arg in String.sub arg 0 i, String.sub arg (i+1) (len-(i+1)) and split_string_triplet option_name arg = - match String.nsplit ~max:3 "," arg with + match String.nsplit ~max:3 ":" arg with | [a; b; c] -> a, b, c | _ -> error (f_"invalid format for '--%s' parameter, see the man page") diff --git a/common/mldrivers/Makefile.in b/common/mldrivers/Makefile.in index 0c52d55..17526f3 100644 --- a/common/mldrivers/Makefile.in +++ b/common/mldrivers/Makefile.in @@ -388,6 +388,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -491,7 +493,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlgettext/Makefile.in b/common/mlgettext/Makefile.in index bd58dc1..1f8e46d 100644 --- a/common/mlgettext/Makefile.in +++ b/common/mlgettext/Makefile.in @@ -390,6 +390,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -493,7 +495,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlpcre/Makefile.in b/common/mlpcre/Makefile.in index d2f01fb..b50cc3a 100644 --- a/common/mlpcre/Makefile.in +++ b/common/mlpcre/Makefile.in @@ -599,6 +599,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -702,7 +704,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlprogress/Makefile.in b/common/mlprogress/Makefile.in index 730f397..f25caf4 100644 --- a/common/mlprogress/Makefile.in +++ b/common/mlprogress/Makefile.in @@ -389,6 +389,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -492,7 +494,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlstdutils/Makefile.in b/common/mlstdutils/Makefile.in index 2e7b8be..3175699 100644 --- a/common/mlstdutils/Makefile.in +++ b/common/mlstdutils/Makefile.in @@ -603,6 +603,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -706,7 +708,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mltools/Makefile.in b/common/mltools/Makefile.in index b450825..0bced17 100644 --- a/common/mltools/Makefile.in +++ b/common/mltools/Makefile.in @@ -669,6 +669,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -772,7 +774,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlutils/Makefile.in b/common/mlutils/Makefile.in index a7d7fcf..eafdf60 100644 --- a/common/mlutils/Makefile.in +++ b/common/mlutils/Makefile.in @@ -604,6 +604,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -707,7 +709,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlvisit/Makefile.in b/common/mlvisit/Makefile.in index 3087fdc..c0c31e3 100644 --- a/common/mlvisit/Makefile.in +++ b/common/mlvisit/Makefile.in @@ -602,6 +602,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -705,7 +707,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/mlxml/Makefile.in b/common/mlxml/Makefile.in index b8b6ae7..c2c948b 100644 --- a/common/mlxml/Makefile.in +++ b/common/mlxml/Makefile.in @@ -389,6 +389,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -492,7 +494,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/options/Makefile.in b/common/options/Makefile.in index 3eab7d7..a56b911 100644 --- a/common/options/Makefile.in +++ b/common/options/Makefile.in @@ -395,6 +395,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -498,7 +500,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/options/uri.c b/common/options/uri.c index 84d393c..9180d6a 100644 --- a/common/options/uri.c +++ b/common/options/uri.c @@ -99,7 +99,7 @@ is_uri (const char *arg) return 0; for (p--; p >= arg; p--) { - if (!c_islower (*p)) + if (! (c_islower (*p) || *p == '+')) return 0; } @@ -148,7 +148,10 @@ parse (const char *arg, char **path_ret, char **protocol_ret, } */ - *protocol_ret = strdup (uri->scheme); + if (STREQ (uri->scheme, "nbd+unix")) + *protocol_ret = strdup ("nbd"); + else + *protocol_ret = strdup (uri->scheme); if (*protocol_ret == NULL) { perror ("strdup: protocol"); return -1; @@ -194,7 +197,7 @@ parse (const char *arg, char **path_ret, char **protocol_ret, if (path && path[0] == '/' && (STREQ (uri->scheme, "gluster") || STREQ (uri->scheme, "iscsi") || - STREQ (uri->scheme, "nbd") || + STRPREFIX (uri->scheme, "nbd") || STREQ (uri->scheme, "rbd") || STREQ (uri->scheme, "sheepdog"))) path++; diff --git a/common/parallel/Makefile.in b/common/parallel/Makefile.in index e13674e..afe9196 100644 --- a/common/parallel/Makefile.in +++ b/common/parallel/Makefile.in @@ -392,6 +392,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -495,7 +497,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/progress/Makefile.in b/common/progress/Makefile.in index 12aa8ae..8a0cbc9 100644 --- a/common/progress/Makefile.in +++ b/common/progress/Makefile.in @@ -385,6 +385,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -488,7 +490,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/progress/progress.c b/common/progress/progress.c index e4b3066..5848abd 100644 --- a/common/progress/progress.c +++ b/common/progress/progress.c @@ -123,6 +123,7 @@ progress_bar_init (unsigned flags) bar->machine_readable = 1; bar->utf8_mode = 0; bar->have_terminfo = 0; + bar->fp = NULL; } else { bar->machine_readable = 0; diff --git a/common/structs/Makefile.in b/common/structs/Makefile.in index ec9ff11..96d6982 100644 --- a/common/structs/Makefile.in +++ b/common/structs/Makefile.in @@ -386,6 +386,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -489,7 +491,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/utils/Makefile.in b/common/utils/Makefile.in index 0398402..8086e1c 100644 --- a/common/utils/Makefile.in +++ b/common/utils/Makefile.in @@ -391,6 +391,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -494,7 +496,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/visit/Makefile.in b/common/visit/Makefile.in index 495cc54..abce524 100644 --- a/common/visit/Makefile.in +++ b/common/visit/Makefile.in @@ -382,6 +382,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -485,7 +487,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/common/windows/Makefile.in b/common/windows/Makefile.in index 9f0b4d5..42f943a 100644 --- a/common/windows/Makefile.in +++ b/common/windows/Makefile.in @@ -384,6 +384,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -487,7 +489,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/config.h.in b/config.h.in index 40cf394..5eb2c50 100644 --- a/config.h.in +++ b/config.h.in @@ -7,7 +7,7 @@ /* Define to 1 if '__attribute__((cleanup(...)))' works with this compiler. */ #undef HAVE_ATTRIBUTE_CLEANUP -/* Define to 1 if you have the `be32toh' function. */ +/* Define to 1 if you have the 'be32toh' function. */ #undef HAVE_BE32TOH /* Define to 1 if you have the header file. */ @@ -31,7 +31,7 @@ */ #undef HAVE_DCGETTEXT -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you +/* Define to 1 if you have the declaration of 'strerror_r', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_R @@ -44,43 +44,43 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ERRNO_H -/* Define to 1 if you have the `error' function. */ +/* Define to 1 if you have the 'error' function. */ #undef HAVE_ERROR /* Define to 1 if you have the header file. */ #undef HAVE_ERROR_H -/* Define to 1 if you have the `fsync' function. */ +/* Define to 1 if you have the 'fsync' function. */ #undef HAVE_FSYNC -/* Define to 1 if you have the `futimens' function. */ +/* Define to 1 if you have the 'futimens' function. */ #undef HAVE_FUTIMENS -/* Define to 1 if you have the `getprogname' function. */ +/* Define to 1 if you have the 'getprogname' function. */ #undef HAVE_GETPROGNAME /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT -/* Define to 1 if you have the `getxattr' function. */ +/* Define to 1 if you have the 'getxattr' function. */ #undef HAVE_GETXATTR -/* Define to 1 if you have the `htonl' function. */ +/* Define to 1 if you have the 'htonl' function. */ #undef HAVE_HTONL -/* Define to 1 if you have the `htons' function. */ +/* Define to 1 if you have the 'htons' function. */ #undef HAVE_HTONS /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV -/* Define to 1 if you have the `inotify_init1' function. */ +/* Define to 1 if you have the 'inotify_init1' function. */ #undef HAVE_INOTIFY_INIT1 /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `lgetxattr' function. */ +/* Define to 1 if you have the 'lgetxattr' function. */ #undef HAVE_LGETXATTR /* liblzma found at compile time. */ @@ -101,64 +101,64 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LINUX_RTC_H -/* Define to 1 if you have the `listxattr' function. */ +/* Define to 1 if you have the 'listxattr' function. */ #undef HAVE_LISTXATTR -/* Define to 1 if you have the `llistxattr' function. */ +/* Define to 1 if you have the 'llistxattr' function. */ #undef HAVE_LLISTXATTR -/* Define to 1 if you have the `lremovexattr' function. */ +/* Define to 1 if you have the 'lremovexattr' function. */ #undef HAVE_LREMOVEXATTR -/* Define to 1 if you have the `lsetxattr' function. */ +/* Define to 1 if you have the 'lsetxattr' function. */ #undef HAVE_LSETXATTR -/* Define to 1 if you have the `lzma_index_stream_flags' function. */ +/* Define to 1 if you have the 'lzma_index_stream_flags' function. */ #undef HAVE_LZMA_INDEX_STREAM_FLAGS -/* Define to 1 if you have the `lzma_index_stream_padding' function. */ +/* Define to 1 if you have the 'lzma_index_stream_padding' function. */ #undef HAVE_LZMA_INDEX_STREAM_PADDING /* Define to 1 if you have the header file. */ #undef HAVE_MINIX_CONFIG_H -/* Define to 1 if you have the `mknod' function. */ +/* Define to 1 if you have the 'mknod' function. */ #undef HAVE_MKNOD -/* Define to 1 if you have the `ntohl' function. */ +/* Define to 1 if you have the 'ntohl' function. */ #undef HAVE_NTOHL -/* Define to 1 if you have the `ntohs' function. */ +/* Define to 1 if you have the 'ntohs' function. */ #undef HAVE_NTOHS -/* Define to 1 if you have the `posix_fadvise' function. */ +/* Define to 1 if you have the 'posix_fadvise' function. */ #undef HAVE_POSIX_FADVISE -/* Define to 1 if you have the `posix_fallocate' function. */ +/* Define to 1 if you have the 'posix_fallocate' function. */ #undef HAVE_POSIX_FALLOCATE /* Define to 1 if you have the header file. */ #undef HAVE_PRINTF_H -/* Define to 1 if you have the `removexattr' function. */ +/* Define to 1 if you have the 'removexattr' function. */ #undef HAVE_REMOVEXATTR -/* Define to 1 if you have the `setitimer' function. */ +/* Define to 1 if you have the 'setitimer' function. */ #undef HAVE_SETITIMER -/* Define to 1 if you have the `setrlimit' function. */ +/* Define to 1 if you have the 'setrlimit' function. */ #undef HAVE_SETRLIMIT -/* Define to 1 if you have the `setxattr' function. */ +/* Define to 1 if you have the 'setxattr' function. */ #undef HAVE_SETXATTR -/* Define to 1 if you have the `sigaction' function. */ +/* Define to 1 if you have the 'sigaction' function. */ #undef HAVE_SIGACTION -/* Define to 1 if you have the `statfs' function. */ +/* Define to 1 if you have the 'statfs' function. */ #undef HAVE_STATFS -/* Define to 1 if you have the `statvfs' function. */ +/* Define to 1 if you have the 'statvfs' function. */ #undef HAVE_STATVFS /* Define to 1 if you have the header file. */ @@ -170,7 +170,7 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H -/* Define if you have `strerror_r'. */ +/* Define if you have 'strerror_r'. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the header file. */ @@ -179,7 +179,7 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the `sync' function. */ +/* Define to 1 if you have the 'sync' function. */ #undef HAVE_SYNC /* Define to 1 if you have the header file. */ @@ -233,17 +233,17 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H -/* Define to 1 if you have the `xmlBufferDetach' function. */ +/* Define to 1 if you have the 'xmlBufferDetach' function. */ #undef HAVE_XMLBUFFERDETACH /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR -/* Define to 1 if `major', `minor', and `makedev' are declared in . +/* Define to 1 if 'major', 'minor', and 'makedev' are declared in . */ #undef MAJOR_IN_MKDEV -/* Define to 1 if `major', `minor', and `makedev' are declared in +/* Define to 1 if 'major', 'minor', and 'makedev' are declared in . */ #undef MAJOR_IN_SYSMACROS @@ -274,10 +274,10 @@ /* Define to 1 if the C compiler supports function prototypes. */ #undef PROTOTYPES -/* The size of `long', as computed by sizeof. */ +/* The size of 'long', as computed by sizeof. */ #undef SIZEOF_LONG -/* Define to 1 if all of the C90 standard headers exist (not just the ones +/* Define to 1 if all of the C89 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for backward compatibility; new code need not use it. */ #undef STDC_HEADERS @@ -285,7 +285,7 @@ /* Define to 1 if strerror_r returns char *. */ #undef STRERROR_R_CHAR_P -/* Enable extensions on AIX 3, Interix. */ +/* Enable extensions on AIX, Interix, z/OS. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif @@ -346,11 +346,15 @@ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif -/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif @@ -379,16 +383,22 @@ /* Name of xzcat program. */ #undef XZCAT -/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a - `char[]'. */ +/* Define to 1 if 'lex' declares 'yytext' as a 'char *' by default, not a + 'char[]'. */ #undef YYTEXT_POINTER /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS -/* Define for large files, on AIX-style hosts. */ +/* Define to 1 on platforms where this makes off_t a 64-bit type. */ #undef _LARGE_FILES +/* Number of bits in time_t, on hosts where this is settable. */ +#undef _TIME_BITS + +/* Define to 1 on platforms where this makes time_t a 64-bit type. */ +#undef __MINGW_USE_VC2005_COMPAT + /* Define like PROTOTYPES; this can be used by system headers. */ #undef __PROTOTYPES diff --git a/configure b/configure index 5860871..7c62504 100755 --- a/configure +++ b/configure @@ -1,9 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for guestfs-tools 1.52.0. +# Generated by GNU Autoconf 2.72 for guestfs-tools 1.52.1. # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, # Inc. # # @@ -15,7 +15,6 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh @@ -24,12 +23,13 @@ then : # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else $as_nop - case `(set -o) 2>/dev/null` in #( +else case e in #( + e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi @@ -101,7 +101,7 @@ IFS=$as_save_IFS ;; esac -# We did not find ourselves, most probably we were run as `sh COMMAND' +# We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 @@ -131,15 +131,14 @@ case $- in # (((( esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. +# out after a failed 'exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="as_nop=: -if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 + as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: @@ -147,12 +146,13 @@ then : # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else \$as_nop - case \`(set -o) 2>/dev/null\` in #( +else case e in #( + e) case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi " @@ -170,8 +170,9 @@ as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ) then : -else \$as_nop - exitcode=1; echo positional parameters were not saved. +else case e in #( + e) exitcode=1; echo positional parameters were not saved. ;; +esac fi test x\$exitcode = x0 || exit 1 blah=\$(echo \$(echo blah)) @@ -193,14 +194,15 @@ test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null then : as_have_required=yes -else $as_nop - as_have_required=no +else case e in #( + e) as_have_required=no ;; +esac fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null then : -else $as_nop - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else case e in #( + e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do @@ -233,12 +235,13 @@ IFS=$as_save_IFS if $as_found then : -else $as_nop - if { test -f "$SHELL" || test -f "$SHELL.exe"; } && +else case e in #( + e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$SHELL as_have_required=yes -fi +fi ;; +esac fi @@ -260,7 +263,7 @@ case $- in # (((( esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. +# out after a failed 'exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi @@ -279,7 +282,8 @@ $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 -fi +fi ;; +esac fi fi SHELL=${CONFIG_SHELL-/bin/sh} @@ -318,14 +322,6 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -394,11 +390,12 @@ then : { eval $1+=\$2 }' -else $as_nop - as_fn_append () +else case e in #( + e) as_fn_append () { eval $1=\$$1\$2 - } + } ;; +esac fi # as_fn_append # as_fn_arith ARG... @@ -412,21 +409,14 @@ then : { as_val=$(( $* )) }' -else $as_nop - as_fn_arith () +else case e in #( + e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } + } ;; +esac fi # as_fn_arith -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -500,6 +490,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' + t clear + :clear s/[$]LINENO.*/&-/ t lineno b @@ -548,7 +540,6 @@ esac as_echo='printf %s\n' as_echo_n='printf %s' - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -560,9 +551,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. + # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -587,10 +578,12 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed '$as_sed_sh'" # deprecated SHELL=${CONFIG_SHELL-/bin/sh} @@ -618,8 +611,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='guestfs-tools' PACKAGE_TARNAME='guestfs-tools' -PACKAGE_VERSION='1.52.0' -PACKAGE_STRING='guestfs-tools 1.52.0' +PACKAGE_VERSION='1.52.1' +PACKAGE_STRING='guestfs-tools 1.52.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -656,6 +649,7 @@ ac_includes_default="\ ac_header_c_list= gt_needs= +enable_year2038=no ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -760,6 +754,8 @@ PKG_CONFIG_PATH PKG_CONFIG GCC_VISIBILITY_HIDDEN VERSION_SCRIPT_FLAGS +WERROR_CFLAGS +WARN_CFLAGS CPP VG VALGRIND @@ -909,6 +905,7 @@ with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock +enable_werror enable_largefile enable_nls enable_rpath @@ -917,6 +914,7 @@ with_libintl_prefix with_libvirt enable_ocaml enable_perl +enable_year2038 ' ac_precious_vars='build_alias host_alias @@ -1062,7 +1060,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1088,7 +1086,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1301,7 +1299,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: \`$ac_useropt'" + as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1317,7 +1315,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: \`$ac_useropt'" + as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1347,8 +1345,8 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" + -*) as_fn_error $? "unrecognized option: '$ac_option' +Try '$0 --help' for more information" ;; *=*) @@ -1356,7 +1354,7 @@ Try \`$0 --help' for more information" # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + as_fn_error $? "invalid variable name: '$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1406,7 +1404,7 @@ do as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done -# There might be people who depend on the old broken behavior: `$host' +# There might be people who depend on the old broken behavior: '$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias @@ -1474,7 +1472,7 @@ if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` @@ -1502,7 +1500,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures guestfs-tools 1.52.0 to adapt to many kinds of systems. +'configure' configures guestfs-tools 1.52.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1516,11 +1514,11 @@ Configuration: --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages + -q, --quiet, --silent do not print 'checking ...' messages --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' + -C, --config-cache alias for '--cache-file=config.cache' -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] + --srcdir=DIR find the sources in DIR [configure dir or '..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @@ -1528,10 +1526,10 @@ Installation directories: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. +By default, 'make install' will install all the files in +'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify +an installation prefix other than '$ac_default_prefix' using '--prefix', +for instance '--prefix=\$HOME'. For better control, use the options below. @@ -1573,7 +1571,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of guestfs-tools 1.52.0:";; + short | recursive ) echo "Configuration of guestfs-tools 1.52.1:";; esac cat <<\_ACEOF @@ -1592,11 +1590,13 @@ Optional Features: --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) + --enable-werror turn on lots of GCC warnings (for developers) --disable-largefile omit support for large files --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths --disable-ocaml disable OCaml language bindings and tools --disable-perl disable Perl language bindings + --enable-year2038 support timestamps after 2038 Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1627,12 +1627,12 @@ Some influential environment variables: you have headers in a nonstandard directory LT_SYS_LIBRARY_PATH User-defined run-time library search path. - YACC The `Yet Another Compiler Compiler' implementation to use. - Defaults to the first program found out of: `bison -y', `byacc', - `yacc'. + YACC The 'Yet Another Compiler Compiler' implementation to use. + Defaults to the first program found out of: 'bison -y', 'byacc', + 'yacc'. YFLAGS The list of arguments that will be passed by default to $YACC. This script will default YFLAGS to the empty string to avoid a - default value of `-d' given by some make applications. + default value of '-d' given by some make applications. CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH @@ -1681,7 +1681,7 @@ Some influential environment variables: BASH_COMPLETION_LIBS linker flags for BASH_COMPLETION, overriding pkg-config -Use these variables to override the choices made by `configure' or to help +Use these variables to override the choices made by 'configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. @@ -1748,10 +1748,10 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -guestfs-tools configure 1.52.0 -generated by GNU Autoconf 2.71 +guestfs-tools configure 1.52.1 +generated by GNU Autoconf 2.72 -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2023 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1790,11 +1790,12 @@ printf "%s\n" "$ac_try_echo"; } >&5 } && test -s conftest.$ac_objext then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -1813,8 +1814,8 @@ printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> @@ -1822,10 +1823,12 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 @@ -1865,11 +1868,12 @@ printf "%s\n" "$ac_try_echo"; } >&5 } then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would @@ -1892,15 +1896,15 @@ printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. */ + which can conflict with char $2 (void); below. */ #include #undef $2 @@ -1911,7 +1915,7 @@ else $as_nop #ifdef __cplusplus extern "C" #endif -char $2 (); +char $2 (void); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -1930,11 +1934,13 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$3=yes" -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 @@ -1970,11 +1976,12 @@ printf "%s\n" "$ac_try_echo"; } >&5 } then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -2011,12 +2018,13 @@ printf "%s\n" "$ac_try_echo"; } >&5 test $ac_status = 0; }; } then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: program exited with status $ac_status" >&5 +else case e in #( + e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5 printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=$ac_status + ac_retval=$ac_status ;; +esac fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno @@ -2069,18 +2077,19 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid; break -else $as_nop - as_fn_arith $ac_mid + 1 && ac_lo=$as_val +else case e in #( + e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int @@ -2115,20 +2124,23 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=$ac_mid; break -else $as_nop - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val +else case e in #( + e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else $as_nop - ac_lo= ac_hi= +else case e in #( + e) ac_lo= ac_hi= ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. @@ -2151,8 +2163,9 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid -else $as_nop - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +else case e in #( + e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done @@ -2200,8 +2213,9 @@ _ACEOF if ac_fn_c_try_run "$LINENO" then : echo >>conftest.val; read $3 &6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 -else $as_nop - as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` +else case e in #( + e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` eval ac_save_FLAGS=\$$6 as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -2251,12 +2265,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" -else $as_nop - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval $6=\$ac_save_FLAGS - + ;; +esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 @@ -2288,8 +2304,8 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by guestfs-tools $as_me 1.52.0, which was -generated by GNU Autoconf 2.71. Invocation command line was +It was created by guestfs-tools $as_me 1.52.1, which was +generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -2535,10 +2551,10 @@ esac printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } fi done @@ -2575,9 +2591,7 @@ struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; +static char *e (char **p, int i) { return p[i]; } @@ -2591,6 +2605,21 @@ static char *f (char * (*g) (char **, int), char **p, ...) return s; } +/* C89 style stringification. */ +#define noexpand_stringify(a) #a +const char *stringified = noexpand_stringify(arbitrary+token=sequence); + +/* C89 style token pasting. Exercises some of the corner cases that + e.g. old MSVC gets wrong, but not very hard. */ +#define noexpand_concat(a,b) a##b +#define expand_concat(a,b) noexpand_concat(a,b) +extern int vA; +extern int vbee; +#define aye A +#define bee B +int *pvA = &expand_concat(v,aye); +int *pvbee = &noexpand_concat(v,bee); + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated @@ -2618,16 +2647,19 @@ ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); # Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' -// Does the compiler advertise C99 conformance? +/* Does the compiler advertise C99 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif +// See if C++-style comments work. + #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); +extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare @@ -2677,7 +2709,6 @@ typedef const char *ccp; static inline int test_restrict (ccp restrict text) { - // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) @@ -2743,6 +2774,8 @@ ac_c_conftest_c99_main=' ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; + // Work around memory leak warnings. + free (ia); // Check named initializers. struct named_init ni = { @@ -2764,7 +2797,7 @@ ac_c_conftest_c99_main=' # Test code for whether the C compiler supports C11 (global declarations) ac_c_conftest_c11_globals=' -// Does the compiler advertise C11 conformance? +/* Does the compiler advertise C11 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L # error "Compiler does not advertise C11 conformance" #endif @@ -2958,8 +2991,9 @@ IFS=$as_save_IFS if $as_found then : -else $as_nop - as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 +else case e in #( + e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; +esac fi @@ -2987,12 +3021,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 +printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) @@ -3001,18 +3035,18 @@ printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 +printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 +printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 +printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. @@ -3028,11 +3062,11 @@ printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## @@ -3087,8 +3121,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3110,7 +3144,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -3132,8 +3167,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then +else case e in #( + e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3155,7 +3190,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then @@ -3190,8 +3226,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3213,7 +3249,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -3235,8 +3272,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no @@ -3275,7 +3312,8 @@ if test $ac_prog_rejected = yes; then ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -3299,8 +3337,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3322,7 +3360,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -3348,8 +3387,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then +else case e in #( + e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3371,7 +3410,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then @@ -3409,8 +3449,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then +else case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3432,7 +3472,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then @@ -3454,8 +3495,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then +else case e in #( + e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3477,7 +3518,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then @@ -3506,10 +3548,10 @@ fi fi -test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -3581,8 +3623,8 @@ printf "%s\n" "$ac_try_echo"; } >&5 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' + # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. +# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. @@ -3602,7 +3644,7 @@ do ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' + # safe: cross compilers may not add the suffix if given an '-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. @@ -3613,8 +3655,9 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else $as_nop - ac_file='' +else case e in #( + e) ac_file='' ;; +esac fi if test -z "$ac_file" then : @@ -3623,13 +3666,14 @@ printf "%s\n" "no" >&6; } printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } +See 'config.log' for more details" "$LINENO" 5; } +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 printf %s "checking for C compiler default output file name... " >&6; } @@ -3653,10 +3697,10 @@ printf "%s\n" "$ac_try_echo"; } >&5 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. + # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) +# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will +# work properly (i.e., refer to 'conftest.exe'), while it won't with +# 'rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in @@ -3666,11 +3710,12 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +else case e in #( + e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi rm -f conftest conftest$ac_cv_exeext { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -3686,6 +3731,8 @@ int main (void) { FILE *f = fopen ("conftest.out", "w"); + if (!f) + return 1; return ferror (f) || fclose (f) != 0; ; @@ -3725,26 +3772,27 @@ printf "%s\n" "$ac_try_echo"; } >&5 if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5; } +If you meant to cross compile, use '--host'. +See 'config.log' for more details" "$LINENO" 5; } fi fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 printf "%s\n" "$cross_compiling" >&6; } -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +rm -f conftest.$ac_ext conftest$ac_cv_exeext \ + conftest.o conftest.obj conftest.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 printf %s "checking for suffix of object files... " >&6; } if test ${ac_cv_objext+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3776,16 +3824,18 @@ then : break;; esac done -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext +rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 printf "%s\n" "$ac_cv_objext" >&6; } @@ -3796,8 +3846,8 @@ printf %s "checking whether the compiler supports GNU C... " >&6; } if test ${ac_cv_c_compiler_gnu+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3814,12 +3864,14 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_compiler_gnu=yes -else $as_nop - ac_compiler_gnu=no +else case e in #( + e) ac_compiler_gnu=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } @@ -3837,8 +3889,8 @@ printf %s "checking whether $CC accepts -g... " >&6; } if test ${ac_cv_prog_cc_g+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_c_werror_flag=$ac_c_werror_flag +else case e in #( + e) ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" @@ -3856,8 +3908,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes -else $as_nop - CFLAGS="" +else case e in #( + e) CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3872,8 +3924,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - ac_c_werror_flag=$ac_save_c_werror_flag +else case e in #( + e) ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3890,12 +3942,15 @@ if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag + ac_c_werror_flag=$ac_save_c_werror_flag ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 printf "%s\n" "$ac_cv_prog_cc_g" >&6; } @@ -3922,8 +3977,8 @@ printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c11=no +else case e in #( + e) ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3940,25 +3995,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC +CC=$ac_save_CC ;; +esac fi if test "x$ac_cv_prog_cc_c11" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c11" = x +else case e in #( + e) if test "x$ac_cv_prog_cc_c11" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } - CC="$CC $ac_cv_prog_cc_c11" + CC="$CC $ac_cv_prog_cc_c11" ;; +esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 - ac_prog_cc_stdc=c11 + ac_prog_cc_stdc=c11 ;; +esac fi fi if test x$ac_prog_cc_stdc = xno @@ -3968,8 +4026,8 @@ printf %s "checking for $CC option to enable C99 features... " >&6; } if test ${ac_cv_prog_cc_c99+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c99=no +else case e in #( + e) ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3986,25 +4044,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC +CC=$ac_save_CC ;; +esac fi if test "x$ac_cv_prog_cc_c99" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c99" = x +else case e in #( + e) if test "x$ac_cv_prog_cc_c99" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } - CC="$CC $ac_cv_prog_cc_c99" + CC="$CC $ac_cv_prog_cc_c99" ;; +esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 - ac_prog_cc_stdc=c99 + ac_prog_cc_stdc=c99 ;; +esac fi fi if test x$ac_prog_cc_stdc = xno @@ -4014,8 +4075,8 @@ printf %s "checking for $CC option to enable C89 features... " >&6; } if test ${ac_cv_prog_cc_c89+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c89=no +else case e in #( + e) ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -4032,25 +4093,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext -CC=$ac_save_CC +CC=$ac_save_CC ;; +esac fi if test "x$ac_cv_prog_cc_c89" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c89" = x +else case e in #( + e) if test "x$ac_cv_prog_cc_c89" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } - CC="$CC $ac_cv_prog_cc_c89" + CC="$CC $ac_cv_prog_cc_c89" ;; +esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 - ac_prog_cc_stdc=c89 + ac_prog_cc_stdc=c89 ;; +esac fi fi @@ -4071,8 +4135,8 @@ printf %s "checking whether $CC understands -c and -o together... " >&6; } if test ${am_cv_prog_cc_c_o+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4102,7 +4166,8 @@ _ACEOF fi done rm -f core conftest* - unset am_i + unset am_i ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } @@ -4162,8 +4227,8 @@ printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } if test ${ac_cv_safe_to_define___extensions__+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 @@ -4179,10 +4244,12 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_safe_to_define___extensions__=yes -else $as_nop - ac_cv_safe_to_define___extensions__=no +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } @@ -4192,8 +4259,8 @@ printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } if test ${ac_cv_should_define__xopen_source+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_should_define__xopen_source=no +else case e in #( + e) ac_cv_should_define__xopen_source=no if test $ac_cv_header_wchar_h = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4212,8 +4279,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE 500 @@ -4231,10 +4298,12 @@ if ac_fn_c_try_compile "$LINENO" then : ac_cv_should_define__xopen_source=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -fi +fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } @@ -4259,6 +4328,8 @@ printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h @@ -4278,8 +4349,9 @@ then : printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h -else $as_nop - MINIX= +else case e in #( + e) MINIX= ;; +esac fi if test $ac_cv_safe_to_define___extensions__ = yes then : @@ -4316,8 +4388,8 @@ if test -z "$INSTALL"; then if test ${ac_cv_path_install+y} then : printf %s "(cached) " >&6 -else $as_nop - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else case e in #( + e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS @@ -4371,7 +4443,8 @@ esac IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir - + ;; +esac fi if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install @@ -4467,7 +4540,7 @@ test "$program_prefix" != NONE && test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. -# By default was `s,x,x', remove it if useless. +# By default was 's,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` @@ -4506,8 +4579,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_STRIP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$STRIP"; then +else case e in #( + e) if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -4529,7 +4602,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then @@ -4551,8 +4625,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_STRIP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_STRIP"; then +else case e in #( + e) if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -4574,7 +4648,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then @@ -4610,8 +4685,8 @@ if test -z "$MKDIR_P"; then if test ${ac_cv_path_mkdir+y} then : printf %s "(cached) " >&6 -else $as_nop - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else case e in #( + e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS @@ -4625,7 +4700,7 @@ do as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir ('*'coreutils) '* | \ - 'BusyBox '* | \ + *'BusyBox '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext break 3;; @@ -4634,18 +4709,17 @@ do done done IFS=$as_save_IFS - + ;; +esac fi test -d ./--version && rmdir ./--version if test ${ac_cv_path_mkdir+y}; then MKDIR_P="$ac_cv_path_mkdir -p" else - # As a last resort, use the slow shell script. Don't cache a - # value for MKDIR_P within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - MKDIR_P="$ac_install_sh -d" + # As a last resort, use plain mkdir -p, + # in the hope it doesn't have the bugs of ancient mkdir. + MKDIR_P='mkdir -p' fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 @@ -4660,8 +4734,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$AWK"; then +else case e in #( + e) if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -4683,7 +4757,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then @@ -4705,8 +4780,8 @@ ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval test \${ac_cv_prog_make_${ac_make}_set+y} then : printf %s "(cached) " >&6 -else $as_nop - cat >conftest.make <<\_ACEOF +else case e in #( + e) cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' @@ -4718,7 +4793,8 @@ case `${MAKE-make} -f conftest.make 2>/dev/null` in *) eval ac_cv_prog_make_${ac_make}_set=no;; esac -rm -f conftest.make +rm -f conftest.make ;; +esac fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 @@ -4820,8 +4896,8 @@ printf %s "checking whether $am_make supports nested variables... " >&6; } if test ${am_cv_make_support_nested_variables+y} then : printf %s "(cached) " >&6 -else $as_nop - if printf "%s\n" 'TRUE=$(BAR$(V)) +else case e in #( + e) if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -4831,7 +4907,8 @@ am__doit: am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no -fi +fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } @@ -4866,7 +4943,7 @@ fi # Define the identity of the package. PACKAGE='guestfs-tools' - VERSION='1.52.0' + VERSION='1.52.1' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -4987,8 +5064,9 @@ printf %s "checking how to create a pax tar archive... " >&6; } if test ${am_cv_prog_tar_pax+y} then : printf %s "(cached) " >&6 -else $as_nop - am_cv_prog_tar_pax=$_am_tool +else case e in #( + e) am_cv_prog_tar_pax=$_am_tool ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 @@ -5005,8 +5083,8 @@ printf %s "checking dependency style of $depcc... " >&6; } if test ${am_cv_CC_dependencies_compiler_type+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +else case e in #( + e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up @@ -5110,7 +5188,8 @@ else $as_nop else am_cv_CC_dependencies_compiler_type=none fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } @@ -5202,8 +5281,8 @@ printf %s "checking whether $am_make supports nested variables... " >&6; } if test ${am_cv_make_support_nested_variables+y} then : printf %s "(cached) " >&6 -else $as_nop - if printf "%s\n" 'TRUE=$(BAR$(V)) +else case e in #( + e) if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 @@ -5213,7 +5292,8 @@ am__doit: am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no -fi +fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } @@ -5266,15 +5346,16 @@ printf %s "checking build system type... " >&6; } if test ${ac_cv_build+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_build_alias=$build_alias +else case e in #( + e) ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 printf "%s\n" "$ac_cv_build" >&6; } @@ -5301,14 +5382,15 @@ printf %s "checking host system type... " >&6; } if test ${ac_cv_host+y} then : printf %s "(cached) " >&6 -else $as_nop - if test "x$host_alias" = x; then +else case e in #( + e) if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 printf "%s\n" "$ac_cv_host" >&6; } @@ -5404,8 +5486,8 @@ printf %s "checking for a sed that does not truncate output... " >&6; } if test ${ac_cv_path_SED+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ +else case e in #( + e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done @@ -5430,9 +5512,10 @@ do as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in +case `"$ac_path_SED" --version 2>&1` in #( *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +#( *) ac_count=0 printf %s 0123456789 >"conftest.in" @@ -5467,7 +5550,8 @@ IFS=$as_save_IFS else ac_cv_path_SED=$SED fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 printf "%s\n" "$ac_cv_path_SED" >&6; } @@ -5492,8 +5576,8 @@ printf %s "checking for grep that handles long lines and -e... " >&6; } if test ${ac_cv_path_GREP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -z "$GREP"; then +else case e in #( + e) if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -5512,9 +5596,10 @@ do as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in +case `"$ac_path_GREP" --version 2>&1` in #( *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +#( *) ac_count=0 printf %s 0123456789 >"conftest.in" @@ -5549,7 +5634,8 @@ IFS=$as_save_IFS else ac_cv_path_GREP=$GREP fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 printf "%s\n" "$ac_cv_path_GREP" >&6; } @@ -5561,8 +5647,8 @@ printf %s "checking for egrep... " >&6; } if test ${ac_cv_path_EGREP+y} then : printf %s "(cached) " >&6 -else $as_nop - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 +else case e in #( + e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then @@ -5584,9 +5670,10 @@ do as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in +case `"$ac_path_EGREP" --version 2>&1` in #( *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +#( *) ac_count=0 printf %s 0123456789 >"conftest.in" @@ -5622,20 +5709,23 @@ else ac_cv_path_EGREP=$EGREP fi - fi + fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 printf "%s\n" "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" + EGREP_TRADITIONAL=$EGREP + ac_cv_path_EGREP_TRADITIONAL=$EGREP { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 printf %s "checking for fgrep... " >&6; } if test ${ac_cv_path_FGREP+y} then : printf %s "(cached) " >&6 -else $as_nop - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 +else case e in #( + e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then @@ -5657,9 +5747,10 @@ do as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in +case `"$ac_path_FGREP" --version 2>&1` in #( *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +#( *) ac_count=0 printf %s 0123456789 >"conftest.in" @@ -5695,7 +5786,8 @@ else ac_cv_path_FGREP=$FGREP fi - fi + fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 printf "%s\n" "$ac_cv_path_FGREP" >&6; } @@ -5726,8 +5818,9 @@ test -z "$GREP" && GREP=grep if test ${with_gnu_ld+y} then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes -else $as_nop - with_gnu_ld=no +else case e in #( + e) with_gnu_ld=no ;; +esac fi ac_prog=ld @@ -5772,8 +5865,8 @@ fi if test ${lt_cv_path_LD+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -z "$LD"; then +else case e in #( + e) if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs @@ -5796,7 +5889,8 @@ else $as_nop IFS=$lt_save_ifs else lt_cv_path_LD=$LD # Let the user override the test with a path. -fi +fi ;; +esac fi LD=$lt_cv_path_LD @@ -5813,8 +5907,8 @@ printf %s "checking if the linker ($LD) is GNU ld... " >&6; } if test ${lt_cv_prog_gnu_ld+y} then : printf %s "(cached) " >&6 -else $as_nop - # I'd rather use --version here, but apparently some GNU lds only accept -v. +else case e in #( + e) # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &1 &5 @@ -5841,8 +5936,8 @@ printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if test ${lt_cv_path_NM+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NM"; then +else case e in #( + e) if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else @@ -5889,7 +5984,8 @@ else IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} -fi +fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 printf "%s\n" "$lt_cv_path_NM" >&6; } @@ -5910,8 +6006,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_DUMPBIN+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$DUMPBIN"; then +else case e in #( + e) if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -5933,7 +6029,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then @@ -5959,8 +6056,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_DUMPBIN+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_DUMPBIN"; then +else case e in #( + e) if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -5982,7 +6079,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then @@ -6036,8 +6134,8 @@ printf %s "checking the name lister ($NM) interface... " >&6; } if test ${lt_cv_nm_interface+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_nm_interface="BSD nm" +else case e in #( + e) lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) @@ -6050,7 +6148,8 @@ else $as_nop if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi - rm -f conftest* + rm -f conftest* ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 printf "%s\n" "$lt_cv_nm_interface" >&6; } @@ -6072,8 +6171,8 @@ printf %s "checking the maximum length of command line arguments... " >&6; } if test ${lt_cv_sys_max_cmd_len+y} then : printf %s "(cached) " >&6 -else $as_nop - i=0 +else case e in #( + e) i=0 teststring=ABCD case $build_os in @@ -6195,7 +6294,8 @@ else $as_nop fi ;; esac - + ;; +esac fi if test -n "$lt_cv_sys_max_cmd_len"; then @@ -6252,8 +6352,8 @@ printf %s "checking how to convert $build file names to $host format... " >&6; } if test ${lt_cv_to_host_file_cmd+y} then : printf %s "(cached) " >&6 -else $as_nop - case $host in +else case e in #( + e) case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys @@ -6284,7 +6384,8 @@ else $as_nop lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac - + ;; +esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd @@ -6300,8 +6401,8 @@ printf %s "checking how to convert $build file names to toolchain format... " >& if test ${lt_cv_to_tool_file_cmd+y} then : printf %s "(cached) " >&6 -else $as_nop - #assume ordinary cross tools, or native build. +else case e in #( + e) #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) @@ -6312,7 +6413,8 @@ case $host in esac ;; esac - + ;; +esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd @@ -6328,8 +6430,9 @@ printf %s "checking for $LD option to reload object files... " >&6; } if test ${lt_cv_ld_reload_flag+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_ld_reload_flag='-r' +else case e in #( + e) lt_cv_ld_reload_flag='-r' ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } @@ -6370,8 +6473,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OBJDUMP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OBJDUMP"; then +else case e in #( + e) if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6393,7 +6496,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then @@ -6415,8 +6519,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OBJDUMP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OBJDUMP"; then +else case e in #( + e) if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6438,7 +6542,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then @@ -6479,8 +6584,8 @@ printf %s "checking how to recognize dependent libraries... " >&6; } if test ${lt_cv_deplibs_check_method+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_file_magic_cmd='$MAGIC_CMD' +else case e in #( + e) lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support @@ -6673,7 +6778,8 @@ os2*) lt_cv_deplibs_check_method=pass_all ;; esac - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } @@ -6725,8 +6831,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_DLLTOOL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$DLLTOOL"; then +else case e in #( + e) if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6748,7 +6854,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then @@ -6770,8 +6877,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_DLLTOOL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_DLLTOOL"; then +else case e in #( + e) if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6793,7 +6900,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then @@ -6835,8 +6943,8 @@ printf %s "checking how to associate runtime and link libraries... " >&6; } if test ${lt_cv_sharedlib_from_linklib_cmd+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_sharedlib_from_linklib_cmd='unknown' +else case e in #( + e) lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) @@ -6856,7 +6964,8 @@ cygwin* | mingw* | pw32* | cegcc*) lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } @@ -6879,8 +6988,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AR+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$AR"; then +else case e in #( + e) if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6902,7 +7011,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi AR=$ac_cv_prog_AR if test -n "$AR"; then @@ -6928,8 +7038,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_AR+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_AR"; then +else case e in #( + e) if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -6951,7 +7061,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then @@ -6997,8 +7108,8 @@ printf %s "checking for archiver @FILE support... " >&6; } if test ${lt_cv_ar_at_file+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_ar_at_file=no +else case e in #( + e) lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -7035,7 +7146,8 @@ then : fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 printf "%s\n" "$lt_cv_ar_at_file" >&6; } @@ -7060,8 +7172,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_STRIP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$STRIP"; then +else case e in #( + e) if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -7083,7 +7195,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then @@ -7105,8 +7218,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_STRIP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_STRIP"; then +else case e in #( + e) if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -7128,7 +7241,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then @@ -7169,8 +7283,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_RANLIB+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$RANLIB"; then +else case e in #( + e) if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -7192,7 +7306,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then @@ -7214,8 +7329,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_RANLIB+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_RANLIB"; then +else case e in #( + e) if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -7237,7 +7352,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then @@ -7348,8 +7464,8 @@ printf %s "checking command to parse $NM output from $compiler object... " >&6; if test ${lt_cv_sys_global_symbol_pipe+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] @@ -7604,7 +7720,8 @@ _LT_EOF lt_cv_sys_global_symbol_pipe= fi done - + ;; +esac fi if test -z "$lt_cv_sys_global_symbol_pipe"; then @@ -7668,8 +7785,9 @@ printf %s "checking for sysroot... " >&6; } if test ${with_sysroot+y} then : withval=$with_sysroot; -else $as_nop - with_sysroot=no +else case e in #( + e) with_sysroot=no ;; +esac fi @@ -7704,8 +7822,8 @@ printf %s "checking for a working dd... " >&6; } if test ${ac_cv_path_lt_DD+y} then : printf %s "(cached) " >&6 -else $as_nop - printf 0123456789abcdef0123456789abcdef >conftest.i +else case e in #( + e) printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then @@ -7741,7 +7859,8 @@ else ac_cv_path_lt_DD=$lt_DD fi -rm -f conftest.i conftest2.i conftest.out +rm -f conftest.i conftest2.i conftest.out ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 printf "%s\n" "$ac_cv_path_lt_DD" >&6; } @@ -7752,8 +7871,8 @@ printf %s "checking how to truncate binary pipes... " >&6; } if test ${lt_cv_truncate_bin+y} then : printf %s "(cached) " >&6 -else $as_nop - printf 0123456789abcdef0123456789abcdef >conftest.i +else case e in #( + e) printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then @@ -7761,7 +7880,8 @@ if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; the && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out -test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 printf "%s\n" "$lt_cv_truncate_bin" >&6; } @@ -7971,8 +8091,8 @@ printf %s "checking whether the C compiler needs -belf... " >&6; } if test ${lt_cv_cc_needs_belf+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_ext=c +else case e in #( + e) ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -7992,8 +8112,9 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : lt_cv_cc_needs_belf=yes -else $as_nop - lt_cv_cc_needs_belf=no +else case e in #( + e) lt_cv_cc_needs_belf=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext @@ -8002,7 +8123,8 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } @@ -8060,8 +8182,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_MANIFEST_TOOL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$MANIFEST_TOOL"; then +else case e in #( + e) if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8083,7 +8205,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then @@ -8105,8 +8228,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_MANIFEST_TOOL"; then +else case e in #( + e) if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8128,7 +8251,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then @@ -8160,15 +8284,16 @@ printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if test ${lt_cv_path_mainfest_tool+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_path_mainfest_tool=no +else case e in #( + e) lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi - rm -f conftest* + rm -f conftest* ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } @@ -8191,8 +8316,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_DSYMUTIL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$DSYMUTIL"; then +else case e in #( + e) if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8214,7 +8339,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then @@ -8236,8 +8362,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_DSYMUTIL"; then +else case e in #( + e) if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8259,7 +8385,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then @@ -8293,8 +8420,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NMEDIT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NMEDIT"; then +else case e in #( + e) if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8316,7 +8443,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then @@ -8338,8 +8466,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_NMEDIT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_NMEDIT"; then +else case e in #( + e) if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8361,7 +8489,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then @@ -8395,8 +8524,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_LIPO+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$LIPO"; then +else case e in #( + e) if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8418,7 +8547,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then @@ -8440,8 +8570,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_LIPO+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_LIPO"; then +else case e in #( + e) if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8463,7 +8593,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then @@ -8497,8 +8628,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OTOOL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OTOOL"; then +else case e in #( + e) if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8520,7 +8651,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then @@ -8542,8 +8674,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OTOOL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OTOOL"; then +else case e in #( + e) if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8565,7 +8697,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then @@ -8599,8 +8732,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OTOOL64+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OTOOL64"; then +else case e in #( + e) if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8622,7 +8755,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then @@ -8644,8 +8778,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OTOOL64+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OTOOL64"; then +else case e in #( + e) if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -8667,7 +8801,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then @@ -8724,8 +8859,8 @@ printf %s "checking for -single_module linker flag... " >&6; } if test ${lt_cv_apple_cc_single_mod+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_apple_cc_single_mod=no +else case e in #( + e) lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE @@ -8751,7 +8886,8 @@ else $as_nop fi rm -rf libconftest.dylib* rm -f conftest.* - fi + fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } @@ -8761,8 +8897,8 @@ printf %s "checking for -exported_symbols_list linker flag... " >&6; } if test ${lt_cv_ld_exported_symbols_list+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_ld_exported_symbols_list=no +else case e in #( + e) lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" @@ -8780,13 +8916,15 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : lt_cv_ld_exported_symbols_list=yes -else $as_nop - lt_cv_ld_exported_symbols_list=no +else case e in #( + e) lt_cv_ld_exported_symbols_list=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } @@ -8796,8 +8934,8 @@ printf %s "checking for -force_load linker flag... " >&6; } if test ${lt_cv_ld_force_load+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_ld_force_load=no +else case e in #( + e) lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF @@ -8822,7 +8960,8 @@ _LT_EOF fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 printf "%s\n" "$lt_cv_ld_force_load" >&6; } @@ -8938,8 +9077,9 @@ then : IFS=$lt_save_ifs ;; esac -else $as_nop - enable_shared=yes +else case e in #( + e) enable_shared=yes ;; +esac fi @@ -8970,8 +9110,9 @@ then : IFS=$lt_save_ifs ;; esac -else $as_nop - enable_static=yes +else case e in #( + e) enable_static=yes ;; +esac fi @@ -9002,8 +9143,9 @@ then : IFS=$lt_save_ifs ;; esac -else $as_nop - pic_mode=default +else case e in #( + e) pic_mode=default ;; +esac fi @@ -9033,8 +9175,9 @@ then : IFS=$lt_save_ifs ;; esac -else $as_nop - enable_fast_install=yes +else case e in #( + e) enable_fast_install=yes ;; +esac fi @@ -9061,15 +9204,17 @@ then : ;; esac lt_cv_with_aix_soname=$with_aix_soname -else $as_nop - if test ${lt_cv_with_aix_soname+y} +else case e in #( + e) if test ${lt_cv_with_aix_soname+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_with_aix_soname=aix +else case e in #( + e) lt_cv_with_aix_soname=aix ;; +esac fi - with_aix_soname=$lt_cv_with_aix_soname + with_aix_soname=$lt_cv_with_aix_soname ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 @@ -9160,8 +9305,8 @@ printf %s "checking for objdir... " >&6; } if test ${lt_cv_objdir+y} then : printf %s "(cached) " >&6 -else $as_nop - rm -f .libs 2>/dev/null +else case e in #( + e) rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs @@ -9169,7 +9314,8 @@ else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi -rmdir .libs 2>/dev/null +rmdir .libs 2>/dev/null ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 printf "%s\n" "$lt_cv_objdir" >&6; } @@ -9230,8 +9376,8 @@ printf %s "checking for ${ac_tool_prefix}file... " >&6; } if test ${lt_cv_path_MAGIC_CMD+y} then : printf %s "(cached) " >&6 -else $as_nop - case $MAGIC_CMD in +else case e in #( + e) case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; @@ -9274,6 +9420,7 @@ _LT_EOF IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; +esac ;; esac fi @@ -9297,8 +9444,8 @@ printf %s "checking for file... " >&6; } if test ${lt_cv_path_MAGIC_CMD+y} then : printf %s "(cached) " >&6 -else $as_nop - case $MAGIC_CMD in +else case e in #( + e) case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; @@ -9341,6 +9488,7 @@ _LT_EOF IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; +esac ;; esac fi @@ -9440,8 +9588,8 @@ printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if test ${lt_cv_prog_compiler_rtti_exceptions+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler_rtti_exceptions=no +else case e in #( + e) lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment @@ -9469,7 +9617,8 @@ else $as_nop fi fi $RM conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } @@ -9834,8 +9983,9 @@ printf %s "checking for $compiler option to produce PIC... " >&6; } if test ${lt_cv_prog_compiler_pic+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +else case e in #( + e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } @@ -9850,8 +10000,8 @@ printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; if test ${lt_cv_prog_compiler_pic_works+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler_pic_works=no +else case e in #( + e) lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment @@ -9879,7 +10029,8 @@ else $as_nop fi fi $RM conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } @@ -9915,8 +10066,8 @@ printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; if test ${lt_cv_prog_compiler_static_works+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler_static_works=no +else case e in #( + e) lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext @@ -9937,7 +10088,8 @@ else $as_nop fi $RM -r conftest* LDFLAGS=$save_LDFLAGS - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } @@ -9959,8 +10111,8 @@ printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if test ${lt_cv_prog_compiler_c_o+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler_c_o=no +else case e in #( + e) lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest @@ -10000,7 +10152,8 @@ else $as_nop cd .. $RM -r conftest $RM conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } @@ -10015,8 +10168,8 @@ printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if test ${lt_cv_prog_compiler_c_o+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler_c_o=no +else case e in #( + e) lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest @@ -10056,7 +10209,8 @@ else $as_nop cd .. $RM -r conftest $RM conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } @@ -10650,8 +10804,8 @@ else if test ${lt_cv_aix_libpath_+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -10683,7 +10837,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi - + ;; +esac fi aix_libpath=$lt_cv_aix_libpath_ @@ -10705,8 +10860,8 @@ else if test ${lt_cv_aix_libpath_+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -10738,7 +10893,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi - + ;; +esac fi aix_libpath=$lt_cv_aix_libpath_ @@ -10989,8 +11145,8 @@ printf %s "checking if $CC understands -b... " >&6; } if test ${lt_cv_prog_compiler__b+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_prog_compiler__b=no +else case e in #( + e) lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext @@ -11011,7 +11167,8 @@ else $as_nop fi $RM -r conftest* LDFLAGS=$save_LDFLAGS - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } @@ -11059,8 +11216,8 @@ printf %s "checking whether the $host_os linker accepts -exported_symbol... " >& if test ${lt_cv_irix_exported_symbol+y} then : printf %s "(cached) " >&6 -else $as_nop - save_LDFLAGS=$LDFLAGS +else case e in #( + e) save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -11069,12 +11226,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : lt_cv_irix_exported_symbol=yes -else $as_nop - lt_cv_irix_exported_symbol=no +else case e in #( + e) lt_cv_irix_exported_symbol=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS + LDFLAGS=$save_LDFLAGS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } @@ -11399,8 +11558,8 @@ printf %s "checking whether -lc should be explicitly linked in... " >&6; } if test ${lt_cv_archive_cmds_need_lc+y} then : printf %s "(cached) " >&6 -else $as_nop - $RM conftest* +else case e in #( + e) $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 @@ -11436,7 +11595,8 @@ else $as_nop cat conftest.err 1>&5 fi $RM conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } @@ -12163,8 +12323,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) if test ${lt_cv_shlibpath_overrides_runpath+y} then : printf %s "(cached) " >&6 -else $as_nop - lt_cv_shlibpath_overrides_runpath=no +else case e in #( + e) lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ @@ -12191,7 +12351,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir - + ;; +esac fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath @@ -12619,16 +12780,22 @@ printf %s "checking for dlopen in -ldl... " >&6; } if test ${ac_cv_lib_dl_dlopen+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char dlopen (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (void); int main (void) { @@ -12640,24 +12807,27 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_dl_dlopen=yes -else $as_nop - ac_cv_lib_dl_dlopen=no +else case e in #( + e) ac_cv_lib_dl_dlopen=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl -else $as_nop - +else case e in #( + e) lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes - + ;; +esac fi ;; @@ -12675,22 +12845,28 @@ fi if test "x$ac_cv_func_shl_load" = xyes then : lt_cv_dlopen=shl_load -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 printf %s "checking for shl_load in -ldld... " >&6; } if test ${ac_cv_lib_dld_shl_load+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char shl_load (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (void); int main (void) { @@ -12702,39 +12878,47 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_dld_shl_load=yes -else $as_nop - ac_cv_lib_dld_shl_load=no +else case e in #( + e) ac_cv_lib_dld_shl_load=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld -else $as_nop - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +else case e in #( + e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes then : lt_cv_dlopen=dlopen -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 printf %s "checking for dlopen in -ldl... " >&6; } if test ${ac_cv_lib_dl_dlopen+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char dlopen (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (void); int main (void) { @@ -12746,34 +12930,42 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_dl_dlopen=yes -else $as_nop - ac_cv_lib_dl_dlopen=no +else case e in #( + e) ac_cv_lib_dl_dlopen=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 printf %s "checking for dlopen in -lsvld... " >&6; } if test ${ac_cv_lib_svld_dlopen+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char dlopen (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (void); int main (void) { @@ -12785,34 +12977,42 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_svld_dlopen=yes -else $as_nop - ac_cv_lib_svld_dlopen=no +else case e in #( + e) ac_cv_lib_svld_dlopen=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 printf %s "checking for dld_link in -ldld... " >&6; } if test ${ac_cv_lib_dld_dld_link+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char dld_link (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (void); int main (void) { @@ -12824,12 +13024,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_dld_dld_link=yes -else $as_nop - ac_cv_lib_dld_dld_link=no +else case e in #( + e) ac_cv_lib_dld_dld_link=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +LIBS=$ac_check_lib_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } @@ -12838,19 +13040,24 @@ then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi - + ;; +esac fi - + ;; +esac fi - + ;; +esac fi - + ;; +esac fi - + ;; +esac fi ;; @@ -12878,8 +13085,8 @@ printf %s "checking whether a program can dlopen itself... " >&6; } if test ${lt_cv_dlopen_self+y} then : printf %s "(cached) " >&6 -else $as_nop - if test yes = "$cross_compiling"; then : +else case e in #( + e) if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 @@ -12973,7 +13180,8 @@ _LT_EOF fi rm -fr conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 printf "%s\n" "$lt_cv_dlopen_self" >&6; } @@ -12985,8 +13193,8 @@ printf %s "checking whether a statically linked program can dlopen itself... " > if test ${lt_cv_dlopen_self_static+y} then : printf %s "(cached) " >&6 -else $as_nop - if test yes = "$cross_compiling"; then : +else case e in #( + e) if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 @@ -13080,7 +13288,8 @@ _LT_EOF fi rm -fr conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } @@ -13273,8 +13482,8 @@ printf %s "checking for a sed that does not truncate output... " >&6; } if test ${ac_cv_path_SED+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ +else case e in #( + e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done @@ -13299,9 +13508,10 @@ do as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in +case `"$ac_path_SED" --version 2>&1` in #( *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +#( *) ac_count=0 printf %s 0123456789 >"conftest.in" @@ -13336,7 +13546,8 @@ IFS=$as_save_IFS else ac_cv_path_SED=$SED fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 printf "%s\n" "$ac_cv_path_SED" >&6; } @@ -13355,8 +13566,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$AWK"; then +else case e in #( + e) if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13378,7 +13589,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then @@ -13415,8 +13627,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_REALPATH+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$REALPATH"; then +else case e in #( + e) if test -n "$REALPATH"; then ac_cv_prog_REALPATH="$REALPATH" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13438,7 +13650,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi REALPATH=$ac_cv_prog_REALPATH if test -n "$REALPATH"; then @@ -13466,8 +13679,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_MKISOFS+y} then : printf %s "(cached) " >&6 -else $as_nop - case $MKISOFS in +else case e in #( + e) case $MKISOFS in [\\/]* | ?:[\\/]*) ac_cv_path_MKISOFS="$MKISOFS" # Let the user override the test with a path. ;; @@ -13492,6 +13705,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi MKISOFS=$ac_cv_path_MKISOFS @@ -13517,8 +13731,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_XMLLINT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$XMLLINT"; then +else case e in #( + e) if test -n "$XMLLINT"; then ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13541,7 +13755,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no" -fi +fi ;; +esac fi XMLLINT=$ac_cv_prog_XMLLINT if test -n "$XMLLINT"; then @@ -13569,8 +13784,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_PO4A_GETTEXTIZE+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$PO4A_GETTEXTIZE"; then +else case e in #( + e) if test -n "$PO4A_GETTEXTIZE"; then ac_cv_prog_PO4A_GETTEXTIZE="$PO4A_GETTEXTIZE" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13593,7 +13808,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_PO4A_GETTEXTIZE" && ac_cv_prog_PO4A_GETTEXTIZE="no" -fi +fi ;; +esac fi PO4A_GETTEXTIZE=$ac_cv_prog_PO4A_GETTEXTIZE if test -n "$PO4A_GETTEXTIZE"; then @@ -13612,8 +13828,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_PO4A_TRANSLATE+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$PO4A_TRANSLATE"; then +else case e in #( + e) if test -n "$PO4A_TRANSLATE"; then ac_cv_prog_PO4A_TRANSLATE="$PO4A_TRANSLATE" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13636,7 +13852,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_PO4A_TRANSLATE" && ac_cv_prog_PO4A_TRANSLATE="no" -fi +fi ;; +esac fi PO4A_TRANSLATE=$ac_cv_prog_PO4A_TRANSLATE if test -n "$PO4A_TRANSLATE"; then @@ -13664,8 +13881,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_SQLITE3+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$SQLITE3"; then +else case e in #( + e) if test -n "$SQLITE3"; then ac_cv_prog_SQLITE3="$SQLITE3" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13688,7 +13905,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_SQLITE3" && ac_cv_prog_SQLITE3="no" -fi +fi ;; +esac fi SQLITE3=$ac_cv_prog_SQLITE3 if test -n "$SQLITE3"; then @@ -13710,8 +13928,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_XZCAT+y} then : printf %s "(cached) " >&6 -else $as_nop - case $XZCAT in +else case e in #( + e) case $XZCAT in [\\/]* | ?:[\\/]*) ac_cv_path_XZCAT="$XZCAT" # Let the user override the test with a path. ;; @@ -13736,6 +13954,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi XZCAT=$ac_cv_path_XZCAT @@ -13766,8 +13985,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_LEX+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$LEX"; then +else case e in #( + e) if test -n "$LEX"; then ac_cv_prog_LEX="$LEX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -13789,7 +14008,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi LEX=$ac_cv_prog_LEX if test -n "$LEX"; then @@ -13847,8 +14067,8 @@ printf %s "checking for lex output file root... " >&6; } if test ${ac_cv_prog_lex_root+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) ac_cv_prog_lex_root=unknown { { ac_try="$LEX conftest.l" case "(($ac_try" in @@ -13865,7 +14085,8 @@ if test -f lex.yy.c; then ac_cv_prog_lex_root=lex.yy elif test -f lexyy.c; then ac_cv_prog_lex_root=lexyy -fi +fi ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 printf "%s\n" "$ac_cv_prog_lex_root" >&6; } @@ -13880,15 +14101,15 @@ LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root if test ${LEXLIB+y} then : -else $as_nop - +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 printf %s "checking for lex library... " >&6; } if test ${ac_cv_lib_lex+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) ac_save_LIBS="$LIBS" ac_found=false for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do @@ -13918,7 +14139,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ fi done LIBS="$ac_save_LIBS" - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 printf "%s\n" "$ac_cv_lib_lex" >&6; } @@ -13930,8 +14152,9 @@ printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LE elif test "$ac_cv_lib_lex" = 'none needed' then : LEXLIB='' -else $as_nop - LEXLIB=$ac_cv_lib_lex +else case e in #( + e) LEXLIB=$ac_cv_lib_lex ;; +esac fi ac_save_LIBS="$LIBS" LIBS= @@ -13940,15 +14163,21 @@ printf %s "checking for library containing yywrap... " >&6; } if test ${ac_cv_search_yywrap+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char yywrap (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char yywrap (void); int main (void) { @@ -13979,11 +14208,13 @@ done if test ${ac_cv_search_yywrap+y} then : -else $as_nop - ac_cv_search_yywrap=no +else case e in #( + e) ac_cv_search_yywrap=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5 printf "%s\n" "$ac_cv_search_yywrap" >&6; } @@ -13994,7 +14225,8 @@ then : LEXLIB="$LIBS" fi - LIBS="$ac_save_LIBS" + LIBS="$ac_save_LIBS" ;; +esac fi @@ -14006,8 +14238,8 @@ printf %s "checking whether yytext is a pointer... " >&6; } if test ${ac_cv_prog_lex_yytext_pointer+y} then : printf %s "(cached) " >&6 -else $as_nop - # POSIX says lex can declare yytext either as a pointer or an array; the +else case e in #( + e) # POSIX says lex can declare yytext either as a pointer or an array; the # default is implementation-dependent. Figure out which it is, since # not all implementations provide the %pointer and %array declarations. ac_cv_prog_lex_yytext_pointer=no @@ -14022,7 +14254,8 @@ then : ac_cv_prog_lex_yytext_pointer=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } @@ -14045,8 +14278,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_YACC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$YACC"; then +else case e in #( + e) if test -n "$YACC"; then ac_cv_prog_YACC="$YACC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -14068,7 +14301,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then @@ -14085,16 +14319,16 @@ done test -n "$YACC" || YACC="yacc" if test "x$LEX" = "x:"; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "GNU 'flex' is required. -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } fi if test "x$YACC" = "xyacc"; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "GNU 'bison' is required (yacc won't work). -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } fi # Extract the first word of "valgrind", so it can be a program name with args. @@ -14104,8 +14338,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_VALGRIND+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$VALGRIND"; then +else case e in #( + e) if test -n "$VALGRIND"; then ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -14128,7 +14362,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_VALGRIND" && ac_cv_prog_VALGRIND="no" -fi +fi ;; +esac fi VALGRIND=$ac_cv_prog_VALGRIND if test -n "$VALGRIND"; then @@ -14149,11 +14384,12 @@ then : # libtool-kill-dependency-libs.sh VG='libtool --mode=execute $(VALGRIND) --vgdb=no --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions --trace-children=no --child-silent-after-fork=yes --run-libc-freeres=no --read-inline-info=no' -else $as_nop - +else case e in #( + e) # No valgrind, so substitute VG with something that will break. VG=VALGRIND_IS_NOT_INSTALLED - + ;; +esac fi @@ -14197,8 +14433,8 @@ if test -z "$CPP"; then if test ${ac_cv_prog_CPP+y} then : printf %s "(cached) " >&6 -else $as_nop - # Double quotes because $CC needs to be expanded +else case e in #( + e) # Double quotes because $CC needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false @@ -14216,9 +14452,10 @@ _ACEOF if ac_fn_c_try_cpp "$LINENO" then : -else $as_nop - # Broken: fails on valid input. -continue +else case e in #( + e) # Broken: fails on valid input. +continue ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -14232,15 +14469,16 @@ if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue -else $as_nop - # Passes both tests. +else case e in #( + e) # Passes both tests. ac_preproc_ok=: -break +break ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : @@ -14249,7 +14487,8 @@ fi done ac_cv_prog_CPP=$CPP - + ;; +esac fi CPP=$ac_cv_prog_CPP else @@ -14272,9 +14511,10 @@ _ACEOF if ac_fn_c_try_cpp "$LINENO" then : -else $as_nop - # Broken: fails on valid input. -continue +else case e in #( + e) # Broken: fails on valid input. +continue ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext @@ -14288,24 +14528,26 @@ if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue -else $as_nop - # Passes both tests. +else case e in #( + e) # Passes both tests. ac_preproc_ok=: -break +break ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +else case e in #( + e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi ac_ext=c @@ -14328,6 +14570,27 @@ test "x$U" != "x" && as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5 +# Check whether --enable-werror was given. +if test ${enable_werror+y} +then : + enableval=$enable_werror; case $enableval in + yes|no) ;; + *) as_fn_error $? "bad value $enableval for werror option" "$LINENO" 5 ;; + esac + gcc_warnings=$enableval +else case e in #( + e) gcc_warnings=no + ;; +esac +fi + +WARN_CFLAGS="-Wall" + +if test "x$gcc_warnings" = "xyes"; then + WERROR_CFLAGS="-Werror" +fi + + # Provide a global place to set CFLAGS. (Note that setting AM_CFLAGS # is no use because it doesn't override target_CFLAGS). #--- @@ -14345,9 +14608,10 @@ if test -n "$GCC" then : GCC_VISIBILITY_HIDDEN=-fvisibility=hidden -else $as_nop - GCC_VISIBILITY_HIDDEN=: - +else case e in #( + e) GCC_VISIBILITY_HIDDEN=: + ;; +esac fi # Check whether --enable-largefile was given. @@ -14355,31 +14619,34 @@ if test ${enable_largefile+y} then : enableval=$enable_largefile; fi - -if test "$enable_largefile" != no; then - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 -printf %s "checking for special C compiler options needed for large files... " >&6; } -if test ${ac_cv_sys_largefile_CC+y} +if test "$enable_largefile,$enable_year2038" != no,no +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5 +printf %s "checking for $CC option to enable large file support... " >&6; } +if test ${ac_cv_sys_largefile_opts+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_cv_sys_largefile_CC=no - if test "$GCC" != yes; then - ac_save_CC=$CC - while :; do - # IRIX 6.2 and later do not support large files by default, - # so use the C compiler's -n32 option if that helps. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) ac_save_CC="$CC" + ac_opt_found=no + for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do + if test x"$ac_opt" != x"none needed" +then : + CC="$ac_save_CC $ac_opt" +fi + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, +#ifndef FTYPE +# define FTYPE off_t +#endif + /* Check that FTYPE can represent 2**63 - 1 correctly. + We can't simply define LARGE_FTYPE to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) +#define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31)) + int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721 + && LARGE_FTYPE % 2147483647 == 1) ? 1 : -1]; int main (void) @@ -14389,142 +14656,88 @@ main (void) return 0; } _ACEOF - if ac_fn_c_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - break -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - CC="$CC -n32" + if test x"$ac_opt" = x"none needed" +then : + # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t. + CC="$CC -DFTYPE=ino_t" if ac_fn_c_try_compile "$LINENO" then : - ac_cv_sys_largefile_CC=' -n32'; break + +else case e in #( + e) CC="$CC -D_FILE_OFFSET_BITS=64" + if ac_fn_c_try_compile "$LINENO" +then : + ac_opt='-D_FILE_OFFSET_BITS=64' +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam - break - done - CC=$ac_save_CC - rm -f conftest.$ac_ext - fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 -printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; } - if test "$ac_cv_sys_largefile_CC" != no; then - CC=$CC$ac_cv_sys_largefile_CC - fi - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if test ${ac_cv_sys_file_offset_bits+y} -then : - printf %s "(cached) " >&6 -else $as_nop - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_sys_file_offset_bits=no; break + ac_cv_sys_largefile_opts=$ac_opt + ac_opt_found=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _FILE_OFFSET_BITS 64 -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main (void) -{ + test $ac_opt_found = no || break + done + CC="$ac_save_CC" - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_sys_file_offset_bits=64; break -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_cv_sys_file_offset_bits=unknown - break -done + test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } -case $ac_cv_sys_file_offset_bits in #( - no | unknown) ;; - *) -printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h -;; +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5 +printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; } + +ac_have_largefile=yes +case $ac_cv_sys_largefile_opts in #( + "none needed") : + ;; #( + "supported through gnulib") : + ;; #( + "support not detected") : + ac_have_largefile=no ;; #( + "-D_FILE_OFFSET_BITS=64") : + +printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h + ;; #( + "-D_LARGE_FILES=1") : + +printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h + ;; #( + "-n32") : + CC="$CC -n32" ;; #( + *) : + as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;; esac -rm -rf conftest* - if test $ac_cv_sys_file_offset_bits = unknown; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } -if test ${ac_cv_sys_large_files+y} + +if test "$enable_year2038" != no +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5 +printf %s "checking for $CC option for timestamps after 2038... " >&6; } +if test ${ac_cv_sys_year2038_opts+y} then : printf %s "(cached) " >&6 -else $as_nop - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; -int -main (void) -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" +else case e in #( + e) ac_save_CPPFLAGS="$CPPFLAGS" + ac_opt_found=no + for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do + if test x"$ac_opt" != x"none needed" then : - ac_cv_sys_large_files=no; break + CPPFLAGS="$ac_save_CPPFLAGS $ac_opt" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#define _LARGE_FILES 1 -#include - /* Check that off_t can represent 2**63 - 1 correctly. - We can't simply define LARGE_OFF_T to be 9223372036854775807, - since some C++ compilers masquerading as C compilers - incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31)) - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 - && LARGE_OFF_T % 2147483647 == 1) - ? 1 : -1]; + + #include + /* Check that time_t can represent 2**32 - 1 correctly. */ + #define LARGE_TIME_T \\ + ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) + int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 + && LARGE_TIME_T % 65537 == 0) + ? 1 : -1]; + int main (void) { @@ -14535,50 +14748,74 @@ main (void) _ACEOF if ac_fn_c_try_compile "$LINENO" then : - ac_cv_sys_large_files=1; break + ac_cv_sys_year2038_opts="$ac_opt" + ac_opt_found=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ac_cv_sys_large_files=unknown - break -done + test $ac_opt_found = no || break + done + CPPFLAGS="$ac_save_CPPFLAGS" + test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;; +esac fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -printf "%s\n" "$ac_cv_sys_large_files" >&6; } -case $ac_cv_sys_large_files in #( - no | unknown) ;; - *) -printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h -;; +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5 +printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; } + +ac_have_year2038=yes +case $ac_cv_sys_year2038_opts in #( + "none needed") : + ;; #( + "support not detected") : + ac_have_year2038=no ;; #( + "-D_TIME_BITS=64") : + +printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h + ;; #( + "-D__MINGW_USE_VC2005_COMPAT") : + +printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h + ;; #( + "-U_USE_32_BIT_TIME_T"*) : + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It +will stop working after mid-January 2038. Remove +_USE_32BIT_TIME_T from the compiler flags. +See 'config.log' for more details" "$LINENO" 5; } ;; #( + *) : + as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;; esac -rm -rf conftest* - fi + fi +fi # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 printf %s "checking size of long... " >&6; } if test ${ac_cv_sizeof_long+y} then : printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" +else case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" then : -else $as_nop - if test "$ac_cv_type_long" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +else case e in #( + e) if test "$ac_cv_type_long" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long) -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long=0 - fi + fi ;; +esac fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 printf "%s\n" "$ac_cv_sizeof_long" >&6; } @@ -14630,8 +14867,8 @@ printf "%s\n" "yes" >&6; } printf "%s\n" "#define HAVE_ATTRIBUTE_CLEANUP 1" >>confdefs.h -else $as_nop - +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '__attribute__((cleanup(...)))' does not work. You may not be using a sufficiently recent version of GCC or CLANG, or @@ -14647,7 +14884,8 @@ you may be using a C compiler which does not support this attribute, or the configure test may be wrong. The code will still compile, but is likely to leak memory and other -resources when it runs." >&2;} +resources when it runs." >&2;} ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="${acx_nbdkit_save_CFLAGS}" @@ -14689,8 +14927,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PKG_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - case $PKG_CONFIG in +else case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -14715,6 +14953,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG @@ -14737,8 +14976,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - case $ac_pt_PKG_CONFIG in +else case e in #( + e) case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; @@ -14763,6 +15002,7 @@ done IFS=$as_save_IFS ;; +esac ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG @@ -14875,8 +15115,8 @@ See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -14886,7 +15126,7 @@ and LIBGUESTFS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else LIBGUESTFS_CFLAGS=$pkg_cv_LIBGUESTFS_CFLAGS LIBGUESTFS_LIBS=$pkg_cv_LIBGUESTFS_LIBS @@ -14900,8 +15140,8 @@ printf %s "checking for $CC options needed to detect all undeclared functions... if test ${ac_cv_c_undeclared_builtin_options+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_save_CFLAGS=$CFLAGS +else case e in #( + e) ac_save_CFLAGS=$CFLAGS ac_cv_c_undeclared_builtin_options='cannot detect' for ac_arg in '' -fno-builtin; do CFLAGS="$ac_save_CFLAGS $ac_arg" @@ -14920,8 +15160,8 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - # This test program should compile successfully. +else case e in #( + e) # This test program should compile successfully. # No library function is consistently available on # freestanding implementations, so test against a dummy # declaration. Include always-available headers on the @@ -14949,26 +15189,29 @@ then : if test x"$ac_arg" = x then : ac_cv_c_undeclared_builtin_options='none needed' -else $as_nop - ac_cv_c_undeclared_builtin_options=$ac_arg +else case e in #( + e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; +esac fi break fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done CFLAGS=$ac_save_CFLAGS - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } case $ac_cv_c_undeclared_builtin_options in #( 'cannot detect') : - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot make $CC report undeclared builtins -See \`config.log' for more details" "$LINENO" 5; } ;; #( +See 'config.log' for more details" "$LINENO" 5; } ;; #( 'none needed') : ac_c_undeclared_builtin_options='' ;; #( *) : @@ -14979,8 +15222,9 @@ ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includ if test "x$ac_cv_have_decl_strerror_r" = xyes then : ac_have_decl=1 -else $as_nop - ac_have_decl=0 +else case e in #( + e) ac_have_decl=0 ;; +esac fi printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h @@ -14999,8 +15243,8 @@ printf %s "checking whether strerror_r returns char *... " >&6; } if test ${ac_cv_func_strerror_r_char_p+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15026,7 +15270,8 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } @@ -15495,8 +15740,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NCURSES_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NCURSES_CONFIG"; then +else case e in #( + e) if test -n "$NCURSES_CONFIG"; then ac_cv_prog_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15518,7 +15763,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG if test -n "$NCURSES_CONFIG"; then @@ -15556,8 +15802,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NCURSES_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NCURSES_CONFIG"; then +else case e in #( + e) if test -n "$NCURSES_CONFIG"; then ac_cv_prog_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15579,7 +15825,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG if test -n "$NCURSES_CONFIG"; then @@ -15685,8 +15932,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NCURSES_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NCURSES_CONFIG"; then +else case e in #( + e) if test -n "$NCURSES_CONFIG"; then ac_cv_prog_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15708,7 +15955,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG if test -n "$NCURSES_CONFIG"; then @@ -15746,8 +15994,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_NCURSES_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$NCURSES_CONFIG"; then +else case e in #( + e) if test -n "$NCURSES_CONFIG"; then ac_cv_prog_NCURSES_CONFIG="$NCURSES_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15769,7 +16017,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG if test -n "$NCURSES_CONFIG"; then @@ -15819,8 +16068,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_XGETTEXT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$XGETTEXT"; then +else case e in #( + e) if test -n "$XGETTEXT"; then ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15843,7 +16092,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_XGETTEXT" && ac_cv_prog_XGETTEXT="no" -fi +fi ;; +esac fi XGETTEXT=$ac_cv_prog_XGETTEXT if test -n "$XGETTEXT"; then @@ -15862,8 +16112,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_MSGCAT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$MSGCAT"; then +else case e in #( + e) if test -n "$MSGCAT"; then ac_cv_prog_MSGCAT="$MSGCAT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15886,7 +16136,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_MSGCAT" && ac_cv_prog_MSGCAT="no" -fi +fi ;; +esac fi MSGCAT=$ac_cv_prog_MSGCAT if test -n "$MSGCAT"; then @@ -15905,8 +16156,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_MSGFMT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$MSGFMT"; then +else case e in #( + e) if test -n "$MSGFMT"; then ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15929,7 +16180,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_MSGFMT" && ac_cv_prog_MSGFMT="no" -fi +fi ;; +esac fi MSGFMT=$ac_cv_prog_MSGFMT if test -n "$MSGFMT"; then @@ -15948,8 +16200,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_MSGMERGE+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$MSGMERGE"; then +else case e in #( + e) if test -n "$MSGMERGE"; then ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15972,7 +16224,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_MSGMERGE" && ac_cv_prog_MSGMERGE="no" -fi +fi ;; +esac fi MSGMERGE=$ac_cv_prog_MSGMERGE if test -n "$MSGMERGE"; then @@ -16010,8 +16263,9 @@ printf %s "checking whether NLS is requested... " >&6; } if test ${enable_nls+y} then : enableval=$enable_nls; USE_NLS=$enableval -else $as_nop - USE_NLS=yes +else case e in #( + e) USE_NLS=yes ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 @@ -16059,15 +16313,15 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_MSGFMT+y} then : printf %s "(cached) " >&6 -else $as_nop - case "$MSGFMT" in +else case e in #( + e) case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then @@ -16080,9 +16334,10 @@ else $as_nop fi done done - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; +esac ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" @@ -16101,8 +16356,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_GMSGFMT+y} then : printf %s "(cached) " >&6 -else $as_nop - case $GMSGFMT in +else case e in #( + e) case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; @@ -16128,6 +16383,7 @@ IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; +esac ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT @@ -16182,15 +16438,15 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_XGETTEXT+y} then : printf %s "(cached) " >&6 -else $as_nop - case "$XGETTEXT" in +else case e in #( + e) case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then @@ -16203,9 +16459,10 @@ else $as_nop fi done done - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; +esac ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" @@ -16260,15 +16517,15 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_MSGMERGE+y} then : printf %s "(cached) " >&6 -else $as_nop - case "$MSGMERGE" in +else case e in #( + e) case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) - ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then @@ -16280,9 +16537,10 @@ else $as_nop fi done done - IFS="$ac_save_IFS" + IFS="$gt_saved_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; +esac ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" @@ -16323,10 +16581,10 @@ fi else acl_final_exec_prefix="$exec_prefix" fi - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" + prefix="$acl_saved_prefix" @@ -16334,8 +16592,9 @@ fi if test ${with_gnu_ld+y} then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else $as_nop - with_gnu_ld=no +else case e in #( + e) with_gnu_ld=no ;; +esac fi # Prepare PATH_SEPARATOR. @@ -16371,14 +16630,14 @@ else if test ${acl_cv_path_LD+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in - *-*-mingw*) + *-*-mingw* | windows*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) @@ -16408,9 +16667,9 @@ else $as_nop fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. - acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do - IFS="$acl_save_ifs" + IFS="$acl_saved_IFS" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" @@ -16427,7 +16686,7 @@ else $as_nop esac fi done - IFS="$acl_save_ifs" + IFS="$acl_saved_IFS" fi case $host in *-*-aix*) @@ -16465,19 +16724,21 @@ _ACEOF if ac_fn_c_try_compile "$LINENO" then : -else $as_nop - # The compiler produces 32-bit code. Add option '-m elf32_sparc' +else case e in #( + e) # The compiler produces 32-bit code. Add option '-m elf32_sparc' # so that the linker groks 32-bit object files. case "$acl_cv_path_LD " in *" -m elf32_sparc "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; esac - + ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac - + ;; +esac fi LD="$acl_cv_path_LD" @@ -16495,8 +16756,8 @@ printf %s "checking if the linker ($LD) is GNU ld... " >&6; } if test ${acl_cv_prog_gnu_ld+y} then : printf %s "(cached) " >&6 -else $as_nop - # I'd rather use --version here, but apparently some GNU lds only accept -v. +else case e in #( + e) # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &1 &5 @@ -16519,14 +16781,15 @@ printf %s "checking for shared library run path origin... " >&6; } if test ${acl_cv_rpath+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 printf "%s\n" "$acl_cv_rpath" >&6; } @@ -16538,280 +16801,85 @@ printf "%s\n" "$acl_cv_rpath" >&6; } acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" - acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath was given. -if test ${enable_rpath+y} -then : - enableval=$enable_rpath; : -else $as_nop - enable_rpath=yes -fi - - - - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 -printf %s "checking 32-bit host C ABI... " >&6; } -if test ${gl_cv_host_cpu_c_abi_32bit+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test -n "$gl_cv_host_cpu_c_abi"; then - case "$gl_cv_host_cpu_c_abi" in - i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) - gl_cv_host_cpu_c_abi_32bit=yes ;; - x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) - gl_cv_host_cpu_c_abi_32bit=no ;; - *) - gl_cv_host_cpu_c_abi_32bit=unknown ;; - esac - else - case "$host_cpu" in - - # CPUs that only support a 32-bit ABI. - arc \ - | bfin \ - | cris* \ - | csky \ - | epiphany \ - | ft32 \ - | h8300 \ - | m68k \ - | microblaze | microblazeel \ - | nds32 | nds32le | nds32be \ - | nios2 | nios2eb | nios2el \ - | or1k* \ - | or32 \ - | sh | sh1234 | sh1234elb \ - | tic6x \ - | xtensa* ) - gl_cv_host_cpu_c_abi_32bit=yes - ;; - - # CPUs that only support a 64-bit ABI. - alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ - | mmix ) - gl_cv_host_cpu_c_abi_32bit=no - ;; - - i[34567]86 ) - gl_cv_host_cpu_c_abi_32bit=yes - ;; - - x86_64 ) - # On x86_64 systems, the C compiler may be generating code in one of - # these ABIs: - # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. - # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 - # with native Windows (mingw, MSVC). - # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. - # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if (defined __x86_64__ || defined __amd64__ \ - || defined _M_X64 || defined _M_AMD64) \ - && !(defined __ILP32__ || defined _ILP32) - int ok; - #else - error fail - #endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - - arm* | aarch64 ) - # Assume arm with EABI. - # On arm64 systems, the C compiler may be generating code in one of - # these ABIs: - # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. - # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. - # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) - int ok; - #else - error fail - #endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - - hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) - # On hppa, the C compiler may be generating 32-bit code or 64-bit - # code. In the latter case, it defines _LP64 and __LP64__. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __LP64__ - int ok; - #else - error fail - #endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - - ia64* ) - # On ia64 on HP-UX, the C compiler may be generating 64-bit code or - # 32-bit code. In the latter case, it defines _ILP32. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef _ILP32 - int ok; - #else - error fail - #endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_host_cpu_c_abi_32bit=yes -else $as_nop - gl_cv_host_cpu_c_abi_32bit=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - - mips* ) - # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this - # at 32. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) - int ok; - #else - error fail - #endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - - powerpc* ) - # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. - # No need to distinguish them here; the caller may distinguish - # them based on the OS. - # On powerpc64 systems, the C compiler may still be generating - # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may - # be generating 64-bit code. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined __powerpc64__ || defined __LP64__ - int ok; - #else - error fail - #endif - -_ACEOF -if ac_fn_c_try_compile "$LINENO" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test ${enable_rpath+y} then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes + enableval=$enable_rpath; : +else case e in #( + e) enable_rpath=yes ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - rs6000 ) - gl_cv_host_cpu_c_abi_32bit=yes - ;; - - riscv32 | riscv64 ) - # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. - # Size of 'long' and 'void *': - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined __LP64__ - int ok; - #else - error fail - #endif -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - s390* ) - # On s390x, the C compiler may be generating 64-bit (= s390x) code - # or 31-bit (= s390) code. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#if defined __LP64__ || defined __s390x__ - int ok; - #else - error fail - #endif -_ACEOF -if ac_fn_c_try_compile "$LINENO" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 +printf %s "checking 32-bit host C ABI... " >&6; } +if test ${gl_cv_host_cpu_c_abi_32bit+y} then : - gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; + printf %s "(cached) " >&6 +else case e in #( + e) case "$host_cpu" in + + # CPUs that only support a 32-bit ABI. + arc \ + | bfin \ + | cris* \ + | csky \ + | epiphany \ + | ft32 \ + | h8300 \ + | m68k \ + | microblaze | microblazeel \ + | nds32 | nds32le | nds32be \ + | nios2 | nios2eb | nios2el \ + | or1k* \ + | or32 \ + | sh | sh1234 | sh1234elb \ + | tic6x \ + | xtensa* ) + gl_cv_host_cpu_c_abi_32bit=yes + ;; - sparc | sparc64 ) - # UltraSPARCs running Linux have `uname -m` = "sparc64", but the - # C compiler still generates 32-bit code. + # CPUs that only support a 64-bit ABI. + alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ + | mmix ) + gl_cv_host_cpu_c_abi_32bit=no + ;; + + *) + if test -n "$gl_cv_host_cpu_c_abi"; then + case "$gl_cv_host_cpu_c_abi" in + i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) + gl_cv_host_cpu_c_abi_32bit=yes ;; + x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) + gl_cv_host_cpu_c_abi_32bit=no ;; + *) + gl_cv_host_cpu_c_abi_32bit=unknown ;; + esac + else + gl_cv_host_cpu_c_abi_32bit=unknown + fi + if test $gl_cv_host_cpu_c_abi_32bit = unknown; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#if defined __sparcv9 || defined __arch64__ - int ok; - #else - error fail - #endif +int test_pointer_size[sizeof (void *) - 5]; _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_host_cpu_c_abi_32bit=no -else $as_nop - gl_cv_host_cpu_c_abi_32bit=yes +else case e in #( + e) gl_cv_host_cpu_c_abi_32bit=yes ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - ;; - - *) - gl_cv_host_cpu_c_abi_32bit=unknown - ;; - esac - fi - + fi + ;; + esac + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; } @@ -16819,6 +16887,140 @@ printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; } HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 +printf %s "checking for egrep -e... " >&6; } +if test ${ac_cv_path_EGREP_TRADITIONAL+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) if test -z "$EGREP_TRADITIONAL"; then + ac_path_EGREP_TRADITIONAL_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in grep ggrep + do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue +# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. + # Check for GNU $ac_path_EGREP_TRADITIONAL +case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( +*GNU*) + ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; +#( +*) + ac_count=0 + printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" + "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" + ac_path_EGREP_TRADITIONAL_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_TRADITIONAL_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then + : + fi +else + ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL +fi + + if test "$ac_cv_path_EGREP_TRADITIONAL" +then : + ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E" +else case e in #( + e) if test -z "$EGREP_TRADITIONAL"; then + ac_path_EGREP_TRADITIONAL_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in egrep + do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue +# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. + # Check for GNU $ac_path_EGREP_TRADITIONAL +case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( +*GNU*) + ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; +#( +*) + ac_count=0 + printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" + "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" + ac_path_EGREP_TRADITIONAL_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_TRADITIONAL_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL +fi + ;; +esac +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5 +printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; } + EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL + @@ -16828,8 +17030,8 @@ printf %s "checking for ELF binary format... " >&6; } if test ${gl_cv_elf+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __ELF__ || (defined __linux__ && defined __EDG__) Extensible Linking Format @@ -16837,15 +17039,17 @@ else $as_nop _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "Extensible Linking Format" >/dev/null 2>&1 + $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 then : gl_cv_elf=yes -else $as_nop - gl_cv_elf=no +else case e in #( + e) gl_cv_elf=no ;; +esac fi rm -rf conftest* - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5 printf "%s\n" "$gl_cv_elf" >&6; } @@ -16904,8 +17108,8 @@ printf %s "checking for the common suffixes of directories in the library search if test ${acl_cv_libdirstems+y} then : printf %s "(cached) " >&6 -else $as_nop - acl_libdirstem=lib +else case e in #( + e) acl_libdirstem=lib acl_libdirstem2= acl_libdirstem3= case "$host_os" in @@ -16918,6 +17122,13 @@ else $as_nop esac fi ;; + netbsd*) + if test $HOST_CPU_C_ABI_32BIT != no; then + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparc ;; + esac + fi + ;; *) searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` @@ -16934,7 +17145,7 @@ else $as_nop fi fi if test -n "$searchpath"; then - acl_save_IFS="${IFS= }"; IFS=":" + acl_saved_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in @@ -16951,7 +17162,7 @@ else $as_nop esac fi done - IFS="$acl_save_IFS" + IFS="$acl_saved_IFS" if test $HOST_CPU_C_ABI_32BIT = yes; then # 32-bit ABI. acl_libdirstem3= @@ -16966,7 +17177,8 @@ else $as_nop test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 printf "%s\n" "$acl_cv_libdirstems" >&6; } @@ -16986,9 +17198,9 @@ printf "%s\n" "$acl_cv_libdirstems" >&6; } use_additional=yes - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" @@ -16996,8 +17208,8 @@ printf "%s\n" "$acl_cv_libdirstems" >&6; } eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" # Check whether --with-libiconv-prefix was given. @@ -17009,9 +17221,9 @@ then : else if test "X$withval" = "X"; then - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" @@ -17019,8 +17231,8 @@ then : eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" else additional_includedir="$withval/include" @@ -17132,13 +17344,13 @@ fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" case "$x" in -L*) @@ -17226,13 +17438,13 @@ fi haveit= for x in $LDFLAGS $LIBICONV; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes @@ -17294,13 +17506,13 @@ fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes @@ -17316,12 +17528,12 @@ fi fi fi if test -n "$found_la"; then - save_libdir="$libdir" + saved_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac - libdir="$save_libdir" + libdir="$saved_libdir" for dep in $dependency_libs; do case "$dep" in -L*) @@ -17343,13 +17555,13 @@ fi haveit= for x in $LDFLAGS $LIBICONV; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes @@ -17364,13 +17576,13 @@ fi haveit= for x in $LDFLAGS $LTLIBICONV; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes @@ -17444,17 +17656,17 @@ fi for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi @@ -17475,6 +17687,10 @@ fi gl_sed_escape_doublequotes='s/"/\\"/g' gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g" gl_sed_escape_for_make_2='s,\$,\\$$,g' + case `echo r | tr -d '\r'` in + '') gl_tr_cr='\015' ;; + *) gl_tr_cr='\r' ;; + esac @@ -17503,8 +17719,8 @@ printf %s "checking for CFPreferencesCopyAppValue... " >&6; } if test ${gt_cv_func_CFPreferencesCopyAppValue+y} then : printf %s "(cached) " >&6 -else $as_nop - gt_save_LIBS="$LIBS" +else case e in #( + e) gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -17520,12 +17736,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_func_CFPreferencesCopyAppValue=yes -else $as_nop - gt_cv_func_CFPreferencesCopyAppValue=no +else case e in #( + e) gt_cv_func_CFPreferencesCopyAppValue=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - LIBS="$gt_save_LIBS" + LIBS="$gt_saved_LIBS" ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } @@ -17539,8 +17757,8 @@ printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; } if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y} then : printf %s "(cached) " >&6 -else $as_nop - gt_save_LIBS="$LIBS" +else case e in #( + e) gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -17556,12 +17774,14 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_func_CFLocaleCopyPreferredLanguages=yes -else $as_nop - gt_cv_func_CFLocaleCopyPreferredLanguages=no +else case e in #( + e) gt_cv_func_CFLocaleCopyPreferredLanguages=no ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - LIBS="$gt_save_LIBS" + LIBS="$gt_saved_LIBS" ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } @@ -17573,7 +17793,7 @@ printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then - INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" fi @@ -17618,8 +17838,8 @@ printf %s "checking for GNU gettext in libc... " >&6; } if eval test \${$gt_func_gnugettext_libc+y} then : printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -17646,11 +17866,13 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$gt_func_gnugettext_libc=yes" -else $as_nop - eval "$gt_func_gnugettext_libc=no" +else case e in #( + e) eval "$gt_func_gnugettext_libc=no" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext + conftest$ac_exeext conftest.$ac_ext ;; +esac fi eval ac_res=\$$gt_func_gnugettext_libc { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 @@ -17662,19 +17884,19 @@ printf "%s\n" "$ac_res" >&6; } - am_save_CPPFLAGS="$CPPFLAGS" + gl_saved_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X$element"; then haveit=yes @@ -17692,8 +17914,8 @@ printf %s "checking for iconv... " >&6; } if test ${am_cv_func_iconv+y} then : printf %s "(cached) " >&6 -else $as_nop - +else case e in #( + e) am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17719,7 +17941,7 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then - am_save_LIBS="$LIBS" + gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -17744,9 +17966,10 @@ then : fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - LIBS="$am_save_LIBS" + LIBS="$gl_saved_LIBS" fi - + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 printf "%s\n" "$am_cv_func_iconv" >&6; } @@ -17756,9 +17979,9 @@ printf %s "checking for working iconv... " >&6; } if test ${am_cv_func_iconv_works+y} then : printf %s "(cached) " >&6 -else $as_nop - - am_save_LIBS="$LIBS" +else case e in #( + e) + gl_saved_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi @@ -17770,8 +17993,8 @@ then : aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -17900,13 +18123,15 @@ then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi test "$am_cv_func_iconv_works" = no || break done - LIBS="$am_save_LIBS" - + LIBS="$gl_saved_LIBS" + ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 printf "%s\n" "$am_cv_func_iconv_works" >&6; } @@ -17928,7 +18153,7 @@ printf %s "checking how to link with libiconv... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 printf "%s\n" "$LIBICONV" >&6; } else - CPPFLAGS="$am_save_CPPFLAGS" + CPPFLAGS="$gl_saved_CPPFLAGS" LIBICONV= LTLIBICONV= fi @@ -17944,9 +18169,9 @@ printf "%s\n" "$LIBICONV" >&6; } use_additional=yes - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" @@ -17954,8 +18179,8 @@ printf "%s\n" "$LIBICONV" >&6; } eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" # Check whether --with-libintl-prefix was given. @@ -17967,9 +18192,9 @@ then : else if test "X$withval" = "X"; then - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" @@ -17977,8 +18202,8 @@ then : eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" else additional_includedir="$withval/include" @@ -18090,13 +18315,13 @@ fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" case "$x" in -L*) @@ -18184,13 +18409,13 @@ fi haveit= for x in $LDFLAGS $LIBINTL; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes @@ -18252,13 +18477,13 @@ fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes @@ -18274,12 +18499,12 @@ fi fi fi if test -n "$found_la"; then - save_libdir="$libdir" + saved_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac - libdir="$save_libdir" + libdir="$saved_libdir" for dep in $dependency_libs; do case "$dep" in -L*) @@ -18301,13 +18526,13 @@ fi haveit= for x in $LDFLAGS $LIBINTL; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes @@ -18322,13 +18547,13 @@ fi haveit= for x in $LDFLAGS $LTLIBINTL; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes @@ -18402,17 +18627,17 @@ fi for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do - acl_save_libdir="$libdir" + acl_saved_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" + libdir="$acl_saved_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi @@ -18432,8 +18657,8 @@ printf %s "checking for GNU gettext in libintl... " >&6; } if eval test \${$gt_func_gnugettext_libintl+y} then : printf %s "(cached) " >&6 -else $as_nop - gt_save_CPPFLAGS="$CPPFLAGS" +else case e in #( + e) gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" @@ -18468,13 +18693,20 @@ _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$gt_func_gnugettext_libintl=yes" -else $as_nop - eval "$gt_func_gnugettext_libintl=no" +else case e in #( + e) eval "$gt_func_gnugettext_libintl=no" ;; +esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" + gt_LIBINTL_EXTRA="$INTL_MACOSX_LIBS" + + case "$host_os" in + aix*) gt_LIBINTL_EXTRA="-lpthread" ;; + esac + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } \ + && { test -n "$LIBICONV" || test -n "$gt_LIBINTL_EXTRA"; }; then + LIBS="$LIBS $LIBICONV $gt_LIBINTL_EXTRA" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -18505,8 +18737,8 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION _ACEOF if ac_fn_c_try_link "$LINENO" then : - LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" + LIBINTL="$LIBINTL $LIBICONV $gt_LIBINTL_EXTRA" + LTLIBINTL="$LTLIBINTL $LTLIBICONV $gt_LIBINTL_EXTRA" eval "$gt_func_gnugettext_libintl=yes" fi @@ -18514,7 +18746,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" - LIBS="$gt_save_LIBS" + LIBS="$gt_save_LIBS" ;; +esac fi eval ac_res=\$$gt_func_gnugettext_libintl { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 @@ -18586,13 +18819,13 @@ printf "%s\n" "$LIBINTL" >&6; } haveit= for x in $CPPFLAGS; do - acl_save_prefix="$prefix" + acl_saved_prefix="$prefix" prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" + acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + exec_prefix="$acl_saved_exec_prefix" + prefix="$acl_saved_prefix" if test "X$x" = "X$element"; then haveit=yes @@ -18645,16 +18878,16 @@ printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h case "$build_os" in cygwin*) case "$host_os" in - mingw*) + mingw* | windows*) gl_final_localedir=`cygpath -w "$gl_final_localedir"` ;; esac ;; esac - localedir_c=`echo "$gl_final_localedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes"` + localedir_c=`printf '%s\n' "$gl_final_localedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` localedir_c='"'"$localedir_c"'"' - localedir_c_make=`echo "$localedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2"` + localedir_c_make=`printf '%s\n' "$localedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$localedir_c_make" = '\"'"${gl_final_localedir}"'\"'; then localedir_c_make='\"$(localedir)\"' fi @@ -18734,8 +18967,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_PCRE2_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$PCRE2_CONFIG"; then +else case e in #( + e) if test -n "$PCRE2_CONFIG"; then ac_cv_prog_PCRE2_CONFIG="$PCRE2_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -18757,7 +18990,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi PCRE2_CONFIG=$ac_cv_prog_PCRE2_CONFIG if test -n "$PCRE2_CONFIG"; then @@ -18795,8 +19029,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_PCRE2_CONFIG+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$PCRE2_CONFIG"; then +else case e in #( + e) if test -n "$PCRE2_CONFIG"; then ac_cv_prog_PCRE2_CONFIG="$PCRE2_CONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -18818,7 +19052,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi PCRE2_CONFIG=$ac_cv_prog_PCRE2_CONFIG if test -n "$PCRE2_CONFIG"; then @@ -18856,8 +19091,9 @@ fi if test ${with_libvirt+y} then : withval=$with_libvirt; -else $as_nop - with_libvirt=check +else case e in #( + e) with_libvirt=check ;; +esac fi if test "$with_libvirt" != "no" @@ -19040,8 +19276,8 @@ See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -19051,7 +19287,7 @@ and LIBXML2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS @@ -19142,8 +19378,8 @@ See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -19153,7 +19389,7 @@ and JANSSON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else JANSSON_CFLAGS=$pkg_cv_JANSSON_CFLAGS JANSSON_LIBS=$pkg_cv_JANSSON_LIBS @@ -19234,8 +19470,8 @@ See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -19245,7 +19481,7 @@ and LIBOSINFO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else LIBOSINFO_CFLAGS=$pkg_cv_LIBOSINFO_CFLAGS LIBOSINFO_LIBS=$pkg_cv_LIBOSINFO_LIBS @@ -19331,8 +19567,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLC"; then +else case e in #( + e) if test -n "$OCAMLC"; then ac_cv_prog_OCAMLC="$OCAMLC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19354,7 +19590,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLC=$ac_cv_prog_OCAMLC if test -n "$OCAMLC"; then @@ -19376,8 +19613,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLC"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLC"; then ac_cv_prog_ac_ct_OCAMLC="$ac_ct_OCAMLC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19399,7 +19636,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLC=$ac_cv_prog_ac_ct_OCAMLC if test -n "$ac_ct_OCAMLC"; then @@ -19446,8 +19684,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLOPT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLOPT"; then +else case e in #( + e) if test -n "$OCAMLOPT"; then ac_cv_prog_OCAMLOPT="$OCAMLOPT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19469,7 +19707,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLOPT=$ac_cv_prog_OCAMLOPT if test -n "$OCAMLOPT"; then @@ -19491,8 +19730,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLOPT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLOPT"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLOPT"; then ac_cv_prog_ac_ct_OCAMLOPT="$ac_ct_OCAMLOPT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19514,7 +19753,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLOPT=$ac_cv_prog_ac_ct_OCAMLOPT if test -n "$ac_ct_OCAMLOPT"; then @@ -19566,8 +19806,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLCDOTOPT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLCDOTOPT"; then +else case e in #( + e) if test -n "$OCAMLCDOTOPT"; then ac_cv_prog_OCAMLCDOTOPT="$OCAMLCDOTOPT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19589,7 +19829,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLCDOTOPT=$ac_cv_prog_OCAMLCDOTOPT if test -n "$OCAMLCDOTOPT"; then @@ -19611,8 +19852,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLCDOTOPT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLCDOTOPT"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLCDOTOPT"; then ac_cv_prog_ac_ct_OCAMLCDOTOPT="$ac_ct_OCAMLCDOTOPT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19634,7 +19875,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLCDOTOPT=$ac_cv_prog_ac_ct_OCAMLCDOTOPT if test -n "$ac_ct_OCAMLCDOTOPT"; then @@ -19680,8 +19922,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLOPTDOTOPT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLOPTDOTOPT"; then +else case e in #( + e) if test -n "$OCAMLOPTDOTOPT"; then ac_cv_prog_OCAMLOPTDOTOPT="$OCAMLOPTDOTOPT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19703,7 +19945,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLOPTDOTOPT=$ac_cv_prog_OCAMLOPTDOTOPT if test -n "$OCAMLOPTDOTOPT"; then @@ -19725,8 +19968,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLOPTDOTOPT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLOPTDOTOPT"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLOPTDOTOPT"; then ac_cv_prog_ac_ct_OCAMLOPTDOTOPT="$ac_ct_OCAMLOPTDOTOPT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19748,7 +19991,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLOPTDOTOPT=$ac_cv_prog_ac_ct_OCAMLOPTDOTOPT if test -n "$ac_ct_OCAMLOPTDOTOPT"; then @@ -19799,8 +20043,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLDEP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLDEP"; then +else case e in #( + e) if test -n "$OCAMLDEP"; then ac_cv_prog_OCAMLDEP="$OCAMLDEP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19822,7 +20066,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLDEP=$ac_cv_prog_OCAMLDEP if test -n "$OCAMLDEP"; then @@ -19844,8 +20089,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLDEP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLDEP"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLDEP"; then ac_cv_prog_ac_ct_OCAMLDEP="$ac_ct_OCAMLDEP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19867,7 +20112,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLDEP=$ac_cv_prog_ac_ct_OCAMLDEP if test -n "$ac_ct_OCAMLDEP"; then @@ -19903,8 +20149,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLMKTOP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLMKTOP"; then +else case e in #( + e) if test -n "$OCAMLMKTOP"; then ac_cv_prog_OCAMLMKTOP="$OCAMLMKTOP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19926,7 +20172,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLMKTOP=$ac_cv_prog_OCAMLMKTOP if test -n "$OCAMLMKTOP"; then @@ -19948,8 +20195,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLMKTOP+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLMKTOP"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLMKTOP"; then ac_cv_prog_ac_ct_OCAMLMKTOP="$ac_ct_OCAMLMKTOP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -19971,7 +20218,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLMKTOP=$ac_cv_prog_ac_ct_OCAMLMKTOP if test -n "$ac_ct_OCAMLMKTOP"; then @@ -20007,8 +20255,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLMKLIB+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLMKLIB"; then +else case e in #( + e) if test -n "$OCAMLMKLIB"; then ac_cv_prog_OCAMLMKLIB="$OCAMLMKLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20030,7 +20278,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLMKLIB=$ac_cv_prog_OCAMLMKLIB if test -n "$OCAMLMKLIB"; then @@ -20052,8 +20301,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLMKLIB+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLMKLIB"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLMKLIB"; then ac_cv_prog_ac_ct_OCAMLMKLIB="$ac_ct_OCAMLMKLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20075,7 +20324,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLMKLIB=$ac_cv_prog_ac_ct_OCAMLMKLIB if test -n "$ac_ct_OCAMLMKLIB"; then @@ -20111,8 +20361,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLDOC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLDOC"; then +else case e in #( + e) if test -n "$OCAMLDOC"; then ac_cv_prog_OCAMLDOC="$OCAMLDOC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20134,7 +20384,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLDOC=$ac_cv_prog_OCAMLDOC if test -n "$OCAMLDOC"; then @@ -20156,8 +20407,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLDOC+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLDOC"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLDOC"; then ac_cv_prog_ac_ct_OCAMLDOC="$ac_ct_OCAMLDOC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20179,7 +20430,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLDOC=$ac_cv_prog_ac_ct_OCAMLDOC if test -n "$ac_ct_OCAMLDOC"; then @@ -20215,8 +20467,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLBUILD+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLBUILD"; then +else case e in #( + e) if test -n "$OCAMLBUILD"; then ac_cv_prog_OCAMLBUILD="$OCAMLBUILD" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20238,7 +20490,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLBUILD=$ac_cv_prog_OCAMLBUILD if test -n "$OCAMLBUILD"; then @@ -20260,8 +20513,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLBUILD+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLBUILD"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLBUILD"; then ac_cv_prog_ac_ct_OCAMLBUILD="$ac_ct_OCAMLBUILD" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20283,7 +20536,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLBUILD=$ac_cv_prog_ac_ct_OCAMLBUILD if test -n "$ac_ct_OCAMLBUILD"; then @@ -20320,8 +20574,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAMLFIND+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAMLFIND"; then +else case e in #( + e) if test -n "$OCAMLFIND"; then ac_cv_prog_OCAMLFIND="$OCAMLFIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20343,7 +20597,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi OCAMLFIND=$ac_cv_prog_OCAMLFIND if test -n "$OCAMLFIND"; then @@ -20365,8 +20620,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_OCAMLFIND+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_OCAMLFIND"; then +else case e in #( + e) if test -n "$ac_ct_OCAMLFIND"; then ac_cv_prog_ac_ct_OCAMLFIND="$ac_ct_OCAMLFIND" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20388,7 +20643,8 @@ done done IFS=$as_save_IFS -fi +fi ;; +esac fi ac_ct_OCAMLFIND=$ac_cv_prog_ac_ct_OCAMLFIND if test -n "$ac_ct_OCAMLFIND"; then @@ -20435,8 +20691,9 @@ fi if test ${enable_ocaml+y} then : enableval=$enable_ocaml; -else $as_nop - enable_ocaml=yes +else case e in #( + e) enable_ocaml=yes ;; +esac fi @@ -20453,15 +20710,16 @@ then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($ocaml_major, $ocaml_minor)" >&5 printf "%s\n" "yes ($ocaml_major, $ocaml_minor)" >&6; } -else $as_nop - +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "OCaml compiler is not new enough. At least OCaml $ocaml_ver_str is required -See \`config.log' for more details" "$LINENO" 5; } - +See 'config.log' for more details" "$LINENO" 5; } + ;; +esac fi if test "x$enable_ocaml" != "xno"; then @@ -20695,8 +20953,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_OCAML_GETTEXT+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$OCAML_GETTEXT"; then +else case e in #( + e) if test -n "$OCAML_GETTEXT"; then ac_cv_prog_OCAML_GETTEXT="$OCAML_GETTEXT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20719,7 +20977,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_OCAML_GETTEXT" && ac_cv_prog_OCAML_GETTEXT="no" -fi +fi ;; +esac fi OCAML_GETTEXT=$ac_cv_prog_OCAML_GETTEXT if test -n "$OCAML_GETTEXT"; then @@ -20759,11 +21018,12 @@ printf "%s\n" "yes" >&6; } printf "%s\n" "#define HAVE_CAML_ALLOC_INITIALIZED_STRING 1" >>confdefs.h -else $as_nop - +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - + ;; +esac fi rm -f conftest.c conftest.o @@ -20801,8 +21061,8 @@ printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_PERL+y} then : printf %s "(cached) " >&6 -else $as_nop - if test -n "$PERL"; then +else case e in #( + e) if test -n "$PERL"; then ac_cv_prog_PERL="$PERL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -20825,7 +21085,8 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="no" -fi +fi ;; +esac fi PERL=$ac_cv_prog_PERL if test -n "$PERL"; then @@ -20864,8 +21125,9 @@ PODWRAPPER="\$(guestfs_am_v_podwrapper)$PERL $(pwd)/podwrapper.pl" if test ${enable_perl+y} then : enableval=$enable_perl; -else $as_nop - enable_perl=yes +else case e in #( + e) enable_perl=yes ;; +esac fi if test "x$enable_perl" != "xno" @@ -21018,15 +21280,21 @@ printf %s "checking for library containing crypt... " >&6; } if test ${ac_cv_search_crypt+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char crypt (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char crypt (void); int main (void) { @@ -21057,11 +21325,13 @@ done if test ${ac_cv_search_crypt+y} then : -else $as_nop - ac_cv_search_crypt=no +else case e in #( + e) ac_cv_search_crypt=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 printf "%s\n" "$ac_cv_search_crypt" >&6; } @@ -21088,15 +21358,21 @@ printf %s "checking for library containing crypt... " >&6; } if test ${ac_cv_search_crypt+y} then : printf %s "(cached) " >&6 -else $as_nop - ac_func_search_save_LIBS=$LIBS +else case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char crypt (); + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char crypt (void); int main (void) { @@ -21127,11 +21403,13 @@ done if test ${ac_cv_search_crypt+y} then : -else $as_nop - ac_cv_search_crypt=no +else case e in #( + e) ac_cv_search_crypt=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 printf "%s\n" "$ac_cv_search_crypt" >&6; } @@ -21422,7 +21700,7 @@ ac_config_files="$ac_config_files run" ac_config_files="$ac_config_files win-reg/virt-win-reg" -ac_config_files="$ac_config_files Makefile align/Makefile bash/Makefile builder/Makefile builder/libguestfs.conf builder/opensuse.conf builder/templates/Makefile builder/test-config/virt-builder/repos.d/test-index.conf builder/test-simplestreams/virt-builder/repos.d/cirros.conf builder/test-website/virt-builder/repos.d/libguestfs.conf cat/Makefile common/edit/Makefile common/mlcustomize/Makefile common/mldrivers/Makefile common/mlgettext/Makefile common/mlpcre/Makefile common/mlprogress/Makefile common/mlstdutils/Makefile common/mlstdutils/guestfs_config.ml common/mltools/Makefile common/mlutils/Makefile common/mlvisit/Makefile common/mlxml/Makefile common/options/Makefile common/parallel/Makefile common/progress/Makefile common/structs/Makefile common/utils/Makefile common/visit/Makefile common/windows/Makefile config.sh customize/Makefile docs/Makefile df/Makefile diff/Makefile drivers/Makefile drivers/hwdata_config.ml edit/Makefile format/Makefile get-kernel/Makefile gnulib/lib/Makefile inspector/Makefile make-fs/Makefile po-docs/Makefile po-docs/ja/Makefile po-docs/uk/Makefile po/Makefile resize/Makefile sparsify/Makefile sysprep/Makefile test-data/Makefile test-data/binaries/Makefile test-data/blank-disks/Makefile test-data/files/Makefile test-data/phony-guests/Makefile test-data/phony-guests/guests.xml win-reg/Makefile" +ac_config_files="$ac_config_files Makefile align/Makefile bash/Makefile builder/Makefile builder/libguestfs.conf builder/opensuse.conf builder/templates/Makefile builder/test-config/virt-builder/repos.d/test-index.conf builder/test-simplestreams/virt-builder/repos.d/cirros.conf builder/test-website/virt-builder/repos.d/libguestfs.conf cat/Makefile common/edit/Makefile common/mlcustomize/Makefile common/mldrivers/Makefile common/mlgettext/Makefile common/mlpcre/Makefile common/mlprogress/Makefile common/mlstdutils/Makefile common/mlstdutils/guestfs_config.ml common/mltools/Makefile common/mlutils/Makefile common/mlvisit/Makefile common/mlxml/Makefile common/options/Makefile common/parallel/Makefile common/progress/Makefile common/structs/Makefile common/utils/Makefile common/visit/Makefile common/windows/Makefile config.sh customize/Makefile docs/Makefile df/Makefile diff/Makefile drivers/Makefile drivers/hwdata_config.ml edit/Makefile format/Makefile get-kernel/Makefile gnulib/lib/Makefile inspector/Makefile make-fs/Makefile po-docs/Makefile po-docs/ja/Makefile po-docs/uk/Makefile po/Makefile resize/Makefile sparsify/Makefile sysprep/Makefile test-data/Makefile test-data/binaries/Makefile test-data/blank-disks/Makefile test-data/phony-guests/Makefile test-data/phony-guests/guests.xml win-reg/Makefile" cat >confcache <<\_ACEOF @@ -21435,8 +21713,8 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the +# 'ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF @@ -21466,14 +21744,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote + # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) - # `set' quotes correctly as required by POSIX, so do not add quotes. + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | @@ -21566,6 +21844,12 @@ if test -z "${HAVE_PO4A_TRUE}" && test -z "${HAVE_PO4A_FALSE}"; then as_fn_error $? "conditional \"HAVE_PO4A\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +# Check whether --enable-year2038 was given. +if test ${enable_year2038+y} +then : + enableval=$enable_year2038; +fi + if test -z "${HAVE_GNU_GETTEXT_TRUE}" && test -z "${HAVE_GNU_GETTEXT_FALSE}"; then as_fn_error $? "conditional \"HAVE_GNU_GETTEXT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -21647,7 +21931,6 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh @@ -21656,12 +21939,13 @@ then : # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else $as_nop - case `(set -o) 2>/dev/null` in #( +else case e in #( + e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi @@ -21733,7 +22017,7 @@ IFS=$as_save_IFS ;; esac -# We did not find ourselves, most probably we were run as `sh COMMAND' +# We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 @@ -21762,7 +22046,6 @@ as_fn_error () } # as_fn_error - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -21802,11 +22085,12 @@ then : { eval $1+=\$2 }' -else $as_nop - as_fn_append () +else case e in #( + e) as_fn_append () { eval $1=\$$1\$2 - } + } ;; +esac fi # as_fn_append # as_fn_arith ARG... @@ -21820,11 +22104,12 @@ then : { as_val=$(( $* )) }' -else $as_nop - as_fn_arith () +else case e in #( + e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } + } ;; +esac fi # as_fn_arith @@ -21907,9 +22192,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. + # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -21990,10 +22275,12 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed '$as_sed_sh'" # deprecated exec 6>&1 @@ -22008,8 +22295,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by guestfs-tools $as_me 1.52.0, which was -generated by GNU Autoconf 2.71. Invocation command line was +This file was extended by guestfs-tools $as_me 1.52.1, which was +generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -22041,7 +22328,7 @@ _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions +'$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. @@ -22076,11 +22363,11 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -guestfs-tools config.status 1.52.0 -configured by $0, generated by GNU Autoconf 2.71, +guestfs-tools config.status 1.52.1 +configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2023 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -22142,8 +22429,8 @@ do ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; + as_fn_error $? "ambiguous option: '$1' +Try '$0 --help' for more information.";; --help | --hel | -h ) printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ @@ -22151,8 +22438,8 @@ Try \`$0 --help' for more information.";; ac_cs_silent=: ;; # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; + -*) as_fn_error $? "unrecognized option: '$1' +Try '$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; @@ -22556,12 +22843,11 @@ do "test-data/Makefile") CONFIG_FILES="$CONFIG_FILES test-data/Makefile" ;; "test-data/binaries/Makefile") CONFIG_FILES="$CONFIG_FILES test-data/binaries/Makefile" ;; "test-data/blank-disks/Makefile") CONFIG_FILES="$CONFIG_FILES test-data/blank-disks/Makefile" ;; - "test-data/files/Makefile") CONFIG_FILES="$CONFIG_FILES test-data/files/Makefile" ;; "test-data/phony-guests/Makefile") CONFIG_FILES="$CONFIG_FILES test-data/phony-guests/Makefile" ;; "test-data/phony-guests/guests.xml") CONFIG_FILES="$CONFIG_FILES test-data/phony-guests/guests.xml" ;; "win-reg/Makefile") CONFIG_FILES="$CONFIG_FILES win-reg/Makefile" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac done @@ -22581,7 +22867,7 @@ fi # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. +# after its creation but before its name has been assigned to '$tmp'. $debug || { tmp= ac_tmp= @@ -22605,7 +22891,7 @@ ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. +# This happens for instance with './config.status config.h'. if test -n "$CONFIG_FILES"; then @@ -22763,13 +23049,13 @@ fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. +# This happens for instance with './config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF -# Transform confdefs.h into an awk script `defines.awk', embedded as +# Transform confdefs.h into an awk script 'defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. @@ -22879,7 +23165,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -22901,19 +23187,19 @@ do -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. + # because $ac_f cannot contain ':'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done - # Let's still pretend it is `configure' which instantiates (i.e., don't + # Let's still pretend it is 'configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` @@ -23046,7 +23332,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 esac _ACEOF -# Neutralize VPATH when `$srcdir' = `.'. +# Neutralize VPATH when '$srcdir' = '.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 @@ -23077,9 +23363,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -23234,15 +23520,15 @@ printf "%s\n" X/"$am_mf" | (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE=\"gmake\" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} diff --git a/configure.ac b/configure.ac index 95690ef..56f78b1 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -AC_INIT([guestfs-tools], [1.52.0]) +AC_INIT([guestfs-tools], [1.52.1]) dnl The common/ subdirectory assumes this. In libguestfs it contains dnl the --with-extra parameter. Here we just define it to the version. @@ -155,7 +155,6 @@ AC_CONFIG_FILES([Makefile test-data/Makefile test-data/binaries/Makefile test-data/blank-disks/Makefile - test-data/files/Makefile test-data/phony-guests/Makefile test-data/phony-guests/guests.xml win-reg/Makefile]) diff --git a/customize/Makefile.am b/customize/Makefile.am index 3a97459..4616290 100644 --- a/customize/Makefile.am +++ b/customize/Makefile.am @@ -285,9 +285,11 @@ test-settings-%.sh: chmod 0755 $@-t mv $@-t $@ -CLEANFILES += \ +DISTCLEANFILES += \ $(password_test_scripts) \ - $(settings_test_scripts) \ + $(settings_test_scripts) + +CLEANFILES += \ password-*.img \ password-*.log \ settings-*.img diff --git a/customize/Makefile.in b/customize/Makefile.in index 481f9e2..f4f336c 100644 --- a/customize/Makefile.in +++ b/customize/Makefile.in @@ -150,7 +150,9 @@ host_triplet = @host@ @HAVE_OCAML_TRUE@bin_PROGRAMS = virt-customize$(EXEEXT) @HAVE_OCAML_TRUE@am__append_2 = \ @HAVE_OCAML_TRUE@ $(password_test_scripts) \ -@HAVE_OCAML_TRUE@ $(settings_test_scripts) \ +@HAVE_OCAML_TRUE@ $(settings_test_scripts) + +@HAVE_OCAML_TRUE@am__append_3 = \ @HAVE_OCAML_TRUE@ password-*.img \ @HAVE_OCAML_TRUE@ password-*.log \ @HAVE_OCAML_TRUE@ settings-*.img @@ -621,6 +623,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -708,10 +712,10 @@ top_srcdir = @top_srcdir@ # Bindtests temporary files used in many language bindings. CLEANFILES = *~ *.bak *.orig *.rej *.cmi *.cmo *.cma *.cmx *.cmxa \ dll*.so *.a *.annot oUnit-*.cache oUnit-*.log *.1 *.3 *.5 *.8 \ - stamp-*.pod bindtests.tmp $(am__append_2) + stamp-*.pod bindtests.tmp $(am__append_3) # Files that should be universally removed by 'make distclean'. -DISTCLEANFILES = .depend stamp-* +DISTCLEANFILES = .depend stamp-* $(am__append_2) # Special suffixes used by OCaml. @@ -724,7 +728,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/customize/customize_cmdline.ml b/customize/customize_cmdline.ml index 245d996..48ee334 100644 --- a/customize/customize_cmdline.ml +++ b/customize/customize_cmdline.ml @@ -157,7 +157,7 @@ let rec argspec () = let len = String.length arg in String.sub arg 0 i, String.sub arg (i+1) (len-(i+1)) and split_string_triplet option_name arg = - match String.nsplit ~max:3 "," arg with + match String.nsplit ~max:3 ":" arg with | [a; b; c] -> a, b, c | _ -> error (f_"invalid format for '--%s' parameter, see the man page") diff --git a/customize/customize_main.ml b/customize/customize_main.ml index 8622715..f74325c 100644 --- a/customize/customize_main.ml +++ b/customize/customize_main.ml @@ -21,8 +21,6 @@ open Tools_utils open Common_gettext.Gettext open Getopt.OptionName -open Customize_cmdline - open Printf module G = Guestfs diff --git a/df/Makefile.in b/df/Makefile.in index f73ac2d..5162cd0 100644 --- a/df/Makefile.in +++ b/df/Makefile.in @@ -606,6 +606,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -709,7 +711,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/diff/Makefile.in b/diff/Makefile.in index 218403c..e6c4219 100644 --- a/diff/Makefile.in +++ b/diff/Makefile.in @@ -600,6 +600,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -703,7 +705,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/diff/diff.c b/diff/diff.c index b6344b4..8561b43 100644 --- a/diff/diff.c +++ b/diff/diff.c @@ -489,6 +489,19 @@ visit_guest (guestfs_h *g) return t; } +/* In visit_entry, GCC 14 falsely reports: + * + * diff.c: In function ‘visit_entry’: + * diff.c:565:16: error: pointer ‘old_files_95’ may be used after ‘realloc’ [-Werror=use-after-free] + * 565 | t->files = old_files; + * | ~~~~~~~~~^~~~~~~~~~~ + * diff.c:562:16: note: call to ‘realloc’ here + * 562 | t->files = realloc (old_files, t->allocated * sizeof (struct file)); + * | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wuse-after-free" + /* Visit each directory/file/etc entry in the tree. This just stores * the data in the tree. Note we don't store file content, but we * keep the guestfs handle open so we can pull that out later if we @@ -583,6 +596,8 @@ visit_entry (const char *dir, const char *name, return -1; } +#pragma GCC diagnostic pop + static void deleted (guestfs_h *, struct file *); static void added (guestfs_h *, struct file *); static int compare_stats (struct file *, struct file *); diff --git a/docs/Makefile.in b/docs/Makefile.in index 368ced3..a4c3ac8 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -363,6 +363,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -466,7 +468,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/drivers/Makefile.in b/drivers/Makefile.in index ae9ab80..12365f0 100644 --- a/drivers/Makefile.in +++ b/drivers/Makefile.in @@ -600,6 +600,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -703,7 +705,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/drivers/hwdata_config.ml b/drivers/hwdata_config.ml index 3be76da..c954ae4 100644 --- a/drivers/hwdata_config.ml +++ b/drivers/hwdata_config.ml @@ -19,7 +19,7 @@ open Std_utils -let dir = "" +let dir = "//usr/share/hwdata" let dir = if dir = "" then None else Some dir let pci_ids = Option.map (fun d -> d // "pci.ids") dir diff --git a/drivers/virt-drivers.pod b/drivers/virt-drivers.pod index 266dd68..600815d 100644 --- a/drivers/virt-drivers.pod +++ b/drivers/virt-drivers.pod @@ -83,7 +83,7 @@ kernels are provided. For example: Many more fields are usually available for Linux guests, including a complete list of kernel modules and information about support for virtio. For a complete example see: -L +L =head2 EdriversE diff --git a/edit/Makefile.in b/edit/Makefile.in index 979e1ca..e9d32f5 100644 --- a/edit/Makefile.in +++ b/edit/Makefile.in @@ -600,6 +600,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -703,7 +705,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/format/Makefile.in b/format/Makefile.in index f35843b..4d66f39 100644 --- a/format/Makefile.in +++ b/format/Makefile.in @@ -599,6 +599,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -702,7 +704,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/get-kernel/Makefile.in b/get-kernel/Makefile.in index 73f7370..bacb62e 100644 --- a/get-kernel/Makefile.in +++ b/get-kernel/Makefile.in @@ -600,6 +600,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -703,7 +705,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/gnulib/lib/Makefile.in b/gnulib/lib/Makefile.in index b6c107e..4928705 100644 --- a/gnulib/lib/Makefile.in +++ b/gnulib/lib/Makefile.in @@ -387,6 +387,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -490,7 +492,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/inspector/Makefile.in b/inspector/Makefile.in index 7de9f6d..7bfc356 100644 --- a/inspector/Makefile.in +++ b/inspector/Makefile.in @@ -604,6 +604,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -707,7 +709,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/inspector/inspector.c b/inspector/inspector.c index 73357c7..01abfae 100644 --- a/inspector/inspector.c +++ b/inspector/inspector.c @@ -764,14 +764,6 @@ do_xpath (const char *query) printf ("\n"); break; - case XPATH_UNDEFINED: /* grrrrr ... switch-enum is a useless warning */ - case XPATH_BOOLEAN: - case XPATH_NUMBER: - case XPATH_POINT: - case XPATH_RANGE: - case XPATH_LOCATIONSET: - case XPATH_USERS: - case XPATH_XSLT_TREE: default: r = (char *) xmlXPathCastToString (xpathObj); printf ("%s\n", r); diff --git a/m4/guestfs-c.m4 b/m4/guestfs-c.m4 index bc7e3b2..67004d0 100644 --- a/m4/guestfs-c.m4 +++ b/m4/guestfs-c.m4 @@ -29,6 +29,23 @@ test "x$U" != "x" && AC_MSG_ERROR([Compiler not ANSI compliant]) AM_PROG_CC_C_O +AC_ARG_ENABLE([werror], + [AS_HELP_STRING([--enable-werror], + [turn on lots of GCC warnings (for developers)])], + [case $enableval in + yes|no) ;; + *) AC_MSG_ERROR([bad value $enableval for werror option]) ;; + esac + gcc_warnings=$enableval], + [gcc_warnings=no] +) +WARN_CFLAGS="-Wall" +AC_SUBST([WARN_CFLAGS]) +if test "x$gcc_warnings" = "xyes"; then + WERROR_CFLAGS="-Werror" +fi +AC_SUBST([WERROR_CFLAGS]) + # Provide a global place to set CFLAGS. (Note that setting AM_CFLAGS # is no use because it doesn't override target_CFLAGS). #--- diff --git a/make-fs/Makefile.in b/make-fs/Makefile.in index 54e3c91..95c69eb 100644 --- a/make-fs/Makefile.in +++ b/make-fs/Makefile.in @@ -600,6 +600,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -703,7 +705,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c index 7837b61..b8aebcc 100644 --- a/make-fs/make-fs.c +++ b/make-fs/make-fs.c @@ -457,7 +457,7 @@ estimate_input (const char *input, uint64_t *estimate_rtn, char **ifmt_rtn) } else { argv[0] = "file"; - argv[1] = "-bsLz"; + argv[1] = "-bsSLz"; argv[2] = input; argv[3] = NULL; diff --git a/po-docs/Makefile.in b/po-docs/Makefile.in index 37a75fd..a523502 100644 --- a/po-docs/Makefile.in +++ b/po-docs/Makefile.in @@ -388,6 +388,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -491,7 +493,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/po-docs/ja/Makefile.in b/po-docs/ja/Makefile.in index 5213fd7..6edbd93 100644 --- a/po-docs/ja/Makefile.in +++ b/po-docs/ja/Makefile.in @@ -354,6 +354,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -459,7 +461,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt @@ -495,7 +497,6 @@ MANPAGES = \ virt-cat.1 \ virt-customize.1 \ virt-df.1 \ - virt-dib.1 \ virt-diff.1 \ virt-edit.1 \ virt-filesystems.1 \ @@ -817,13 +818,16 @@ virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.po # Remove both. # XXX Fix po4a so it doesn't do this. %.pod: $(srcdir)/../$(LINGUA).po + rm -f $@ $@-t $(guestfs_am_v_po4a_translate)$(PO4A_TRANSLATE) \ -f pod \ -M utf-8 -L utf-8 \ -k 0 \ -m $(top_srcdir)/$(shell grep -E '/$(basename $@)(\.|$$)' $(top_srcdir)/po-docs/podfiles) \ -p $< \ - | $(SED) '0,/^=encoding/d' > $@ + -l $@-t + $(SED) '0,/^=encoding/d' < $@-t > $@ + rm $@-t # XXX Can automake do this properly? install-data-hook: diff --git a/po-docs/ja/virt-alignment-scan.1 b/po-docs/ja/virt-alignment-scan.1 index dfde072..1ceba32 100644 --- a/po-docs/ja/virt-alignment-scan.1 +++ b/po-docs/ja/virt-alignment-scan.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-alignment-scan 1" -.TH virt-alignment-scan 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-alignment-scan 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-alignment-scan \- 仮想マシンのパーティションにおけるアライメントの確認 +virt\-alignment\-scan \- 仮想マシンのパーティションにおけるアライメントの確認 .SH 書式 .IX Header "書式" .Vb 1 @@ -76,7 +79,7 @@ virt-alignment-scan \- 仮想マシンのパーティションにおけるアラ .IX Header "説明" 古いオペレーティングシステムが自身をインストールするとき、パーティションツールが基礎となるストレージと一致しないセクターにパーティションを配置します (一般的に最初のパーティションはセクター \f(CW63\fR から始まります)。一致しないパーティションにより、必要以上に I/O を発生させるというオペレーティングシステムの問題を引き起こします。 .PP -virt-alignment-scan ツールは、仮想マシンおよびディスクイメージにあるパーティションの配置を確認します。配置に問題があれば警告します。 +virt\-alignment\-scan ツールは、仮想マシンおよびディスクイメージにあるパーティションの配置を確認します。配置に問題があれば警告します。 .PP 現在、配置の問題を修正するための仮想化ツールはありません。ゲストオペレーティングシステムを再インストールすることだけができます。以下の NetApp のドキュメントが、問題と取り得る解決策をまとめています: http://media.netapp.com/documents/tr\-3747.pdf .SH 出力 @@ -106,7 +109,7 @@ libvirt が把握している仮想マシンにおいてツールを実行する \& /dev/sdb1 65536 64K ok .Ve .PP -すべての libvirt 仮想マシンをスキャンするには \fI\-a\fR や \fI\-d\fR オプションをつけずに virt-alignment-scan を実行します。 +すべての libvirt 仮想マシンをスキャンするには \fI\-a\fR や \fI\-d\fR オプションをつけずに virt\-alignment\-scan を実行します。 .PP .Vb 4 \& # virt\-alignment\-scan @@ -201,18 +204,18 @@ libvirt を使用していると、指定された \fIURI\fR に接続します \& virt\-alignment\-scan \-\-format=raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-alignment\-scan \-\-format=raw \-a disk.img \-\-format \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-P\fR nr_threads" 4 .IX Item "-P nr_threads" -Since libguestfs 1.22, virt-alignment-scan is multithreaded and examines guests in parallel. By default the number of threads to use is chosen based on the amount of free memory available at the time that virt-alignment-scan is started. You can force virt-alignment-scan to use at most \f(CW\*(C`nr_threads\*(C'\fR by using the \fI\-P\fR option. +Since libguestfs 1.22, virt\-alignment\-scan is multithreaded and examines guests in parallel. By default the number of threads to use is chosen based on the amount of free memory available at the time that virt\-alignment\-scan is started. You can force virt\-alignment\-scan to use at most \f(CW\*(C`nr_threads\*(C'\fR by using the \fI\-P\fR option. .Sp Note that \fI\-P 0\fR means to autodetect, and \fI\-P 1\fR means to use a single thread. .IP \fB\-q\fR 4 diff --git a/po-docs/ja/virt-builder.1 b/po-docs/ja/virt-builder.1 index fd1ae0b..40a079e 100644 --- a/po-docs/ja/virt-builder.1 +++ b/po-docs/ja/virt-builder.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-builder 1" -.TH virt-builder 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-builder 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-builder \- Build virtual machine images quickly +virt\-builder \- Build virtual machine images quickly .SH 書式 .IX Header "書式" .Vb 3 @@ -87,9 +90,9 @@ virt-builder \- Build virtual machine images quickly .Ve .SH 説明 .IX Header "説明" -Virt-builder is a tool for quickly building new virtual machines. You can build a variety of VMs for local or cloud use, usually within a few minutes or less. Virt-builder also has many ways to customize these VMs. Everything is run from the command line and nothing requires root privileges, so automation and scripting is simple. +Virt\-builder is a tool for quickly building new virtual machines. You can build a variety of VMs for local or cloud use, usually within a few minutes or less. Virt\-builder also has many ways to customize these VMs. Everything is run from the command line and nothing requires root privileges, so automation and scripting is simple. .PP -Note that virt-builder does not install guests from scratch. It takes cleanly prepared, digitally signed OS templates and customizes them. This approach is used because it is much faster, but if you need to do fresh installs you may want to look at \fBvirt\-install\fR\|(1) and \fBoz\-install\fR\|(1). +Note that virt\-builder does not install guests from scratch. It takes cleanly prepared, digitally signed OS templates and customizes them. This approach is used because it is much faster, but if you need to do fresh installs you may want to look at \fBvirt\-install\fR\|(1) and \fBoz\-install\fR\|(1). .PP The easiest way to get started is by looking at the examples in the next section. .SH 例 @@ -113,7 +116,7 @@ After choosing a guest from the list, you may want to see if there are any insta \& virt\-builder fedora\-27 .Ve .PP -will build a Fedora 25 image for the same architecture as virt-builder (so running it from an i686 installation will try to build an i686 image, if available). This will have all default configuration (minimal size, no user accounts, random root password, only the bare minimum installed software, etc.). +will build a Fedora 25 image for the same architecture as virt\-builder (so running it from an i686 installation will try to build an i686 image, if available). This will have all default configuration (minimal size, no user accounts, random root password, only the bare minimum installed software, etc.). .PP You \fIdo not\fR need to run this command as root. .PP @@ -170,7 +173,7 @@ To install packages from the ordinary (guest) software repository (eg. dnf or ap \& virt\-builder fedora\-27 \-\-install "inkscape,@Xfce Desktop" .Ve .PP -(In Fedora, \f(CW\*(C`@\*(C'\fR is used to install groups of packages. On Debian you would install a meta-package instead.) +(In Fedora, \f(CW\*(C`@\*(C'\fR is used to install groups of packages. On Debian you would install a meta\-package instead.) .PP To update the installed packages to the latest version: .PP @@ -224,7 +227,7 @@ See also "ARCHITECTURE". .IX Item "--attach ISOFILE" During the customization phase, the given disk is attached to the libguestfs appliance. This is used to provide extra software repositories or other data for customization. .Sp -You probably want to ensure the volume(s) or filesystems in the attached disks are labelled (or use an ISO volume name) so that you can mount them by label in your run-scripts: +You probably want to ensure the volume(s) or filesystems in the attached disks are labelled (or use an ISO volume name) so that you can mount them by label in your run\-scripts: .Sp .Vb 2 \& mkdir /tmp/mount @@ -250,7 +253,7 @@ Specify the disk format for the next \fI\-\-attach\fR option. The \f(CW\*(C`FOR .IX Item "--cache-all-templates" Download all templates to the cache and then exit. See "CACHING". .Sp -Note this doesn't cache everything. More templates might be uploaded. Also this doesn't cache packages (the \fI\-\-install\fR, \fI\-\-update\fR options). +Note this doesn\*(Aqt cache everything. More templates might be uploaded. Also this doesn\*(Aqt cache packages (the \fI\-\-install\fR, \fI\-\-update\fR options). .IP \fB\-\-check\-signature\fR 4 .IX Item "--check-signature" .PD 0 @@ -281,8 +284,8 @@ Delete the template cache. See "CACHING". .IX Item "--no-delete-on-failure" Don’t delete the output file on failure to build. You can use this to debug failures to run scripts. See "DEBUGGING BUILDS" for ways to debug images. .Sp -The default is to delete the output file if virt-builder fails (or, for example, some script that it runs fails). -.IP "\fB\-\-fingerprint\fR 'AAAA BBBB ...'" 4 +The default is to delete the output file if virt\-builder fails (or, for example, some script that it runs fails). +.IP "\fB\-\-fingerprint\fR \*(AqAAAA BBBB ...\*(Aq" 4 .IX Item "--fingerprint 'AAAA BBBB ...'" Check that the index and templates are signed by the key with the given fingerprint. (The fingerprint is a long string, usually written as 10 groups of 4 hexadecimal digits). .Sp @@ -297,14 +300,14 @@ For ordinary builds, this selects the output format. The default is \fIraw\fR. .Sp With \fI\-\-get\-kernel\fR this specifies the input format. .Sp -To create an old-style qcow2 file (for compatibility with RHEL 6 or very old qemu < 1.1), after running virt-builder, use this command: +To create an old\-style qcow2 file (for compatibility with RHEL 6 or very old qemu < 1.1), after running virt\-builder, use this command: .Sp .Vb 1 \& qemu\-img amend \-f qcow2 \-o compat=0.10 output.qcow2 .Ve .IP "\fB\-\-get\-kernel\fR IMAGE" 4 .IX Item "--get-kernel IMAGE" -This option extracts the kernel and initramfs from a previously built disk image called \f(CW\*(C`IMAGE\*(C'\fR (in fact it works for any VM disk image, not just ones built using virt-builder). +This option extracts the kernel and initramfs from a previously built disk image called \f(CW\*(C`IMAGE\*(C'\fR (in fact it works for any VM disk image, not just ones built using virt\-builder). .Sp Note this method is \fBdeprecated\fR: there is a separate tool for this, \fBvirt\-get\-kernel\fR\|(1), which has more options for the file extraction. .Sp @@ -315,7 +318,7 @@ The format of the disk image is automatically detected unless you specify it by In the case where the guest contains multiple kernels, the one with the highest version number is chosen. To extract arbitrary kernels from the disk image, see \fBguestfish\fR\|(1). To extract the entire \fI/boot\fR directory of a guest, see \fBvirt\-copy\-out\fR\|(1). .IP "\fB\-\-gpg\fR GPG" 4 .IX Item "--gpg GPG" -Specify an alternate \fBgpg\fR\|(1) (GNU Privacy Guard) binary. By default virt-builder looks for either \f(CW\*(C`gpg2\*(C'\fR or \f(CW\*(C`gpg\*(C'\fR in the \f(CW$PATH\fR. +Specify an alternate \fBgpg\fR\|(1) (GNU Privacy Guard) binary. By default virt\-builder looks for either \f(CW\*(C`gpg2\*(C'\fR or \f(CW\*(C`gpg\*(C'\fR in the \f(CW$PATH\fR. .Sp You can also use this to add gpg parameters, for example to specify an alternate home directory: .Sp @@ -346,7 +349,7 @@ Prints a textual list with the details of the available sources, followed by the .IX Item "json" Prints a JSON object with the details of the available sources and the details of the available templates. .Sp -The \f(CW\*(C`version\*(C'\fR key in the main object represents the "compatibility version", and it is bumped every time the resulting JSON output is incompatible with the previous versions (for example the structure has changed, or non-optional keys are no more present). +The \f(CW\*(C`version\*(C'\fR key in the main object represents the "compatibility version", and it is bumped every time the resulting JSON output is incompatible with the previous versions (for example the structure has changed, or non\-optional keys are no more present). .RE .RS 4 .Sp @@ -388,16 +391,16 @@ The network only allows outgoing connections and has other minor limitations. S .Sp If you use \fI\-\-no\-network\fR then certain other options such as \fI\-\-install\fR will not work. .Sp -This does not affect whether the guest can access the network once it has been booted, because that is controlled by your hypervisor or cloud environment and has nothing to do with virt-builder. +This does not affect whether the guest can access the network once it has been booted, because that is controlled by your hypervisor or cloud environment and has nothing to do with virt\-builder. .Sp Generally speaking you should \fInot\fR use \fI\-\-no\-network\fR. But here are some reasons why you might want to: .RS 4 .IP 1. 4 -Because the libguestfs backend that you are using doesn't support the network. (See: "BACKEND" in \fBguestfs\fR\|(3)). +Because the libguestfs backend that you are using doesn\*(Aqt support the network. (See: "BACKEND" in \fBguestfs\fR\|(3)). .IP 2. 4 -Any software you need to install comes from an attached ISO, so you don't need the network. +Any software you need to install comes from an attached ISO, so you don\*(Aqt need the network. .IP 3. 4 -You don’t want untrusted guest code trying to access your host network when running virt-builder. This is particularly an issue when you don't trust the source of the operating system templates. (See "SECURITY" below). +You don’t want untrusted guest code trying to access your host network when running virt\-builder. This is particularly an issue when you don\*(Aqt trust the source of the operating system templates. (See "SECURITY" below). .IP 4. 4 You don’t have a host network (eg. in secure/restricted environments). .RE @@ -407,12 +410,12 @@ You don’t have a host network (eg. in secure/restricted environments). .IX Item "--no-sync" Do not sync the output file on exit. .Sp -Virt-builder \f(CW\*(C`fsync\*(C'\fRs the output file or disk image when it exits. +Virt\-builder \f(CW\*(C`fsync\*(C'\fRs the output file or disk image when it exits. .Sp -The reason is that qemu/KVM’s default caching mode is \f(CW\*(C`none\*(C'\fR or \f(CW\*(C`directsync\*(C'\fR, both of which bypass the host page cache. Therefore these would not work correctly if you immediately started the guest after running virt-builder \- they would not see the complete output file. (Note that you should not use these caching modes \- they are fundamentally broken for this and other reasons.) +The reason is that qemu/KVM’s default caching mode is \f(CW\*(C`none\*(C'\fR or \f(CW\*(C`directsync\*(C'\fR, both of which bypass the host page cache. Therefore these would not work correctly if you immediately started the guest after running virt\-builder \- they would not see the complete output file. (Note that you should not use these caching modes \- they are fundamentally broken for this and other reasons.) .Sp If you are not using these broken caching modes, you can use \fI\-\-no\-sync\fR to avoid this unnecessary sync and gain considerable extra performance. -.IP "\fB\-\-notes\fR os-version" 4 +.IP "\fB\-\-notes\fR os\-version" 4 .IX Item "--notes os-version" List any notes associated with this guest, then exit (this does not do the install). .IP "\fB\-o\fR filename" 4 @@ -440,7 +443,7 @@ Don’t print ordinary progress messages. .IX Item "--size SIZE" Select the size of the output disk, where the size can be specified using common names such as \f(CW\*(C`32G\*(C'\fR (32 gigabytes) etc. .Sp -Virt-builder will resize filesystems inside the disk image automatically. +Virt\-builder will resize filesystems inside the disk image automatically. .Sp If the size is not specified, then one of two things happens. If the output is a file, then the size is the same as the template. If the output is a device, partition, etc then the size of that device is used. .Sp @@ -496,7 +499,7 @@ For example (assuming ordinary shell quoting) this command: .Sp will add either \f(CW\*(C`10.0.0.1 foo⏎\*(C'\fR or \f(CW\*(C`⏎10.0.0.1 foo⏎\*(C'\fR to the file, the latter only if the existing file does not already end with a newline. .Sp -\&\f(CW\*(C`⏎\*(C'\fR represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non-existent files. +\&\f(CW\*(C`⏎\*(C'\fR represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non\-existent files. .Sp To insert several lines, use the same option several times: .Sp @@ -584,7 +587,7 @@ Edit \f(CW\*(C`FILE\*(C'\fR using the Perl expression \f(CW\*(C`EXPR\*(C'\fR. .Sp このオプションは Perl 5 がインストールされているときのみ利用可能であることに注意してください。 .Sp -See "NON-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). +See "NON\-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). .IP "\fB\-\-firstboot\fR SCRIPT" 4 .IX Item "--firstboot SCRIPT" Install \f(CW\*(C`SCRIPT\*(C'\fR inside the guest, so that when the guest first boots up, the script runs (as root, late in the boot process). @@ -598,7 +601,7 @@ You can have multiple \fI\-\-firstboot\fR options. They run in the same order t Please take a look at "FIRST BOOT SCRIPTS" for more information and caveats about the first boot scripts. .Sp See also \fI\-\-run\fR. -.IP "\fB\-\-firstboot\-command\fR 'CMD+ARGS'" 4 +.IP "\fB\-\-firstboot\-command\fR \*(AqCMD+ARGS\*(Aq" 4 .IX Item "--firstboot-command 'CMD+ARGS'" Run command (and arguments) inside the guest when the guest first boots up (as root, late in the boot process). .Sp @@ -609,7 +612,7 @@ Please take a look at "FIRST BOOT SCRIPTS" for more information and caveats abou See also \fI\-\-run\fR. .IP "\fB\-\-firstboot\-install\fR PKG,PKG.." 4 .IX Item "--firstboot-install PKG,PKG.." -Install the named packages (a comma-separated list). These are installed when the guest first boots using the guest’s package manager (eg. apt, yum, etc.) and the guest’s network connection. +Install the named packages (a comma\-separated list). These are installed when the guest first boots using the guest’s package manager (eg. apt, yum, etc.) and the guest’s network connection. .Sp For an overview on the different ways to install packages, see "INSTALLING PACKAGES". .IP "\fB\-\-hostname\fR HOSTNAME" 4 @@ -624,16 +627,16 @@ The parameter is the same as used by the \fI\-\-inject\-virtio\-win\fR operation Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the \fBvirt\-v2v\fR\|(1) tool instead of this. .IP "\fB\-\-inject\-virtio\-win\fR METHOD" 4 .IX Item "--inject-virtio-win METHOD" -Inject virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. +Inject virtio\-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. .Sp The parameter can be one of: .RS 4 .IP ISO 4 .IX Item "ISO" -The path to the ISO image containing the virtio-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). +The path to the ISO image containing the virtio\-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). .IP DIR 4 .IX Item "DIR" -The directory containing the unpacked virtio-win drivers (eg. \fI/usr/share/virtio\-win\fR). +The directory containing the unpacked virtio\-win drivers (eg. \fI/usr/share/virtio\-win\fR). .IP "\fB""osinfo""\fR" 4 .IX Item """osinfo""" The literal string \f(CW"osinfo"\fR means to use the libosinfo database to locate the drivers. (See \fBosinfo\-query\fR\|(1). @@ -644,7 +647,7 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .RE .IP "\fB\-\-install\fR PKG,PKG.." 4 .IX Item "--install PKG,PKG.." -Install the named packages (a comma-separated list). These are installed during the image build using the guest’s package manager (eg. apt, yum, etc.) and the host’s network connection. +Install the named packages (a comma\-separated list). These are installed during the image build using the guest’s package manager (eg. apt, yum, etc.) and the host’s network connection. .Sp For an overview on the different ways to install packages, see "INSTALLING PACKAGES". .Sp @@ -664,7 +667,7 @@ Move files or directories inside the guest. Wildcards cannot be used. .IP \fB\-\-no\-logfile\fR 4 .IX Item "--no-logfile" -Scrub \f(CW\*(C`builder.log\*(C'\fR (log file from build commands) from the image after building is complete. If you don't want to reveal precisely how the image was built, use this option. +Scrub \f(CW\*(C`builder.log\*(C'\fR (log file from build commands) from the image after building is complete. If you don\*(Aqt want to reveal precisely how the image was built, use this option. .Sp See also: "LOG FILE". .IP \fB\-\-no\-selinux\-relabel\fR 4 @@ -673,7 +676,7 @@ Do not attempt to correct the SELinux labels of files in the guest. .Sp In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. (The relabeling is performed immediately, but if the operation fails, customization will instead touch \fI/.autorelabel\fR on the image to schedule a relabel operation for the next time the image boots.) This option disables the automatic relabeling. .Sp -The option is a no-op for guests that do not support SELinux. +The option is a no\-op for guests that do not support SELinux. .IP "\fB\-\-password\fR USER:SELECTOR" 4 .IX Item "--password USER:SELECTOR" Set the password for \f(CW\*(C`USER\*(C'\fR. (Note this option does \fInot\fR create the user account). @@ -687,7 +690,7 @@ When the virt tools change or set a password in the guest, this option sets the .Sp \&\f(CW\*(C`md5\*(C'\fR will work with relatively old Linux guests (eg. RHEL 3), but is not secure against modern attacks. .Sp -The default is \f(CW\*(C`sha512\*(C'\fR unless libguestfs detects an old guest that didn't have support for SHA\-512, in which case it will use \f(CW\*(C`md5\*(C'\fR. You can override libguestfs by specifying this option. +The default is \f(CW\*(C`sha512\*(C'\fR unless libguestfs detects an old guest that didn\*(Aqt have support for SHA\-512, in which case it will use \f(CW\*(C`md5\*(C'\fR. You can override libguestfs by specifying this option. .Sp Note this does not change the default password encryption used by the guest when you create new user accounts inside the guest. If you want to do that, then you should use the \fI\-\-edit\fR option to modify \f(CW\*(C`/etc/sysconfig/authconfig\*(C'\fR (Fedora, RHEL) or \f(CW\*(C`/etc/pam.d/common\-password\*(C'\fR (Debian, Ubuntu). .IP "\fB\-\-root\-password\fR SELECTOR" 4 @@ -696,7 +699,7 @@ Set the root password. .Sp See "USERS AND PASSWORDS" for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field, and also how to set up user accounts. .Sp -Note: In virt-builder, if you \fIdon't\fR set \fI\-\-root\-password\fR then the guest is given a \fIrandom\fR root password. +Note: In virt\-builder, if you \fIdon\*(Aqt\fR set \fI\-\-root\-password\fR then the guest is given a \fIrandom\fR root password. .IP "\fB\-\-run\fR SCRIPT" 4 .IX Item "--run SCRIPT" Run the shell script (or any program) called \f(CW\*(C`SCRIPT\*(C'\fR on the disk image. The script runs virtualized inside a small appliance, chrooted into the guest filesystem. @@ -708,7 +711,7 @@ If libguestfs supports it then a limited network connection is available but it You can have multiple \fI\-\-run\fR options. They run in the same order that they appear on the command line. .Sp See also: \fI\-\-firstboot\fR, \fI\-\-attach\fR, \fI\-\-upload\fR. -.IP "\fB\-\-run\-command\fR 'CMD+ARGS'" 4 +.IP "\fB\-\-run\-command\fR \*(AqCMD+ARGS\*(Aq" 4 .IX Item "--run-command 'CMD+ARGS'" Run the command and arguments on the disk image. The command runs virtualized inside a small appliance, chrooted into the guest filesystem. .Sp @@ -735,12 +738,12 @@ This is a compatibility option that does nothing. .IX Item "--sm-attach SELECTOR" Attach to a pool using \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -See "SUBSCRIPTION-MANAGER" for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. +See "SUBSCRIPTION\-MANAGER" for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. .IP "\fB\-\-sm\-credentials\fR SELECTOR" 4 .IX Item "--sm-credentials SELECTOR" Set the credentials for \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -See "SUBSCRIPTION-MANAGER" for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. +See "SUBSCRIPTION\-MANAGER" for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. .IP \fB\-\-sm\-register\fR 4 .IX Item "--sm-register" Register the guest using \f(CW\*(C`subscription\-manager\*(C'\fR. @@ -770,13 +773,13 @@ Set the default timezone of the guest to \f(CW\*(C`TIMEZONE\*(C'\fR. Use a loca This command performs a \fBtouch\fR\|(1)\-like operation on \f(CW\*(C`FILE\*(C'\fR. .IP "\fB\-\-truncate\fR FILE" 4 .IX Item "--truncate FILE" -This command truncates \f(CW\*(C`FILE\*(C'\fR to a zero-length file. The file must exist already. +This command truncates \f(CW\*(C`FILE\*(C'\fR to a zero\-length file. The file must exist already. .IP "\fB\-\-truncate\-recursive\fR PATH" 4 .IX Item "--truncate-recursive PATH" -This command recursively truncates all files under \f(CW\*(C`PATH\*(C'\fR to zero-length. +This command recursively truncates all files under \f(CW\*(C`PATH\*(C'\fR to zero\-length. .IP "\fB\-\-uninstall\fR PKG,PKG.." 4 .IX Item "--uninstall PKG,PKG.." -Uninstall the named packages (a comma-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. +Uninstall the named packages (a comma\-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. .Sp See also \fI\-\-install\fR, \fI\-\-update\fR. .IP \fB\-\-update\fR 4 @@ -800,7 +803,7 @@ Write \f(CW\*(C`CONTENT\*(C'\fR to \f(CW\*(C`FILE\*(C'\fR. .IX Header "REFERENCE" .SS "INSTALLING PACKAGES" .IX Subsection "INSTALLING PACKAGES" -There are several approaches to installing packages or applications in the guest which have different trade-offs. +There are several approaches to installing packages or applications in the guest which have different trade\-offs. .PP \fIInstalling packages at build time\fR .IX Subsection "Installing packages at build time" @@ -822,7 +825,7 @@ To update the installed packages in the template at build time: \& virt\-builder fedora\-27 \-\-update .Ve .PP -Most of the templates that ship with virt-builder come with a very minimal selection of packages (known as a "JEOS" or "Just Enough Operating System"), which are up to date at the time the template is created, but could be out of date by the time you come to install an OS from the template. This option updates those template packages. +Most of the templates that ship with virt\-builder come with a very minimal selection of packages (known as a "JEOS" or "Just Enough Operating System"), which are up to date at the time the template is created, but could be out of date by the time you come to install an OS from the template. This option updates those template packages. .PP \fIInstalling packages at first boot\fR .IX Subsection "Installing packages at first boot" @@ -835,7 +838,7 @@ Another option is to install the packages when the guest first boots: .PP This uses the guest’s package manager and the guest’s network connection. .PP -The downsides are that it will take the guest a lot longer to boot first time, and there’s nothing much you can do if package installation fails (eg. if a network problem means the guest can't reach the package repositories). +The downsides are that it will take the guest a lot longer to boot first time, and there’s nothing much you can do if package installation fails (eg. if a network problem means the guest can\*(Aqt reach the package repositories). .PP \fIInstalling packages at build time from a side repository\fR .IX Subsection "Installing packages at build time from a side repository" @@ -930,7 +933,7 @@ To create user accounts, use the \fBuseradd\fR\|(8) command with \-\-firstboot\- The above command will create an \f(CW\*(C`rjones\*(C'\fR account with no password, and force the user to set a password when they first log in. There are other ways to manage passwords, see \fBuseradd\fR\|(8) for details. .SS "KEYBOARD LAYOUT" .IX Subsection "KEYBOARD LAYOUT" -Because there are so many different ways to set the keyboard layout in Linux distributions, virt-builder does not yet attempt to have a simple command line option. This section describes how to set the keyboard for some common Linux distributions. +Because there are so many different ways to set the keyboard layout in Linux distributions, virt\-builder does not yet attempt to have a simple command line option. This section describes how to set the keyboard for some common Linux distributions. .PP \fIKeyboard layout with systemd\fR .IX Subsection "Keyboard layout with systemd" @@ -956,10 +959,10 @@ For RHEL ≤ 6, Fedora ≤ 18 and similar, upload or modify the keyboard configu .PP The format of this file can be found documented in many places online. .PP -\fIKeyboard layout with Debian-derived distros\fR +\fIKeyboard layout with Debian\-derived distros\fR .IX Subsection "Keyboard layout with Debian-derived distros" .PP -For Debian-derived distros using \fI/etc/default/keyboard\fR, upload or modify the keyboard file using the \fI\-\-upload\fR, \fI\-\-write\fR or \fI\-\-edit\fR options. For example: +For Debian\-derived distros using \fI/etc/default/keyboard\fR, upload or modify the keyboard file using the \fI\-\-upload\fR, \fI\-\-write\fR or \fI\-\-edit\fR options. For example: .PP .Vb 2 \& virt\-builder debian\-8 \e @@ -971,7 +974,7 @@ See https://wiki.debian.org/Keyboard. .IX Subsection "LANGUAGE" Most Linux distributions support multiple locale settings so that you can have guest messages printed in another language such as Russian. .PP -However there is no single setting which controls this, since extra packages may need to be installed to support console and X fonts, and keyboard input methods. The packages required, and their configuration is highly distro-specific, and it is outside the scope of virt-builder to do this. +However there is no single setting which controls this, since extra packages may need to be installed to support console and X fonts, and keyboard input methods. The packages required, and their configuration is highly distro\-specific, and it is outside the scope of virt\-builder to do this. .PP This section contains examples for some common Linux distributions. .PP @@ -1016,7 +1019,7 @@ Note that although this enables Japanese in the text console too, it is unlikely Scripts and package installation that runs at build time (\fI\-\-run\fR, \fI\-\-run\-command\fR, \fI\-\-install\fR, \fI\-\-update\fR, but \fInot\fR firstboot) is logged in one of the following locations: .IP \fI/tmp/builder.log\fR 4 .IX Item "/tmp/builder.log" -On Linux, BSD, and other non-Windows guests. +On Linux, BSD, and other non\-Windows guests. .IP \fIC:\eTemp\ebuilder.log\fR 4 .IX Item "C:Tempbuilder.log" On Windows, DOS guests. @@ -1037,7 +1040,7 @@ If specified, the \f(CW\*(C`SELECTOR\*(C'\fR can be in one of the following form Read the ssh key from \fIFILENAME\fR. \fIFILENAME\fR is usually a \fI.pub\fR file. .IP "\fB\-\-ssh\-inject\fR USER:string:KEY_STRING" 4 .IX Item "--ssh-inject USER:string:KEY_STRING" -Use the specified \f(CW\*(C`KEY_STRING\*(C'\fR. \f(CW\*(C`KEY_STRING\*(C'\fR is usually a public string like \fIssh-rsa AAAA.... user@localhost\fR. +Use the specified \f(CW\*(C`KEY_STRING\*(C'\fR. \f(CW\*(C`KEY_STRING\*(C'\fR is usually a public string like \fIssh\-rsa AAAA.... user@localhost\fR. .PP In any case, the \fI~USER/.ssh\fR directory and the \fI~USER/.ssh/authorized_keys\fR file will be created if not existing already. .SS "FIRST BOOT SCRIPTS" @@ -1047,7 +1050,7 @@ The \fI\-\-firstboot\fR and \fI\-\-firstboot\-command\fR options allow you to ex Supported operating systems are: .IP Linux 4 .IX Item "Linux" -Init systems supported are: systemd, System-V init (known also as sysvinit), and Upstart (using the System-V scripts). +Init systems supported are: systemd, System\-V init (known also as sysvinit), and Upstart (using the System\-V scripts). .Sp Note that usually init scripts run as root, but with a more limited environment than what could be available from a normal shell: for example, \f(CW$HOME\fR may be unset or empty. .Sp @@ -1056,10 +1059,10 @@ The output of the first boot scripts is available in the guest as \fI~root/virt\ .IX Item "Windows" \&\fIrhsrvany.exe\fR, available from sources at https://github.com/rwmjones/rhsrvany, or \fIpvvxsvc.exe\fR, available with SUSE VMDP is installed to run the first boot scripts. It is required, and the setup of first boot scripts will fail if it is not present. .Sp -\&\fIrhsrvany.exe\fR or \fIpvvxsvc.exe\fR is copied from the location pointed to by the \f(CW\*(C`VIRT_TOOLS_DATA_DIR\*(C'\fR environment variable; if not set, a compiled-in default will be used (something like \fI/usr/share/virt\-tools\fR). +\&\fIrhsrvany.exe\fR or \fIpvvxsvc.exe\fR is copied from the location pointed to by the \f(CW\*(C`VIRT_TOOLS_DATA_DIR\*(C'\fR environment variable; if not set, a compiled\-in default will be used (something like \fI/usr/share/virt\-tools\fR). .Sp The output of the first boot scripts is available in the guest as \fIC:\eProgram Files\eGuestfs\eFirstboot\elog.txt\fR. -.SS SUBSCRIPTION-MANAGER +.SS SUBSCRIPTION\-MANAGER .IX Subsection "SUBSCRIPTION-MANAGER" It is possible to automate the registration and attaching of the system using \f(CW\*(C`subscription\-manager\*(C'\fR. This is typical on Red Hat Enterprise Linux guests. There are few options which ease this process, avoid executing commands manually and exposing passwords on command line. .PP @@ -1074,7 +1077,7 @@ Use the literal string \f(CW\*(C`PASSWORD\*(C'\fR for the specified \f(CW\*(C`US \&\fI\-\-sm\-attach\fR attaches the system to subscriptions; the format of its \f(CW\*(C`SELECTOR\*(C'\fR is one of the following: .IP "\fB\-\-sm\-attach\fR auto" 4 .IX Item "--sm-attach auto" -\&\f(CW\*(C`subscription\-manager\*(C'\fR attaches to the best-fitting subscriptions for the system. +\&\f(CW\*(C`subscription\-manager\*(C'\fR attaches to the best\-fitting subscriptions for the system. .IP "\fB\-\-sm\-attach\fR file:FILENAME" 4 .IX Item "--sm-attach file:FILENAME" Read the pool ID from \fIFILENAME\fR. @@ -1085,7 +1088,7 @@ Use the literal string \f(CW\*(C`POOL\*(C'\fR as pool ID. \&\fI\-\-sm\-remove\fR removes all the subscriptions from the guest, while \fI\-\-sm\-unregister\fR completely unregister the system. .SS "INSTALLATION PROCESS" .IX Subsection "INSTALLATION PROCESS" -When you invoke virt-builder, installation proceeds as follows: +When you invoke virt\-builder, installation proceeds as follows: .IP \(bu 4 The template image is downloaded. .Sp @@ -1129,7 +1132,7 @@ You \fImust\fR specify the correct format. The format is \f(CW\*(C`raw\*(C'\fR .Sp The above tool is provided by libosinfo package. .IP 3. 4 -You can run virt-install as root or non-root. Each works slightly differently because libvirt manages a different set of virtual machines for each user. In particular virt-manager normally shows the root-owned VMs, whereas Boxes shows the user-owned VMs, and other tools probably work differently as well. +You can run virt\-install as root or non\-root. Each works slightly differently because libvirt manages a different set of virtual machines for each user. In particular virt\-manager normally shows the root\-owned VMs, whereas Boxes shows the user\-owned VMs, and other tools probably work differently as well. .PP \fIImporting into OpenStack\fR .IX Subsection "Importing into OpenStack" @@ -1142,7 +1145,7 @@ Import the image into Glance (the OpenStack image store) by doing: \& \-\-is\-public True .Ve .PP -The \fI\-\-file\fR parameter is the virt-builder-generated disk image. It should match virt\-builder’s \fI\-\-output\fR option. The \fI\-\-disk\-format\fR parameter should match virt\-builder’s \fI\-\-format\fR option (or \f(CW\*(C`raw\*(C'\fR if you didn't use that option). The \fI\-\-container\-format\fR should always be \f(CW\*(C`bare\*(C'\fR since virt-builder doesn't put images into containers. +The \fI\-\-file\fR parameter is the virt\-builder\-generated disk image. It should match virt\-builder’s \fI\-\-output\fR option. The \fI\-\-disk\-format\fR parameter should match virt\-builder’s \fI\-\-format\fR option (or \f(CW\*(C`raw\*(C'\fR if you didn\*(Aqt use that option). The \fI\-\-container\-format\fR should always be \f(CW\*(C`bare\*(C'\fR since virt\-builder doesn\*(Aqt put images into containers. .PP You can use the \f(CW\*(C`glance\ image\-show\ \fR\f(CIfedora\-27\-image\fR\f(CW\*(C'\fR command to display the properties of the image. .PP @@ -1176,7 +1179,7 @@ As with libvirt, it is very important that the correct format is chosen. It wil .PP To enable the Puppet agent in a guest, install the package, point the configuration at your Puppetmaster, and ensure the agent runs at boot. .PP -A typical virt-builder command would be: +A typical virt\-builder command would be: .PP .Vb 7 \& virt\-builder fedora\-27 \e @@ -1191,12 +1194,12 @@ A typical virt-builder command would be: The precise instructions vary according to the Linux distro. For further information see: https://docs.puppet.com/puppet/latest/install_pre.html .SS "DEBUGGING BUILDS" .IX Subsection "DEBUGGING BUILDS" -If virt-builder itself fails, then enable debugging (\fI\-v\fR) and report a bug (see "BUGS" below). +If virt\-builder itself fails, then enable debugging (\fI\-v\fR) and report a bug (see "BUGS" below). .PP -If virt-builder fails because some script or package it is installing fails, try using \fI\-\-no\-delete\-on\-failure\fR to preserve the output file, and continue reading this section. +If virt\-builder fails because some script or package it is installing fails, try using \fI\-\-no\-delete\-on\-failure\fR to preserve the output file, and continue reading this section. .PP -If virt-builder is successful but the image doesn't work, here are some things to try: -.IP "Use virt-rescue" 4 +If virt\-builder is successful but the image doesn\*(Aqt work, here are some things to try: +.IP "Use virt\-rescue" 4 .IX Item "Use virt-rescue" Run \fBvirt\-rescue\fR\|(1) on the disk image: .Sp @@ -1204,7 +1207,7 @@ Run \fBvirt\-rescue\fR\|(1) on the disk image: \& virt\-rescue \-a disk.img .Ve .Sp -This gives you a rescue shell. You can mount the filesystems from the disk image on \fI/sysroot\fR and examine them using ordinary Linux commands. You can also chroot into the guest to reinstall the bootloader. The virt-rescue man page has a lot more information and examples. +This gives you a rescue shell. You can mount the filesystems from the disk image on \fI/sysroot\fR and examine them using ordinary Linux commands. You can also chroot into the guest to reinstall the bootloader. The virt\-rescue man page has a lot more information and examples. .IP "Use guestfish" 4 .IX Item "Use guestfish" Run \fBguestfish\fR\|(1) on the disk image: @@ -1238,7 +1241,7 @@ If the guest hangs during boot, it can be helpful to add a serial console to the .Ve .SS "SOURCES OF TEMPLATES" .IX Subsection "SOURCES OF TEMPLATES" -virt-builder reads the available sources from configuration files, with the \fI.conf\fR extension and located in the following paths: +virt\-builder reads the available sources from configuration files, with the \fI.conf\fR extension and located in the following paths: .IP \(bu 4 \&\f(CW$XDG_CONFIG_HOME\fR/virt\-builder/repos.d/ (\f(CW$XDG_CONFIG_HOME\fR is \fR\f(CI$HOME\fR\fI/.config\fR if not set). .IP \(bu 4 @@ -1303,19 +1306,19 @@ For more information about Simple Streams, see also https://launchpad.net/simple If not present, the assumed value is \f(CW\*(C`native\*(C'\fR. .RE .PP -For serious virt-builder use, you may want to create your own repository of templates. +For serious virt\-builder use, you may want to create your own repository of templates. .PP \fILibguestfs.org repository\fR .IX Subsection "Libguestfs.org repository" .PP -Out of the box, virt-builder downloads the file http://libguestfs.org/download/builder/index.asc which is an index of available templates plus some information about each one, wrapped up in a digital signature. The command \f(CW\*(C`virt\-builder \-\-list\*(C'\fR lists out the information in this index file. +Out of the box, virt\-builder downloads the file http://libguestfs.org/download/builder/index.asc which is an index of available templates plus some information about each one, wrapped up in a digital signature. The command \f(CW\*(C`virt\-builder \-\-list\*(C'\fR lists out the information in this index file. .PP The templates hosted on libguestfs.org were created using shell scripts, kickstart files and preseed files which can be found in the libguestfs source tree, in \f(CW\*(C`builder/templates\*(C'\fR. .PP \fISetting up the repository\fR .IX Subsection "Setting up the repository" .PP -You can set up your own site containing an index file and some templates, and then point virt-builder at the site by creating a \fI.conf\fR file pointing to it. +You can set up your own site containing an index file and some templates, and then point virt\-builder at the site by creating a \fI.conf\fR file pointing to it. .PP Note that if your index is signed, you will need to properly fill \fIgpgkey=..\fR in your \fI.conf\fR file, making sure to deploy also the GPG key file. .PP @@ -1330,7 +1333,7 @@ You can host this on any web or FTP server, or a local or network filesystem. \fISetting up a GPG key\fR .IX Subsection "Setting up a GPG key" .PP -If you don’t have a GnuPG key, you will need to set one up. (Strictly speaking this is optional, but if your index and template files are not signed then virt-builder users will have to use the \fI\-\-no\-check\-signature\fR flag every time they use virt-builder.) +If you don’t have a GnuPG key, you will need to set one up. (Strictly speaking this is optional, but if your index and template files are not signed then virt\-builder users will have to use the \fI\-\-no\-check\-signature\fR flag every time they use virt\-builder.) .PP To create a key, see the GPG manual http://www.gnupg.org/gph/en/manual.html. .PP @@ -1343,9 +1346,9 @@ Export your GPG public key: \fICreate the templates\fR .IX Subsection "Create the templates" .PP -There are many ways to create the templates. For example you could clone existing guests (see \fBvirt\-sysprep\fR\|(1)), or you could install a guest by hand (\fBvirt\-install\fR\|(1)). To see how the templates were created for virt-builder, look at the scripts in \f(CW\*(C`builder/templates\*(C'\fR +There are many ways to create the templates. For example you could clone existing guests (see \fBvirt\-sysprep\fR\|(1)), or you could install a guest by hand (\fBvirt\-install\fR\|(1)). To see how the templates were created for virt\-builder, look at the scripts in \f(CW\*(C`builder/templates\*(C'\fR .PP -Virt-builder supports any image format (e.g. raw, qcow2, etc) as template, both as-is, and compressed as XZ. This way, existing images (e.g. cleaned using \fBvirt\-sysprep\fR\|(1)) can be used as templates. +Virt\-builder supports any image format (e.g. raw, qcow2, etc) as template, both as\-is, and compressed as XZ. This way, existing images (e.g. cleaned using \fBvirt\-sysprep\fR\|(1)) can be used as templates. .PP For best results when compressing the templates, use the following xz options (see \fBnbdkit\-xz\-plugin\fR\|(1) for further explanation): .PP @@ -1383,7 +1386,7 @@ The index file has a simple text format (shown here without the digital signatur \& expand=/dev/sda3 .Ve .PP -The part in square brackets is the \f(CW\*(C`os\-version\*(C'\fR, which is the same string that is used on the virt-builder command line to build that OS. +The part in square brackets is the \f(CW\*(C`os\-version\*(C'\fR, which is the same string that is used on the virt\-builder command line to build that OS. .PP The index file creation and signature can be eased with the \fBvirt\-builder\-repository\fR\|(1) tool. .PP @@ -1399,11 +1402,11 @@ The following fields can appear: .ie n .IP """name=NAME""" 4 .el .IP \f(CWname=NAME\fR 4 .IX Item "name=NAME" -The user-friendly name of this template. This is displayed in the \fI\-\-list\fR output but is otherwise not significant. +The user\-friendly name of this template. This is displayed in the \fI\-\-list\fR output but is otherwise not significant. .ie n .IP """osinfo=ID""" 4 .el .IP \f(CWosinfo=ID\fR 4 .IX Item "osinfo=ID" -This optional field maps the operating system to the associated libosinfo ID. Virt-builder does not use it (yet). +This optional field maps the operating system to the associated libosinfo ID. Virt\-builder does not use it (yet). .ie n .IP """arch=ARCH""" 4 .el .IP \f(CWarch=ARCH\fR 4 .IX Item "arch=ARCH" @@ -1411,9 +1414,9 @@ The architecture of the operating system installed within the template. This fie .ie n .IP """file=PATH""" 4 .el .IP \f(CWfile=PATH\fR 4 .IX Item "file=PATH" -The path (relative to the index) of the xz-compressed template. +The path (relative to the index) of the xz\-compressed template. .Sp -Note that absolute paths or URIs are \fBnot\fR permitted here. This is because virt-builder has a "same origin" policy for templates so they cannot come from other servers. +Note that absolute paths or URIs are \fBnot\fR permitted here. This is because virt\-builder has a "same origin" policy for templates so they cannot come from other servers. .ie n .IP """sig=PATH""" 4 .el .IP \f(CWsig=PATH\fR 4 .IX Item "sig=PATH" @@ -1421,7 +1424,7 @@ Note that absolute paths or URIs are \fBnot\fR permitted here. This is because .Sp The path (relative to the index) of the GPG detached signature of the xz file. .Sp -Note that absolute paths or URIs are \fBnot\fR permitted here. This is because virt-builder has a "same origin" policy for templates so they cannot come from other servers. +Note that absolute paths or URIs are \fBnot\fR permitted here. This is because virt\-builder has a "same origin" policy for templates so they cannot come from other servers. .Sp The file can be created as follows: .Sp @@ -1443,7 +1446,7 @@ Note if you use this, you don’t need to sign the file, ie. don’t use \f(CW\* .IX Item "checksum=7b882fe9b82eb0fef..." \&\f(CW\*(C`checksum\*(C'\fR is an alias for \f(CW\*(C`checksum[sha512]\*(C'\fR. .Sp -If you need to interoperate with virt-builder = 1.24.0 then you have to use \f(CW\*(C`checksum\*(C'\fR because that version would give a parse error with square brackets and numbers in the key of a field. This is fixed in virt-builder ≥ 1.24.1. +If you need to interoperate with virt\-builder = 1.24.0 then you have to use \f(CW\*(C`checksum\*(C'\fR because that version would give a parse error with square brackets and numbers in the key of a field. This is fixed in virt\-builder ≥ 1.24.1. .ie n .IP """revision=N""" 4 .el .IP \f(CWrevision=N\fR 4 .IX Item "revision=N" @@ -1460,15 +1463,15 @@ The revision number is optional. If omitted it defaults to \f(CW1\fR. .PD Specify the format of the disk image; in case it is compressed, that is the format before the compression. If not given, the format is autodetected, but generally it is better to be explicit about the intended format. .Sp -Note this is the source format, which is different from the \fI\-\-format\fR option (requested output format). Virt-builder does on-the-fly conversion from the source format to the requested output format. +Note this is the source format, which is different from the \fI\-\-format\fR option (requested output format). Virt\-builder does on\-the\-fly conversion from the source format to the requested output format. .ie n .IP """size=NNN""" 4 .el .IP \f(CWsize=NNN\fR 4 .IX Item "size=NNN" -The virtual size of the image in bytes. This is the size of the image when uncompressed. If using a non-raw format such as qcow2 then it means the virtual disk size, not the size of the qcow2 file. +The virtual size of the image in bytes. This is the size of the image when uncompressed. If using a non\-raw format such as qcow2 then it means the virtual disk size, not the size of the qcow2 file. .Sp This field is required. .Sp -Virt-builder also uses this as the minimum size that users can request via the \fI\-\-size\fR option, or as the default size if there is no \fI\-\-size\fR option. +Virt\-builder also uses this as the minimum size that users can request via the \fI\-\-size\fR option, or as the default size if there is no \fI\-\-size\fR option. .ie n .IP """compressed_size=NNN""" 4 .el .IP \f(CWcompressed_size=NNN\fR 4 .IX Item "compressed_size=NNN" @@ -1476,17 +1479,17 @@ The actual size of the disk image in bytes, i.e. what was specified in \fIfile=. .ie n .IP """expand=/dev/sdaX""" 4 .el .IP \f(CWexpand=/dev/sdaX\fR 4 .IX Item "expand=/dev/sdaX" -When expanding the image to its final size, instruct \fBvirt\-resize\fR\|(1) to expand the named partition in the guest image to fill up all available space. This works like the virt-resize \fI\-\-expand\fR option. +When expanding the image to its final size, instruct \fBvirt\-resize\fR\|(1) to expand the named partition in the guest image to fill up all available space. This works like the virt\-resize \fI\-\-expand\fR option. .Sp You should usually put the device name of the guest’s root filesystem here. .Sp -It’s a good idea to use this, but not required. If the field is omitted then virt-resize will create an extra partition at the end of the disk to cover the free space, which is much less user-friendly. +It’s a good idea to use this, but not required. If the field is omitted then virt\-resize will create an extra partition at the end of the disk to cover the free space, which is much less user\-friendly. .ie n .IP """lvexpand=/dev/VolGroup/LogVol""" 4 .el .IP \f(CWlvexpand=/dev/VolGroup/LogVol\fR 4 .IX Item "lvexpand=/dev/VolGroup/LogVol" -When expanding the image to its final size, instruct \fBvirt\-resize\fR\|(1) to expand the named logical volume in the guest image to fill up all available space. This works like the virt-resize \fI\-\-lv\-expand\fR option. +When expanding the image to its final size, instruct \fBvirt\-resize\fR\|(1) to expand the named logical volume in the guest image to fill up all available space. This works like the virt\-resize \fI\-\-lv\-expand\fR option. .Sp -If the guest uses LVM2 you should usually put the LV of the guest’s root filesystem here. If the guest does not use LVM2 or its root filesystem is not on an LV, don't use this option. +If the guest uses LVM2 you should usually put the LV of the guest’s root filesystem here. If the guest does not use LVM2 or its root filesystem is not on an LV, don\*(Aqt use this option. .ie n .IP """notes=NOTES""" 4 .el .IP \f(CWnotes=NOTES\fR 4 .IX Item "notes=NOTES" @@ -1494,7 +1497,7 @@ Any notes that go with this image, especially notes describing what packages are .Sp This information is shown in the \fI\-\-notes\fR and \fI\-\-list\fR \fI\-\-long\fR modes. .Sp -You can use multi-line notes here by indenting each new line with at least one character of whitespace (even on blank lines): +You can use multi\-line notes here by indenting each new line with at least one character of whitespace (even on blank lines): .Sp .Vb 5 \& notes=This image was prepared using @@ -1512,10 +1515,10 @@ Using the hidden flag prevents the template from being listed by the \fI\-\-list .IX Item "aliases=ALIAS1 ALIAS2 ..." This optional field specifies a list of aliases, separated by spaces, for the image. For example, an alias could be used to always point to the latest version of a certain image, leaving the old versions available in the index instead of updating the same image (see the \f(CW\*(C`revision\*(C'\fR field). .PP -\fIRunning virt-builder against multiple sources\fR +\fIRunning virt\-builder against multiple sources\fR .IX Subsection "Running virt-builder against multiple sources" .PP -It is possible to use multiple sources with virt-builder. The recommended way is to deploy \fI.conf\fR files pointing to the index files. Another way is to specify the sources using multiple \fI\-\-source\fR and/or \fI\-\-fingerprint\fR options: +It is possible to use multiple sources with virt\-builder. The recommended way is to deploy \fI.conf\fR files pointing to the index files. Another way is to specify the sources using multiple \fI\-\-source\fR and/or \fI\-\-fingerprint\fR options: .PP .Vb 3 \& virt\-builder \e @@ -1589,7 +1592,7 @@ Only templates are cached. The index and detached digital signatures are not ca \fICaching packages\fR .IX Subsection "Caching packages" .PP -Virt-builder uses \fBcurl\fR\|(1) to download files and it also uses the current \f(CW\*(C`http_proxy\*(C'\fR (etc) settings when installing packages (\fI\-\-install\fR, \fI\-\-update\fR). +Virt\-builder uses \fBcurl\fR\|(1) to download files and it also uses the current \f(CW\*(C`http_proxy\*(C'\fR (etc) settings when installing packages (\fI\-\-install\fR, \fI\-\-update\fR). .PP You may therefore want to set those environment variables in order to maximize the amount of local caching that happens. See "ENVIRONMENT VARIABLES" and \fBcurl\fR\|(1). .PP @@ -1630,27 +1633,27 @@ Assuming that you are using \f(CW\*(C`apt\-proxy\*(C'\fR to mirror the repositor .Ve .SS "DIGITAL SIGNATURES" .IX Subsection "DIGITAL SIGNATURES" -Virt-builder uses GNU Privacy Guard (GnuPG or gpg) to verify that the index and templates have not been tampered with. +Virt\-builder uses GNU Privacy Guard (GnuPG or gpg) to verify that the index and templates have not been tampered with. .PP The source points to an index file, which is optionally signed. .PP -Virt-builder downloads the index and checks that the signature is valid and the signer’s fingerprint matches the specified fingerprint (ie. the one specified in \fIgpgkey=..\fR in the \fI.conf\fR, or with \fI\-\-fingerprint\fR, in that order). +Virt\-builder downloads the index and checks that the signature is valid and the signer’s fingerprint matches the specified fingerprint (ie. the one specified in \fIgpgkey=..\fR in the \fI.conf\fR, or with \fI\-\-fingerprint\fR, in that order). .PP -For checking against the built-in public key/fingerprint, this requires importing the public key into the user’s local gpg keyring (that’s just the way that gpg works). +For checking against the built\-in public key/fingerprint, this requires importing the public key into the user’s local gpg keyring (that’s just the way that gpg works). .PP When a template is downloaded, its signature is checked in the same way. .PP -Although the signatures are optional, if you don’t have them then virt-builder users will have to use \fI\-\-no\-check\-signature\fR on the command line. This prevents an attacker from replacing the signed index file with an unsigned index file and having virt-builder silently work without checking the signature. In any case it is highly recommended that you always create signed index and templates. +Although the signatures are optional, if you don’t have them then virt\-builder users will have to use \fI\-\-no\-check\-signature\fR on the command line. This prevents an attacker from replacing the signed index file with an unsigned index file and having virt\-builder silently work without checking the signature. In any case it is highly recommended that you always create signed index and templates. .SS アーキテクチャー .IX Subsection "アーキテクチャー" -Virt-builder can build a guest for any architecture no matter what the host architecture is. For example an x86\-64 guest on an ARM host. +Virt\-builder can build a guest for any architecture no matter what the host architecture is. For example an x86\-64 guest on an ARM host. .PP -However certain options may not work, specifically options that require running commands in the guest during the build process: \fI\-\-install\fR, \fI\-\-update\fR, \fI\-\-run\fR, \fI\-\-run\-command\fR. You may need to replace these with their firstboot-equivalents. +However certain options may not work, specifically options that require running commands in the guest during the build process: \fI\-\-install\fR, \fI\-\-update\fR, \fI\-\-run\fR, \fI\-\-run\-command\fR. You may need to replace these with their firstboot\-equivalents. .PP An x86\-64 host building 32 bit i686 guests should work without any special steps. .SS セキュリティ .IX Subsection "セキュリティ" -Virt-builder does not need to run as root (in fact, should not be run as root), and doesn't use setuid, \f(CW\*(C`sudo\*(C'\fR or any similar mechanism. +Virt\-builder does not need to run as root (in fact, should not be run as root), and doesn\*(Aqt use setuid, \f(CW\*(C`sudo\*(C'\fR or any similar mechanism. .PP \&\fI\-\-install\fR, \fI\-\-update\fR, \fI\-\-run\fR and \fI\-\-run\-command\fR are implemented using an appliance (a small virtual machine) so these commands do not run on the host. If you are using the libguestfs libvirt backend and have SELinux enabled then the virtual machine is additionally encapsulated in an SELinux container (sVirt). .PP @@ -1658,14 +1661,14 @@ However these options will have access to the host’s network and since the tem .PP Firstboot commands run in the context of the guest when it is booted, and so the security of your hypervisor / cloud should be considered. .PP -Virt-builder injects a random seed into every guest which it builds. This helps to ensure that TCP sequence numbers, UUIDs, ssh host keys etc are truly random when the guest boots. +Virt\-builder injects a random seed into every guest which it builds. This helps to ensure that TCP sequence numbers, UUIDs, ssh host keys etc are truly random when the guest boots. .PP You should check digital signatures and not ignore any signing errors. .SS CLONES .IX Subsection "CLONES" -If you wish to create many new guests of the same type, it is tempting to run virt-builder once and then copy the output file. You should \fBnot\fR do this. You should run virt-builder once for each new guest you need. +If you wish to create many new guests of the same type, it is tempting to run virt\-builder once and then copy the output file. You should \fBnot\fR do this. You should run virt\-builder once for each new guest you need. .PP -The reason is that each clone needs to have (at least) a separate random seed, and possibly other unique features (such as filesystem UUIDs) in future versions of virt-builder. +The reason is that each clone needs to have (at least) a separate random seed, and possibly other unique features (such as filesystem UUIDs) in future versions of virt\-builder. .PP Another thing you should \fInot\fR do is to boot the guest, then clone the booted disk image. The reason is that some guests create unique machine IDs, SSH host keys and so on at first boot, and you would not want clones to have duplicate identities. .PP @@ -1681,10 +1684,10 @@ Packages required for the \fI\-\-install\fR and \fI\-\-update\fR options are dow .PP Use \fI\-\-no\-sync\fR. However read the caveats in the "OPTIONS" section above, since this can cause disk corruption if not used correctly. .PP -\fISkipping virt-resize\fR +\fISkipping virt\-resize\fR .IX Subsection "Skipping virt-resize" .PP -Virt-builder can skip the virt-resize step under certain conditions. This makes virt-builder much faster. The conditions are: +Virt\-builder can skip the virt\-resize step under certain conditions. This makes virt\-builder much faster. The conditions are: .IP \(bu 4 the output must be a regular file (not a block device), \fBand\fR .IP \(bu 4 @@ -1695,12 +1698,12 @@ the output format is the same as the template format (usually raw). \fIpxzcat\fR .IX Subsection "pxzcat" .PP -Virt-builder uses an internal implementation of pxzcat (parallel xzcat) if liblzma was found at build time. If liblzma was not found at build time, regular \f(CW\*(C`xzcat\*(C'\fR is used which is single-threaded. +Virt\-builder uses an internal implementation of pxzcat (parallel xzcat) if liblzma was found at build time. If liblzma was not found at build time, regular \f(CW\*(C`xzcat\*(C'\fR is used which is single\-threaded. .SS SELinux .IX Subsection "SELinux" Guests which use SELinux (such as Fedora and Red Hat Enterprise Linux) require that each file has a correct SELinux label. .PP -Virt-builder does not know how to give new files a label, so there are two possible strategies it can use to ensure correct labelling: +Virt\-builder does not know how to give new files a label, so there are two possible strategies it can use to ensure correct labelling: .IP "Automatic relabeling" 4 .IX Item "Automatic relabeling" This runs \fBsetfiles\fR\|(8) just before finalizing the guest, which sets SELinux labels correctly in the disk image. @@ -1713,9 +1716,9 @@ Guest templates may already contain a file called \fI/.autorelabel\fR or you may For guests that use SELinux, this causes \fBrestorecon\fR\|(8) to run at first boot. Guests will reboot themselves once the first time you use them, which is normal and harmless. .SH マシン可読な出力 .IX Header "マシン可読な出力" -The \fI\-\-machine\-readable\fR option can be used to make the output more machine friendly, which is useful when calling virt-builder from other programs, GUIs etc. +The \fI\-\-machine\-readable\fR option can be used to make the output more machine friendly, which is useful when calling virt\-builder from other programs, GUIs etc. .PP -Use the option on its own to query the capabilities of the virt-builder binary. Typical output looks like this: +Use the option on its own to query the capabilities of the virt\-builder binary. Typical output looks like this: .PP .Vb 7 \& $ virt\-builder \-\-machine\-readable @@ -1744,17 +1747,17 @@ For other environment variables which affect all libguestfs programs, see "ENVIR .el .IP \f(CWno_proxy\fR 4 .IX Item "no_proxy" .PD -Set the proxy for downloads. These environment variables (and more) are actually interpreted by \fBcurl\fR\|(1), not virt-builder. +Set the proxy for downloads. These environment variables (and more) are actually interpreted by \fBcurl\fR\|(1), not virt\-builder. .ie n .IP """HOME""" 4 .el .IP \f(CWHOME\fR 4 .IX Item "HOME" -Used to determine the location of the template cache, and the location of the user' sources. See "CACHING" and "SOURCES OF TEMPLATES". +Used to determine the location of the template cache, and the location of the user\*(Aq sources. See "CACHING" and "SOURCES OF TEMPLATES". .ie n .IP """VIRT_TOOLS_DATA_DIR""" 4 .el .IP \f(CWVIRT_TOOLS_DATA_DIR\fR 4 .IX Item "VIRT_TOOLS_DATA_DIR" This can point to the directory containing data files used for Windows firstboot installation. .Sp -Normally you do not need to set this. If not set, a compiled-in default will be used (something like \fI/usr/share/virt\-tools\fR). +Normally you do not need to set this. If not set, a compiled\-in default will be used (something like \fI/usr/share/virt\-tools\fR). .Sp This directory may contain the following files: .RS 4 @@ -1776,7 +1779,7 @@ Used to determine the location of the template cache. See "CACHING". .ie n .IP """XDG_CONFIG_HOME""" 4 .el .IP \f(CWXDG_CONFIG_HOME\fR 4 .IX Item "XDG_CONFIG_HOME" -Used to determine the location of the user' sources. See "SOURCES OF TEMPLATES". +Used to determine the location of the user\*(Aq sources. See "SOURCES OF TEMPLATES". .ie n .IP """VIRT_BUILDER_DIRS""" 4 .el .IP \f(CWVIRT_BUILDER_DIRS\fR 4 .IX Item "VIRT_BUILDER_DIRS" diff --git a/po-docs/ja/virt-cat.1 b/po-docs/ja/virt-cat.1 index 5271ba7..1267dde 100644 --- a/po-docs/ja/virt-cat.1 +++ b/po-docs/ja/virt-cat.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-cat 1" -.TH virt-cat 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-cat 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-cat \- 仮想マシンにあるファイルの表示 +virt\-cat \- 仮想マシンにあるファイルの表示 .SH 書式 .IX Header "書式" .Vb 1 @@ -82,7 +85,7 @@ virt-cat \- 仮想マシンにあるファイルの表示 .IX Header "説明" \&\f(CW\*(C`virt\-cat\*(C'\fR は \f(CW\*(C`file\*(C'\fR の内容を表示するためにコマンドラインツールです。ここで \f(CW\*(C`file\*(C'\fR は仮想マシン (またはディスクイメージ) の中に存在します。 .PP -Multiple filenames can be given, in which case they are concatenated together. Each filename must be a full path, starting at the root directory (starting with '/'). +Multiple filenames can be given, in which case they are concatenated together. Each filename must be a full path, starting at the root directory (starting with \*(Aq/\*(Aq). .PP \&\f(CW\*(C`virt\-cat\*(C'\fR can be used to quickly view a file. To edit a file, use \f(CW\*(C`virt\-edit\*(C'\fR. For more complex cases you should look at the \fBguestfish\fR\|(1) tool (see "USING GUESTFISH" below). .SH 例 @@ -164,7 +167,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -キーやパスフレーズを入力するとき、通常 virt-cat はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 +キーやパスフレーズを入力するとき、通常 virt\-cat はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 .IP \fB\-\-format=raw|qcow2|..\fR 4 .IX Item "--format=raw|qcow2|.." .PD 0 @@ -179,13 +182,13 @@ libvirt を使用していると、指定された \fIURI\fR に接続します \& virt\-cat \-\-format=raw \-a disk.img file .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-cat \-\-format=raw \-a disk.img \-\-format \-a another.img file .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-\-key\fR SELECTOR" 4 @@ -223,9 +226,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -251,7 +254,7 @@ If the mountpoint is omitted, it defaults to \fI/\fR. .Sp Specifying any mountpoint disables the inspection of the guest and the mount of its root and all of its mountpoints, so make sure to mount all the mountpoints needed to work with the filenames given as arguments. .Sp -If you don’t know what filesystems a disk image contains, you can either run guestfish without this option, then list the partitions, filesystems and LVs available (see "list-partitions", "list-filesystems" and "lvs" commands), or you can use the \fBvirt\-filesystems\fR\|(1) program. +If you don’t know what filesystems a disk image contains, you can either run guestfish without this option, then list the partitions, filesystems and LVs available (see "list\-partitions", "list\-filesystems" and "lvs" commands), or you can use the \fBvirt\-filesystems\fR\|(1) program. .Sp マウントパラメーターの三番目の (ほとんど使用されない) 項目は、 バックエンドのファイルシステムをマウントするために使用される マウントオプションの一覧です。 これが指定されていない場合、 マウントオプションは空文字列または \f(CW\*(C`ro\*(C'\fR (\fI\-\-ro\fR フラグが使用されている場合) になります。 .Sp @@ -281,7 +284,7 @@ If you don’t know what filesystems a disk image contains, you can either run g libguestfs API 呼び出しのトレースを有効にします。 .SH 旧形式のコマンドライン引数 .IX Header "旧形式のコマンドライン引数" -以前のバージョンの virt-cat はどちらの書き込みもできます: +以前のバージョンの virt\-cat はどちらの書き込みもできます: .PP .Vb 1 \& virt\-cat disk.img [disk.img ...] file @@ -330,7 +333,7 @@ NTFS junction points that cross filesystems are not followed. .PP ここで \f(CW\*(C`domname\*(C'\fR は libvirt 仮想マシンの名前です。また、\f(CW\*(C`file\*(C'\fR はファイルの完全パスです。最後の \f(CW\*(C`\-\*(C'\fR ("標準出力に出力" を意味します) に注意してください。 .PP -The command above uses libguestfs’s guest inspection feature and so does not work on guests that libguestfs cannot inspect, or on things like arbitrary disk images that don't contain guests. To display a file from a disk image directly, use: +The command above uses libguestfs’s guest inspection feature and so does not work on guests that libguestfs cannot inspect, or on things like arbitrary disk images that don\*(Aqt contain guests. To display a file from a disk image directly, use: .PP .Vb 1 \& guestfish \-\-ro \-a disk.img \-m /dev/sda1 download file \- diff --git a/po-docs/ja/virt-customize.1 b/po-docs/ja/virt-customize.1 index 1764578..1d26df7 100644 --- a/po-docs/ja/virt-customize.1 +++ b/po-docs/ja/virt-customize.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-customize 1" -.TH virt-customize 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-customize 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-customize \- Customize a virtual machine +virt\-customize \- Customize a virtual machine .SH 書式 .IX Header "書式" .Vb 7 @@ -80,11 +83,11 @@ virt-customize \- Customize a virtual machine .Ve .SH 説明 .IX Header "説明" -Virt-customize can customize a virtual machine (disk image) by installing packages, editing configuration files, and so on. +Virt\-customize can customize a virtual machine (disk image) by installing packages, editing configuration files, and so on. .PP -Virt-customize modifies the guest or disk image \fIin place\fR. The guest must be shut down. If you want to preserve the existing contents of the guest, \fIyou must snapshot, copy or clone the disk first\fR. +Virt\-customize modifies the guest or disk image \fIin place\fR. The guest must be shut down. If you want to preserve the existing contents of the guest, \fIyou must snapshot, copy or clone the disk first\fR. .PP -You do \fInot\fR need to run virt-customize as root. In fact we'd generally recommend that you don't. +You do \fInot\fR need to run virt\-customize as root. In fact we\*(Aqd generally recommend that you don\*(Aqt. .PP Related tools include: \fBvirt\-sysprep\fR\|(1) and \fBvirt\-builder\fR\|(1). .SH オプション @@ -112,7 +115,7 @@ Add a remote disk. The URI format is compatible with guestfish. See "ADDING RE .IX Item "--attach ISOFILE" The given disk is attached to the libguestfs appliance. This is used to provide extra software repositories or other data for customization. .Sp -You probably want to ensure the volume(s) or filesystems in the attached disks are labelled (or use an ISO volume name) so that you can mount them by label in your run-scripts: +You probably want to ensure the volume(s) or filesystems in the attached disks are labelled (or use an ISO volume name) so that you can mount them by label in your run\-scripts: .Sp .Vb 2 \& mkdir /tmp/mount @@ -152,17 +155,17 @@ libvirt を使用していると、指定された \fIURI\fR に接続します .IP \fB\-\-dry\-run\fR 4 .IX Item "--dry-run" .PD -Perform a read-only "dry run" on the guest. This runs the sysprep operation, but throws away any changes to the disk at the end. +Perform a read\-only "dry run" on the guest. This runs the sysprep operation, but throws away any changes to the disk at the end. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -When prompting for keys and passphrases, virt-customize normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. +When prompting for keys and passphrases, virt\-customize normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. .IP "\fB\-\-format\fR raw|qcow2|.." 4 .IX Item "--format raw|qcow2|.." .PD 0 .IP "\fB\-\-format\fR auto" 4 .IX Item "--format auto" .PD -The default for the \fI\-a\fR option is to auto-detect the format of the disk image. Using this forces the disk format for \fI\-a\fR options which follow on the command line. Using \fI\-\-format auto\fR switches back to auto-detection for subsequent \fI\-a\fR options. +The default for the \fI\-a\fR option is to auto\-detect the format of the disk image. Using this forces the disk format for \fI\-a\fR options which follow on the command line. Using \fI\-\-format auto\fR switches back to auto\-detection for subsequent \fI\-a\fR options. .Sp 例: .Sp @@ -170,13 +173,13 @@ The default for the \fI\-a\fR option is to auto-detect the format of the disk im \& virt\-customize \-\-format raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-customize \-\-format raw \-a disk.img \-\-format auto \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-\-key\fR SELECTOR" 4 @@ -214,9 +217,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -257,16 +260,16 @@ The network only allows outgoing connections and has other minor limitations. S .Sp If you use \fI\-\-no\-network\fR then certain other options such as \fI\-\-install\fR will not work. .Sp -This does not affect whether the guest can access the network once it has been booted, because that is controlled by your hypervisor or cloud environment and has nothing to do with virt-customize. +This does not affect whether the guest can access the network once it has been booted, because that is controlled by your hypervisor or cloud environment and has nothing to do with virt\-customize. .Sp Generally speaking you should \fInot\fR use \fI\-\-no\-network\fR. But here are some reasons why you might want to: .RS 4 .IP 1. 4 -Because the libguestfs backend that you are using doesn't support the network. (See: "BACKEND" in \fBguestfs\fR\|(3)). +Because the libguestfs backend that you are using doesn\*(Aqt support the network. (See: "BACKEND" in \fBguestfs\fR\|(3)). .IP 2. 4 -Any software you need to install comes from an attached ISO, so you don't need the network. +Any software you need to install comes from an attached ISO, so you don\*(Aqt need the network. .IP 3. 4 -You don’t want untrusted guest code trying to access your host network when running virt-customize. This is particularly an issue when you don't trust the source of the operating system templates. (See "SECURITY" below). +You don’t want untrusted guest code trying to access your host network when running virt\-customize. This is particularly an issue when you don\*(Aqt trust the source of the operating system templates. (See "SECURITY" below). .IP 4. 4 You don’t have a host network (eg. in secure/restricted environments). .RE @@ -318,7 +321,7 @@ For example (assuming ordinary shell quoting) this command: .Sp will add either \f(CW\*(C`10.0.0.1 foo⏎\*(C'\fR or \f(CW\*(C`⏎10.0.0.1 foo⏎\*(C'\fR to the file, the latter only if the existing file does not already end with a newline. .Sp -\&\f(CW\*(C`⏎\*(C'\fR represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non-existent files. +\&\f(CW\*(C`⏎\*(C'\fR represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non\-existent files. .Sp To insert several lines, use the same option several times: .Sp @@ -406,7 +409,7 @@ Edit \f(CW\*(C`FILE\*(C'\fR using the Perl expression \f(CW\*(C`EXPR\*(C'\fR. .Sp このオプションは Perl 5 がインストールされているときのみ利用可能であることに注意してください。 .Sp -See "NON-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). +See "NON\-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). .IP "\fB\-\-firstboot\fR SCRIPT" 4 .IX Item "--firstboot SCRIPT" Install \f(CW\*(C`SCRIPT\*(C'\fR inside the guest, so that when the guest first boots up, the script runs (as root, late in the boot process). @@ -420,7 +423,7 @@ You can have multiple \fI\-\-firstboot\fR options. They run in the same order t Please take a look at "FIRST BOOT SCRIPTS" in \fBvirt\-builder\fR\|(1) for more information and caveats about the first boot scripts. .Sp See also \fI\-\-run\fR. -.IP "\fB\-\-firstboot\-command\fR 'CMD+ARGS'" 4 +.IP "\fB\-\-firstboot\-command\fR \*(AqCMD+ARGS\*(Aq" 4 .IX Item "--firstboot-command 'CMD+ARGS'" Run command (and arguments) inside the guest when the guest first boots up (as root, late in the boot process). .Sp @@ -431,7 +434,7 @@ Please take a look at "FIRST BOOT SCRIPTS" in \fBvirt\-builder\fR\|(1) for more See also \fI\-\-run\fR. .IP "\fB\-\-firstboot\-install\fR PKG,PKG.." 4 .IX Item "--firstboot-install PKG,PKG.." -Install the named packages (a comma-separated list). These are installed when the guest first boots using the guest’s package manager (eg. apt, yum, etc.) and the guest’s network connection. +Install the named packages (a comma\-separated list). These are installed when the guest first boots using the guest’s package manager (eg. apt, yum, etc.) and the guest’s network connection. .Sp For an overview on the different ways to install packages, see "INSTALLING PACKAGES" in \fBvirt\-builder\fR\|(1). .IP "\fB\-\-hostname\fR HOSTNAME" 4 @@ -446,16 +449,16 @@ The parameter is the same as used by the \fI\-\-inject\-virtio\-win\fR operation Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the \fBvirt\-v2v\fR\|(1) tool instead of this. .IP "\fB\-\-inject\-virtio\-win\fR METHOD" 4 .IX Item "--inject-virtio-win METHOD" -Inject virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. +Inject virtio\-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. .Sp The parameter can be one of: .RS 4 .IP ISO 4 .IX Item "ISO" -The path to the ISO image containing the virtio-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). +The path to the ISO image containing the virtio\-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). .IP DIR 4 .IX Item "DIR" -The directory containing the unpacked virtio-win drivers (eg. \fI/usr/share/virtio\-win\fR). +The directory containing the unpacked virtio\-win drivers (eg. \fI/usr/share/virtio\-win\fR). .IP "\fB""osinfo""\fR" 4 .IX Item """osinfo""" The literal string \f(CW"osinfo"\fR means to use the libosinfo database to locate the drivers. (See \fBosinfo\-query\fR\|(1). @@ -466,7 +469,7 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .RE .IP "\fB\-\-install\fR PKG,PKG.." 4 .IX Item "--install PKG,PKG.." -Install the named packages (a comma-separated list). These are installed during the image build using the guest’s package manager (eg. apt, yum, etc.) and the host’s network connection. +Install the named packages (a comma\-separated list). These are installed during the image build using the guest’s package manager (eg. apt, yum, etc.) and the host’s network connection. .Sp For an overview on the different ways to install packages, see "INSTALLING PACKAGES" in \fBvirt\-builder\fR\|(1). .Sp @@ -486,7 +489,7 @@ Move files or directories inside the guest. Wildcards cannot be used. .IP \fB\-\-no\-logfile\fR 4 .IX Item "--no-logfile" -Scrub \f(CW\*(C`builder.log\*(C'\fR (log file from build commands) from the image after building is complete. If you don't want to reveal precisely how the image was built, use this option. +Scrub \f(CW\*(C`builder.log\*(C'\fR (log file from build commands) from the image after building is complete. If you don\*(Aqt want to reveal precisely how the image was built, use this option. .Sp See also: "LOG FILE". .IP \fB\-\-no\-selinux\-relabel\fR 4 @@ -495,7 +498,7 @@ Do not attempt to correct the SELinux labels of files in the guest. .Sp In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. (The relabeling is performed immediately, but if the operation fails, customization will instead touch \fI/.autorelabel\fR on the image to schedule a relabel operation for the next time the image boots.) This option disables the automatic relabeling. .Sp -The option is a no-op for guests that do not support SELinux. +The option is a no\-op for guests that do not support SELinux. .IP "\fB\-\-password\fR USER:SELECTOR" 4 .IX Item "--password USER:SELECTOR" Set the password for \f(CW\*(C`USER\*(C'\fR. (Note this option does \fInot\fR create the user account). @@ -509,7 +512,7 @@ When the virt tools change or set a password in the guest, this option sets the .Sp \&\f(CW\*(C`md5\*(C'\fR will work with relatively old Linux guests (eg. RHEL 3), but is not secure against modern attacks. .Sp -The default is \f(CW\*(C`sha512\*(C'\fR unless libguestfs detects an old guest that didn't have support for SHA\-512, in which case it will use \f(CW\*(C`md5\*(C'\fR. You can override libguestfs by specifying this option. +The default is \f(CW\*(C`sha512\*(C'\fR unless libguestfs detects an old guest that didn\*(Aqt have support for SHA\-512, in which case it will use \f(CW\*(C`md5\*(C'\fR. You can override libguestfs by specifying this option. .Sp Note this does not change the default password encryption used by the guest when you create new user accounts inside the guest. If you want to do that, then you should use the \fI\-\-edit\fR option to modify \f(CW\*(C`/etc/sysconfig/authconfig\*(C'\fR (Fedora, RHEL) or \f(CW\*(C`/etc/pam.d/common\-password\*(C'\fR (Debian, Ubuntu). .IP "\fB\-\-root\-password\fR SELECTOR" 4 @@ -518,7 +521,7 @@ Set the root password. .Sp See "USERS AND PASSWORDS" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field, and also how to set up user accounts. .Sp -Note: In virt-builder, if you \fIdon't\fR set \fI\-\-root\-password\fR then the guest is given a \fIrandom\fR root password. +Note: In virt\-builder, if you \fIdon\*(Aqt\fR set \fI\-\-root\-password\fR then the guest is given a \fIrandom\fR root password. .IP "\fB\-\-run\fR SCRIPT" 4 .IX Item "--run SCRIPT" Run the shell script (or any program) called \f(CW\*(C`SCRIPT\*(C'\fR on the disk image. The script runs virtualized inside a small appliance, chrooted into the guest filesystem. @@ -530,7 +533,7 @@ If libguestfs supports it then a limited network connection is available but it You can have multiple \fI\-\-run\fR options. They run in the same order that they appear on the command line. .Sp See also: \fI\-\-firstboot\fR, \fI\-\-attach\fR, \fI\-\-upload\fR. -.IP "\fB\-\-run\-command\fR 'CMD+ARGS'" 4 +.IP "\fB\-\-run\-command\fR \*(AqCMD+ARGS\*(Aq" 4 .IX Item "--run-command 'CMD+ARGS'" Run the command and arguments on the disk image. The command runs virtualized inside a small appliance, chrooted into the guest filesystem. .Sp @@ -557,12 +560,12 @@ This is a compatibility option that does nothing. .IX Item "--sm-attach SELECTOR" Attach to a pool using \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -See "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. +See "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. .IP "\fB\-\-sm\-credentials\fR SELECTOR" 4 .IX Item "--sm-credentials SELECTOR" Set the credentials for \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -See "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. +See "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. .IP \fB\-\-sm\-register\fR 4 .IX Item "--sm-register" Register the guest using \f(CW\*(C`subscription\-manager\*(C'\fR. @@ -592,13 +595,13 @@ Set the default timezone of the guest to \f(CW\*(C`TIMEZONE\*(C'\fR. Use a loca This command performs a \fBtouch\fR\|(1)\-like operation on \f(CW\*(C`FILE\*(C'\fR. .IP "\fB\-\-truncate\fR FILE" 4 .IX Item "--truncate FILE" -This command truncates \f(CW\*(C`FILE\*(C'\fR to a zero-length file. The file must exist already. +This command truncates \f(CW\*(C`FILE\*(C'\fR to a zero\-length file. The file must exist already. .IP "\fB\-\-truncate\-recursive\fR PATH" 4 .IX Item "--truncate-recursive PATH" -This command recursively truncates all files under \f(CW\*(C`PATH\*(C'\fR to zero-length. +This command recursively truncates all files under \f(CW\*(C`PATH\*(C'\fR to zero\-length. .IP "\fB\-\-uninstall\fR PKG,PKG.." 4 .IX Item "--uninstall PKG,PKG.." -Uninstall the named packages (a comma-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. +Uninstall the named packages (a comma\-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. .Sp See also \fI\-\-install\fR, \fI\-\-update\fR. .IP \fB\-\-update\fR 4 @@ -633,7 +636,7 @@ For further details, see "SELINUX" in \fBvirt\-builder\fR\|(1). .IX Item "VIRT_TOOLS_DATA_DIR" This can point to the directory containing data files used for Windows firstboot installation. .Sp -Normally you do not need to set this. If not set, a compiled-in default will be used (something like \fI/usr/share/virt\-tools\fR). +Normally you do not need to set this. If not set, a compiled\-in default will be used (something like \fI/usr/share/virt\-tools\fR). .Sp This directory may contain the following files: .RS 4 diff --git a/po-docs/ja/virt-df.1 b/po-docs/ja/virt-df.1 index 0c7c4ef..e19da51 100644 --- a/po-docs/ja/virt-df.1 +++ b/po-docs/ja/virt-df.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-df 1" -.TH virt-df 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-df 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-df \- 仮想ファイルシステムの使用状況の表示 +virt\-df \- 仮想ファイルシステムの使用状況の表示 .SH 書式 .IX Header "書式" すべての仮想マシン: @@ -88,7 +91,7 @@ virt-df \- 仮想ファイルシステムの使用状況の表示 .Ve .SH 説明 .IX Header "説明" -\&\f(CW\*(C`virt\-df\*(C'\fR is a command line tool to display free space on virtual machine filesystems. Unlike other tools, it doesn't just display the size of disk allocated to a virtual machine, but can look inside disk images to see how much space is really being used. +\&\f(CW\*(C`virt\-df\*(C'\fR is a command line tool to display free space on virtual machine filesystems. Unlike other tools, it doesn\*(Aqt just display the size of disk allocated to a virtual machine, but can look inside disk images to see how much space is really being used. .PP If used without any \fI\-a\fR or \fI\-d\fR arguments, \f(CW\*(C`virt\-df\*(C'\fR checks with libvirt to get a list of all active and inactive guests, and performs a \f(CW\*(C`df\*(C'\fR\-type operation on each one in turn, printing out the results. .PP @@ -97,7 +100,7 @@ If any \fI\-a\fR or \fI\-d\fR arguments are specified, \f(CW\*(C`virt\-df\*(C'\f Use the \fI\-\-csv\fR option to get a format which can be easily parsed by other programs. Other options are similar to the standard \fBdf\fR\|(1) command. .SH 例 .IX Header "例" -Show disk usage for a single libvirt guest called \f(CW\*(C`F14x64\*(C'\fR. Make the output human-readable: +Show disk usage for a single libvirt guest called \f(CW\*(C`F14x64\*(C'\fR. Make the output human\-readable: .PP .Vb 4 \& # virt\-df \-d F14x64 \-h @@ -168,7 +171,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します ゲストのブロックデバイスを直接指定していると((\fI\-a\fR))、libvirt は何も使用されません。 .IP \fB\-\-csv\fR 4 .IX Item "--csv" -Write out the results in CSV format (comma-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. +Write out the results in CSV format (comma\-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. .IP "\fB\-d\fR guest" 4 .IX Item "-d guest" .PD 0 @@ -190,13 +193,13 @@ Write out the results in CSV format (comma-separated values). This format can b \& virt\-df \-\-format=raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-df \-\-format=raw \-a disk.img \-\-format \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP \fB\-h\fR 4 @@ -220,7 +223,7 @@ forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-det Since libguestfs 1.22, this is the default. This option does nothing and is left here for backwards compatibility with older scripts. .IP "\fB\-P\fR nr_threads" 4 .IX Item "-P nr_threads" -Since libguestfs 1.22, virt-df is multithreaded and examines guests in parallel. By default the number of threads to use is chosen based on the amount of free memory available at the time that virt-df is started. You can force virt-df to use at most \f(CW\*(C`nr_threads\*(C'\fR by using the \fI\-P\fR option. +Since libguestfs 1.22, virt\-df is multithreaded and examines guests in parallel. By default the number of threads to use is chosen based on the amount of free memory available at the time that virt\-df is started. You can force virt\-df to use at most \f(CW\*(C`nr_threads\*(C'\fR by using the \fI\-P\fR option. .Sp Note that \fI\-P 0\fR means to autodetect, and \fI\-P 1\fR means to use a single thread. .IP \fB\-\-uuid\fR 4 @@ -268,7 +271,7 @@ libguestfs API 呼び出しのトレースを有効にします。 (change \fI/\fR to see stats for other filesystems). .SH "CSV 形式に関する注意" .IX Header "CSV 形式に関する注意" -Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. +Comma\-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. .PP 神話: ただコンマで項目を区切る。 真実: これは正しく動き \fIません\fR。この例は 2 つの列があります: .PP @@ -285,7 +288,7 @@ Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it shou .PP For shell scripts, use \f(CW\*(C`csvtool\*(C'\fR (https://github.com/Chris00/ocaml\-csv also packaged in major Linux distributions). .PP -For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built-in csv library). +For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built\-in csv library). .PP Most spreadsheets and databases can import CSV directly. .SH 終了ステータス diff --git a/po-docs/ja/virt-dib.1 b/po-docs/ja/virt-dib.1 deleted file mode 100644 index b251e09..0000000 --- a/po-docs/ja/virt-dib.1 +++ /dev/null @@ -1,82 +0,0 @@ -.\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. -.ie n \{\ -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is >0, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{\ -. if \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{\ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" ======================================================================== -.\" -.IX Title "virt-dib 1" -.TH virt-dib 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" -.\" For nroff, turn off justification. Always turn off hyphenation; it makes -.\" way too many mistakes in technical documents. -.if n .ad l -.nh -.SH LICENSE -.IX Header "LICENSE" -.SH BUGS -.IX Header "BUGS" -To get a list of bugs against libguestfs, use this link: -https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools -.PP -To report a new bug against libguestfs, use this link: -https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools -.PP -When reporting a bug, please supply: -.IP \(bu 4 -The version of libguestfs. -.IP \(bu 4 -Where you got libguestfs (eg. which Linux distro, compiled from source, etc) -.IP \(bu 4 -Describe the bug accurately and give a way to reproduce it. -.IP \(bu 4 -Run \fBlibguestfs\-test\-tool\fR\|(1) and paste the \fBcomplete, unedited\fR -output into the bug report. diff --git a/po-docs/ja/virt-diff.1 b/po-docs/ja/virt-diff.1 index fd7515b..21e5c18 100644 --- a/po-docs/ja/virt-diff.1 +++ b/po-docs/ja/virt-diff.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-diff 1" -.TH virt-diff 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-diff 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-diff \- Differences between files in two virtual machines +virt\-diff \- Differences between files in two virtual machines .SH 書式 .IX Header "書式" .Vb 1 @@ -154,7 +157,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します ゲストのブロックデバイスを直接指定していると((\fI\-a\fR))、libvirt は何も使用されません。 .IP \fB\-\-csv\fR 4 .IX Item "--csv" -Write out the results in CSV format (comma-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. +Write out the results in CSV format (comma\-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. .IP \fB\-\-dir\-links\fR 4 .IX Item "--dir-links" The default is to ignore changes in the number of links in directory entries, since those are unlikely to be interesting. Using this flag shows changes to the nlink field of directories. @@ -173,7 +176,7 @@ Add all the disks from the named libvirt guest, as the first guest. Domain UUID Add all the disks from the named libvirt guest, as the second guest. Domain UUIDs can be used instead of names. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -When prompting for keys and passphrases, virt-diff normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. +When prompting for keys and passphrases, virt\-diff normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. .IP \fB\-\-extra\-stats\fR 4 .IX Item "--extra-stats" Display extra stats. @@ -183,7 +186,7 @@ Display extra stats. .IP \fB\-\-format\fR 4 .IX Item "--format" .PD -The default for the \fI\-a\fR/\fI\-A\fR option is to auto-detect the format of the disk image. Using this forces the disk format for \fI\-a\fR/\fI\-A\fR options which follow on the command line. Using \fI\-\-format\fR with no argument switches back to auto-detection for subsequent \fI\-a\fR/\fI\-A\fR options. +The default for the \fI\-a\fR/\fI\-A\fR option is to auto\-detect the format of the disk image. Using this forces the disk format for \fI\-a\fR/\fI\-A\fR options which follow on the command line. Using \fI\-\-format\fR with no argument switches back to auto\-detection for subsequent \fI\-a\fR/\fI\-A\fR options. .Sp 例: .Sp @@ -191,13 +194,13 @@ The default for the \fI\-a\fR/\fI\-A\fR option is to auto-detect the format of t \& virt\-diff \-\-format=raw \-a disk.img [...] .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-diff \-\-format=raw \-a disk.img \-\-format \-a another.img [...] .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP \fB\-h\fR 4 @@ -242,9 +245,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -297,7 +300,7 @@ libguestfs API 呼び出しのトレースを有効にします。 Display extended attributes. .SH "CSV 形式に関する注意" .IX Header "CSV 形式に関する注意" -Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. +Comma\-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. .PP 神話: ただコンマで項目を区切る。 真実: これは正しく動き \fIません\fR。この例は 2 つの列があります: .PP @@ -314,7 +317,7 @@ Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it shou .PP For shell scripts, use \f(CW\*(C`csvtool\*(C'\fR (https://github.com/Chris00/ocaml\-csv also packaged in major Linux distributions). .PP -For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built-in csv library). +For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built\-in csv library). .PP Most spreadsheets and databases can import CSV directly. .SH 終了ステータス diff --git a/po-docs/ja/virt-drivers.pod b/po-docs/ja/virt-drivers.pod index 054cc18..dd03a9b 100644 --- a/po-docs/ja/virt-drivers.pod +++ b/po-docs/ja/virt-drivers.pod @@ -68,7 +68,7 @@ The EbootloaderE element shows the bootloader found in the Linux guest. -Many more fields are usually available for Linux guests, including a complete list of kernel modules and information about support for virtio. For a complete example see: L +Many more fields are usually available for Linux guests, including a complete list of kernel modules and information about support for virtio. For a complete example see: L =head2 EdriversE diff --git a/po-docs/ja/virt-edit.1 b/po-docs/ja/virt-edit.1 index 27bdaba..6d1b837 100644 --- a/po-docs/ja/virt-edit.1 +++ b/po-docs/ja/virt-edit.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-edit 1" -.TH virt-edit 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-edit 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-edit \- 仮想マシンのファイルの編集 +virt\-edit \- 仮想マシンのファイルの編集 .SH 書式 .IX Header "書式" .Vb 1 @@ -84,7 +87,7 @@ virt-edit \- 仮想マシンのファイルの編集 .IX Header "説明" \&\f(CW\*(C`virt\-edit\*(C'\fR は名前付きの仮想マシン(またはディスクイメージ)にある、それぞれの \f(CW\*(C`ファイル\*(C'\fR を編集するためのコマンドラインツールです。 .PP -複数のファイル名を指定できます。その場合、それぞれ順番に編集されます。各ファイル名はルートディレクトリーから始まる(つまり '/' から始まる)完全パスである必要があります。 +複数のファイル名を指定できます。その場合、それぞれ順番に編集されます。各ファイル名はルートディレクトリーから始まる(つまり \*(Aq/\*(Aq から始まる)完全パスである必要があります。 .PP 単にファイルを表示したいだけならば、 \fBvirt\-cat\fR\|(1) を使用してください。 .PP @@ -179,7 +182,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -キーやパスフレーズを入力するとき、通常 virt-edit はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 +キーやパスフレーズを入力するとき、通常 virt\-edit はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 .IP "\fB\-e\fR EXPR" 4 .IX Item "-e EXPR" .PD 0 @@ -207,13 +210,13 @@ libvirt を使用していると、指定された \fIURI\fR に接続します \& virt\-edit \-\-format=raw \-a disk.img file .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-edit \-\-format=raw \-a disk.img \-\-format \-a another.img file .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-\-key\fR SELECTOR" 4 @@ -251,9 +254,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -279,7 +282,7 @@ If the mountpoint is omitted, it defaults to \fI/\fR. .Sp Specifying any mountpoint disables the inspection of the guest and the mount of its root and all of its mountpoints, so make sure to mount all the mountpoints needed to work with the filenames given as arguments. .Sp -If you don’t know what filesystems a disk image contains, you can either run guestfish without this option, then list the partitions, filesystems and LVs available (see "list-partitions", "list-filesystems" and "lvs" commands), or you can use the \fBvirt\-filesystems\fR\|(1) program. +If you don’t know what filesystems a disk image contains, you can either run guestfish without this option, then list the partitions, filesystems and LVs available (see "list\-partitions", "list\-filesystems" and "lvs" commands), or you can use the \fBvirt\-filesystems\fR\|(1) program. .Sp マウントパラメーターの三番目の (ほとんど使用されない) 項目は、 バックエンドのファイルシステムをマウントするために使用される マウントオプションの一覧です。 これが指定されていない場合、 マウントオプションは空文字列または \f(CW\*(C`ro\*(C'\fR (\fI\-\-ro\fR フラグが使用されている場合) になります。 .Sp @@ -309,7 +312,7 @@ If you don’t know what filesystems a disk image contains, you can either run g libguestfs API 呼び出しのトレースを有効にします。 .SH 旧形式のコマンドライン引数 .IX Header "旧形式のコマンドライン引数" -前のバージョンの virt-edit はどちらを書くこともできます: +前のバージョンの virt\-edit はどちらを書くこともできます: .PP .Vb 1 \& virt\-edit disk.img [disk.img ...] file @@ -328,7 +331,7 @@ whereas in this version you should use \fI\-a\fR or \fI\-d\fR respectively to av .IX Header "非対話的な編集方法" \&\f(CW\*(C`virt\-edit\*(C'\fR normally calls out to \f(CW$EDITOR\fR (or vi) so the system administrator can interactively edit the file. .PP -There are two ways also to use \f(CW\*(C`virt\-edit\*(C'\fR from scripts in order to make automated edits to files. (Note that although you \fIcan\fR use \f(CW\*(C`virt\-edit\*(C'\fR like this, it’s less error-prone to write scripts directly using the libguestfs API and Augeas for configuration file editing.) +There are two ways also to use \f(CW\*(C`virt\-edit\*(C'\fR from scripts in order to make automated edits to files. (Note that although you \fIcan\fR use \f(CW\*(C`virt\-edit\*(C'\fR like this, it’s less error\-prone to write scripts directly using the libguestfs API and Augeas for configuration file editing.) .PP The first method is to temporarily set \f(CW$EDITOR\fR to any script or program you want to run. The script is invoked as \f(CW\*(C`$EDITOR tmpfile\*(C'\fR and it should update \f(CW\*(C`tmpfile\*(C'\fR in place however it likes. .PP @@ -352,7 +355,7 @@ To delete a line, set \f(CW$_\fR to the empty string. For example, to delete th \& virt\-edit \-d mydomain /etc/passwd \-e \*(Aq$_ = "" if /^apache:/\*(Aq .Ve .PP -To insert a line, prepend or append it to \f(CW$_\fR. However appending lines to the end of the file is rather difficult this way since there is no concept of "last line of the file" \- your expression just doesn't get called again. You might want to use the first method (setting \f(CW$EDITOR\fR) if you want to do this. +To insert a line, prepend or append it to \f(CW$_\fR. However appending lines to the end of the file is rather difficult this way since there is no concept of "last line of the file" \- your expression just doesn\*(Aqt get called again. You might want to use the first method (setting \f(CW$EDITOR\fR) if you want to do this. .PP The variable \f(CW$lineno\fR contains the current line number. As is traditional, the first line in the file is number \f(CW1\fR. .PP @@ -388,7 +391,7 @@ Some NTFS symbolic links may not be followed correctly. NTFS junction points that cross filesystems are not followed. .SH "guestfish の使用法" .IX Header "guestfish の使用法" -\&\fBguestfish\fR\|(1) is a more powerful, lower level tool which you can use when \f(CW\*(C`virt\-edit\*(C'\fR doesn't work. +\&\fBguestfish\fR\|(1) is a more powerful, lower level tool which you can use when \f(CW\*(C`virt\-edit\*(C'\fR doesn\*(Aqt work. .PP Using \f(CW\*(C`virt\-edit\*(C'\fR is approximately equivalent to doing: .PP @@ -398,7 +401,7 @@ Using \f(CW\*(C`virt\-edit\*(C'\fR is approximately equivalent to doing: .PP where \f(CW\*(C`domname\*(C'\fR is the name of the libvirt guest, and \fI/file\fR is the full path to the file. .PP -The command above uses libguestfs’s guest inspection feature and so does not work on guests that libguestfs cannot inspect, or on things like arbitrary disk images that don't contain guests. To edit a file on a disk image directly, use: +The command above uses libguestfs’s guest inspection feature and so does not work on guests that libguestfs cannot inspect, or on things like arbitrary disk images that don\*(Aqt contain guests. To edit a file on a disk image directly, use: .PP .Vb 1 \& guestfish \-\-rw \-a disk.img \-m /dev/sda1 edit /file diff --git a/po-docs/ja/virt-filesystems.1 b/po-docs/ja/virt-filesystems.1 index f23bb8e..ccebbda 100644 --- a/po-docs/ja/virt-filesystems.1 +++ b/po-docs/ja/virt-filesystems.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-filesystems 1" -.TH virt-filesystems 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-filesystems 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-filesystems \- 仮想マシンまたはディスクイメージにあるファイルシステム、パーティション、ブロックデバイスおよび LVM の一覧表示 +virt\-filesystems \- 仮想マシンまたはディスクイメージにあるファイルシステム、パーティション、ブロックデバイスおよび LVM の一覧表示 .SH 書式 .IX Header "書式" .Vb 1 @@ -121,7 +124,7 @@ One use for this tool is from shell scripts to iterate over all filesystems from .PP 同様に、それらの項目を一覧表示するには \fI\-\-logical\-volumes\fR, \fI\-\-volume\-groups\fR, \fI\-\-physical\-volumes\fR, \fI\-\-block\-devices\fR を使用できます。 .PP -You can use these options in combination as well (if you want a combination including filesystems, you have to add \fI\-\-filesystems\fR). Notice that some items fall into several categories (eg. \fI/dev/sda1\fR might be both a partition and a filesystem). These items are listed several times. To get a list which includes absolutely everything that virt-filesystems knows about, use the \fI\-\-all\fR option. +You can use these options in combination as well (if you want a combination including filesystems, you have to add \fI\-\-filesystems\fR). Notice that some items fall into several categories (eg. \fI/dev/sda1\fR might be both a partition and a filesystem). These items are listed several times. To get a list which includes absolutely everything that virt\-filesystems knows about, use the \fI\-\-all\fR option. .PP UUIDs (because they are quite long) are not shown by default. Add the \fI\-\-uuid\fR option to display device and filesystem UUIDs in the long output. .PP @@ -195,7 +198,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します ゲストのブロックデバイスを直接指定していると((\fI\-a\fR))、libvirt は何も使用されません。 .IP \fB\-\-csv\fR 4 .IX Item "--csv" -Write out the results in CSV format (comma-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. +Write out the results in CSV format (comma\-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. .IP "\fB\-d\fR guest" 4 .IX Item "-d guest" .PD 0 @@ -205,7 +208,7 @@ Write out the results in CSV format (comma-separated values). This format can b 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -キーやパスフレーズを入力するとき、通常 virt-filesystems はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 +キーやパスフレーズを入力するとき、通常 virt\-filesystems はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 .IP \fB\-\-extra\fR 4 .IX Item "--extra" This causes filesystems that are not ordinary, mountable filesystems to be displayed. This category includes swapspace, and filesystems that are empty or contain unknown data. @@ -230,13 +233,13 @@ This causes filesystems that are not ordinary, mountable filesystems to be displ \& virt\-filesystems \-\-format=raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-filesystems \-\-format=raw \-a disk.img \-\-format \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP \fB\-h\fR 4 @@ -265,7 +268,7 @@ A title row is added unless you also specify \fI\-\-no\-title\fR. .Sp The extra columns displayed depend on what output you select, and the ordering of columns may change in future versions. Use the title row, \fI\-\-csv\fR output and/or \fBcsvtool\fR\|(1) to match columns to data in external programs. .Sp -Use \fI\-h\fR if you want sizes to be displayed in human-readable format. The default is to show raw numbers of \fIbytes\fR. +Use \fI\-h\fR if you want sizes to be displayed in human\-readable format. The default is to show raw numbers of \fIbytes\fR. .Sp UUID も表示するには \fI\-\-uuid\fR を使用します。 .IP \fB\-\-lvs\fR 4 @@ -281,7 +284,7 @@ LVM 論理ボリュームを表示します。 このモードでは、論理 .IX Item "--no-title" In \fI\-\-long\fR mode, don’t add a title row. .Sp -Note that the order of the columns is not fixed, and may change in future versions of virt-filesystems, so using this option may give you unexpected surprises. +Note that the order of the columns is not fixed, and may change in future versions of virt\-filesystems, so using this option may give you unexpected surprises. .IP \fB\-\-parts\fR 4 .IX Item "--parts" .PD 0 @@ -372,7 +375,7 @@ If the object has a UUID (used for identifying and mounting filesystems and bloc \&\fI\-\-uuid\fR オプションが指定されると、 UUID のみが表示されます。 .SH "CSV 形式に関する注意" .IX Header "CSV 形式に関する注意" -Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. +Comma\-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. .PP 神話: ただコンマで項目を区切る。 真実: これは正しく動き \fIません\fR。この例は 2 つの列があります: .PP @@ -389,7 +392,7 @@ Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it shou .PP For shell scripts, use \f(CW\*(C`csvtool\*(C'\fR (https://github.com/Chris00/ocaml\-csv also packaged in major Linux distributions). .PP -For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built-in csv library). +For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built\-in csv library). .PP Most spreadsheets and databases can import CSV directly. .SH 終了ステータス diff --git a/po-docs/ja/virt-format.1 b/po-docs/ja/virt-format.1 index 52c129e..5bc76ea 100644 --- a/po-docs/ja/virt-format.1 +++ b/po-docs/ja/virt-format.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-format 1" -.TH virt-format 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-format 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-format \- ディスクの消去および空のディスクの作成 +virt\-format \- ディスクの消去および空のディスクの作成 .SH 書式 .IX Header "書式" .Vb 1 @@ -70,7 +73,7 @@ virt-format \- ディスクの消去および空のディスクの作成 .Ve .SH 説明 .IX Header "説明" -Virt-format takes an existing disk file (or it can be a host partition, LV etc), \fBerases all data on it\fR, and formats it as a blank disk. It can optionally create partition tables, empty filesystems, logical volumes and more. +Virt\-format takes an existing disk file (or it can be a host partition, LV etc), \fBerases all data on it\fR, and formats it as a blank disk. It can optionally create partition tables, empty filesystems, logical volumes and more. .PP To create a disk containing data, you may be better to use \fBvirt\-make\-fs\fR\|(1). If you are creating a blank disk to use in \fBguestfish\fR\|(1), you should instead use the guestfish \fI\-N\fR option. .PP @@ -98,7 +101,7 @@ Create a Linux LVM2 logical volume on the disk. When used with \fI\-\-filesyste .PP For more information about these and other options, see "OPTIONS" below. .PP -The format of the disk is normally auto-detected, but you can also force it by using the \fI\-\-format\fR option (q.v.). In situations where you do not trust the existing content of the disk, then it is advisable to use this option to avoid possible exploits. +The format of the disk is normally auto\-detected, but you can also force it by using the \fI\-\-format\fR option (q.v.). In situations where you do not trust the existing content of the disk, then it is advisable to use this option to avoid possible exploits. .SH オプション .IX Header "オプション" .IP \fB\-\-help\fR 4 @@ -155,13 +158,13 @@ Create an empty filesystem of the specified type. Many filesystem types are sup \& virt\-format \-\-format=raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-format \-\-format=raw \-a disk.img \-\-format \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP \fB\-\-label=\fRLABEL 4 @@ -206,9 +209,9 @@ MBR パーティションを作成します。 バージョン番号を表示して、終了します。 .IP \fB\-\-wipe\fR 4 .IX Item "--wipe" -Normally virt-format does not wipe data from the disk (because that takes a long time). Thus if there is data on the disk, it is only hidden and partially overwritten by virt-format, and it might be recovered by disk editing tools. +Normally virt\-format does not wipe data from the disk (because that takes a long time). Thus if there is data on the disk, it is only hidden and partially overwritten by virt\-format, and it might be recovered by disk editing tools. .Sp -If you use this option, virt-format writes zeroes over the whole disk so that previous data is not recoverable. +If you use this option, virt\-format writes zeroes over the whole disk so that previous data is not recoverable. .IP \fB\-x\fR 4 .IX Item "-x" libguestfs API 呼び出しのトレースを有効にします。 diff --git a/po-docs/ja/virt-get-kernel.1 b/po-docs/ja/virt-get-kernel.1 index bf7299a..b52bad4 100644 --- a/po-docs/ja/virt-get-kernel.1 +++ b/po-docs/ja/virt-get-kernel.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-get-kernel 1" -.TH virt-get-kernel 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-get-kernel 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-get-kernel \- Extract kernel and ramdisk from guests +virt\-get\-kernel \- Extract kernel and ramdisk from guests .SH 書式 .IX Header "書式" .Vb 1 @@ -130,14 +133,14 @@ libvirt を使用していると、指定された \fIURI\fR に接続します 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -When prompting for keys and passphrases, virt-get-kernel normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. +When prompting for keys and passphrases, virt\-get\-kernel normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. .IP "\fB\-\-format\fR raw|qcow2|.." 4 .IX Item "--format raw|qcow2|.." .PD 0 .IP "\fB\-\-format\fR auto" 4 .IX Item "--format auto" .PD -The default for the \fI\-a\fR option is to auto-detect the format of the disk image. Using this forces the disk format for the \fI\-a\fR option on the command line. +The default for the \fI\-a\fR option is to auto\-detect the format of the disk image. Using this forces the disk format for the \fI\-a\fR option on the command line. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-\-key\fR SELECTOR" 4 @@ -175,9 +178,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -250,9 +253,9 @@ Wrap error, warning, and informative messages. This is the default when the out libguestfs API 呼び出しのトレースを有効にします。 .SH マシン可読な出力 .IX Header "マシン可読な出力" -The \fI\-\-machine\-readable\fR option can be used to make the output more machine friendly, which is useful when calling virt-get-kernel from other programs, GUIs etc. +The \fI\-\-machine\-readable\fR option can be used to make the output more machine friendly, which is useful when calling virt\-get\-kernel from other programs, GUIs etc. .PP -Use the option on its own to query the capabilities of the virt-get-kernel binary. Typical output looks like this: +Use the option on its own to query the capabilities of the virt\-get\-kernel binary. Typical output looks like this: .PP .Vb 2 \& $ virt\-get\-kernel \-\-machine\-readable diff --git a/po-docs/ja/virt-index-validate.1 b/po-docs/ja/virt-index-validate.1 index c4582f6..fff0aeb 100644 --- a/po-docs/ja/virt-index-validate.1 +++ b/po-docs/ja/virt-index-validate.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-index-validate 1" -.TH virt-index-validate 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-index-validate 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-index-validate \- Validate virt-builder index file +virt\-index\-validate \- Validate virt\-builder index file .SH 書式 .IX Header "書式" .Vb 1 @@ -70,19 +73,19 @@ virt-index-validate \- Validate virt-builder index file .Ve .SH 説明 .IX Header "説明" -\&\fBvirt\-builder\fR\|(1) uses an index file to store metadata about templates that it knows how to use. This index file has a specific format which virt-index-validate knows how to validate. +\&\fBvirt\-builder\fR\|(1) uses an index file to store metadata about templates that it knows how to use. This index file has a specific format which virt\-index\-validate knows how to validate. .PP -Note that virt-index-validate can validate either the signed or unsigned index file (ie. either \fIindex\fR or \fIindex.asc\fR). It can only validate a local file, not a URL. +Note that virt\-index\-validate can validate either the signed or unsigned index file (ie. either \fIindex\fR or \fIindex.asc\fR). It can only validate a local file, not a URL. .SH オプション .IX Header "オプション" .IP \fB\-\-compat\-1.24.0\fR 4 .IX Item "--compat-1.24.0" -Check for compatibility with virt-builder 1.24.0. (Using this option implies \fI\-\-compat\-1.24.1\fR, so you don't need to use both.) +Check for compatibility with virt\-builder 1.24.0. (Using this option implies \fI\-\-compat\-1.24.1\fR, so you don\*(Aqt need to use both.) .Sp In particular: .RS 4 .IP \(bu 4 -This version of virt-builder could not handle \f(CW\*(C`[...]\*(C'\fR (square brackets) in field names (eg. \f(CW\*(C`checksum[sha512]=...\*(C'\fR). +This version of virt\-builder could not handle \f(CW\*(C`[...]\*(C'\fR (square brackets) in field names (eg. \f(CW\*(C`checksum[sha512]=...\*(C'\fR). .IP \(bu 4 It required detached signatures (\f(CW\*(C`sig=...\*(C'\fR). .RE @@ -90,12 +93,12 @@ It required detached signatures (\f(CW\*(C`sig=...\*(C'\fR). .RE .IP \fB\-\-compat\-1.24.1\fR 4 .IX Item "--compat-1.24.1" -Check for compatibility with virt-builder ≥ 1.24.1. +Check for compatibility with virt\-builder ≥ 1.24.1. .Sp In particular: .RS 4 .IP \(bu 4 -This version of virt-builder could not handle \f(CW\*(C`.\*(C'\fR (period) in field names or \f(CW\*(C`,\*(C'\fR (comma) in subfield names. +This version of virt\-builder could not handle \f(CW\*(C`.\*(C'\fR (period) in field names or \f(CW\*(C`,\*(C'\fR (comma) in subfield names. .IP \(bu 4 It could not handle comments appearing in the file. .RE @@ -113,7 +116,7 @@ It could not handle comments appearing in the file. バージョン番号を表示して、終了します。 .SH 終了ステータス .IX Header "終了ステータス" -This program returns 0 if the index file validates, or non-zero if there was an error. +This program returns 0 if the index file validates, or non\-zero if there was an error. .SH 関連項目 .IX Header "関連項目" \&\fBvirt\-builder\fR\|(1), http://libguestfs.org/. diff --git a/po-docs/ja/virt-inspector.1 b/po-docs/ja/virt-inspector.1 index e70d70a..a6ef7f8 100644 --- a/po-docs/ja/virt-inspector.1 +++ b/po-docs/ja/virt-inspector.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-inspector 1" -.TH virt-inspector 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-inspector 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-inspector \- Display operating system version and other information about a virtual machine +virt\-inspector \- Display operating system version and other information about a virtual machine .SH 書式 .IX Header "書式" .Vb 1 @@ -80,21 +83,21 @@ virt-inspector \- Display operating system version and other information about a .Ve .SH 説明 .IX Header "説明" -\&\fBvirt-inspector\fR examines a virtual machine or disk image and tries to determine the version of the operating system and other information about the virtual machine. +\&\fBvirt\-inspector\fR examines a virtual machine or disk image and tries to determine the version of the operating system and other information about the virtual machine. .PP -Virt-inspector は他のプログラムに提供するための情報をXML形式出力で生成します。 +Virt\-inspector は他のプログラムに提供するための情報をXML形式出力で生成します。 .PP In the normal usage, use \f(CW\*(C`virt\-inspector \-d domname\*(C'\fR where \f(CW\*(C`domname\*(C'\fR is the libvirt domain (see: \f(CW\*(C`virsh list \-\-all\*(C'\fR). .PP -You can also run virt-inspector directly on disk images from a single virtual machine. Use \f(CW\*(C`virt\-inspector \-a disk.img\*(C'\fR. In rare cases a domain has several block devices, in which case you should list several \fI\-a\fR options one after another, with the first corresponding to the guest’s \fI/dev/sda\fR, the second to the guest’s \fI/dev/sdb\fR and so on. +You can also run virt\-inspector directly on disk images from a single virtual machine. Use \f(CW\*(C`virt\-inspector \-a disk.img\*(C'\fR. In rare cases a domain has several block devices, in which case you should list several \fI\-a\fR options one after another, with the first corresponding to the guest’s \fI/dev/sda\fR, the second to the guest’s \fI/dev/sdb\fR and so on. .PP -You can also run virt-inspector on install disks, live CDs, bootable USB keys and similar. +You can also run virt\-inspector on install disks, live CDs, bootable USB keys and similar. .PP -Virt-inspector can only inspect and report upon \fIone domain at a time\fR. To inspect several virtual machines, you have to run virt-inspector several times (for example, from a shell script for-loop). +Virt\-inspector can only inspect and report upon \fIone domain at a time\fR. To inspect several virtual machines, you have to run virt\-inspector several times (for example, from a shell script for\-loop). .PP -Because virt-inspector needs direct access to guest images, it won’t normally work over remote libvirt connections. +Because virt\-inspector needs direct access to guest images, it won’t normally work over remote libvirt connections. .PP -All of the information available from virt-inspector is also available through the core libguestfs inspection API (see "INSPECTION" in \fBguestfs\fR\|(3)). The same information can also be fetched using guestfish or via libguestfs bindings in many programming languages (see "GETTING INSPECTION DATA FROM THE LIBGUESTFS API"). +All of the information available from virt\-inspector is also available through the core libguestfs inspection API (see "INSPECTION" in \fBguestfs\fR\|(3)). The same information can also be fetched using guestfish or via libguestfs bindings in many programming languages (see "GETTING INSPECTION DATA FROM THE LIBGUESTFS API"). .PP Additional information about bootloader, kernel and drivers inside a guest can be found using \fBvirt\-drivers\fR\|(1). .SH オプション @@ -149,7 +152,7 @@ Libvirt is only used if you specify a \f(CW\*(C`domname\*(C'\fR on the command l 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -キーやパスフレーズを入力するとき、通常 virt-inspector はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 +キーやパスフレーズを入力するとき、通常 virt\-inspector はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 .IP \fB\-\-format=raw|qcow2|..\fR 4 .IX Item "--format=raw|qcow2|.." .PD 0 @@ -160,7 +163,7 @@ Specify the format of disk images given on the command line. If this is omitted .Sp If disk images are requested from libvirt, then this program asks libvirt for this information. In this case, the value of the format parameter is ignored. .Sp -If working with untrusted raw-format guest disk images, you should ensure the format is always specified. +If working with untrusted raw\-format guest disk images, you should ensure the format is always specified. .IP "\fB\-\-key\fR SELECTOR" 4 .IX Item "--key SELECTOR" Specify a key for LUKS, to automatically open a LUKS device when using @@ -196,9 +199,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -214,12 +217,12 @@ If there are multiple encrypted devices then you may need to supply multiple keys on stdin, one per line. .IP \fB\-\-no\-applications\fR 4 .IX Item "--no-applications" -By default the output of virt-inspector includes the list of all the applications installed in the guest, if available. +By default the output of virt\-inspector includes the list of all the applications installed in the guest, if available. .Sp Specify this option to disable this part of the resulting XML. .IP \fB\-\-no\-icon\fR 4 .IX Item "--no-icon" -By default the output of virt-inspector includes the icon of the guest, if available (see "icon"). +By default the output of virt\-inspector includes the icon of the guest, if available (see "icon"). .Sp Specify this option to disable this part of the resulting XML. .IP \fB\-v\fR 4 @@ -241,10 +244,10 @@ Specify this option to disable this part of the resulting XML. libguestfs API 呼び出しのトレースを有効にします。 .IP "\fB\-\-xpath\fR query" 4 .IX Item "--xpath query" -Perform an XPath query on the XML on stdin, and print the result on stdout. In this mode virt-inspector simply runs an XPath query; all other inspection functions are disabled. See "XPATH QUERIES" below for some examples. +Perform an XPath query on the XML on stdin, and print the result on stdout. In this mode virt\-inspector simply runs an XPath query; all other inspection functions are disabled. See "XPATH QUERIES" below for some examples. .SH 旧形式のコマンドライン引数 .IX Header "旧形式のコマンドライン引数" -Previous versions of virt-inspector allowed you to write either: +Previous versions of virt\-inspector allowed you to write either: .PP .Vb 1 \& virt\-inspector disk.img [disk.img ...] @@ -261,9 +264,9 @@ whereas in this version you should use \fI\-a\fR or \fI\-d\fR respectively to av 互換性のため古い形式がまだサポートされています。 .SH "XML フォーマット" .IX Header "XML フォーマット" -The virt-inspector XML is described precisely in a RELAX NG schema file \fIvirt\-inspector.rng\fR which is supplied with libguestfs. This section is just an overview. +The virt\-inspector XML is described precisely in a RELAX NG schema file \fIvirt\-inspector.rng\fR which is supplied with libguestfs. This section is just an overview. .PP -The top-level element is , and it contains one or more elements. You would only see more than one element if the virtual machine is multi-boot, which is vanishingly rare in real world VMs. +The top\-level element is , and it contains one or more elements. You would only see more than one element if the virtual machine is multi\-boot, which is vanishingly rare in real world VMs. .SS .IX Subsection "" In the tag are various optional fields that describe the operating system, its architecture, the descriptive "product name" string, the type of OS and so on, as in this example: @@ -282,7 +285,7 @@ In the tag are various optional fields that describe the opera \& /Windows .Ve .PP -In brief, is the class of operating system (something like \f(CW\*(C`linux\*(C'\fR or \f(CW\*(C`windows\*(C'\fR), is the distribution (eg. \f(CW\*(C`fedora\*(C'\fR but many other distros are recognized) and is the guest architecture. The other fields are fairly self-explanatory, but because these fields are taken directly from the libguestfs inspection API you can find precise information from "INSPECTION" in \fBguestfs\fR\|(3). +In brief, is the class of operating system (something like \f(CW\*(C`linux\*(C'\fR or \f(CW\*(C`windows\*(C'\fR), is the distribution (eg. \f(CW\*(C`fedora\*(C'\fR but many other distros are recognized) and is the guest architecture. The other fields are fairly self\-explanatory, but because these fields are taken directly from the libguestfs inspection API you can find precise information from "INSPECTION" in \fBguestfs\fR\|(3). .PP The element is the root filesystem device, but from the point of view of libguestfs (block devices may have completely different names inside the VM itself). .SS @@ -302,7 +305,7 @@ Un*x\-like guests typically have multiple filesystems which are mounted at vario As with , devices are from the point of view of libguestfs, and may have completely different names inside the guest. Only mountable filesystems appear in this list, not things like swap devices. .SS .IX Subsection "" - is like but covers \fIall\fR filesystems belonging to the guest, including swap and empty partitions. (In the rare case of a multi-boot guest, it covers filesystems belonging to this OS or shared with this OS and other OSes). + is like but covers \fIall\fR filesystems belonging to the guest, including swap and empty partitions. (In the rare case of a multi\-boot guest, it covers filesystems belonging to this OS or shared with this OS and other OSes). .PP 次のように表示されることがあります: .PP @@ -344,7 +347,7 @@ The optional elements within are the filesystem type, the label, an The version and release fields may not be available for some types guests. Other fields are possible, see "guestfs_inspect_list_applications" in \fBguestfs\fR\|(3). .SS .IX Subsection "" -For operating systems like Windows which use drive letters, virt-inspector is able to find out how drive letters map to filesystems. +For operating systems like Windows which use drive letters, virt\-inspector is able to find out how drive letters map to filesystems. .PP .Vb 7 \& @@ -361,7 +364,7 @@ In the example above, drive C maps to the filesystem on the second partition on Note that this only covers permanent local filesystem mappings, not things like network shares. Furthermore NTFS volume mount points may not be listed here. .SS .IX Subsection "" -Virt-inspector is sometimes able to extract an icon or logo for the guest. The icon is returned as base64\-encoded PNG data. Note that the icon can be very large and high quality. +Virt\-inspector is sometimes able to extract an icon or logo for the guest. The icon is returned as base64\-encoded PNG data. Note that the icon can be very large and high quality. .PP .Vb 7 \& @@ -380,9 +383,9 @@ To display the icon, you have to extract it and convert the base64 data back to .Ve .SH "XPath クエリー" .IX Header "XPath クエリー" -Virt-inspector includes built in support for running XPath queries. The reason for including XPath support directly in virt-inspector is simply that there are no good and widely available command line programs that can do XPath queries. The only good one is \fBxmlstarlet\fR\|(1) and that is not available on Red Hat Enterprise Linux. +Virt\-inspector includes built in support for running XPath queries. The reason for including XPath support directly in virt\-inspector is simply that there are no good and widely available command line programs that can do XPath queries. The only good one is \fBxmlstarlet\fR\|(1) and that is not available on Red Hat Enterprise Linux. .PP -To perform an XPath query, use the \fI\-\-xpath\fR option. Note that in this mode, virt-inspector simply reads XML from stdin and outputs the query result on stdout. All other inspection features are disabled in this mode. +To perform an XPath query, use the \fI\-\-xpath\fR option. Note that in this mode, virt\-inspector simply reads XML from stdin and outputs the query result on stdout. All other inspection features are disabled in this mode. .PP 例: .PP @@ -403,9 +406,9 @@ To perform an XPath query, use the \fI\-\-xpath\fR option. Note that in this mo .Ve .SH "GETTING INSPECTION DATA FROM THE LIBGUESTFS API" .IX Header "GETTING INSPECTION DATA FROM THE LIBGUESTFS API" -In early versions of libguestfs, virt-inspector was a large Perl script that contained many heuristics for inspecting guests. This had several problems: in order to do inspection from other tools (like guestfish) we had to call out to this Perl script; and it privileged Perl over other languages that libguestfs supports. +In early versions of libguestfs, virt\-inspector was a large Perl script that contained many heuristics for inspecting guests. This had several problems: in order to do inspection from other tools (like guestfish) we had to call out to this Perl script; and it privileged Perl over other languages that libguestfs supports. .PP -By libguestfs 1.8 we had rewritten the Perl code in C, and incorporated it all into the core libguestfs API (\fBguestfs\fR\|(3)). Now virt-inspector is simply a thin C program over the core C API. All of the inspection information is available from all programming languages that libguestfs supports, and from guestfish. +By libguestfs 1.8 we had rewritten the Perl code in C, and incorporated it all into the core libguestfs API (\fBguestfs\fR\|(3)). Now virt\-inspector is simply a thin C program over the core C API. All of the inspection information is available from all programming languages that libguestfs supports, and from guestfish. .PP For a description of the C inspection API, read "INSPECTION" in \fBguestfs\fR\|(3). .PP @@ -438,7 +441,7 @@ If you use the guestfish \fI\-i\fR option, then the main C inspection API "guest \& Fedora release 15 (Lovelock) .Ve .PP -Limitations of guestfish make it hard to assign the root device to a variable (since guestfish doesn't have variables), so if you want to do this reproducibly you are better off writing a script using one of the other languages that the libguestfs API supports. +Limitations of guestfish make it hard to assign the root device to a variable (since guestfish doesn\*(Aqt have variables), so if you want to do this reproducibly you are better off writing a script using one of the other languages that the libguestfs API supports. .PP アプリケーションを一覧表示するには、まずディスクをマウントする必要があります: .PP @@ -450,7 +453,7 @@ Limitations of guestfish make it hard to assign the root device to a variable (s \& > mount\-ro /dev/vda1 /boot .Ve .PP -and then call the inspect-list-applications API: +and then call the inspect\-list\-applications API: .PP .Vb 10 \& > inspect\-list\-applications /dev/vg_f15x32/lv_root | head \-28 @@ -489,13 +492,13 @@ To display an icon for the guest, note that filesystems must also be mounted as .Vb 1 \& > inspect\-get\-icon /dev/vg_f15x32/lv_root | display \- .Ve -.SH "古いバージョンの virt-inspector" +.SH "古いバージョンの virt\-inspector" .IX Header "古いバージョンの virt-inspector" -As described above, early versions of libguestfs shipped with a different virt-inspector program written in Perl (the current version is written in C). The XML output of the Perl virt-inspector was different and it could also output in other formats like text. +As described above, early versions of libguestfs shipped with a different virt\-inspector program written in Perl (the current version is written in C). The XML output of the Perl virt\-inspector was different and it could also output in other formats like text. .PP -古い virt-inspector はもはや libguestfs でサポートされず、同梱されていません。 +古い virt\-inspector はもはや libguestfs でサポートされず、同梱されていません。 .PP -さらに混乱することに、Red Hat Enterprise Linux 6 では異なる名前で 2 つのバージョンの virt-inspector が同梱されています: +さらに混乱することに、Red Hat Enterprise Linux 6 では異なる名前で 2 つのバージョンの virt\-inspector が同梱されています: .PP .Vb 2 \& virt\-inspector 古い Perl バージョンです。 diff --git a/po-docs/ja/virt-log.1 b/po-docs/ja/virt-log.1 index 4cb74ef..b6d4195 100644 --- a/po-docs/ja/virt-log.1 +++ b/po-docs/ja/virt-log.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-log 1" -.TH virt-log 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-log 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-log \- Display log files from a virtual machine +virt\-log \- Display log files from a virtual machine .SH 書式 .IX Header "書式" .Vb 1 @@ -142,7 +145,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -When prompting for keys and passphrases, virt-log normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. +When prompting for keys and passphrases, virt\-log normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. .IP \fB\-\-format=raw|qcow2|..\fR 4 .IX Item "--format=raw|qcow2|.." .PD 0 @@ -157,13 +160,13 @@ When prompting for keys and passphrases, virt-log normally turns echoing off so \& virt\-log \-\-format=raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-log \-\-format=raw \-a disk.img \-\-format \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-\-key\fR SELECTOR" 4 @@ -201,9 +204,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. diff --git a/po-docs/ja/virt-ls.1 b/po-docs/ja/virt-ls.1 index 788bdd3..36c3bc7 100644 --- a/po-docs/ja/virt-ls.1 +++ b/po-docs/ja/virt-ls.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-ls 1" -.TH virt-ls 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-ls 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-ls \- 仮想マシンのファイルの一覧表示 +virt\-ls \- 仮想マシンのファイルの一覧表示 .SH 書式 .IX Header "書式" .Vb 1 @@ -138,7 +141,7 @@ List all regular files with filenames ending in ‘.png’: .Ve .SS "DIFFERENCES IN SNAPSHOTS AND BACKING FILES" .IX Subsection "DIFFERENCES IN SNAPSHOTS AND BACKING FILES" -Although it is possible to use virt-ls to look for differences, since libguestfs ≥ 1.26 a new tool is available called \fBvirt\-diff\fR\|(1). +Although it is possible to use virt\-ls to look for differences, since libguestfs ≥ 1.26 a new tool is available called \fBvirt\-diff\fR\|(1). .SH 出力モード .IX Header "出力モード" \&\f(CW\*(C`virt\-ls\*(C'\fR は 4 つの出力モードがあります。\fI\-l\fR および \fI\-R\fR オプションの異なる組み合わせにより制御されます。 @@ -183,7 +186,7 @@ Using \fI\-lR\fR options together changes the output to display directories recu .PP Most of the interesting features of \f(CW\*(C`virt\-ls\*(C'\fR are only available when using \fI\-lR\fR mode. .PP -The fields are normally space-separated. Filenames are \fBnot\fR quoted, so you cannot use the output in another program (because filenames can contain spaces and other unsafe characters). If the guest was untrusted and someone knew you were using \f(CW\*(C`virt\-ls\*(C'\fR to analyze the guest, they could play tricks on you by creating filenames with embedded newline characters. To \fBsafely\fR parse the output in another program, use the \fI\-\-csv\fR (Comma-Separated Values) option. +The fields are normally space\-separated. Filenames are \fBnot\fR quoted, so you cannot use the output in another program (because filenames can contain spaces and other unsafe characters). If the guest was untrusted and someone knew you were using \f(CW\*(C`virt\-ls\*(C'\fR to analyze the guest, they could play tricks on you by creating filenames with embedded newline characters. To \fBsafely\fR parse the output in another program, use the \fI\-\-csv\fR (Comma\-Separated Values) option. .PP Note that this output format is completely unrelated to the \f(CW\*(C`ls \-lR\*(C'\fR command. .PP @@ -311,7 +314,7 @@ libvirt を使用していると、指定された \fIURI\fR に接続します ゲストのブロックデバイスを直接指定していると((\fI\-a\fR))、libvirt は何も使用されません。 .IP \fB\-\-csv\fR 4 .IX Item "--csv" -Write out the results in CSV format (comma-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. +Write out the results in CSV format (comma\-separated values). This format can be imported easily into databases and spreadsheets, but read "NOTE ABOUT CSV FORMAT" below. .IP "\fB\-d\fR guest" 4 .IX Item "-d guest" .PD 0 @@ -321,7 +324,7 @@ Write out the results in CSV format (comma-separated values). This format can b 名前付きの libvirt 仮想マシンからすべてのディスクを追加します。 名前の代わりに仮想マシンの UUID を使用できます。 .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -キーやパスフレーズを入力するとき、通常 virt-ls はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 +キーやパスフレーズを入力するとき、通常 virt\-ls はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。 .IP \fB\-\-extra\-stats\fR 4 .IX Item "--extra-stats" Display extra stats. @@ -341,13 +344,13 @@ Display extra stats. \& virt\-ls \-\-format=raw \-a disk.img /dir .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-ls \-\-format=raw \-a disk.img \-\-format \-a another.img /dir .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP \fB\-h\fR 4 @@ -394,9 +397,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -422,7 +425,7 @@ If the mountpoint is omitted, it defaults to \fI/\fR. .Sp Specifying any mountpoint disables the inspection of the guest and the mount of its root and all of its mountpoints, so make sure to mount all the mountpoints needed to work with the filenames given as arguments. .Sp -If you don’t know what filesystems a disk image contains, you can either run guestfish without this option, then list the partitions, filesystems and LVs available (see "list-partitions", "list-filesystems" and "lvs" commands), or you can use the \fBvirt\-filesystems\fR\|(1) program. +If you don’t know what filesystems a disk image contains, you can either run guestfish without this option, then list the partitions, filesystems and LVs available (see "list\-partitions", "list\-filesystems" and "lvs" commands), or you can use the \fBvirt\-filesystems\fR\|(1) program. .Sp マウントパラメーターの三番目の (ほとんど使用されない) 項目は、 バックエンドのファイルシステムをマウントするために使用される マウントオプションの一覧です。 これが指定されていない場合、 マウントオプションは空文字列または \f(CW\*(C`ro\*(C'\fR (\fI\-\-ro\fR フラグが使用されている場合) になります。 .Sp @@ -496,7 +499,7 @@ UID と GID の項目を表示します。 libguestfs API 呼び出しのトレースを有効にします。 .SH 旧形式のコマンドライン引数 .IX Header "旧形式のコマンドライン引数" -前のバージョンの virt-ls により、次のどちらも書くことができます: +前のバージョンの virt\-ls により、次のどちらも書くことができます: .PP .Vb 1 \& virt\-ls disk.img [disk.img ...] /dir @@ -513,7 +516,7 @@ whereas in this version you should use \fI\-a\fR or \fI\-d\fR respectively to av 互換性のため古い形式がまだサポートされています。 .SH "CSV 形式に関する注意" .IX Header "CSV 形式に関する注意" -Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. +Comma\-separated values (CSV) is a deceptive format. It \fIseems\fR like it should be easy to parse, but it is definitely not easy to parse. .PP 神話: ただコンマで項目を区切る。 真実: これは正しく動き \fIません\fR。この例は 2 つの列があります: .PP @@ -530,7 +533,7 @@ Comma-separated values (CSV) is a deceptive format. It \fIseems\fR like it shou .PP For shell scripts, use \f(CW\*(C`csvtool\*(C'\fR (https://github.com/Chris00/ocaml\-csv also packaged in major Linux distributions). .PP -For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built-in csv library). +For other languages, use a CSV processing library (eg. \f(CW\*(C`Text::CSV\*(C'\fR for Perl or Python’s built\-in csv library). .PP Most spreadsheets and databases can import CSV directly. .SH 終了ステータス diff --git a/po-docs/ja/virt-make-fs.1 b/po-docs/ja/virt-make-fs.1 index 25b7188..1cd6404 100644 --- a/po-docs/ja/virt-make-fs.1 +++ b/po-docs/ja/virt-make-fs.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-make-fs 1" -.TH virt-make-fs 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-make-fs 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-make-fs \- tar アーカイブまたはファイルからファイルシステムの作成 +virt\-make\-fs \- tar アーカイブまたはファイルからファイルシステムの作成 .SH 書式 .IX Header "書式" .Vb 1 @@ -74,7 +77,7 @@ virt-make-fs \- tar アーカイブまたはファイルからファイルシス .Ve .SH 説明 .IX Header "説明" -Virt-make-fs is a command line tool for creating a filesystem from a tar archive or some files in a directory. It is similar to tools like \fBmkisofs\fR\|(1), \fBgenisoimage\fR\|(1) and \fBmksquashfs\fR\|(1). Unlike those tools, it can create common filesystem types like ext2/3 or NTFS, which can be useful if you want to attach these filesystems to existing virtual machines (eg. to import large amounts of read-only data to a VM). +Virt\-make\-fs is a command line tool for creating a filesystem from a tar archive or some files in a directory. It is similar to tools like \fBmkisofs\fR\|(1), \fBgenisoimage\fR\|(1) and \fBmksquashfs\fR\|(1). Unlike those tools, it can create common filesystem types like ext2/3 or NTFS, which can be useful if you want to attach these filesystems to existing virtual machines (eg. to import large amounts of read\-only data to a VM). .PP To create blank disks, use \fBvirt\-format\fR\|(1). To create complex layouts, use \fBguestfish\fR\|(1). .PP @@ -84,10 +87,10 @@ To create blank disks, use \fBvirt\-format\fR\|(1). To create complex layouts, \& virt\-make\-fs input output.img .Ve .PP -where \f(CW\*(C`input\*(C'\fR is either a directory containing files that you want to add, or a tar archive (either uncompressed tar or gzip-compressed tar); and \fIoutput.img\fR is a disk image. The input type is detected automatically. The output disk image defaults to a raw ext2 sparse image unless you specify extra flags (see "OPTIONS" below). +where \f(CW\*(C`input\*(C'\fR is either a directory containing files that you want to add, or a tar archive (either uncompressed tar or gzip\-compressed tar); and \fIoutput.img\fR is a disk image. The input type is detected automatically. The output disk image defaults to a raw ext2 sparse image unless you specify extra flags (see "OPTIONS" below). .SS ファイルシステム形式 .IX Subsection "ファイルシステム形式" -The default filesystem type is \f(CW\*(C`ext2\*(C'\fR. Just about any filesystem type that libguestfs supports can be used (but \fInot\fR read-only formats like ISO9660). Here are some of the more common choices: +The default filesystem type is \f(CW\*(C`ext2\*(C'\fR. Just about any filesystem type that libguestfs supports can be used (but \fInot\fR read\-only formats like ISO9660). Here are some of the more common choices: .IP \fIext3\fR 4 .IX Item "ext3" Note that ext3 filesystems contain a journal, typically 1\-32 MB in size. If you are not going to use the filesystem in a way that requires the journal, then this is just wasted overhead. @@ -106,9 +109,9 @@ Lower overhead than \f(CW\*(C`ext2\*(C'\fR, but certain limitations on filename .Ve .SS "TO PARTITION OR NOT TO PARTITION" .IX Subsection "TO PARTITION OR NOT TO PARTITION" -Optionally virt-make-fs can add a partition table to the output disk. +Optionally virt\-make\-fs can add a partition table to the output disk. .PP -Adding a partition can make the disk image more compatible with certain virtualized operating systems which don't expect to see a filesystem directly located on a block device (Linux doesn't care and will happily handle both types). +Adding a partition can make the disk image more compatible with certain virtualized operating systems which don\*(Aqt expect to see a filesystem directly located on a block device (Linux doesn\*(Aqt care and will happily handle both types). .PP On the other hand, if you have a partition table then the output image is no longer a straight filesystem. For example you cannot run \fBfsck\fR\|(8) directly on a partitioned disk image. (However libguestfs tools such as \fBguestfish\fR\|(1) and \fBvirt\-resize\fR\|(1) can still be used). .PP @@ -121,18 +124,18 @@ MBR パーティションを追加します: \& virt\-make\-fs \-\-partition \-\- input disk.img .Ve .PP -If the output disk image could be terabyte-sized or larger, it's better to use an EFI/GPT\-compatible partition table: +If the output disk image could be terabyte\-sized or larger, it\*(Aqs better to use an EFI/GPT\-compatible partition table: .PP .Vb 1 \& virt\-make\-fs \-\-partition=gpt \-\-size=+4T \-\-format=qcow2 input disk.img .Ve .SS "EXTRA SPACE" .IX Subsection "EXTRA SPACE" -Unlike formats such as tar and squashfs, a filesystem does not "just fit" the files that it contains, but might have extra space. Depending on how you are going to use the output, you might think this extra space is wasted and want to minimize it, or you might want to leave space so that more files can be added later. Virt-make-fs defaults to minimizing the extra space, but you can use the \fI\-\-size\fR flag to leave space in the filesystem if you want it. +Unlike formats such as tar and squashfs, a filesystem does not "just fit" the files that it contains, but might have extra space. Depending on how you are going to use the output, you might think this extra space is wasted and want to minimize it, or you might want to leave space so that more files can be added later. Virt\-make\-fs defaults to minimizing the extra space, but you can use the \fI\-\-size\fR flag to leave space in the filesystem if you want it. .PP -An alternative way to leave extra space but not make the output image any bigger is to use an alternative disk image format (instead of the default "raw" format). Using \fI\-\-format=qcow2\fR will use the native qemu/KVM qcow2 image format (check your hypervisor supports this before using it). This allows you to choose a large \fI\-\-size\fR but the extra space won't actually be allocated in the image until you try to store something in it. +An alternative way to leave extra space but not make the output image any bigger is to use an alternative disk image format (instead of the default "raw" format). Using \fI\-\-format=qcow2\fR will use the native qemu/KVM qcow2 image format (check your hypervisor supports this before using it). This allows you to choose a large \fI\-\-size\fR but the extra space won\*(Aqt actually be allocated in the image until you try to store something in it. .PP -Don’t forget that you can also use local commands including \fBresize2fs\fR\|(8) and \fBvirt\-resize\fR\|(1) to resize existing filesystems, or rerun virt-make-fs to build another image from scratch. +Don’t forget that you can also use local commands including \fBresize2fs\fR\|(8) and \fBvirt\-resize\fR\|(1) to resize existing filesystems, or rerun virt\-make\-fs to build another image from scratch. .PP \fI例\fR .IX Subsection "例" @@ -179,7 +182,7 @@ To choose a fixed size output disk, specify an absolute number followed by b/K/M .Sp To leave extra space, specify \f(CW\*(C`+\*(C'\fR (plus sign) and a number followed by b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or Exabytes. For example: \fI\-\-size=+200M\fR means enough space for the input files, and (approximately) an extra 200 MB free space. .Sp -Note that virt-make-fs estimates free space, and therefore will not produce filesystems containing precisely the free space requested. (It is much more expensive and time-consuming to produce a filesystem which has precisely the desired free space). +Note that virt\-make\-fs estimates free space, and therefore will not produce filesystems containing precisely the free space requested. (It is much more expensive and time\-consuming to produce a filesystem which has precisely the desired free space). .IP \fB\-\-format=\fRFMT 4 .IX Item "--format=FMT" .PD 0 @@ -199,7 +202,7 @@ Note that virt-make-fs estimates free space, and therefore will not produce file .Sp デフォルトは \f(CW\*(C`ext2\*(C'\fR です。 .Sp -Any filesystem which is supported read-write by libguestfs can be used here. +Any filesystem which is supported read\-write by libguestfs can be used here. .IP \fB\-\-label=\fRLABEL 4 .IX Item "--label=LABEL" Set the filesystem label. @@ -213,7 +216,7 @@ Set the filesystem label. .Sp You can change the partition table type, eg. \fI\-\-partition=gpt\fR for large disks. .Sp -For MBR, virt-make-fs sets the partition type byte automatically. +For MBR, virt\-make\-fs sets the partition type byte automatically. .IP \fB\-v\fR 4 .IX Item "-v" .PD 0 diff --git a/po-docs/ja/virt-resize.1 b/po-docs/ja/virt-resize.1 index 2071d98..ffa5828 100644 --- a/po-docs/ja/virt-resize.1 +++ b/po-docs/ja/virt-resize.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-resize 1" -.TH virt-resize 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-resize 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-resize \- 仮想マシンのディスクの容量変更 +virt\-resize \- 仮想マシンのディスクの容量変更 .SH 書式 .IX Header "書式" .Vb 3 @@ -72,9 +75,9 @@ virt-resize \- 仮想マシンのディスクの容量変更 .Ve .SH 説明 .IX Header "説明" -Virt-resize is a tool which can resize a virtual machine disk, making it larger or smaller overall, and resizing or deleting any partitions contained within. +Virt\-resize is a tool which can resize a virtual machine disk, making it larger or smaller overall, and resizing or deleting any partitions contained within. .PP -Virt-resize \fBcannot\fR resize disk images in-place. Virt-resize \fBshould not\fR be used on live virtual machines \- for consistent results, shut the virtual machine down before resizing it. +Virt\-resize \fBcannot\fR resize disk images in\-place. Virt\-resize \fBshould not\fR be used on live virtual machines \- for consistent results, shut the virtual machine down before resizing it. .PP If you are not familiar with the associated tools: \fBvirt\-filesystems\fR\|(1) and \fBvirt\-df\fR\|(1), we recommend you go and read those manual pages first. .SH 例 @@ -145,7 +148,7 @@ Locate the input disk image (ie. the file or device on the host containing the g (This example is a virtual machine with an 8 GB disk which we would like to expand up to 10 GB). .IP "4. 出力ディスクを作成します" 4 .IX Item "4. 出力ディスクを作成します" -Virt-resize cannot do in-place disk modifications. You have to have space to store the resized output disk. +Virt\-resize cannot do in\-place disk modifications. You have to have space to store the resized output disk. .Sp To store the resized disk image in a file, create a file of a suitable size: .Sp @@ -160,7 +163,7 @@ To store the resized disk image in a file, create a file of a suitable size: \& # lvcreate \-L 10G \-n lv_name vg_name .Ve .Sp -Or use \fBvirsh\fR\|(1) vol-create-as to create a libvirt storage volume: +Or use \fBvirsh\fR\|(1) vol\-create\-as to create a libvirt storage volume: .Sp .Vb 2 \& # virsh pool\-list @@ -168,7 +171,7 @@ Or use \fBvirsh\fR\|(1) vol-create-as to create a libvirt storage volume: .Ve .IP "5. 容量を変更します" 4 .IX Item "5. 容量を変更します" -virt-resize takes two mandatory parameters, the input disk and the output disk (both can be e.g. a device, a file, or a URI to a remote disk). The output disk is the one created in the previous step. +virt\-resize takes two mandatory parameters, the input disk and the output disk (both can be e.g. a device, a file, or a URI to a remote disk). The output disk is the one created in the previous step. .Sp .Vb 1 \& # virt\-resize indisk outdisk @@ -176,7 +179,7 @@ virt-resize takes two mandatory parameters, the input disk and the output disk ( .Sp This command just copies disk image \f(CW\*(C`indisk\*(C'\fR to disk image \f(CW\*(C`outdisk\*(C'\fR \fIwithout\fR resizing or changing any existing partitions. If \f(CW\*(C`outdisk\*(C'\fR is larger, then an extra, empty partition is created at the end of the disk covering the extra space. If \f(CW\*(C`outdisk\*(C'\fR is smaller, then it will give an error. .Sp -More realistically you'd want to expand existing partitions in the disk image by passing extra options (for the full list see the "OPTIONS" section below). +More realistically you\*(Aqd want to expand existing partitions in the disk image by passing extra options (for the full list see the "OPTIONS" section below). .Sp "\-\-expand" is the most useful option. It expands the named partition within the disk to fill any extra space: .Sp @@ -193,7 +196,7 @@ More realistically you'd want to expand existing partitions in the disk image by \& indisk outdisk .Ve .Sp -If the expanded partition in the image contains a filesystem or LVM PV, then if virt-resize knows how, it will resize the contents, the equivalent of calling a command such as \fBpvresize\fR\|(8), \fBresize2fs\fR\|(8), \fBntfsresize\fR\|(8), \fBbtrfs\fR\|(8), \fBxfs_growfs\fR\|(8), or \fBresize.f2fs\fR\|(8). However virt-resize does not know how to resize some filesystems, so you would have to online resize them after booting the guest. +If the expanded partition in the image contains a filesystem or LVM PV, then if virt\-resize knows how, it will resize the contents, the equivalent of calling a command such as \fBpvresize\fR\|(8), \fBresize2fs\fR\|(8), \fBntfsresize\fR\|(8), \fBbtrfs\fR\|(8), \fBxfs_growfs\fR\|(8), or \fBresize.f2fs\fR\|(8). However virt\-resize does not know how to resize some filesystems, so you would have to online resize them after booting the guest. .Sp .Vb 1 \& # virt\-resize \-\-expand /dev/sda2 nbd://example.com outdisk @@ -225,24 +228,24 @@ and check that it still works. See also the "NOTES" section below for additiona .IX Item "7. Resize LVs etc inside the guest" (This can also be done offline using \fBguestfish\fR\|(1)) .Sp -Once the guest has booted you should see the new space available, at least for filesystems that virt-resize knows how to resize, and for PVs. The user may need to resize LVs inside PVs, and also resize filesystem types that virt-resize does not know how to expand. +Once the guest has booted you should see the new space available, at least for filesystems that virt\-resize knows how to resize, and for PVs. The user may need to resize LVs inside PVs, and also resize filesystem types that virt\-resize does not know how to expand. .SS 仮想マシンのディスクの縮小 .IX Subsection "仮想マシンのディスクの縮小" 縮小は拡張よりもいくらか複雑です。ここでは概要のみを示します。 .PP -Firstly virt-resize will not attempt to shrink any partition content (PVs, filesystems). The user has to shrink content before passing the disk image to virt-resize, and virt-resize will check that the content has been shrunk properly. +Firstly virt\-resize will not attempt to shrink any partition content (PVs, filesystems). The user has to shrink content before passing the disk image to virt\-resize, and virt\-resize will check that the content has been shrunk properly. .PP (Shrinking can also be done offline using \fBguestfish\fR\|(1)) .PP After shrinking PVs and filesystems, shut down the guest, and proceed with steps 3 and 4 above to allocate a new disk image. .PP -Then run virt-resize with any of the \fI\-\-shrink\fR and/or \fI\-\-resize\fR options. +Then run virt\-resize with any of the \fI\-\-shrink\fR and/or \fI\-\-resize\fR options. .SS "IGNORING OR DELETING PARTITIONS" .IX Subsection "IGNORING OR DELETING PARTITIONS" -virt-resize also gives a convenient way to ignore or delete partitions when copying from the input disk to the output disk. Ignoring a partition speeds up the copy where you don't care about the existing contents of a partition. Deleting a partition removes it completely, but note that it also renumbers any partitions after the one which is deleted, which can leave some guests unbootable. -.SS "QCOW2 AND NON-SPARSE RAW FORMATS" +virt\-resize also gives a convenient way to ignore or delete partitions when copying from the input disk to the output disk. Ignoring a partition speeds up the copy where you don\*(Aqt care about the existing contents of a partition. Deleting a partition removes it completely, but note that it also renumbers any partitions after the one which is deleted, which can leave some guests unbootable. +.SS "QCOW2 AND NON\-SPARSE RAW FORMATS" .IX Subsection "QCOW2 AND NON-SPARSE RAW FORMATS" -If the input disk is in qcow2 format, then you may prefer that the output is in qcow2 format as well. Alternately, virt-resize can convert the format on the fly. The output format is simply determined by the format of the empty output container that you provide. Thus to create qcow2 output, use: +If the input disk is in qcow2 format, then you may prefer that the output is in qcow2 format as well. Alternately, virt\-resize can convert the format on the fly. The output format is simply determined by the format of the empty output container that you provide. Thus to create qcow2 output, use: .PP .Vb 1 \& qemu\-img create \-f qcow2 \-o preallocation=metadata outdisk [size] @@ -250,7 +253,7 @@ If the input disk is in qcow2 format, then you may prefer that the output is in .PP instead of the truncate command. .PP -Similarly, to get non-sparse raw output use: +Similarly, to get non\-sparse raw output use: .PP .Vb 1 \& fallocate \-l size outdisk @@ -265,7 +268,7 @@ To understand what is going on, firstly one of the four partitions \fI/dev/sda1\ .PP Logical partitions live inside the extended partition. .PP -The extended partition can be expanded, but not shrunk (unless you force it, which is not advisable). When the extended partition is copied across, all the logical partitions contained inside are copied over implicitly. Virt-resize does not look inside the extended partition, so it copies the logical partitions blindly. +The extended partition can be expanded, but not shrunk (unless you force it, which is not advisable). When the extended partition is copied across, all the logical partitions contained inside are copied over implicitly. Virt\-resize does not look inside the extended partition, so it copies the logical partitions blindly. .PP You cannot specify a logical partition (\fI/dev/sda5+\fR) at all on the command line. Doing so will give an error. .SH オプション @@ -290,7 +293,7 @@ The default is \fI\-\-align\-first auto\fR which only aligns the first partition \&\fI\-\-align\-first always\fR means we always align the first partition (if it needs to be aligned). For some guests this will break the bootloader, making the guest unbootable. .IP "\fB\-\-alignment\fR N" 4 .IX Item "--alignment N" -Set the alignment of partitions to \f(CW\*(C`N\*(C'\fR sectors. The default in virt-resize < 1.13.19 was 64 sectors, and after that is 128 sectors. +Set the alignment of partitions to \f(CW\*(C`N\*(C'\fR sectors. The default in virt\-resize < 1.13.19 was 64 sectors, and after that is 128 sectors. .Sp Assuming 512 byte sector size inside the guest, here are some suitable values for this: .RS 4 @@ -327,7 +330,7 @@ Use ANSI colour sequences to colourize messages. This is the default when the o デバッグメッセージを有効にします。 .IP "\fB\-\-delete\fR PART" 4 .IX Item "--delete PART" -Delete the named partition. It would be more accurate to describe this as "don't copy it over", since virt-resize doesn't do in-place changes and the original disk image is left intact. +Delete the named partition. It would be more accurate to describe this as "don\*(Aqt copy it over", since virt\-resize doesn\*(Aqt do in\-place changes and the original disk image is left intact. .Sp Note that when you delete a partition, then anything contained in the partition is also deleted. Furthermore, this causes any partitions that come after to be \fIrenumbered\fR, which can easily make your guest unbootable. .Sp @@ -336,9 +339,9 @@ Note that when you delete a partition, then anything contained in the partition .IX Item "--expand PART" Expand the named partition so it uses up all extra space (space left over after any other resize changes that you request have been done). .Sp -If virt-resize knows how, it will expand the direct content of the partition. For example, if the partition is an LVM PV, it will expand the PV to fit (like calling \fBpvresize\fR\|(8)). Virt-resize leaves any other content it doesn't know about alone. +If virt\-resize knows how, it will expand the direct content of the partition. For example, if the partition is an LVM PV, it will expand the PV to fit (like calling \fBpvresize\fR\|(8)). Virt\-resize leaves any other content it doesn\*(Aqt know about alone. .Sp -Currently virt-resize can resize: +Currently virt\-resize can resize: .RS 4 .IP \(bu 4 ext2, ext3, ext4 ファイルシステム。 @@ -347,7 +350,7 @@ NTFS filesystems, if libguestfs was compiled with support for NTFS. .Sp The filesystem must have been shut down consistently last time it was used. Additionally, \fBntfsresize\fR\|(8) marks the resized filesystem as requiring a consistency check, so at the first boot after resizing Windows will check the disk. .IP \(bu 4 -LVM PVs (physical volumes). virt-resize does not usually resize anything inside the PV, but see the \fI\-\-LV\-expand\fR option. The user could also resize LVs as desired after boot. +LVM PVs (physical volumes). virt\-resize does not usually resize anything inside the PV, but see the \fI\-\-LV\-expand\fR option. The user could also resize LVs as desired after boot. .IP \(bu 4 Btrfs filesystems, if libguestfs was compiled with support for btrfs. .IP \(bu 4 @@ -365,11 +368,11 @@ Note that you cannot use \fI\-\-expand\fR and \fI\-\-shrink\fR together. .RE .IP "\fB\-\-format\fR \fBraw\fR" 4 .IX Item "--format raw" -Specify the format of the input disk image. If this flag is not given then it is auto-detected from the image itself. +Specify the format of the input disk image. If this flag is not given then it is auto\-detected from the image itself. .Sp -If working with untrusted raw-format guest disk images, you should ensure the format is always specified. +If working with untrusted raw\-format guest disk images, you should ensure the format is always specified. .Sp -Note that this option \fIdoes not\fR affect the output format. See "QCOW2 AND NON-SPARSE RAW FORMATS". +Note that this option \fIdoes not\fR affect the output format. See "QCOW2 AND NON\-SPARSE RAW FORMATS". .IP "\fB\-\-ignore\fR PART" 4 .IX Item "--ignore PART" Ignore the named partition. Effectively this means the partition is allocated on the destination disk, but the content is not copied across from the source disk. The content of the partition will be blank (all zero bytes). @@ -386,11 +389,11 @@ This takes the logical volume and, as a final step, expands it to fill all the s .Sp This would first expand the partition (and PV), and then expand the root device to fill the extra space in the PV. .Sp -The contents of the LV are also resized if virt-resize knows how to do that. You can stop virt-resize from trying to expand the content by using the option \fI\-\-no\-expand\-content\fR. +The contents of the LV are also resized if virt\-resize knows how to do that. You can stop virt\-resize from trying to expand the content by using the option \fI\-\-no\-expand\-content\fR. .Sp 仮想マシンにあるファイルシステムを一覧表示するには \fBvirt\-filesystems\fR\|(1) を使用します。 .Sp -You can give this option multiple times, \fIbut\fR it doesn't make sense to do this unless the logical volumes you specify are all in different volume groups. +You can give this option multiple times, \fIbut\fR it doesn\*(Aqt make sense to do this unless the logical volumes you specify are all in different volume groups. .IP \fB\-\-machine\-readable\fR 4 .IX Item "--machine-readable" .PD 0 @@ -407,17 +410,17 @@ You can give this option multiple times, \fIbut\fR it doesn't make sense to do t Print a summary of what would be done, but don’t do anything. .IP \fB\-\-no\-copy\-boot\-loader\fR 4 .IX Item "--no-copy-boot-loader" -By default, virt-resize copies over some sectors at the start of the disk (up to the beginning of the first partition). Commonly these sectors contain the Master Boot Record (MBR) and the boot loader, and are required in order for the guest to boot correctly. +By default, virt\-resize copies over some sectors at the start of the disk (up to the beginning of the first partition). Commonly these sectors contain the Master Boot Record (MBR) and the boot loader, and are required in order for the guest to boot correctly. .Sp If you specify this flag, then this initial copy is not done. You may need to reinstall the boot loader in this case. .IP \fB\-\-no\-extra\-partition\fR 4 .IX Item "--no-extra-partition" -By default, virt-resize creates an extra partition if there is any extra, unused space after all resizing has happened. Use this option to prevent the extra partition from being created. If you do this then the extra space will be inaccessible until you run fdisk, parted, or some other partitioning tool in the guest. +By default, virt\-resize creates an extra partition if there is any extra, unused space after all resizing has happened. Use this option to prevent the extra partition from being created. If you do this then the extra space will be inaccessible until you run fdisk, parted, or some other partitioning tool in the guest. .Sp Note that if the surplus space is smaller than 10 MB, no extra partition will be created. .IP \fB\-\-no\-expand\-content\fR 4 .IX Item "--no-expand-content" -By default, virt-resize will try to expand the direct contents of partitions, if it knows how (see \fI\-\-expand\fR option above). +By default, virt\-resize will try to expand the direct contents of partitions, if it knows how (see \fI\-\-expand\fR option above). .Sp \&\fI\-\-no\-expand\-content\fR オプションを指定すると、virt\-resize はこれを試行しません。 .IP \fB\-\-no\-sparse\fR 4 @@ -428,11 +431,11 @@ Turn off sparse copying. See "SPARSE COPYING" below. \&\fBntfsresize\fR\|(8) に \fI\-\-force\fR オプションを渡します。これにより、NTFS ディスクが整合性の確認が必要であるという印をつけたときでも、容量の変更を許可します。Windows 仮想マシンを各容量において起動することなく、何回も容量変更したいならば、このオプションを使用する必要があります。 .IP "\fB\-\-output\-format\fR \fBraw\fR" 4 .IX Item "--output-format raw" -Specify the format of the output disk image. If this flag is not given then it is auto-detected from the image itself. +Specify the format of the output disk image. If this flag is not given then it is auto\-detected from the image itself. .Sp -If working with untrusted raw-format guest disk images, you should ensure the format is always specified. +If working with untrusted raw\-format guest disk images, you should ensure the format is always specified. .Sp -Note that this option \fIdoes not create\fR the output format. This option just tells libguestfs what it is so it doesn't try to guess it. You still need to create the output disk with the right format. See "QCOW2 AND NON-SPARSE RAW FORMATS". +Note that this option \fIdoes not create\fR the output format. This option just tells libguestfs what it is so it doesn\*(Aqt try to guess it. You still need to create the output disk with the right format. See "QCOW2 AND NON\-SPARSE RAW FORMATS". .IP \fB\-q\fR 4 .IX Item "-q" .PD 0 @@ -462,9 +465,9 @@ Resize the named partition (expanding or shrinking it) so that it has the given \& \-\-resize /dev/sda1=\-10% .Ve .Sp -You can increase the size of any partition. Virt-resize will expand the direct content of the partition if it knows how (see \fI\-\-expand\fR above). +You can increase the size of any partition. Virt\-resize will expand the direct content of the partition if it knows how (see \fI\-\-expand\fR above). .Sp -You can only \fIdecrease\fR the size of partitions that contain filesystems or PVs which have already been shrunk. Virt-resize will check this has been done before proceeding, or else will print an error (see also \fI\-\-resize\-force\fR). +You can only \fIdecrease\fR the size of partitions that contain filesystems or PVs which have already been shrunk. Virt\-resize will check this has been done before proceeding, or else will print an error (see also \fI\-\-resize\-force\fR). .Sp このオプションは複数回指定できます。 .IP "\fB\-\-resize\-force\fR PART=SIZE" 4 @@ -474,9 +477,9 @@ This is the same as \fI\-\-resize\fR except that it will let you decrease the si \&\fI\-\-ignore\fR オプション参照。 .IP "\fB\-\-shrink\fR PART" 4 .IX Item "--shrink PART" -Shrink the named partition until the overall disk image fits in the destination. The named partition \fBmust\fR contain a filesystem or PV which has already been shrunk using another tool (eg. \fBguestfish\fR\|(1) or other online tools). Virt-resize will check this and give an error if it has not been done. +Shrink the named partition until the overall disk image fits in the destination. The named partition \fBmust\fR contain a filesystem or PV which has already been shrunk using another tool (eg. \fBguestfish\fR\|(1) or other online tools). Virt\-resize will check this and give an error if it has not been done. .Sp -The amount by which the overall disk must be shrunk (after carrying out all other operations requested by the user) is called the "deficit". For example, a straight copy (assume no other operations) from a 5GB disk image to a 4GB disk image results in a 1GB deficit. In this case, virt-resize would give an error unless the user specified a partition to shrink and that partition had more than a gigabyte of free space. +The amount by which the overall disk must be shrunk (after carrying out all other operations requested by the user) is called the "deficit". For example, a straight copy (assume no other operations) from a 5GB disk image to a 4GB disk image results in a 1GB deficit. In this case, virt\-resize would give an error unless the user specified a partition to shrink and that partition had more than a gigabyte of free space. .Sp Note that you cannot use \fI\-\-expand\fR and \fI\-\-shrink\fR together. .IP "\fB\-\-unknown\-filesystems\fR \fBignore\fR" 4 @@ -487,13 +490,13 @@ Note that you cannot use \fI\-\-expand\fR and \fI\-\-shrink\fR together. .IP "\fB\-\-unknown\-filesystems\fR \fBerror\fR" 4 .IX Item "--unknown-filesystems error" .PD -Configure the behaviour of virt-resize when asking to expand a filesystem, and neither libguestfs has the support it, nor virt-resize knows how to expand the content of the filesystem. +Configure the behaviour of virt\-resize when asking to expand a filesystem, and neither libguestfs has the support it, nor virt\-resize knows how to expand the content of the filesystem. .Sp -\&\fI\-\-unknown\-filesystems ignore\fR will cause virt-resize to silently ignore such filesystems, and nothing is printed about them. +\&\fI\-\-unknown\-filesystems ignore\fR will cause virt\-resize to silently ignore such filesystems, and nothing is printed about them. .Sp -\&\fI\-\-unknown\-filesystems warn\fR (the default behaviour) will cause virt-resize to warn for each of the filesystem that cannot be expanded, but still continuing to resize the disk. +\&\fI\-\-unknown\-filesystems warn\fR (the default behaviour) will cause virt\-resize to warn for each of the filesystem that cannot be expanded, but still continuing to resize the disk. .Sp -\&\fI\-\-unknown\-filesystems error\fR will cause virt-resize to error out at the first filesystem that cannot be expanded. +\&\fI\-\-unknown\-filesystems error\fR will cause virt\-resize to error out at the first filesystem that cannot be expanded. .Sp See also "unknown/unavailable method for expanding the TYPE filesystem on DEVICE/LV". .IP \fB\-v\fR 4 @@ -518,11 +521,11 @@ Wrap error, warning, and informative messages. This is the default when the out libguestfs API 呼び出しのトレースを有効にします。 .SH マシン可読な出力 .IX Header "マシン可読な出力" -\&\fI\-\-machine\-readable\fR オプションはよりマシンに易しい出力を作成するために使用できます。これは他のプログラムや GUI などから virt-resize を呼び出すときに有用です。 +\&\fI\-\-machine\-readable\fR オプションはよりマシンに易しい出力を作成するために使用できます。これは他のプログラムや GUI などから virt\-resize を呼び出すときに有用です。 .PP このオプションを使用するには 2 通りの方法があります。 .PP -Firstly use the option on its own to query the capabilities of the virt-resize binary. Typical output looks like this: +Firstly use the option on its own to query the capabilities of the virt\-resize binary. Typical output looks like this: .PP .Vb 6 \& $ virt\-resize \-\-machine\-readable @@ -547,7 +550,7 @@ Progress bar messages can be parsed from stdout by looking for this regular expr .IP 2. 4 The calling program should treat messages sent to stdout (except for progress bar messages) as status messages. They can be logged and/or displayed to the user. .IP 3. 4 -The calling program should treat messages sent to stderr as error messages. In addition, virt-resize exits with a non-zero status code if there was a fatal error. +The calling program should treat messages sent to stderr as error messages. In addition, virt\-resize exits with a non\-zero status code if there was a fatal error. .PP Versions of the program prior to 1.13.9 did not support the \fI\-\-machine\-readable\fR option and will return an error. .PP @@ -556,7 +559,7 @@ It is possible to specify a format string for controlling the output; see "ADVAN .IX Header "注記" .SS """Partition 1 does not end on cylinder boundary.""" .IX Subsection """Partition 1 does not end on cylinder boundary.""" -Virt-resize aligns partitions to multiples of 128 sectors (see the \fI\-\-alignment\fR parameter). Usually this means the partitions will not be aligned to the ancient CHS geometry. However CHS geometry is meaningless for disks manufactured since the early 1990s, and doubly so for virtual hard drives. Alignment of partitions to cylinders is not required by any modern operating system. +Virt\-resize aligns partitions to multiples of 128 sectors (see the \fI\-\-alignment\fR parameter). Usually this means the partitions will not be aligned to the ancient CHS geometry. However CHS geometry is meaningless for disks manufactured since the early 1990s, and doubly so for virtual hard drives. Alignment of partitions to cylinders is not required by any modern operating system. .SS "GUEST BOOT STUCK AT ""GRUB""" .IX Subsection "GUEST BOOT STUCK AT ""GRUB""" If a Linux guest does not boot after resizing, and the boot is stuck after printing \f(CW\*(C`GRUB\*(C'\fR on the console, try reinstalling grub. @@ -570,13 +573,13 @@ If a Linux guest does not boot after resizing, and the boot is stuck after print \& > exit .Ve .PP -For more flexible guest reconfiguration, including if you need to specify other parameters to grub-install, use \fBvirt\-rescue\fR\|(1). +For more flexible guest reconfiguration, including if you need to specify other parameters to grub\-install, use \fBvirt\-rescue\fR\|(1). .SS "RESIZING WINDOWS BOOT PARTITIONS" .IX Subsection "RESIZING WINDOWS BOOT PARTITIONS" In Windows Vista and later versions, Microsoft switched to using a separate boot partition. In these VMs, typically \fI/dev/sda1\fR is the boot partition and \fI/dev/sda2\fR is the main (C:) drive. Resizing the first (boot) partition causes the bootloader to fail with \f(CW0xC0000225\fR error. Resizing the second partition (ie. C: drive) should work. .SS "WINDOWS CHKDSK" .IX Subsection "WINDOWS CHKDSK" -Windows disks which use NTFS must be consistent before virt-resize can be used. If the ntfsresize operation fails, try booting the original VM and running \f(CW\*(C`chkdsk /f\*(C'\fR on all NTFS partitions, then shut down the VM cleanly. For further information see: https://bugzilla.redhat.com/show_bug.cgi?id=975753 +Windows disks which use NTFS must be consistent before virt\-resize can be used. If the ntfsresize operation fails, try booting the original VM and running \f(CW\*(C`chkdsk /f\*(C'\fR on all NTFS partitions, then shut down the VM cleanly. For further information see: https://bugzilla.redhat.com/show_bug.cgi?id=975753 .PP \&\fIAfter resize\fR Windows may initiate a lengthy "chkdsk" on first boot if NTFS partitions have been expanded. This is just a safety check and (unless it find errors) is nothing to worry about. .SS "Windows UNMOUNTABLE_BOOT_VOLUME BSOD" @@ -584,19 +587,19 @@ Windows disks which use NTFS must be consistent before virt-resize can be used. Windows 仮想マシンを sysprep して、virt\-resize を用いて容量を変更した後、仮想マシンが \f(CW\*(C`UNMOUNTABLE_BOOT_VOLUME\*(C'\fR BSOD で起動に失敗するかもしれません。このエラーは sysprep.inf ファイルに \f(CW\*(C`ExtendOemPartition=1\*(C'\fR があることにより引き起こされます。sysprep する前にこの行を削除することにより、この問題を解決できます。 .SS "WINDOWS 8" .IX Subsection "WINDOWS 8" -Windows 8 "fast startup" can prevent virt-resize from resizing NTFS partitions. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). +Windows 8 "fast startup" can prevent virt\-resize from resizing NTFS partitions. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). .SS "SPARSE COPYING" .IX Subsection "SPARSE COPYING" -You should create a fresh, zeroed target disk image for virt-resize to use. +You should create a fresh, zeroed target disk image for virt\-resize to use. .PP -Virt-resize by default performs sparse copying. This means that it does not copy blocks from the source disk which are all zeroes. This improves speed and efficiency, but will produce incorrect results if the target disk image contains unzeroed data. +Virt\-resize by default performs sparse copying. This means that it does not copy blocks from the source disk which are all zeroes. This improves speed and efficiency, but will produce incorrect results if the target disk image contains unzeroed data. .PP The main time this can be a problem is if the target is a host partition (eg. \f(CW\*(C`virt\-resize\ source.img\ /dev/sda4\*(C'\fR) because the usual partitioning tools tend to leave whatever data happened to be on the disk before. .PP If you have to reuse a target which contains data already, you should use the \fI\-\-no\-sparse\fR option. Note this can be much slower. .SS """unknown/unavailable method for expanding the TYPE filesystem on DEVICE/LV""" .IX Subsection """unknown/unavailable method for expanding the TYPE filesystem on DEVICE/LV""" -Virt-resize was asked to expand a partition or a logical volume containing a filesystem with the type \f(CW\*(C`TYPE\*(C'\fR, but there is no available nor known expanding method for that filesystem. +Virt\-resize was asked to expand a partition or a logical volume containing a filesystem with the type \f(CW\*(C`TYPE\*(C'\fR, but there is no available nor known expanding method for that filesystem. .PP This may be due to either of the following: .IP 1. 4 @@ -612,18 +615,18 @@ Check the results of: .Sp In this case, it is enough to install the proper packages adding support for them. For example, \f(CW\*(C`libguestfs\-xfs\*(C'\fR on Red Hat Enterprise Linux, CentOS, Debian, Ubuntu, and distributions derived from them, for supporting the \f(CW\*(C`xfs\*(C'\fR filesystem. .IP 2. 4 -Virt-resize has no support for expanding that type of filesystem. +Virt\-resize has no support for expanding that type of filesystem. .Sp -In this case, there’s nothing that can be done to let virt-resize expand that type of filesystem. +In this case, there’s nothing that can be done to let virt\-resize expand that type of filesystem. .PP -In both cases, virt-resize will not expand the mentioned filesystem; the result (unless \fI\-\-unknown\-filesystems error\fR is specified) is that the partitions containing such filesystems will be actually bigger as requested, but the filesystems will still be usable at their older sizes. +In both cases, virt\-resize will not expand the mentioned filesystem; the result (unless \fI\-\-unknown\-filesystems error\fR is specified) is that the partitions containing such filesystems will be actually bigger as requested, but the filesystems will still be usable at their older sizes. .SH 代替ツール .IX Header "代替ツール" -There are several proprietary tools for resizing partitions. We won't mention any here. +There are several proprietary tools for resizing partitions. We won\*(Aqt mention any here. .PP -\&\fBparted\fR\|(8) and its graphical shell gparted can do some types of resizing operations on disk images. They can resize and move partitions, but I don't think they can do anything with the contents, and they certainly don't understand LVM. +\&\fBparted\fR\|(8) and its graphical shell gparted can do some types of resizing operations on disk images. They can resize and move partitions, but I don\*(Aqt think they can do anything with the contents, and they certainly don\*(Aqt understand LVM. .PP -\&\fBguestfish\fR\|(1) can do everything that virt-resize can do and a lot more, but at a much lower level. You will probably end up hand-calculating sector offsets, which is something that virt-resize was designed to avoid. If you want to see the guestfish-equivalent commands that virt-resize runs, use the \fI\-\-debug\fR flag. +\&\fBguestfish\fR\|(1) can do everything that virt\-resize can do and a lot more, but at a much lower level. You will probably end up hand\-calculating sector offsets, which is something that virt\-resize was designed to avoid. If you want to see the guestfish\-equivalent commands that virt\-resize runs, use the \fI\-\-debug\fR flag. .PP \&\fBdracut\fR\|(8) includes a module called \f(CW\*(C`dracut\-modules\-growroot\*(C'\fR which can be used to grow the root partition when the guest first boots up. There is documentation for this module in an associated README file. .SH 終了ステータス diff --git a/po-docs/ja/virt-sparsify.1 b/po-docs/ja/virt-sparsify.1 index 00d7a59..5e171c2 100644 --- a/po-docs/ja/virt-sparsify.1 +++ b/po-docs/ja/virt-sparsify.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-sparsify 1" -.TH virt-sparsify 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-sparsify 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-sparsify \- 仮想マシンのディスクをスパースにします +virt\-sparsify \- 仮想マシンのディスクをスパースにします .SH 書式 .IX Header "書式" .Vb 1 @@ -72,13 +75,13 @@ virt-sparsify \- 仮想マシンのディスクをスパースにします .Ve .SH 説明 .IX Header "説明" -Virt-sparsify is a tool which can make a virtual machine disk (or any disk image) sparse a.k.a. thin-provisioned. This means that free space within the disk image can be converted back to free space on the host. +Virt\-sparsify is a tool which can make a virtual machine disk (or any disk image) sparse a.k.a. thin\-provisioned. This means that free space within the disk image can be converted back to free space on the host. .PP -Virt-sparsify can locate and sparsify free space in most filesystems (eg. ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes. +Virt\-sparsify can locate and sparsify free space in most filesystems (eg. ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes. .PP -Virt-sparsify はさまざまなディスクフォーマットを変換することができます。例えば、raw ディスクイメージをシンプロビジョニングされた qcow2 イメージに変換することができます。 +Virt\-sparsify はさまざまなディスクフォーマットを変換することができます。例えば、raw ディスクイメージをシンプロビジョニングされた qcow2 イメージに変換することができます。 .PP -Virt-sparsify can operate on any disk image, not just ones from virtual machines. However if a virtual machine has multiple disks and uses volume management, then virt-sparsify will work but not be very effective (http://bugzilla.redhat.com/887826). +Virt\-sparsify can operate on any disk image, not just ones from virtual machines. However if a virtual machine has multiple disks and uses volume management, then virt\-sparsify will work but not be very effective (http://bugzilla.redhat.com/887826). .SS "IMPORTANT NOTE ABOUT SPARSE OUTPUT IMAGES" .IX Subsection "IMPORTANT NOTE ABOUT SPARSE OUTPUT IMAGES" If the input is raw, then the default output is raw sparse. \fBYou must check the output size using a tool that understands sparseness\fR such as \f(CW\*(C`du \-sh\*(C'\fR. It can make a huge difference: @@ -96,15 +99,15 @@ If the input is raw, then the default output is raw sparse. \fBYou must check t .IP \(bu 4 The virtual machine \fImust be shut down\fR before using this tool. .IP \(bu 4 -Virt-sparsify may require up to 2x the virtual size of the source disk image (1 temporary copy + 1 destination image). This is in the worst case and usually much less space is required. +Virt\-sparsify may require up to 2x the virtual size of the source disk image (1 temporary copy + 1 destination image). This is in the worst case and usually much less space is required. .Sp If you are using the \fI\-\-in\-place\fR option, then large amounts of temporary space are \fBnot\fR required. .IP \(bu 4 -Virt-sparsify cannot resize disk images. To do that, use \fBvirt\-resize\fR\|(1). +Virt\-sparsify cannot resize disk images. To do that, use \fBvirt\-resize\fR\|(1). .IP \(bu 4 -virt-sparsify は暗号化されたディスクを処理できません。 libguestfs は暗号化されたディスクをサポートしますが、暗号化されたディスク自体はスパース化できません。 +virt\-sparsify は暗号化されたディスクを処理できません。 libguestfs は暗号化されたディスクをサポートしますが、暗号化されたディスク自体はスパース化できません。 .IP \(bu 4 -Virt-sparsify cannot yet sparsify the space between partitions. Note that this space is often used for critical items like bootloaders so it's not really unused. +Virt\-sparsify cannot yet sparsify the space between partitions. Note that this space is often used for critical items like bootloaders so it\*(Aqs not really unused. .IP \(bu 4 In copy mode, qcow2 internal snapshots are not copied over to the destination image. .PP @@ -125,7 +128,7 @@ which copies \f(CW\*(C`indisk\*(C'\fR to \f(CW\*(C`outdisk\*(C'\fR, making the o \& virt\-sparsify disk.raw \-\-convert qcow2 disk.qcow2 .Ve .PP -Virt-sparsify tries to zero and sparsify free space on every filesystem it can find within the source disk image. You can get it to ignore (don't zero free space on) certain filesystems by doing: +Virt\-sparsify tries to zero and sparsify free space on every filesystem it can find within the source disk image. You can get it to ignore (don\*(Aqt zero free space on) certain filesystems by doing: .PP .Vb 1 \& virt\-sparsify \-\-ignore /dev/sda1 indisk outdisk @@ -133,7 +136,7 @@ Virt-sparsify tries to zero and sparsify free space on every filesystem it can f .PP ディスクイメージにあるファイルシステムの一覧を取得するには \fBvirt\-filesystems\fR\|(1) を参照してください。 .PP -Since virt-sparsify ≥ 1.26, you can now sparsify a disk image in place by doing: +Since virt\-sparsify ≥ 1.26, you can now sparsify a disk image in place by doing: .PP .Vb 1 \& virt\-sparsify \-\-in\-place disk.img @@ -196,23 +199,23 @@ Use \f(CW\*(C`output\-format\*(C'\fR as the format for the destination image. I .Sp \&\fBqemu\-img\fR\|(1) プログラムによりサポートされるすべての形式を使用できます。たとえば、\f(CW\*(C`vmdk\*(C'\fR ですが、他の形式のサポートは QEMU に依存します。 .Sp -Specifying the \fI\-\-convert\fR option is usually a good idea, because then virt-sparsify doesn't need to try to guess the input format. +Specifying the \fI\-\-convert\fR option is usually a good idea, because then virt\-sparsify doesn\*(Aqt need to try to guess the input format. .Sp 出力形式を詳細に調整します。関連項目: \fI\-\-compress\fR, \fI\-o\fR. .Sp You cannot use this option and \fI\-\-in\-place\fR together. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -When prompting for keys and passphrases, virt-sparsify normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. +When prompting for keys and passphrases, virt\-sparsify normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. .IP "\fB\-\-format\fR raw" 4 .IX Item "--format raw" .PD 0 .IP "\fB\-\-format\fR qcow2" 4 .IX Item "--format qcow2" .PD -Specify the format of the input disk image. If this flag is not given then it is auto-detected from the image itself. +Specify the format of the input disk image. If this flag is not given then it is auto\-detected from the image itself. .Sp -If working with untrusted raw-format guest disk images, you should ensure the format is always specified. +If working with untrusted raw\-format guest disk images, you should ensure the format is always specified. .IP "\fB\-\-ignore\fR filesystem" 4 .IX Item "--ignore filesystem" .PD 0 @@ -230,7 +233,7 @@ In the second form, this ignores the named volume group. Use the volume group n このオプションは複数回指定できます。 .IP \fB\-\-in\-place\fR 4 .IX Item "--in-place" -Do in-place sparsification instead of copying sparsification. See "IN-PLACE SPARSIFICATION" below. +Do in\-place sparsification instead of copying sparsification. See "IN\-PLACE SPARSIFICATION" below. .IP "\fB\-\-key\fR SELECTOR" 4 .IX Item "--key SELECTOR" Specify a key for LUKS, to automatically open a LUKS device when using @@ -266,9 +269,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -291,7 +294,7 @@ multiple keys on stdin, one per line. このオプションは、他のプログラムにより解析されるときに、よりマシンに易しい出力を作成するために使用されます。以下の "マシン可読な出力" 参照。 .IP "\fB\-o\fR option[,option,...]" 4 .IX Item "-o option[,option,...]" -Pass \fI\-o\fR option(s) to the \fBqemu\-img\fR\|(1) command to fine-tune the output format. Options available depend on the output format (see \fI\-\-convert\fR) and the installed version of the qemu-img program. +Pass \fI\-o\fR option(s) to the \fBqemu\-img\fR\|(1) command to fine\-tune the output format. Options available depend on the output format (see \fI\-\-convert\fR) and the installed version of the qemu\-img program. .Sp You should use \fI\-o\fR at most once. To pass multiple options, separate them with commas, eg: .Sp @@ -323,14 +326,14 @@ If the parameter is a directory, then this is the same as setting the "TMPDIR" e You cannot use this option and \fI\-\-in\-place\fR together. .IP "\fB\-\-tmp\fR prebuilt:file" 4 .IX Item "--tmp prebuilt:file" -In copying mode only, the specialized option \fI\-\-tmp prebuilt:file\fR (where \f(CW\*(C`prebuilt:\*(C'\fR is a literal string) causes virt-sparsify to use the qcow2 \f(CW\*(C`file\*(C'\fR as temporary space. +In copying mode only, the specialized option \fI\-\-tmp prebuilt:file\fR (where \f(CW\*(C`prebuilt:\*(C'\fR is a literal string) causes virt\-sparsify to use the qcow2 \f(CW\*(C`file\*(C'\fR as temporary space. .RS 4 .IP \(bu 4 The file \fBmust\fR be freshly formatted as qcow2, with indisk as the backing file. .IP \(bu 4 -If you rerun virt-sparsify, you \fBmust\fR recreate the file before each run. +If you rerun virt\-sparsify, you \fBmust\fR recreate the file before each run. .IP \(bu 4 -Virt-sparsify does not delete the file. +Virt\-sparsify does not delete the file. .RE .RS 4 .Sp @@ -363,9 +366,9 @@ libguestfs API 呼び出しのトレースを有効にします。 .IX Item "--zero 論理ボリューム" .PD 仮想マシンにある名前付きパーティションまたは論理ボリュームの内容をゼロ上書きします。デバイスにあるすべてのデータは失われます。しかし、スパース化は素晴らしいことです!このオプションを複数回指定できます。 -.SH "IN-PLACE SPARSIFICATION" +.SH "IN\-PLACE SPARSIFICATION" .IX Header "IN-PLACE SPARSIFICATION" -Since virt-sparsify ≥ 1.26, the tool is able to do in-place sparsification (instead of copying from an input disk to an output disk). This is more efficient. It is not able to recover quite as much space as copying sparsification. +Since virt\-sparsify ≥ 1.26, the tool is able to do in\-place sparsification (instead of copying from an input disk to an output disk). This is more efficient. It is not able to recover quite as much space as copying sparsification. .PP To use this mode, specify a disk image which will be modified in place: .PP @@ -375,14 +378,14 @@ To use this mode, specify a disk image which will be modified in place: .PP Some options are not compatible with this mode: \fI\-\-convert\fR, \fI\-\-compress\fR and \fI\-o\fR because they require wholesale disk format changes; \fI\-\-check\-tmpdir\fR because large amounts of temporary space are not required. .PP -In-place sparsification works using discard (a.k.a trim or unmap) support. +In\-place sparsification works using discard (a.k.a trim or unmap) support. .SH マシン可読な出力 .IX Header "マシン可読な出力" -The \fI\-\-machine\-readable\fR option can be used to make the output more machine friendly, which is useful when calling virt-sparsify from other programs, GUIs etc. +The \fI\-\-machine\-readable\fR option can be used to make the output more machine friendly, which is useful when calling virt\-sparsify from other programs, GUIs etc. .PP このオプションを使用するには 2 通りの方法があります。 .PP -Firstly use the option on its own to query the capabilities of the virt-sparsify binary. Typical output looks like this: +Firstly use the option on its own to query the capabilities of the virt\-sparsify binary. Typical output looks like this: .PP .Vb 4 \& $ virt\-sparsify \-\-machine\-readable @@ -405,27 +408,27 @@ Progress bar messages can be parsed from stdout by looking for this regular expr .IP 2. 4 The calling program should treat messages sent to stdout (except for progress bar messages) as status messages. They can be logged and/or displayed to the user. .IP 3. 4 -The calling program should treat messages sent to stderr as error messages. In addition, virt-sparsify exits with a non-zero status code if there was a fatal error. +The calling program should treat messages sent to stderr as error messages. In addition, virt\-sparsify exits with a non\-zero status code if there was a fatal error. .PP -All versions of virt-sparsify have supported the \fI\-\-machine\-readable\fR option. +All versions of virt\-sparsify have supported the \fI\-\-machine\-readable\fR option. .PP It is possible to specify a format string for controlling the output; see "ADVANCED MACHINE READABLE OUTPUT" in \fBguestfs\fR\|(3). .SH "WINDOWS 8" .IX Header "WINDOWS 8" -Windows 8 "fast startup" can prevent virt-sparsify from working. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). +Windows 8 "fast startup" can prevent virt\-sparsify from working. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). .SH 環境変数 .IX Header "環境変数" .IP TMPDIR 4 .IX Item "TMPDIR" Location of the temporary directory used for the potentially large temporary overlay file. .Sp -In virt-sparsify ≥ 1.28, you can override this environment variable using the \fI\-\-tmp\fR option. +In virt\-sparsify ≥ 1.28, you can override this environment variable using the \fI\-\-tmp\fR option. .Sp You should ensure there is enough free space in the worst case for a full copy of the source disk (\fIvirtual\fR size), or else set \f(CW$TMPDIR\fR to point to another directory that has enough space. .Sp This defaults to \fI/tmp\fR. .Sp -Note that if \f(CW$TMPDIR\fR is a tmpfs (eg. if \fI/tmp\fR is on tmpfs, or if you use \f(CW\*(C`TMPDIR=/dev/shm\*(C'\fR), tmpfs defaults to a maximum size of \fIhalf\fR of physical RAM. If virt-sparsify exceeds this, it will hang. The solution is either to use a real disk, or to increase the maximum size of the tmpfs mountpoint, eg: +Note that if \f(CW$TMPDIR\fR is a tmpfs (eg. if \fI/tmp\fR is on tmpfs, or if you use \f(CW\*(C`TMPDIR=/dev/shm\*(C'\fR), tmpfs defaults to a maximum size of \fIhalf\fR of physical RAM. If virt\-sparsify exceeds this, it will hang. The solution is either to use a real disk, or to increase the maximum size of the tmpfs mountpoint, eg: .Sp .Vb 1 \& mount \-o remount,size=10G /tmp @@ -436,9 +439,9 @@ If you are using the \fI\-\-in\-place\fR option, then large amounts of temporary 他の環境変数は "環境変数" in \fBguestfs\fR\|(3) を参照してください。 .SH 終了ステータス .IX Header "終了ステータス" -This program returns 0 if the operation completed without errors. (This doesn't necessarily mean that space could be freed up.) +This program returns 0 if the operation completed without errors. (This doesn\*(Aqt necessarily mean that space could be freed up.) .PP -A non-zero exit code indicates an error. +A non\-zero exit code indicates an error. .PP If the exit code is \f(CW3\fR and the \fI\-\-in\-place\fR option was used, that indicates that discard support is not available in libguestfs, so copying mode must be used instead. .SH 関連項目 diff --git a/po-docs/ja/virt-sysprep.1 b/po-docs/ja/virt-sysprep.1 index a0489f7..853f0f2 100644 --- a/po-docs/ja/virt-sysprep.1 +++ b/po-docs/ja/virt-sysprep.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-sysprep 1" -.TH virt-sysprep 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-sysprep 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-sysprep \- 仮想マシンをクローンできるよう、再設定、設定解除またはカスタマイズします +virt\-sysprep \- 仮想マシンをクローンできるよう、再設定、設定解除またはカスタマイズします .SH 書式 .IX Header "書式" .Vb 1 @@ -72,13 +75,13 @@ virt-sysprep \- 仮想マシンをクローンできるよう、再設定、設 .Ve .SH 説明 .IX Header "説明" -Virt-sysprep can reset or unconfigure a virtual machine so that clones can be made from it. Steps in this process include removing SSH host keys, removing persistent network MAC configuration, and removing user accounts. Virt-sysprep can also customize a virtual machine, for instance by adding SSH keys, users or logos. Each step can be enabled or disabled as required. +Virt\-sysprep can reset or unconfigure a virtual machine so that clones can be made from it. Steps in this process include removing SSH host keys, removing persistent network MAC configuration, and removing user accounts. Virt\-sysprep can also customize a virtual machine, for instance by adding SSH keys, users or logos. Each step can be enabled or disabled as required. .PP -Virt-sysprep modifies the guest or disk image \fIin place\fR. The guest must be shut down. If you want to preserve the existing contents of the guest, \fIyou must snapshot, copy or clone the disk first\fR. See "COPYING AND CLONING" below. +Virt\-sysprep modifies the guest or disk image \fIin place\fR. The guest must be shut down. If you want to preserve the existing contents of the guest, \fIyou must snapshot, copy or clone the disk first\fR. See "COPYING AND CLONING" below. .PP -You do \fInot\fR need to run virt-sysprep as root. In fact we'd generally recommend that you don't. The time you might want to run it as root is when you need root in order to access the disk image, but even in this case it would be better to change the permissions on the disk image to be writable as the non-root user running virt-sysprep. +You do \fInot\fR need to run virt\-sysprep as root. In fact we\*(Aqd generally recommend that you don\*(Aqt. The time you might want to run it as root is when you need root in order to access the disk image, but even in this case it would be better to change the permissions on the disk image to be writable as the non\-root user running virt\-sysprep. .PP -"Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program \fIsysprep.exe\fR which is used to unconfigure Windows machines in preparation for cloning them. Having said that, virt-sysprep does \fInot\fR currently work on Microsoft Windows guests. We plan to support Windows sysprepping in a future version, and we already have code to do it. +"Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program \fIsysprep.exe\fR which is used to unconfigure Windows machines in preparation for cloning them. (Virt\-sysprep does not work on Microsoft Windows guests.) .SH オプション .IX Header "オプション" .IP \fB\-\-help\fR 4 @@ -129,10 +132,10 @@ libvirt を使用していると、指定された \fIURI\fR に接続します .IP \fB\-\-dry\-run\fR 4 .IX Item "--dry-run" .PD -Perform a read-only "dry run" on the guest. This runs the sysprep operation, but throws away any changes to the disk at the end. +Perform a read\-only "dry run" on the guest. This runs the sysprep operation, but throws away any changes to the disk at the end. .IP "\fB\-\-enable\fR operations" 4 .IX Item "--enable operations" -Choose which sysprep operations to perform. Give a comma-separated list of operations, for example: +Choose which sysprep operations to perform. Give a comma\-separated list of operations, for example: .Sp .Vb 1 \& \-\-enable ssh\-hostkeys,udev\-persistent\-net @@ -144,7 +147,7 @@ If the \fI\-\-enable\fR option is not given, then we default to trying most sysp .Sp Regardless of the \fI\-\-enable\fR option, sysprep operations are skipped for some guest types. .Sp -特定のバージョンの virt-sysprep によりサポートされる操作の一覧を表示するには \fI\-\-list\-operations\fR を使用します。 +特定のバージョンの virt\-sysprep によりサポートされる操作の一覧を表示するには \fI\-\-list\-operations\fR を使用します。 .Sp See "OPERATIONS" below for a list and an explanation of each operation. .IP "\fB\-\-operation\fR operations" 4 @@ -153,7 +156,7 @@ See "OPERATIONS" below for a list and an explanation of each operation. .IP "\fB\-\-operations\fR operations" 4 .IX Item "--operations operations" .PD -Choose which sysprep operations to perform. Give a comma-separated list of operations, for example: +Choose which sysprep operations to perform. Give a comma\-separated list of operations, for example: .Sp .Vb 1 \& \-\-operations ssh\-hostkeys,udev\-persistent\-net @@ -161,7 +164,7 @@ Choose which sysprep operations to perform. Give a comma-separated list of oper .Sp would enable ONLY \f(CW\*(C`ssh\-hostkeys\*(C'\fR and \f(CW\*(C`udev\-persistent\-net\*(C'\fR operations. .Sp -\&\fI\-\-operations\fR allows you to enable and disable any operation, including the default ones (which would be tried when specifying neither \fI\-\-operations\fR nor \fI\-\-enable\fR) and all the available ones; prepending a \f(CW\*(C`\-\*(C'\fR in front of an operation name removes it from the list of enabled operations, while the meta-names \f(CW\*(C`defaults\*(C'\fR and \f(CW\*(C`all\*(C'\fR represent respectively the operations enabled by default and all the available ones. For example: +\&\fI\-\-operations\fR allows you to enable and disable any operation, including the default ones (which would be tried when specifying neither \fI\-\-operations\fR nor \fI\-\-enable\fR) and all the available ones; prepending a \f(CW\*(C`\-\*(C'\fR in front of an operation name removes it from the list of enabled operations, while the meta\-names \f(CW\*(C`defaults\*(C'\fR and \f(CW\*(C`all\*(C'\fR represent respectively the operations enabled by default and all the available ones. For example: .Sp .Vb 1 \& \-\-operations firewall\-rules,defaults,\-tmp\-files @@ -175,19 +178,19 @@ If the \fI\-\-operations\fR option is not given, then we default to trying most .Sp Regardless of the \fI\-\-operations\fR option, sysprep operations are skipped for some guest types. .Sp -特定のバージョンの virt-sysprep によりサポートされる操作の一覧を表示するには \fI\-\-list\-operations\fR を使用します。 +特定のバージョンの virt\-sysprep によりサポートされる操作の一覧を表示するには \fI\-\-list\-operations\fR を使用します。 .Sp See "OPERATIONS" below for a list and an explanation of each operation. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -When prompting for keys and passphrases, virt-sysprep normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. +When prompting for keys and passphrases, virt\-sysprep normally turns echoing off so you cannot see what you are typing. If you are not worried about Tempest attacks and there is no one else in the room you can specify this flag to see what you are typing. .IP "\fB\-\-format\fR raw|qcow2|.." 4 .IX Item "--format raw|qcow2|.." .PD 0 .IP "\fB\-\-format\fR auto" 4 .IX Item "--format auto" .PD -The default for the \fI\-a\fR option is to auto-detect the format of the disk image. Using this forces the disk format for \fI\-a\fR options which follow on the command line. Using \fI\-\-format auto\fR switches back to auto-detection for subsequent \fI\-a\fR options. +The default for the \fI\-a\fR option is to auto\-detect the format of the disk image. Using this forces the disk format for \fI\-a\fR options which follow on the command line. Using \fI\-\-format auto\fR switches back to auto\-detection for subsequent \fI\-a\fR options. .Sp 例: .Sp @@ -195,13 +198,13 @@ The default for the \fI\-a\fR option is to auto-detect the format of the disk im \& virt\-sysprep \-\-format raw \-a disk.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR. .Sp .Vb 1 \& virt\-sysprep \-\-format raw \-a disk.img \-\-format auto \-a another.img .Ve .Sp -forces raw format (no auto-detection) for \fIdisk.img\fR and reverts to auto-detection for \fIanother.img\fR. +forces raw format (no auto\-detection) for \fIdisk.img\fR and reverts to auto\-detection for \fIanother.img\fR. .Sp 仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 .IP "\fB\-\-key\fR SELECTOR" 4 @@ -239,9 +242,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -257,9 +260,9 @@ If there are multiple encrypted devices then you may need to supply multiple keys on stdin, one per line. .IP \fB\-\-list\-operations\fR 4 .IX Item "--list-operations" -virt-sysprep プログラムによりサポートされる操作を一覧表示します。 +virt\-sysprep プログラムによりサポートされる操作を一覧表示します。 .Sp -These are listed one per line, with one or more single-space-separated fields, eg: +These are listed one per line, with one or more single\-space\-separated fields, eg: .Sp .Vb 6 \& $ virt\-sysprep \-\-list\-operations @@ -277,7 +280,7 @@ Before libguestfs 1.17.33 only the first (operation name) field was shown and al .IX Item "--mount-options mp:opts[;mp:opts;...]" Set the mount options used when libguestfs opens the disk image. Note this has no effect on the guest. It is used when opening certain guests such as ones using the UFS (BSD) filesystem. .Sp -Use a semicolon-separated list of \f(CW\*(C`mountpoint:options\*(C'\fR pairs. You may need to quote this list to protect it from the shell. +Use a semicolon\-separated list of \f(CW\*(C`mountpoint:options\*(C'\fR pairs. You may need to quote this list to protect it from the shell. .Sp 例: .Sp @@ -309,7 +312,7 @@ To enable detailed logging of individual file operations, use \fI\-x\fR. .PD Enable or disable network access from the guest during the installation. .Sp -In virt-sysprep, the network is \fIdisabled\fR by default. You must use \fI\-\-network\fR to enable it, in order that options such as \fI\-\-install\fR or \fI\-\-update\fR will work. +In virt\-sysprep, the network is \fIdisabled\fR by default. You must use \fI\-\-network\fR to enable it, in order that options such as \fI\-\-install\fR or \fI\-\-update\fR will work. .Sp \&\fBvirt\-builder\fR\|(1) has more information about the security advantages of disabling the network. .IP \fB\-v\fR 4 @@ -345,7 +348,7 @@ For example (assuming ordinary shell quoting) this command: .Sp will add either \f(CW\*(C`10.0.0.1 foo⏎\*(C'\fR or \f(CW\*(C`⏎10.0.0.1 foo⏎\*(C'\fR to the file, the latter only if the existing file does not already end with a newline. .Sp -\&\f(CW\*(C`⏎\*(C'\fR represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non-existent files. +\&\f(CW\*(C`⏎\*(C'\fR represents a newline character, which is guessed by looking at the existing content of the file, so this command does the right thing for files using Unix or Windows line endings. It also works for empty or non\-existent files. .Sp To insert several lines, use the same option several times: .Sp @@ -440,7 +443,7 @@ Edit \f(CW\*(C`FILE\*(C'\fR using the Perl expression \f(CW\*(C`EXPR\*(C'\fR. .Sp このオプションは Perl 5 がインストールされているときのみ利用可能であることに注意してください。 .Sp -See "NON-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). +See "NON\-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). .ie n .IP "\fB\-\-firstboot\fR SCRIPT (see ""customize"" below)" 4 .el .IP "\fB\-\-firstboot\fR SCRIPT (see \f(CWcustomize\fR below)" 4 .IX Item "--firstboot SCRIPT (see customize below)" @@ -455,8 +458,8 @@ You can have multiple \fI\-\-firstboot\fR options. They run in the same order t Please take a look at "FIRST BOOT SCRIPTS" in \fBvirt\-builder\fR\|(1) for more information and caveats about the first boot scripts. .Sp See also \fI\-\-run\fR. -.ie n .IP "\fB\-\-firstboot\-command\fR 'CMD+ARGS' (see ""customize"" below)" 4 -.el .IP "\fB\-\-firstboot\-command\fR 'CMD+ARGS' (see \f(CWcustomize\fR below)" 4 +.ie n .IP "\fB\-\-firstboot\-command\fR \*(AqCMD+ARGS\*(Aq (see ""customize"" below)" 4 +.el .IP "\fB\-\-firstboot\-command\fR \*(AqCMD+ARGS\*(Aq (see \f(CWcustomize\fR below)" 4 .IX Item "--firstboot-command 'CMD+ARGS' (see customize below)" Run command (and arguments) inside the guest when the guest first boots up (as root, late in the boot process). .Sp @@ -468,7 +471,7 @@ See also \fI\-\-run\fR. .ie n .IP "\fB\-\-firstboot\-install\fR PKG,PKG.. (see ""customize"" below)" 4 .el .IP "\fB\-\-firstboot\-install\fR PKG,PKG.. (see \f(CWcustomize\fR below)" 4 .IX Item "--firstboot-install PKG,PKG.. (see customize below)" -Install the named packages (a comma-separated list). These are installed when the guest first boots using the guest’s package manager (eg. apt, yum, etc.) and the guest’s network connection. +Install the named packages (a comma\-separated list). These are installed when the guest first boots using the guest’s package manager (eg. apt, yum, etc.) and the guest’s network connection. .Sp For an overview on the different ways to install packages, see "INSTALLING PACKAGES" in \fBvirt\-builder\fR\|(1). .ie n .IP "\fB\-\-hostname\fR HOSTNAME (see ""customize"" below)" 4 @@ -486,16 +489,16 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .ie n .IP "\fB\-\-inject\-virtio\-win\fR METHOD (see ""customize"" below)" 4 .el .IP "\fB\-\-inject\-virtio\-win\fR METHOD (see \f(CWcustomize\fR below)" 4 .IX Item "--inject-virtio-win METHOD (see customize below)" -Inject virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. +Inject virtio\-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. .Sp The parameter can be one of: .RS 4 .IP ISO 4 .IX Item "ISO" -The path to the ISO image containing the virtio-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). +The path to the ISO image containing the virtio\-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). .IP DIR 4 .IX Item "DIR" -The directory containing the unpacked virtio-win drivers (eg. \fI/usr/share/virtio\-win\fR). +The directory containing the unpacked virtio\-win drivers (eg. \fI/usr/share/virtio\-win\fR). .IP "\fB""osinfo""\fR" 4 .IX Item """osinfo""" The literal string \f(CW"osinfo"\fR means to use the libosinfo database to locate the drivers. (See \fBosinfo\-query\fR\|(1). @@ -507,7 +510,7 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .ie n .IP "\fB\-\-install\fR PKG,PKG.. (see ""customize"" below)" 4 .el .IP "\fB\-\-install\fR PKG,PKG.. (see \f(CWcustomize\fR below)" 4 .IX Item "--install PKG,PKG.. (see customize below)" -Install the named packages (a comma-separated list). These are installed during the image build using the guest’s package manager (eg. apt, yum, etc.) and the host’s network connection. +Install the named packages (a comma\-separated list). These are installed during the image build using the guest’s package manager (eg. apt, yum, etc.) and the host’s network connection. .Sp For an overview on the different ways to install packages, see "INSTALLING PACKAGES" in \fBvirt\-builder\fR\|(1). .Sp @@ -543,7 +546,7 @@ Wildcards cannot be used. .ie n .IP "\fB\-\-no\-logfile\fR (see ""customize"" below)" 4 .el .IP "\fB\-\-no\-logfile\fR (see \f(CWcustomize\fR below)" 4 .IX Item "--no-logfile (see customize below)" -Scrub \f(CW\*(C`builder.log\*(C'\fR (log file from build commands) from the image after building is complete. If you don't want to reveal precisely how the image was built, use this option. +Scrub \f(CW\*(C`builder.log\*(C'\fR (log file from build commands) from the image after building is complete. If you don\*(Aqt want to reveal precisely how the image was built, use this option. .Sp See also: "LOG FILE". .ie n .IP "\fB\-\-no\-selinux\-relabel\fR (see ""customize"" below)" 4 @@ -553,7 +556,7 @@ Do not attempt to correct the SELinux labels of files in the guest. .Sp In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. (The relabeling is performed immediately, but if the operation fails, customization will instead touch \fI/.autorelabel\fR on the image to schedule a relabel operation for the next time the image boots.) This option disables the automatic relabeling. .Sp -The option is a no-op for guests that do not support SELinux. +The option is a no\-op for guests that do not support SELinux. .ie n .IP "\fB\-\-password\fR USER:SELECTOR (see ""customize"" below)" 4 .el .IP "\fB\-\-password\fR USER:SELECTOR (see \f(CWcustomize\fR below)" 4 .IX Item "--password USER:SELECTOR (see customize below)" @@ -569,7 +572,7 @@ When the virt tools change or set a password in the guest, this option sets the .Sp \&\f(CW\*(C`md5\*(C'\fR will work with relatively old Linux guests (eg. RHEL 3), but is not secure against modern attacks. .Sp -The default is \f(CW\*(C`sha512\*(C'\fR unless libguestfs detects an old guest that didn't have support for SHA\-512, in which case it will use \f(CW\*(C`md5\*(C'\fR. You can override libguestfs by specifying this option. +The default is \f(CW\*(C`sha512\*(C'\fR unless libguestfs detects an old guest that didn\*(Aqt have support for SHA\-512, in which case it will use \f(CW\*(C`md5\*(C'\fR. You can override libguestfs by specifying this option. .Sp Note this does not change the default password encryption used by the guest when you create new user accounts inside the guest. If you want to do that, then you should use the \fI\-\-edit\fR option to modify \f(CW\*(C`/etc/sysconfig/authconfig\*(C'\fR (Fedora, RHEL) or \f(CW\*(C`/etc/pam.d/common\-password\*(C'\fR (Debian, Ubuntu). .ie n .IP "\fB\-\-remove\-user\-accounts\fR USERS (see ""user\-account"" below)" 4 @@ -591,7 +594,7 @@ Set the root password. .Sp See "USERS AND PASSWORDS" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field, and also how to set up user accounts. .Sp -Note: In virt-builder, if you \fIdon't\fR set \fI\-\-root\-password\fR then the guest is given a \fIrandom\fR root password. +Note: In virt\-builder, if you \fIdon\*(Aqt\fR set \fI\-\-root\-password\fR then the guest is given a \fIrandom\fR root password. .ie n .IP "\fB\-\-run\fR SCRIPT (see ""customize"" below)" 4 .el .IP "\fB\-\-run\fR SCRIPT (see \f(CWcustomize\fR below)" 4 .IX Item "--run SCRIPT (see customize below)" @@ -604,8 +607,8 @@ If libguestfs supports it then a limited network connection is available but it You can have multiple \fI\-\-run\fR options. They run in the same order that they appear on the command line. .Sp See also: \fI\-\-firstboot\fR, \fI\-\-attach\fR, \fI\-\-upload\fR. -.ie n .IP "\fB\-\-run\-command\fR 'CMD+ARGS' (see ""customize"" below)" 4 -.el .IP "\fB\-\-run\-command\fR 'CMD+ARGS' (see \f(CWcustomize\fR below)" 4 +.ie n .IP "\fB\-\-run\-command\fR \*(AqCMD+ARGS\*(Aq (see ""customize"" below)" 4 +.el .IP "\fB\-\-run\-command\fR \*(AqCMD+ARGS\*(Aq (see \f(CWcustomize\fR below)" 4 .IX Item "--run-command 'CMD+ARGS' (see customize below)" Run the command and arguments on the disk image. The command runs virtualized inside a small appliance, chrooted into the guest filesystem. .Sp @@ -649,13 +652,13 @@ This is a compatibility option that does nothing. .IX Item "--sm-attach SELECTOR (see customize below)" Attach to a pool using \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -See "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. +See "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. .ie n .IP "\fB\-\-sm\-credentials\fR SELECTOR (see ""customize"" below)" 4 .el .IP "\fB\-\-sm\-credentials\fR SELECTOR (see \f(CWcustomize\fR below)" 4 .IX Item "--sm-credentials SELECTOR (see customize below)" Set the credentials for \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -See "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. +See "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1) for the format of the \f(CW\*(C`SELECTOR\*(C'\fR field. .ie n .IP "\fB\-\-sm\-register\fR (see ""customize"" below)" 4 .el .IP "\fB\-\-sm\-register\fR (see \f(CWcustomize\fR below)" 4 .IX Item "--sm-register (see customize below)" @@ -693,15 +696,15 @@ This command performs a \fBtouch\fR\|(1)\-like operation on \f(CW\*(C`FILE\*(C'\ .ie n .IP "\fB\-\-truncate\fR FILE (see ""customize"" below)" 4 .el .IP "\fB\-\-truncate\fR FILE (see \f(CWcustomize\fR below)" 4 .IX Item "--truncate FILE (see customize below)" -This command truncates \f(CW\*(C`FILE\*(C'\fR to a zero-length file. The file must exist already. +This command truncates \f(CW\*(C`FILE\*(C'\fR to a zero\-length file. The file must exist already. .ie n .IP "\fB\-\-truncate\-recursive\fR PATH (see ""customize"" below)" 4 .el .IP "\fB\-\-truncate\-recursive\fR PATH (see \f(CWcustomize\fR below)" 4 .IX Item "--truncate-recursive PATH (see customize below)" -This command recursively truncates all files under \f(CW\*(C`PATH\*(C'\fR to zero-length. +This command recursively truncates all files under \f(CW\*(C`PATH\*(C'\fR to zero\-length. .ie n .IP "\fB\-\-uninstall\fR PKG,PKG.. (see ""customize"" below)" 4 .el .IP "\fB\-\-uninstall\fR PKG,PKG.. (see \f(CWcustomize\fR below)" 4 .IX Item "--uninstall PKG,PKG.. (see customize below)" -Uninstall the named packages (a comma-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. +Uninstall the named packages (a comma\-separated list). These are removed during the image build using the guest’s package manager (eg. apt, yum, etc.). Dependent packages may also need to be uninstalled to satisfy the request. .Sp See also \fI\-\-install\fR, \fI\-\-update\fR. .ie n .IP "\fB\-\-update\fR (see ""customize"" below)" 4 @@ -728,23 +731,23 @@ Write \f(CW\*(C`CONTENT\*(C'\fR to \f(CW\*(C`FILE\*(C'\fR. .IX Header "OPERATIONS" If the \fI\-\-enable\fR/\fI\-\-operations\fR option is \fInot\fR given, then most sysprep operations are enabled. .PP -Use \f(CW\*(C`virt\-sysprep \-\-list\-operations\*(C'\fR to list all operations for your virt-sysprep binary. The ones which are enabled by default are marked with a \f(CW\*(C`*\*(C'\fR character. Regardless of the \fI\-\-enable\fR/\fI\-\-operations\fR options, sysprep operations are skipped for some guest types. +Use \f(CW\*(C`virt\-sysprep \-\-list\-operations\*(C'\fR to list all operations for your virt\-sysprep binary. The ones which are enabled by default are marked with a \f(CW\*(C`*\*(C'\fR character. Regardless of the \fI\-\-enable\fR/\fI\-\-operations\fR options, sysprep operations are skipped for some guest types. .PP -Operations can be individually enabled using the \fI\-\-enable\fR/\fI\-\-operations\fR options. Use a comma-separated list, for example: +Operations can be individually enabled using the \fI\-\-enable\fR/\fI\-\-operations\fR options. Use a comma\-separated list, for example: .PP .Vb 1 \& virt\-sysprep \-\-operations ssh\-hostkeys,udev\-persistent\-net [etc..] .Ve .PP -Future versions of virt-sysprep may add more operations. If you are using virt-sysprep and want predictable behaviour, specify only the operations that you want to have enabled. +Future versions of virt\-sysprep may add more operations. If you are using virt\-sysprep and want predictable behaviour, specify only the operations that you want to have enabled. .PP \&\f(CW\*(C`*\*(C'\fR = enabled by default when no \fI\-\-enable\fR/\fI\-\-operations\fR option is given. -.SS "\fBabrt-data\fP *" +.SS "\fBabrt\-data\fP *" .IX Subsection "abrt-data *" ABRT により生成されたクラッシュデータを削除します。 .PP \&\f(CW\*(C`/var/spool/abrt/\*(C'\fR に自動的に生成された ABRT クラッシュデータを削除します。 -.SS "\fBbackup-files\fP *" +.SS "\fBbackup\-files\fP *" .IX Subsection "backup-files *" Remove editor backup files from the guest. .PP @@ -765,30 +768,30 @@ On Linux and Unix operating systems, only the following filesystems will be exam /tmp .IP · 4 /var -.SS "\fBbash-history\fP *" +.SS "\fBbash\-history\fP *" .IX Subsection "bash-history *" 仮想マシンにおいて bash 履歴を削除します。 .PP ユーザー "root" および他のあらゆるユーザーのホームディレクトリーに \f(CW\*(C`.bash_history\*(C'\fR ファイルを持つユーザーの bash 履歴を削除します。 .PP -\fINotes on bash-history\fR +\fINotes on bash\-history\fR .IX Subsection "Notes on bash-history" .PP -Currently this only looks in \f(CW\*(C`/root\*(C'\fR and \f(CW\*(C`/home/*\*(C'\fR for home directories, so users with home directories in other locations won't have the bash history removed. -.SS "\fBblkid-tab\fP *" +Currently this only looks in \f(CW\*(C`/root\*(C'\fR and \f(CW\*(C`/home/*\*(C'\fR for home directories, so users with home directories in other locations won\*(Aqt have the bash history removed. +.SS "\fBblkid\-tab\fP *" .IX Subsection "blkid-tab *" ゲストにある blkid テーブルを削除します。 -.SS \fBca-certificates\fP +.SS \fBca\-certificates\fP .IX Subsection "ca-certificates" 仮想マシンにおいて CA 証明書を削除します。 .PP In case any certificate is removed, the system CA store is updated. -.SS "\fBcrash-data\fP *" +.SS "\fBcrash\-data\fP *" .IX Subsection "crash-data *" -kexec-tools により生成されたクラッシュデータを削除します。 +kexec\-tools により生成されたクラッシュデータを削除します。 .PP 自動的に生成された kdump カーネルクラッシュデータを削除します。 -.SS "\fBcron-spool\fP *" +.SS "\fBcron\-spool\fP *" .IX Subsection "cron-spool *" ユーザーの at ジョブおよび cron ジョブを削除します。 .SS "\fBcustomize\fP *" @@ -796,50 +799,50 @@ kexec-tools により生成されたクラッシュデータを削除します Customize the guest. .PP Customize the guest by providing \fBvirt\-customize\fR\|(1) options for installing packages, editing files and so on. -.SS "\fBdhcp-client-state\fP *" +.SS "\fBdhcp\-client\-state\fP *" .IX Subsection "dhcp-client-state *" DHCP クライアントのリースを削除します。 -.SS "\fBdhcp-server-state\fP *" +.SS "\fBdhcp\-server\-state\fP *" .IX Subsection "dhcp-server-state *" DHCP サーバーのリースを削除します。 -.SS "\fBdovecot-data\fP *" +.SS "\fBdovecot\-data\fP *" .IX Subsection "dovecot-data *" Dovecot (メールサーバー) のデータを削除します。 -.SS \fBfirewall-rules\fP +.SS \fBfirewall\-rules\fP .IX Subsection "firewall-rules" ファイアウォールルールを削除します。 .PP This removes custom firewall rules by removing \f(CW\*(C`/etc/sysconfig/iptables\*(C'\fR or custom firewalld configuration in \f(CW\*(C`/etc/firewalld/*/*\*(C'\fR. .PP Note this is \fInot\fR enabled by default since it may expose guests to exploits. Use with care. -.SS \fBflag-reconfiguration\fP +.SS \fBflag\-reconfiguration\fP .IX Subsection "flag-reconfiguration" Flag the system for reconfiguration. .PP For Linux guests, this touches \f(CW\*(C`/.unconfigured\*(C'\fR, which causes the first boot to interactively query the user for settings such as the root password and timezone. -.SS \fBfs-uuids\fP +.SS \fBfs\-uuids\fP .IX Subsection "fs-uuids" Change filesystem UUIDs. .PP On guests and filesystem types where this is supported, new random UUIDs are generated and assigned to filesystems. .PP -\fINotes on fs-uuids\fR +\fINotes on fs\-uuids\fR .IX Subsection "Notes on fs-uuids" .PP -The fs-uuids operation is disabled by default because it does not yet find and update all the places in the guest that use the UUIDs. For example \f(CW\*(C`/etc/fstab\*(C'\fR or the bootloader. Enabling this operation is more likely than not to make your guest unbootable. +The fs\-uuids operation is disabled by default because it does not yet find and update all the places in the guest that use the UUIDs. For example \f(CW\*(C`/etc/fstab\*(C'\fR or the bootloader. Enabling this operation is more likely than not to make your guest unbootable. .PP 参照: https://bugzilla.redhat.com/show_bug.cgi?id=991641 -.SS "\fBipa-client\fP *" +.SS "\fBipa\-client\fP *" .IX Subsection "ipa-client *" Remove the IPA files. .PP Remove all the files related to an IPA (Identity, Policy, Audit) system. This effectively unenrolls the guest from an IPA server without interacting with it. .PP This operation does not run \f(CW\*(C`ipa\-client\*(C'\fR. -.SS \fBkerberos-data\fP +.SS \fBkerberos\-data\fP .IX Subsection "kerberos-data" 仮想マシンにおいて Kerberos のデータを削除します。 -.SS "\fBkerberos-hostkeytab\fP *" +.SS "\fBkerberos\-hostkeytab\fP *" .IX Subsection "kerberos-hostkeytab *" Remove the Kerberos host keytab file in the guest. .SS "\fBlogfiles\fP *" @@ -987,51 +990,51 @@ Linux においては以下のファイルが削除されます: /var/log/xferlog* .IP · 4 /var/named/data/named.run -.SS "\fBlvm-system-devices\fP *" +.SS "\fBlvm\-system\-devices\fP *" .IX Subsection "lvm-system-devices *" Remove LVM2 system.devices file. .PP -On Linux guests, LVM2's scanning for physical volumes (PVs) may be restricted to those block devices whose WWIDs are listed in \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. When cloning VMs, WWIDs may change, breaking \f(CW\*(C`lvm pvscan\*(C'\fR. Remove \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. -.SS "\fBlvm-uuids\fP *" +On Linux guests, LVM2\*(Aqs scanning for physical volumes (PVs) may be restricted to those block devices whose WWIDs are listed in \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. When cloning VMs, WWIDs may change, breaking \f(CW\*(C`lvm pvscan\*(C'\fR. Remove \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. +.SS "\fBlvm\-uuids\fP *" .IX Subsection "lvm-uuids *" LVM2 の PV および VG の UUID を変更します。 .PP LVM2 物理ボリューム (PV) またはボリュームグループ (VG) を持つ Linux 仮想マシンにおいて、新しいランダムな UUID が生成され、これらの PV や VG に割り当てられます。 -.SS "\fBmachine-id\fP *" +.SS "\fBmachine\-id\fP *" .IX Subsection "machine-id *" ローカルマシン ID を削除します。 .PP The machine ID is usually generated from a random source during system installation and stays constant for all subsequent boots. Optionally, for stateless systems it is generated during runtime at boot if it is found to be empty. -.SS "\fBmail-spool\fP *" +.SS "\fBmail\-spool\fP *" .IX Subsection "mail-spool *" ローカルのメールスプールのディレクトリから電子メールを削除します。 -.SS "\fBnet-hostname\fP *" +.SS "\fBnet\-hostname\fP *" .IX Subsection "net-hostname *" Remove HOSTNAME and DHCP_HOSTNAME in network interface configuration. .PP Fedora および Red Hat Enterprise Linux に対して、これは \f(CW\*(C`ifcfg\-*\*(C'\fR ファイルから削除されます。 -.SS "\fBnet-hwaddr\fP *" +.SS "\fBnet\-hwaddr\fP *" .IX Subsection "net-hwaddr *" HWADDR (ハードコードされた MAC アドレス) 設定を削除します。 .PP Fedora および Red Hat Enterprise Linux に対して、これは \f(CW\*(C`ifcfg\-*\*(C'\fR ファイルから削除されます。 -.SS "\fBnet-nmconn\fP *" +.SS "\fBnet\-nmconn\fP *" .IX Subsection "net-nmconn *" -Remove system-local NetworkManager connection profiles (keyfiles). +Remove system\-local NetworkManager connection profiles (keyfiles). .PP On Fedora and Red Hat Enterprise Linux, remove the \f(CW\*(C`/etc/NetworkManager/system\-connections/*.nmconnection\*(C'\fR files. -.SS "\fBpacct-log\fP *" +.SS "\fBpacct\-log\fP *" .IX Subsection "pacct-log *" プロセス・アカウンティングのログファイルを削除します。 .PP プロセス・アカウンティングが有効になっていると、システム全体のプロセス・アカウンティングが pacct ログファイルに保存されます。 -.SS "\fBpackage-manager-cache\fP *" +.SS "\fBpackage\-manager\-cache\fP *" .IX Subsection "package-manager-cache *" パッケージマネージャーのキャッシュを削除します。 -.SS "\fBpam-data\fP *" +.SS "\fBpam\-data\fP *" .IX Subsection "pam-data *" ゲストにある PAM データを削除します。 -.SS "\fBpasswd-backups\fP *" +.SS "\fBpasswd\-backups\fP *" .IX Subsection "passwd-backups *" Remove /etc/passwd\- and similar backup files. .PP @@ -1048,21 +1051,21 @@ Linux においては以下のファイルが削除されます: /etc/subgid\- .IP · 4 /etc/subuid\- -.SS "\fBpuppet-data-log\fP *" +.SS "\fBpuppet\-data\-log\fP *" .IX Subsection "puppet-data-log *" Puppet のデータおよびログファイルを削除します。 -.SS "\fBrh-subscription-manager\fP *" +.SS "\fBrh\-subscription\-manager\fP *" .IX Subsection "rh-subscription-manager *" Remove the RH subscription manager files. -.SS "\fBrhn-systemid\fP *" +.SS "\fBrhn\-systemid\fP *" .IX Subsection "rhn-systemid *" RHN システム ID を削除します。 -.SS "\fBrpm-db\fP *" +.SS "\fBrpm\-db\fP *" .IX Subsection "rpm-db *" -Remove host-specific RPM database files. +Remove host\-specific RPM database files. .PP -Remove host-specific RPM database files and locks. RPM will recreate these files automatically if needed. -.SS "\fBsamba-db-log\fP *" +Remove host\-specific RPM database files and locks. RPM will recreate these files automatically if needed. +.SS "\fBsamba\-db\-log\fP *" .IX Subsection "samba-db-log *" Samba のデータベースおよびログファイルを削除します。 .SS "\fBscript\fP *" @@ -1080,10 +1083,10 @@ The script or program is run with its current directory being the guest’s root Normally a temporary mount point for the guest is used, but you can choose a specific one by using the \fI\-\-scriptdir\fR parameter. .PP \&\fBNote:\fR This is different from \fI\-\-firstboot\fR scripts (which run in the context of the guest when it is booting first time). \fI\-\-script\fR scripts run on the host, not in the guest. -.SS "\fBsmolt-uuid\fP *" +.SS "\fBsmolt\-uuid\fP *" .IX Subsection "smolt-uuid *" Smolt ハードウェア UUID を削除します。 -.SS "\fBssh-hostkeys\fP *" +.SS "\fBssh\-hostkeys\fP *" .IX Subsection "ssh-hostkeys *" 仮想マシンの SSH ホストキーを削除します。 .PP @@ -1097,32 +1100,32 @@ Smolt ハードウェア UUID を削除します。 \& @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \& IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! .Ve -.SS "\fBssh-userdir\fP *" +.SS "\fBssh\-userdir\fP *" .IX Subsection "ssh-userdir *" 仮想マシンにある ".ssh" ディレクトリーを削除します。 .PP ユーザー "root" 、およびホームディレクトリーに \f(CW\*(C`.ssh\*(C'\fR ディレクトリーがある他のすべてのユーザーの、\f(CW\*(C`.ssh\*(C'\fR ディレクトリーを削除します。 .PP -\fINotes on ssh-userdir\fR +\fINotes on ssh\-userdir\fR .IX Subsection "Notes on ssh-userdir" .PP -Currently this only looks in \f(CW\*(C`/root\*(C'\fR and \f(CW\*(C`/home/*\*(C'\fR for home directories, so users with home directories in other locations won't have the ssh files removed. -.SS "\fBsssd-db-log\fP *" +Currently this only looks in \f(CW\*(C`/root\*(C'\fR and \f(CW\*(C`/home/*\*(C'\fR for home directories, so users with home directories in other locations won\*(Aqt have the ssh files removed. +.SS "\fBsssd\-db\-log\fP *" .IX Subsection "sssd-db-log *" SSSD のデータベースとログファイルを削除します。 -.SS "\fBtmp-files\fP *" +.SS "\fBtmp\-files\fP *" .IX Subsection "tmp-files *" 一時ファイルを削除します。 .PP これは \f(CW\*(C`/tmp\*(C'\fR と \f(CW\*(C`/var/tmp\*(C'\fR の中にある一時ファイルを削除します。 -.SS "\fBudev-persistent-net\fP *" +.SS "\fBudev\-persistent\-net\fP *" .IX Subsection "udev-persistent-net *" udev persistent net ルールを削除します。 .PP Remove udev persistent net rules which map the guest’s existing MAC address to a fixed ethernet device (eg. eth0). .PP 仮想マシンをクローンした後、通常 MAC アドレスは変わります。古い MAC アドレスは古い名前(たとえば eth0)を占有するため、このことは新しい MAC アドレスが新しい名前(たとえば eth1)に割り当てられることを意味します。それは、一般的に好ましくありません。 udev の永続的な net ルールを削除することにより、これを避けます。 -.SS \fBuser-account\fP +.SS \fBuser\-account\fP .IX Subsection "user-account" 仮想マシンにあるユーザーアカウントを削除します。 .PP @@ -1134,14 +1137,14 @@ See the \fI\-\-remove\-user\-accounts\fR parameter for a way to specify how to r utmp ファイルを削除します。 .PP This file records who is currently logged in on a machine. In modern Linux distros it is stored in a ramdisk and hence not part of the virtual machine’s disk, but it was stored on disk in older distros. -.SS "\fByum-uuid\fP *" +.SS "\fByum\-uuid\fP *" .IX Subsection "yum-uuid *" yum UUID を削除します。 .PP yum は元々の UUID が削除されたことを通知するとき、次の実行時に新しい UUID を作成します。 .SH コピー方法およびクローン方法 .IX Header "コピー方法およびクローン方法" -virt-sysprep は仮想マシンをクローンするプロセスの一部として使用できます。もしくは、クローンされた仮想マシンからテンプレートを準備するために使用できます。仮想化ツールを使用してこれを実現する他の方法がいろいろとあります。このセクションは単に概要を説明します。 +virt\-sysprep は仮想マシンをクローンするプロセスの一部として使用できます。もしくは、クローンされた仮想マシンからテンプレートを準備するために使用できます。仮想化ツールを使用してこれを実現する他の方法がいろいろとあります。このセクションは単に概要を説明します。 .PP 仮想マシン(停止状態の場合)は 2 つの部分からなります: .IP \fIconfiguration\fR 4 @@ -1214,7 +1217,7 @@ Starting with an original guest, you probably wish to copy the guest block devic \& \e\-\-\-\-> .Ve .PP -You may want to run virt-sysprep twice, once to reset the guest (to make a template) and a second time to customize the guest for a specific user: +You may want to run virt\-sysprep twice, once to reset the guest (to make a template) and a second time to customize the guest for a specific user: .PP .Vb 6 \& virt\-sysprep virt\-sysprep @@ -1225,7 +1228,7 @@ You may want to run virt-sysprep twice, once to reset the guest (to make a templ \& テンプレート 仮想マシン .Ve .IP \(bu 4 -Create a snapshot using qemu-img: +Create a snapshot using qemu\-img: .Sp .Vb 1 \& qemu\-img create \-f qcow2 \-o backing_file=original snapshot.qcow @@ -1237,18 +1240,18 @@ Note that writing to the backing file once you have created guests on top of it .IP \(bu 4 \&\f(CW\*(C`lvcreate \-\-snapshot\*(C'\fR を使用してスナップショットを作成します。 .IP \(bu 4 -Other ways to create snapshots include using filesystems-level tools (for filesystems such as btrfs). +Other ways to create snapshots include using filesystems\-level tools (for filesystems such as btrfs). .Sp Most Network Attached Storage (NAS) devices can also create cheap snapshots from files or LUNs. .IP \(bu 4 -Get your NAS to duplicate the LUN. Most NAS devices can also duplicate LUNs very cheaply (they copy them on-demand in the background). +Get your NAS to duplicate the LUN. Most NAS devices can also duplicate LUNs very cheaply (they copy them on\-demand in the background). .IP \(bu 4 \&\fBvirt\-sparsify\fR\|(1) を使用してテンプレートを準備します。以下を参照してください。 -.SS virt-clone +.SS virt\-clone .IX Subsection "virt-clone" A separate tool, \fBvirt\-clone\fR\|(1), can be used to duplicate the block device and/or modify the external libvirt configuration of a guest. It will reset the name, UUID and MAC address of the guest in the libvirt XML. .PP -\&\fBvirt\-clone\fR\|(1) does not use libguestfs and cannot look inside the disk image. This was the original motivation to write virt-sysprep. +\&\fBvirt\-clone\fR\|(1) does not use libguestfs and cannot look inside the disk image. This was the original motivation to write virt\-sysprep. .SS スパース化 .IX Subsection "スパース化" .Vb 2 @@ -1258,7 +1261,7 @@ A separate tool, \fBvirt\-clone\fR\|(1), can be used to duplicate the block devi .PP \&\fBvirt\-sparsify\fR\|(1) can be used to make the cloning template smaller, making it easier to compress and/or faster to copy. .PP -Notice that since virt-sparsify also copies the image, you can use it to make the initial copy (instead of \f(CW\*(C`dd\*(C'\fR). +Notice that since virt\-sparsify also copies the image, you can use it to make the initial copy (instead of \f(CW\*(C`dd\*(C'\fR). .SS 容量変更 .IX Subsection "容量変更" .Vb 5 @@ -1269,7 +1272,7 @@ Notice that since virt-sparsify also copies the image, you can use it to make th \& \e\-\-\-\-> .Ve .PP -If you want to give people cloned guests, but let them pick the size of the guest themselves (eg. depending on how much they are prepared to pay for disk space), then instead of copying the template, you can run \fBvirt\-resize\fR\|(1). Virt-resize performs a copy and resize, and thus is ideal for cloning guests from a template. +If you want to give people cloned guests, but let them pick the size of the guest themselves (eg. depending on how much they are prepared to pay for disk space), then instead of copying the template, you can run \fBvirt\-resize\fR\|(1). Virt\-resize performs a copy and resize, and thus is ideal for cloning guests from a template. .SH "FIRSTBOOT VS SCRIPT" .IX Header "FIRSTBOOT VS SCRIPT" The two options \fI\-\-firstboot\fR and \fI\-\-script\fR both supply shell scripts that are run against the guest. However these two options are significantly different. @@ -1278,7 +1281,7 @@ The two options \fI\-\-firstboot\fR and \fI\-\-script\fR both supply shell scrip .PP \&\fI\-\-script script\fR runs the shell \f(CW\*(C`script\*(C'\fR \fIon the host\fR, with its current directory inside the guest filesystem. .PP -If you needed, for example, to \f(CW\*(C`yum install\*(C'\fR new packages, then you \fImust not\fR use \fI\-\-script\fR for this, since that would (a) run the \f(CW\*(C`yum\*(C'\fR command on the host and (b) wouldn't have access to the same resources (repositories, keys, etc.) as the guest. Any command that needs to run on the guest \fImust\fR be run via \fI\-\-firstboot\fR. +If you needed, for example, to \f(CW\*(C`yum install\*(C'\fR new packages, then you \fImust not\fR use \fI\-\-script\fR for this, since that would (a) run the \f(CW\*(C`yum\*(C'\fR command on the host and (b) wouldn\*(Aqt have access to the same resources (repositories, keys, etc.) as the guest. Any command that needs to run on the guest \fImust\fR be run via \fI\-\-firstboot\fR. .PP On the other hand if you need to make adjustments to the guest filesystem (eg. copying in files), then \fI\-\-script\fR is ideal since (a) it has access to the host filesystem and (b) you will get immediate feedback on errors. .PP @@ -1287,14 +1290,14 @@ Either or both options can be used multiple times on the command line. .IX Header "セキュリティ" Virtual machines that employ full disk encryption \fIinternally to the guest\fR should not be considered for cloning and distribution, as it provides multiple parties with the same internal volume key, enabling any one such party to decrypt all the other clones. Refer to the LUKS FAQ for details. .PP -Although virt-sysprep removes some sensitive information from the guest, it does not pretend to remove all of it. You should examine the "OPERATIONS" above and the guest afterwards. +Although virt\-sysprep removes some sensitive information from the guest, it does not pretend to remove all of it. You should examine the "OPERATIONS" above and the guest afterwards. .PP Sensitive files are simply removed. The data they contained may still exist on the disk, easily recovered with a hex editor or undelete tool. The \fI\-\-scrub\fR option can be used to scrub files instead of just deleting them. \fBvirt\-sparsify\fR\|(1) is another way to remove this content. See also the \fBscrub\fR\|(1) command to get rid of deleted content in directory entries and inodes. .SS 乱数の種 .IX Subsection "乱数の種" \&\fI(このセクションは Linux 仮想マシンのみに適用します)\fR .PP -For supported guests, virt-sysprep writes a few bytes of randomness from the host into the guest’s random seed file. +For supported guests, virt\-sysprep writes a few bytes of randomness from the host into the guest’s random seed file. .PP If this is just done once and the guest is cloned from the same template, then each guest will start with the same entropy, and things like SSH host keys and TCP sequence numbers may be predictable. .PP @@ -1311,7 +1314,7 @@ For guests which make use of SELinux, special handling for them might be needed For further details, see "SELINUX" in \fBvirt\-builder\fR\|(1). .SH "WINDOWS 8" .IX Header "WINDOWS 8" -Windows 8 "fast startup" can prevent virt-sysprep from working. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). +Windows 8 "fast startup" can prevent virt\-sysprep from working. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). .SH 終了ステータス .IX Header "終了ステータス" このプログラムは、成功すると 0 を返します。または、エラーが起きると 1 を返します。 @@ -1322,7 +1325,7 @@ Windows 8 "fast startup" can prevent virt-sysprep from working. See "WINDOWS HI .IX Item "VIRT_TOOLS_DATA_DIR" This can point to the directory containing data files used for Windows firstboot installation. .Sp -Normally you do not need to set this. If not set, a compiled-in default will be used (something like \fI/usr/share/virt\-tools\fR). +Normally you do not need to set this. If not set, a compiled\-in default will be used (something like \fI/usr/share/virt\-tools\fR). .Sp This directory may contain the following files: .RS 4 diff --git a/po-docs/ja/virt-sysprep.pod b/po-docs/ja/virt-sysprep.pod index 8148fa2..8a35c88 100644 --- a/po-docs/ja/virt-sysprep.pod +++ b/po-docs/ja/virt-sysprep.pod @@ -17,7 +17,7 @@ Virt-sysprep modifies the guest or disk image I. The guest must be sh You do I need to run virt-sysprep as root. In fact we'd generally recommend that you don't. The time you might want to run it as root is when you need root in order to access the disk image, but even in this case it would be better to change the permissions on the disk image to be writable as the non-root user running virt-sysprep. -"Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program F which is used to unconfigure Windows machines in preparation for cloning them. Having said that, virt-sysprep does I currently work on Microsoft Windows guests. We plan to support Windows sysprepping in a future version, and we already have code to do it. +"Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program F which is used to unconfigure Windows machines in preparation for cloning them. (Virt-sysprep does not work on Microsoft Windows guests.) =head1 オプション diff --git a/po-docs/ja/virt-win-reg.1 b/po-docs/ja/virt-win-reg.1 index ce1cdff..133039b 100644 --- a/po-docs/ja/virt-win-reg.1 +++ b/po-docs/ja/virt-win-reg.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-win-reg 1" -.TH virt-win-reg 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-win-reg 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH 名前 .IX Header "名前" -virt-win-reg \- Windows 仮想マシンからの Windows レジストリエントリーのエクスポートおよびマージ +virt\-win\-reg \- Windows 仮想マシンからの Windows レジストリエントリーのエクスポートおよびマージ .SH 書式 .IX Header "書式" .Vb 1 @@ -78,7 +81,7 @@ virt-win-reg \- Windows 仮想マシンからの Windows レジストリエン .Ve .SH 警告 .IX Header "警告" -You must \fInot\fR use \f(CW\*(C`virt\-win\-reg\*(C'\fR with the \fI\-\-merge\fR option on live virtual machines. If you do this, you \fIwill\fR get irreversible disk corruption in the VM. \f(CW\*(C`virt\-win\-reg\*(C'\fR tries to stop you from doing this, but doesn't catch all cases. +You must \fInot\fR use \f(CW\*(C`virt\-win\-reg\*(C'\fR with the \fI\-\-merge\fR option on live virtual machines. If you do this, you \fIwill\fR get irreversible disk corruption in the VM. \f(CW\*(C`virt\-win\-reg\*(C'\fR tries to stop you from doing this, but doesn\*(Aqt catch all cases. .PP Modifying the Windows Registry is an inherently risky operation. The format is deliberately obscure and undocumented, and Registry changes can leave the system unbootable. Therefore when using the \fI\-\-merge\fR option, make sure you have a reliable backup first. .SH 説明 @@ -135,10 +138,10 @@ Specify the format of disk images given on the command line. If this is omitted .Sp If disk images are requested from libvirt, then this program asks libvirt for this information. In this case, the value of the format parameter is ignored. .Sp -If working with untrusted raw-format guest disk images, you should ensure the format is always specified. +If working with untrusted raw\-format guest disk images, you should ensure the format is always specified. .IP \fB\-\-merge\fR 4 .IX Item "--merge" -In merge mode, this merges a textual regedit file into the Windows Registry of the virtual machine. If this flag is \fInot\fR given then virt-win-reg displays or exports Registry entries instead. +In merge mode, this merges a textual regedit file into the Windows Registry of the virtual machine. If this flag is \fInot\fR given then virt\-win\-reg displays or exports Registry entries instead. .Sp Note that \fI\-\-merge\fR is \fIunsafe\fR to use on live virtual machines, and will result in disk corruption. However exporting (without this flag) is always safe. .IP "\fB\-\-encoding\fR UTF\-16LE|ASCII" 4 @@ -167,7 +170,7 @@ You should only use this option for quick hacking and debugging of the Registry .RE .SH サポートされるシステム .IX Header "サポートされるシステム" -The program currently supports Windows NT-derived guests starting with Windows XP through to at least Windows 8. +The program currently supports Windows NT\-derived guests starting with Windows XP through to at least Windows 8. .PP 以下のレジストリキーがサポートされます: .ie n .IP """HKEY_LOCAL_MACHINE\eSAM""" 4 @@ -201,10 +204,10 @@ You can use \f(CW\*(C`HKLM\*(C'\fR as a shorthand for \f(CW\*(C`HKEY_LOCAL_MACHI The literal keys \f(CW\*(C`HKEY_USERS\e$SID\*(C'\fR and \f(CW\*(C`HKEY_CURRENT_USER\*(C'\fR are not supported (there is no "current user"). .SS "WINDOWS 8" .IX Subsection "WINDOWS 8" -Windows 8 "fast startup" can prevent virt-win-reg from being able to edit the Registry. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). +Windows 8 "fast startup" can prevent virt\-win\-reg from being able to edit the Registry. See "WINDOWS HIBERNATION AND WINDOWS 8 FAST STARTUP" in \fBguestfs\fR\|(3). .SH エンコーディング .IX Header "エンコーディング" -\&\f(CW\*(C`virt\-win\-reg\*(C'\fR expects that regedit files have already been reencoded in the local encoding. Usually on Linux hosts, this means UTF\-8 with Unix-style line endings. Since Windows regedit files are often in UTF\-16LE with Windows-style line endings, you may need to reencode the whole file before or after processing. +\&\f(CW\*(C`virt\-win\-reg\*(C'\fR expects that regedit files have already been reencoded in the local encoding. Usually on Linux hosts, this means UTF\-8 with Unix\-style line endings. Since Windows regedit files are often in UTF\-16LE with Windows\-style line endings, you may need to reencode the whole file before or after processing. .PP To reencode a file from Windows format to Linux (before processing it with the \fI\-\-merge\fR option), you would do something like this: .PP @@ -220,7 +223,7 @@ To go in the opposite direction, after exporting and before sending the file to .PP エンコーディングの詳細は \fBWin::Hivex::Regedit\fR\|(3) を参照してください。 .PP -If you are unsure about the current encoding, use the \fBfile\fR\|(1) command. Recent versions of Windows regedit.exe produce a UTF\-16LE file with Windows-style (CRLF) line endings, like this: +If you are unsure about the current encoding, use the \fBfile\fR\|(1) command. Recent versions of Windows regedit.exe produce a UTF\-16LE file with Windows\-style (CRLF) line endings, like this: .PP .Vb 3 \& $ file software.reg @@ -334,7 +337,7 @@ For use of \f(CW\*(C`ControlSet001\*(C'\fR see the section above in this manual .Ve .SH "SHELL QUOTING" .IX Header "SHELL QUOTING" -シェルにおいて \f(CW\*(C`\e\*(C'\fR (backslash) を含むパラメーターを渡すとき、注意する必要があります。通常シェルからそれらを保護するには、'単一引用符' または二つのバックスラッシュ (しかし、両方ではない) を使用する必要があります。 +シェルにおいて \f(CW\*(C`\e\*(C'\fR (backslash) を含むパラメーターを渡すとき、注意する必要があります。通常シェルからそれらを保護するには、\*(Aq単一引用符\*(Aq または二つのバックスラッシュ (しかし、両方ではない) を使用する必要があります。 .PP パスおよび値の名前は大文字小文字を区別します。 .SH 関連項目 diff --git a/po-docs/language.mk b/po-docs/language.mk index b4e3544..7328265 100644 --- a/po-docs/language.mk +++ b/po-docs/language.mk @@ -30,7 +30,6 @@ MANPAGES = \ virt-cat.1 \ virt-customize.1 \ virt-df.1 \ - virt-dib.1 \ virt-diff.1 \ virt-edit.1 \ virt-filesystems.1 \ @@ -101,13 +100,16 @@ virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.po # Remove both. # XXX Fix po4a so it doesn't do this. %.pod: $(srcdir)/../$(LINGUA).po + rm -f $@ $@-t $(guestfs_am_v_po4a_translate)$(PO4A_TRANSLATE) \ -f pod \ -M utf-8 -L utf-8 \ -k 0 \ -m $(top_srcdir)/$(shell grep -E '/$(basename $@)(\.|$$)' $(top_srcdir)/po-docs/podfiles) \ -p $< \ - | $(SED) '0,/^=encoding/d' > $@ + -l $@-t + $(SED) '0,/^=encoding/d' < $@-t > $@ + rm $@-t # XXX Can automake do this properly? install-data-hook: diff --git a/po-docs/uk/Makefile.in b/po-docs/uk/Makefile.in index 964f30c..3f997ae 100644 --- a/po-docs/uk/Makefile.in +++ b/po-docs/uk/Makefile.in @@ -354,6 +354,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -459,7 +461,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt @@ -495,7 +497,6 @@ MANPAGES = \ virt-cat.1 \ virt-customize.1 \ virt-df.1 \ - virt-dib.1 \ virt-diff.1 \ virt-edit.1 \ virt-filesystems.1 \ @@ -817,13 +818,16 @@ virt-sysprep.1: virt-sysprep.pod sysprep-extra-options.pod sysprep-operations.po # Remove both. # XXX Fix po4a so it doesn't do this. %.pod: $(srcdir)/../$(LINGUA).po + rm -f $@ $@-t $(guestfs_am_v_po4a_translate)$(PO4A_TRANSLATE) \ -f pod \ -M utf-8 -L utf-8 \ -k 0 \ -m $(top_srcdir)/$(shell grep -E '/$(basename $@)(\.|$$)' $(top_srcdir)/po-docs/podfiles) \ -p $< \ - | $(SED) '0,/^=encoding/d' > $@ + -l $@-t + $(SED) '0,/^=encoding/d' < $@-t > $@ + rm $@-t # XXX Can automake do this properly? install-data-hook: diff --git a/po-docs/uk/virt-alignment-scan.1 b/po-docs/uk/virt-alignment-scan.1 index ff0f015..2744575 100644 --- a/po-docs/uk/virt-alignment-scan.1 +++ b/po-docs/uk/virt-alignment-scan.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-alignment-scan 1" -.TH virt-alignment-scan 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-alignment-scan 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-alignment-scan — перевірка вирівнювання розділів віртуальної машини +virt\-alignment\-scan — перевірка вирівнювання розділів віртуальної машини .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -76,7 +79,7 @@ virt-alignment-scan — перевірка вирівнювання розділ .IX Header "ОПИС" Під час встановлення застарілих операційних систем засоби розподілу диска можуть розташувати розділ на секторі з помилковим вирівнюванням відносно системи зберігання даних (типово, перший розділ починається з сектора \f(CW63\fR). Розділи з помилковим вирівнюванням можуть призвести до неоптимальної кількості запитів щодо виведення та введення даних від операційної системи. .PP -Програма virt-alignment-scan виконує перевірку вирівнювання розділів у віртуальних машинах та образів дисків і повідомляє вам, якщо буде виявлено помилки вирівнювання. +Програма virt\-alignment\-scan виконує перевірку вирівнювання розділів у віртуальних машинах та образів дисків і повідомляє вам, якщо буде виявлено помилки вирівнювання. .PP У поточній версії не передбачено програми для виправлення помилок, пов’язаних з вирівнюванням. Ви можете лише перевстановити гостьову операційну систему. У цьому документі можна знайти короткі описи помилок та можливі шляхи усування цих помилок: http://media.netapp.com/documents/tr\-3747.pdf .SH ВИВЕДЕННЯ @@ -106,7 +109,7 @@ virt-alignment-scan — перевірка вирівнювання розділ \& /dev/sdb1 65536 64K ok .Ve .PP -Щоб виконати сканування всіх доменів libvirt, віддайте команду virt-alignment-scan без параметрів \fI\-a\fR та \fI\-d\fR. +Щоб виконати сканування всіх доменів libvirt, віддайте команду virt\-alignment\-scan без параметрів \fI\-a\fR та \fI\-d\fR. .PP .Vb 4 \& # virt\-alignment\-scan @@ -212,7 +215,7 @@ default value which is usually 512 bytes. See also Якщо ви користуєтеся ненадійними образами гостьових систем у необробленому форматі, вам слід скористатися цим параметром для визначення формату диска. Таким чином можна уникнути можливих проблем з захистом для сформованих зловмисниками гостьових систем (CVE\-2010\-3851). .IP "\fB\-P\fR кількість_потоків" 4 .IX Item "-P кількість_потоків" -З версії libguestfs 1.22 у virt-alignment-scan передбачено обробку у декілька потоків і паралельне вивчення гостьових систем. Типово кількість потоків виконання, що використовуються, вибирається на основі доступного обсягу вільної пам’яті на час запуску virt-alignment-scan. Ви можете примусово наказати virt-alignment-scan використовувати не більше за \f(CW\*(C`кількість_потоків\*(C'\fR за допомогою параметра \fI\-P\fR. +З версії libguestfs 1.22 у virt\-alignment\-scan передбачено обробку у декілька потоків і паралельне вивчення гостьових систем. Типово кількість потоків виконання, що використовуються, вибирається на основі доступного обсягу вільної пам’яті на час запуску virt\-alignment\-scan. Ви можете примусово наказати virt\-alignment\-scan використовувати не більше за \f(CW\*(C`кількість_потоків\*(C'\fR за допомогою параметра \fI\-P\fR. .Sp Зауважте, що \fI\-P 0\fR означає автоматичне визначення, а \fI\-P 1\fR означає використання одного потоку виконання. .IP \fB\-q\fR 4 diff --git a/po-docs/uk/virt-builder.1 b/po-docs/uk/virt-builder.1 index e803e81..7bbafdc 100644 --- a/po-docs/uk/virt-builder.1 +++ b/po-docs/uk/virt-builder.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-builder 1" -.TH virt-builder 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-builder 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-builder — засіб швидкої побудови образів для віртуальної машини +virt\-builder — засіб швидкої побудови образів для віртуальної машини .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 3 @@ -87,9 +90,9 @@ virt-builder — засіб швидкої побудови образів дл .Ve .SH ОПИС .IX Header "ОПИС" -Virt-builder — інструмент для швидкого збирання нових віртуальних машин. За його допомогою ви зможете зібрати цілий спектр віртуальних машин для локального використання або використання у «хмарі». Зазвичай, для цього достатньо декількох хвилин. Крім того, у virt-builder передбачено багато способів налаштовування зібраних віртуальних машин. Усі команди віддаються за допомогою командного рядка. Для роботи програми не потрібні права доступу адміністратора системи, тому збирання нових віртуальних машин просто автоматизувати або керувати ним за допомогою скриптів. +Virt\-builder — інструмент для швидкого збирання нових віртуальних машин. За його допомогою ви зможете зібрати цілий спектр віртуальних машин для локального використання або використання у «хмарі». Зазвичай, для цього достатньо декількох хвилин. Крім того, у virt\-builder передбачено багато способів налаштовування зібраних віртуальних машин. Усі команди віддаються за допомогою командного рядка. Для роботи програми не потрібні права доступу адміністратора системи, тому збирання нових віртуальних машин просто автоматизувати або керувати ним за допомогою скриптів. .PP -Зауважте, що virt-builder не встановлює гостьові системи «з нуля». Програма використовує ретельного приготовані, підписані цифровими підписами шаблони операційних систем і налаштовує їх. Такий підхід використано, оскільки він є набагато швидшим за інші. Втім, якщо потрібно встановити систему «з нуля», ви можете скористатися \fBvirt\-install\fR\|(1) та \fBoz\-install\fR\|(1). +Зауважте, що virt\-builder не встановлює гостьові системи «з нуля». Програма використовує ретельного приготовані, підписані цифровими підписами шаблони операційних систем і налаштовує їх. Такий підхід використано, оскільки він є набагато швидшим за інші. Втім, якщо потрібно встановити систему «з нуля», ви можете скористатися \fBvirt\-install\fR\|(1) та \fBoz\-install\fR\|(1). .PP Найпростіше буде розпочати з прикладів з наступного розділу. .SH ПРИКЛАДИ @@ -113,7 +116,7 @@ Virt-builder — інструмент для швидкого збирання \& virt\-builder fedora\-27 .Ve .PP -збере образ Fedora 25 для тієї самої архітектури, що і virt-builder (отже виконання команди у системі архітектури i686 призведе до спроби збирання образу i686, якщо це можливо). Образ матиме типові налаштування (мінімальний розмір, без облікових записів користувачів, випадковий пароль root, лише базовий мінімальний набір встановлених програм тощо). +збере образ Fedora 25 для тієї самої архітектури, що і virt\-builder (отже виконання команди у системі архітектури i686 призведе до спроби збирання образу i686, якщо це можливо). Образ матиме типові налаштування (мінімальний розмір, без облікових записів користувачів, випадковий пароль root, лише базовий мінімальний набір встановлених програм тощо). .PP Потреби у запуску цієї програми від імені root \fIнемає\fR. .PP @@ -281,8 +284,8 @@ Virt-builder — інструмент для швидкого збирання .IX Item "--no-delete-on-failure" Не вилучати файл виведених даних, якщо під час збирання станеться помилка. Даними з цього файла можна скористатися для діагностування причин помилки. Див. "ДІАГНОСТИЧНІ ЗБІРКИ", щоб дізнатися більше про діагностику образів. .Sp -Типовою є поведінка, коли файл результатів буде вилучено, якщо станеться помилка у virt-builder (або, наприклад, помилка у одному зі скриптів, які запускає ця програма). -.IP "\fB\-\-fingerprint\fR 'AAAA BBBB ...'" 4 +Типовою є поведінка, коли файл результатів буде вилучено, якщо станеться помилка у virt\-builder (або, наприклад, помилка у одному зі скриптів, які запускає ця програма). +.IP "\fB\-\-fingerprint\fR \*(AqAAAA BBBB ...\*(Aq" 4 .IX Item "--fingerprint 'AAAA BBBB ...'" Перевірка того, що покажчик та шаблони підписано ключем із вказаним відбитком (Відбитком, зазвичай, є доволі довгий рядок, що складається з 10 груп 4 шістнадцяткових цифр). .Sp @@ -297,14 +300,14 @@ Virt-builder — інструмент для швидкого збирання .Sp З \fI\-\-get\-kernel\fR визначає формат вхідних даних. .Sp -Для створення файла qcow2 у застарілому стилі (для сумісності з RHEL 6 або дуже старим qemu < 1.1) після виконання програми virt-builder скористайтеся такою командою: +Для створення файла qcow2 у застарілому стилі (для сумісності з RHEL 6 або дуже старим qemu < 1.1) після виконання програми virt\-builder скористайтеся такою командою: .Sp .Vb 1 \& qemu\-img amend \-f qcow2 \-o compat=0.10 output.qcow2 .Ve .IP "\fB\-\-get\-kernel\fR ОБРАЗ" 4 .IX Item "--get-kernel ОБРАЗ" -За допомогою цього параметра можна видобути ядро і initramfs з раніше зібраного образу диска із назвою \f(CW\*(C`ОБРАЗ\*(C'\fR (фактично, це працює для будь\-якого образу диска віртуальної машини, не лише для образів, які зібрано за допомогою virt-builder). +За допомогою цього параметра можна видобути ядро і initramfs з раніше зібраного образу диска із назвою \f(CW\*(C`ОБРАЗ\*(C'\fR (фактично, це працює для будь\-якого образу диска віртуальної машини, не лише для образів, які зібрано за допомогою virt\-builder). .Sp Зауважте, що цей метод є \fBзастарілим\fR: для виконання цього завдання є окрема програма, \fBvirt\-get\-kernel\fR\|(1), у якій передбачено більше варіантів видобування файлів. .Sp @@ -315,7 +318,7 @@ Virt-builder — інструмент для швидкого збирання Якщо у гостьовій системі декілька ядер, буде вибрано ядро із найбільшим номером. Щоб видобути із образу диска ядро з певним номером версії, скористайтеся \fBguestfish\fR\|(1). Щоб видобути із гостьової системи увесь вміст каталогу \fI/boot\fR, скористайтеся \fBvirt\-copy\-out\fR\|(1). .IP "\fB\-\-gpg\fR GPG" 4 .IX Item "--gpg GPG" -Вказати альтернативний виконуваний файл \fBgpg\fR\|(1) (GNU Privacy Guard). Типово, virt-builder шукає \f(CW\*(C`gpg2\*(C'\fR або \f(CW\*(C`gpg\*(C'\fR у каталогах, вказаних за допомогою змінної \f(CW$PATH\fR. +Вказати альтернативний виконуваний файл \fBgpg\fR\|(1) (GNU Privacy Guard). Типово, virt\-builder шукає \f(CW\*(C`gpg2\*(C'\fR або \f(CW\*(C`gpg\*(C'\fR у каталогах, вказаних за допомогою змінної \f(CW$PATH\fR. .Sp Ви можете скористатися цим параметром для додавання параметрів до основної програми gpg, наприклад, для визначення альтернативного домашнього каталогу: .Sp @@ -346,7 +349,7 @@ Virt-builder — інструмент для швидкого збирання .IX Item "json" Вивести об’єкт JSON із подробицями щодо доступних джерел та подробиці щодо доступних шаблонів. .Sp -Ключ \f(CW\*(C`version\*(C'\fR у основному об'єкті визначає «версію сумісності», його значення слід збільшувати кожного разу, коли результат використання JSON ставатиме несумісним із попередніми версіями (наприклад, через зміну структури або прибирання основних ключів). +Ключ \f(CW\*(C`version\*(C'\fR у основному об\*(Aqєкті визначає «версію сумісності», його значення слід збільшувати кожного разу, коли результат використання JSON ставатиме несумісним із попередніми версіями (наприклад, через зміну структури або прибирання основних ключів). .RE .RS 4 .Sp @@ -360,14 +363,14 @@ Virt-builder — інструмент для швидкого збирання .IP \fB\-\-machine\-readable\fR=формат 4 .IX Item "--machine-readable=формат" .PD -За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп'ютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" нижче. +За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп\*(Aqютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" нижче. .IP "\fB\-m\fR МБ" 4 .IX Item "-m МБ" .PD 0 .IP "\fB\-\-memsize\fR МБ" 4 .IX Item "--memsize МБ" .PD -Зміна обсягу пам'яті, наданого скриптам \fI\-\-run\fR. Збільште це значення, якщо виявиться, що для використання скриптів \fI\-\-run\fR або параметра \fI\-\-install\fR не вистачає пам'яті. +Зміна обсягу пам\*(Aqяті, наданого скриптам \fI\-\-run\fR. Збільште це значення, якщо виявиться, що для використання скриптів \fI\-\-run\fR або параметра \fI\-\-install\fR не вистачає пам\*(Aqяті. .Sp Типові значення можна визначити за допомогою такої команди: .Sp @@ -384,11 +387,11 @@ Virt-builder — інструмент для швидкого збирання .Sp Типово увімкнено. Скористайтеся параметром \fI\-\-no\-network\fR, щоб вимкнути доступ. .Sp -У мережі працюватимуть лише вихідні з'єднання, а також буде декілька інших незначних обмежень. Див. "МЕРЕЖА" in \fBvirt\-rescue\fR\|(1). +У мережі працюватимуть лише вихідні з\*(Aqєднання, а також буде декілька інших незначних обмежень. Див. "МЕРЕЖА" in \fBvirt\-rescue\fR\|(1). .Sp Якщо ви скористаєтеся параметром \fI\-\-no\-network\fR, тоді інші параметри, зокрема \fI\-\-install\fR, не працюватимуть. .Sp -Це не вплине на доступність мережі для гостьової системи після її завантаження, оскільки така доступність керується вашим гіпервізором або хмарним середовищем і не має нічого спільного з virt-builder. +Це не вплине на доступність мережі для гостьової системи після її завантаження, оскільки така доступність керується вашим гіпервізором або хмарним середовищем і не має нічого спільного з virt\-builder. .Sp Загалом кажучи, вам \fIне варто\fR використовувати \fI\-\-no\-network\fR. Але ось декілька випадків, коли у вас може виникнути потреба у використанні цього параметра: .RS 4 @@ -397,7 +400,7 @@ Virt-builder — інструмент для швидкого збирання .IP 2. 4 Усе програмне забезпечення, яке ви маєте намір встановити, походить з долученого образу ISO, отже потреби у мережі немає. .IP 3. 4 -Ви не хочете, щоб ненадійний код із гостьової системи намагався отримати доступ до мережевого з'єднання вашої основної системи під час роботи virt-builder. Таке, зокрема, може трапитися, якщо ви не довіряєте джерелу шаблонів операційних систем. (Див. "БЕЗПЕКА" нижче). +Ви не хочете, щоб ненадійний код із гостьової системи намагався отримати доступ до мережевого з\*(Aqєднання вашої основної системи під час роботи virt\-builder. Таке, зокрема, може трапитися, якщо ви не довіряєте джерелу шаблонів операційних систем. (Див. "БЕЗПЕКА" нижче). .IP 4. 4 Ви не хочете користуватися мережею основної системи (наприклад, через захищеність або обмеженість середовища у ній). .RE @@ -407,9 +410,9 @@ Virt-builder — інструмент для швидкого збирання .IX Item "--no-sync" Не синхронізувати файл виведення під час завершення роботи. .Sp -Virt-builder виконує синхронізацію \f(CW\*(C`fsync\*(C'\fR файла результатів або образу диска, якщо такий існує. +Virt\-builder виконує синхронізацію \f(CW\*(C`fsync\*(C'\fR файла результатів або образу диска, якщо такий існує. .Sp -Причина полягає у тому, що типовим режимом кешування у qemu та KVM є \f(CW\*(C`none\*(C'\fR або \f(CW\*(C`directsync\*(C'\fR, і у обох цих режимах не використовується кеш сторінок основної системи. Тому ці режими не працюватимуть належним чином, якщо ви негайно запустите гостьову систему після запуску virt-builder — гостьова система просто не побачить файл результатів повністю . (Зауважте, що вам не варто користуватися обома цими режимами кешування — вони непрацездатні на базовому рівні з цієї та інших причин.) +Причина полягає у тому, що типовим режимом кешування у qemu та KVM є \f(CW\*(C`none\*(C'\fR або \f(CW\*(C`directsync\*(C'\fR, і у обох цих режимах не використовується кеш сторінок основної системи. Тому ці режими не працюватимуть належним чином, якщо ви негайно запустите гостьову систему після запуску virt\-builder — гостьова система просто не побачить файл результатів повністю . (Зауважте, що вам не варто користуватися обома цими режимами кешування — вони непрацездатні на базовому рівні з цієї та інших причин.) .Sp Якщо ви не використовуєте ці помилкові режими кешування, ви можете скористатися параметром \fI\-\-no\-sync\fR, щоб усунути непотрібну синхронізацію і значно пришвидшити роботу програми. .IP "\fB\-\-notes\fR версія\-ОС" 4 @@ -440,7 +443,7 @@ Virt-builder виконує синхронізацію \f(CW\*(C`fsync\*(C'\fR .IX Item "--size РОЗМІР" Вибір розміру диска\-результату, де розмір можна вказати за допомогою типових записів, зокрема \f(CW\*(C`32G\*(C'\fR (32 гігабайти) тощо. .Sp -Virt-builder змінить розміри файлових систем у образі диска автоматично. +Virt\-builder змінить розміри файлових систем у образі диска автоматично. .Sp Якщо розмір не задано, можлива реалізація двох сценаріїв. Якщо дані виводяться до файла, його розмір буде таким самим, як у шаблона. Якщо дані виводяться на пристрій, розділ тощо, буде використано розмір відповідного пристрою. .Sp @@ -584,7 +587,7 @@ See also: \fI\-\-upload\fR. .Sp Зауважте, що цим параметром можна буде скористатися, лише якщо встановлено Perl 5. .Sp -Див. "NON-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). +Див. "NON\-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). .IP "\fB\-\-firstboot\fR СКРИПТ" 4 .IX Item "--firstboot СКРИПТ" Встановити \f(CW\*(C`СКРИПТ\*(C'\fR у гостьовій системі і запустити його під час першого завантаження гостьової системи (від імені root, у останній частині процесу завантаження). @@ -598,7 +601,7 @@ See also: \fI\-\-upload\fR. Будь ласка, зверніться до розділу "СКРИПТИ ПЕРШОГО ЗАВАНТАЖЕННЯ", щоб ознайомитися із відомостями щодо скриптів першого завантаження і проблемами у їх використанні. .Sp Див. також \fI\-\-run\fR. -.IP "\fB\-\-firstboot\-command\fR 'КОМАНДА+ПАРАМЕТРИ'" 4 +.IP "\fB\-\-firstboot\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq" 4 .IX Item "--firstboot-command 'КОМАНДА+ПАРАМЕТРИ'" Виконати команду (разом із аргументами) у гостьовій системі під час першого завантаження гостьової системи (від імені root, у останній частині процесу завантаження). .Sp @@ -609,7 +612,7 @@ See also: \fI\-\-upload\fR. Див. також \fI\-\-run\fR. .IP "\fB\-\-firstboot\-install\fR ПАКУНОК,ПАКУНОК.." 4 .IX Item "--firstboot-install ПАКУНОК,ПАКУНОК.." -Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час першого завантаження гостьової системи за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з'єднання із мережею гостьової системи. +Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час першого завантаження гостьової системи за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з\*(Aqєднання із мережею гостьової системи. .Sp Огляд різних способів встановлення пакунків наведено у розділі "ВСТАНОВЛЕННЯ ПАКУНКІВ". .IP "\fB\-\-hostname\fR НАЗВА_ВУЗЛА" 4 @@ -624,16 +627,16 @@ The parameter is the same as used by the \fI\-\-inject\-virtio\-win\fR operation Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the \fBvirt\-v2v\fR\|(1) tool instead of this. .IP "\fB\-\-inject\-virtio\-win\fR METHOD" 4 .IX Item "--inject-virtio-win METHOD" -Inject virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. +Inject virtio\-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. .Sp The parameter can be one of: .RS 4 .IP ISO 4 .IX Item "ISO" -The path to the ISO image containing the virtio-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). +The path to the ISO image containing the virtio\-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). .IP DIR 4 .IX Item "DIR" -The directory containing the unpacked virtio-win drivers (eg. \fI/usr/share/virtio\-win\fR). +The directory containing the unpacked virtio\-win drivers (eg. \fI/usr/share/virtio\-win\fR). .IP "\fB""osinfo""\fR" 4 .IX Item """osinfo""" The literal string \f(CW"osinfo"\fR means to use the libosinfo database to locate the drivers. (See \fBosinfo\-query\fR\|(1). @@ -644,7 +647,7 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .RE .IP "\fB\-\-install\fR ПАКУНОК,ПАКУНОК.." 4 .IX Item "--install ПАКУНОК,ПАКУНОК.." -Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час збирання образу за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з'єднання із мережею основної системи. +Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час збирання образу за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з\*(Aqєднання із мережею основної системи. .Sp Огляд різних способів встановлення пакунків наведено у розділі "ВСТАНОВЛЕННЯ ПАКУНКІВ". .Sp @@ -673,7 +676,7 @@ Do not attempt to correct the SELinux labels of files in the guest. .Sp In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. (The relabeling is performed immediately, but if the operation fails, customization will instead touch \fI/.autorelabel\fR on the image to schedule a relabel operation for the next time the image boots.) This option disables the automatic relabeling. .Sp -The option is a no-op for guests that do not support SELinux. +The option is a no\-op for guests that do not support SELinux. .IP "\fB\-\-password\fR КОРИСТУВАЧ:ВАРІАНТ" 4 .IX Item "--password КОРИСТУВАЧ:ВАРІАНТ" Встановити пароль для користувача \f(CW\*(C`КОРИСТУВАЧ\*(C'\fR. (Зауважте, що за допомогою цього параметра \fIне можна\fR створювати облікові записи користувачів.) @@ -696,23 +699,23 @@ The option is a no-op for guests that do not support SELinux. .Sp Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR та способи налаштовування облікових записів користувачів описано у розділі "КОРИСТУВАЧІ І ПАРОЛІ". .Sp -Зауваження: якщо у virt-builder ви \fIне встановите\fR \fI\-\-root\-password\fR, для гостьової системи буде використано \fIвипадковий\fR пароль root. +Зауваження: якщо у virt\-builder ви \fIне встановите\fR \fI\-\-root\-password\fR, для гостьової системи буде використано \fIвипадковий\fR пароль root. .IP "\fB\-\-run\fR СКРИПТ" 4 .IX Item "--run СКРИПТ" Виконати скрипт оболонки (або будь\-яку програму), яка називається \f(CW\*(C`СКРИПТ\*(C'\fR у образі диска. Скрипт буде запущено у віртуалізованому режимі у малій допоміжній системі, у пісочниці гостьової файлової системи. .Sp Для скрипту буде автоматично використано команду chmod +x. .Sp -Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з'єднання, але лише для вихідних з'єднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з'єднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). +Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з\*(Aqєднання, але лише для вихідних з\*(Aqєднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з\*(Aqєднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). .Sp Можна вказати декілька параметрів \fI\-\-run\fR. Їх буде виконано у тому самому порядку, у якому їх вказано у рядку команди. .Sp Див. також \fI\-\-firstboot\fR, \fI\-\-attach\fR, \fI\-\-upload\fR. -.IP "\fB\-\-run\-command\fR 'КОМАНДА+ПАРАМЕТРИ'" 4 +.IP "\fB\-\-run\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq" 4 .IX Item "--run-command 'КОМАНДА+ПАРАМЕТРИ'" Виконати команду із аргументами у образі диска. Команду буде виконано у віртуалізованому режимі у малій допоміжній системі, у пісочниці гостьової файлової системи. .Sp -Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з'єднання, але лише для вихідних з'єднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з'єднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). +Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з\*(Aqєднання, але лише для вихідних з\*(Aqєднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з\*(Aqєднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). .Sp Можна вказати декілька параметрів \fI\-\-run\-command\fR. Їх буде виконано у тому самому порядку, у якому їх вказано у рядку команди. .Sp @@ -735,12 +738,12 @@ This is a compatibility option that does nothing. .IX Item "--sm-attach ВАРІАНТ" Долучити систему до буфера передплати за допомогою \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION-MANAGER". +Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION\-MANAGER". .IP "\fB\-\-sm\-credentials\fR ВАРІАНТ" 4 .IX Item "--sm-credentials ВАРІАНТ" Встановити реєстраційні дані для \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION-MANAGER". +Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION\-MANAGER". .IP \fB\-\-sm\-register\fR 4 .IX Item "--sm-register" Зареєструвати гостьову систему за допомогою \f(CW\*(C`subscription\-manager\*(C'\fR. @@ -805,13 +808,13 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* \fIВстановлення пакунків під час збирання\fR .IX Subsection "Встановлення пакунків під час збирання" .PP -Якщо гостьова операційна система є подібною до основної операційної системи (наприклад, обидві є операційними системами Linux), і у libguestfs передбачено підтримку з'єднань мережею, ви можете скористатися параметром \fI\-\-install\fR для встановлення пакунків у такий спосіб: +Якщо гостьова операційна система є подібною до основної операційної системи (наприклад, обидві є операційними системами Linux), і у libguestfs передбачено підтримку з\*(Aqєднань мережею, ви можете скористатися параметром \fI\-\-install\fR для встановлення пакунків у такий спосіб: .PP .Vb 1 \& virt\-builder fedora\-27 \-\-install inkscape .Ve .PP -Тут використано засіб керування пакунками гостьової системи і з'єднання із мережею основної системи. +Тут використано засіб керування пакунками гостьової системи і з\*(Aqєднання із мережею основної системи. .PP \fIОновлення пакунків під час збирання\fR .IX Subsection "Оновлення пакунків під час збирання" @@ -822,7 +825,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* \& virt\-builder fedora\-27 \-\-update .Ve .PP -У більшості шаблонів, які постачаються разом із virt-builder, передбачено дуже вузький набір пакунків (відомий як «JEOS» або «Just Enough Operating System» («Достатньо для того, щоб бути операційною системою»), які є актуальними на час створення шаблону, але можу виявитися застарілими на час, коли ви встановлюватимете операційну систему з шаблона. За допомогою цього параметра можна оновити пакунки з шаблона. +У більшості шаблонів, які постачаються разом із virt\-builder, передбачено дуже вузький набір пакунків (відомий як «JEOS» або «Just Enough Operating System» («Достатньо для того, щоб бути операційною системою»), які є актуальними на час створення шаблону, але можу виявитися застарілими на час, коли ви встановлюватимете операційну систему з шаблона. За допомогою цього параметра можна оновити пакунки з шаблона. .PP \fIВстановлення пакунків під час першого завантаження\fR .IX Subsection "Встановлення пакунків під час першого завантаження" @@ -833,9 +836,9 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* \& virt\-builder fedora\-27 \-\-firstboot\-install inkscape .Ve .PP -Тут використано засіб керування пакунками гостьової системи і з'єднання із мережею гостьової системи. +Тут використано засіб керування пакунками гостьової системи і з\*(Aqєднання із мережею гостьової системи. .PP -Недоліком використання цього підходу є те, що гостьова система завантажуватиметься вперше набагато довше, а також те, що ви не зможете нічого зробити, якщо під час встановлення пакунків станеться помилка (наприклад, через проблеми із мережею гостьова система не зможе встановити зв'язок зі сховищем пакунків). +Недоліком використання цього підходу є те, що гостьова система завантажуватиметься вперше набагато довше, а також те, що ви не зможете нічого зробити, якщо під час встановлення пакунків станеться помилка (наприклад, через проблеми із мережею гостьова система не зможе встановити зв\*(Aqязок зі сховищем пакунків). .PP \fIВстановлення пакунків зі стороннього сховища під час збирання\fR .IX Subsection "Встановлення пакунків зі стороннього сховища під час збирання" @@ -891,7 +894,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* .IX Item "--root-password password:ПАРОЛЬ" Встановити для пароля root буквальне значення рядка \f(CW\*(C`ПАРОЛЬ\*(C'\fR. .Sp -\&\fBЗауваження: цей спосіб не є безпечним\fR, оскільки будь\-який користувач комп'ютера зможе побачити пароль явним чином за допомогою команди \fBps\fR\|(1). +\&\fBЗауваження: цей спосіб не є безпечним\fR, оскільки будь\-який користувач комп\*(Aqютера зможе побачити пароль явним чином за допомогою команди \fBps\fR\|(1). .IP "\fB\-\-root\-password\fR random" 4 .IX Item "--root-password random" Вибрати випадковий пароль, який буде виведено до stdout. Випадковість пароля наближено відповідатиме 120\-бітовій. @@ -930,7 +933,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* Вказана вище команда створить обліковий запис \f(CW\*(C`rjones\*(C'\fR без пароля і примусить користувача встановити пароль під час першого входу до системи. Існують і інші способи керування паролями, див. \fBuseradd\fR\|(8), щоб дізнатися більше. .SS "РОЗКЛАДКА КЛАВІАТУРИ" .IX Subsection "РОЗКЛАДКА КЛАВІАТУРИ" -Оскільки існує багато різних способів встановити розкладку клавіатури у дистрибутивах Linux, у virt-builder усе ще немає простого параметра командного рядка для виконання цієї дії. У цьому розділі наведено настанови щодо встановлення розкладки для деяких типових дистрибутивів Linux. +Оскільки існує багато різних способів встановити розкладку клавіатури у дистрибутивах Linux, у virt\-builder усе ще немає простого параметра командного рядка для виконання цієї дії. У цьому розділі наведено настанови щодо встановлення розкладки для деяких типових дистрибутивів Linux. .PP \fIВизначення розкладки клавіатури за допомогою systemd\fR .IX Subsection "Визначення розкладки клавіатури за допомогою systemd" @@ -971,7 +974,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* .IX Subsection "МОВА" У більшості дистрибутивів Linux передбачено можливість зміни локалі, отже ви можете бачити повідомлення гостьової системи нестандартною мовою, наприклад українською. .PP -Втім, єдиного параметра, який контролює локаль, немає, оскільки для реалізації підтримки мови може знадобитися встановлення додаткових пакунків, зокрема шрифтів для консолі і графічної оболонки, способів введення символів запису мови з клавіатури. Назви потрібних для цього пакунків та їхні налаштування залежать від дистрибутиву, отже, virt-builder просто не може про них знати. +Втім, єдиного параметра, який контролює локаль, немає, оскільки для реалізації підтримки мови може знадобитися встановлення додаткових пакунків, зокрема шрифтів для консолі і графічної оболонки, способів введення символів запису мови з клавіатури. Назви потрібних для цього пакунків та їхні налаштування залежать від дистрибутиву, отже, virt\-builder просто не може про них знати. .PP У цьому розділі наведено приклади для типових дистрибутивів Linux. .PP @@ -1029,7 +1032,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* .IX Subsection "КЛЮЧІ SSH" Параметр \fI\-\-ssh\-inject\fR використовується для вставляння ключів ssh для користувачів у гостьовій системі, щоб вони могли входити до системи без зазначення пароля. .PP -Частина \f(CW\*(C`ВАРІАНТ\*(C'\fR параметра є необов'язковою; у нашому випадку \fI\-\-ssh\-inject\fR \f(CW\*(C`КОРИСТУВАЧ\*(C'\fR означає, що ми шукаємо \fI~/.ssh\fR у каталозі \fIпоточного\fR користувача для визначення типового файла відкритого ідентифікатора. Саме знайдений ключ і буде вивантажено до гостьової системи. «Типовий відкритий ідентифікатор» є файлом \fIdefault_ID_file\fR, який описано у підручнику з \fBssh\-copy\-id\fR\|(1). +Частина \f(CW\*(C`ВАРІАНТ\*(C'\fR параметра є необов\*(Aqязковою; у нашому випадку \fI\-\-ssh\-inject\fR \f(CW\*(C`КОРИСТУВАЧ\*(C'\fR означає, що ми шукаємо \fI~/.ssh\fR у каталозі \fIпоточного\fR користувача для визначення типового файла відкритого ідентифікатора. Саме знайдений ключ і буде вивантажено до гостьової системи. «Типовий відкритий ідентифікатор» є файлом \fIdefault_ID_file\fR, який описано у підручнику з \fBssh\-copy\-id\fR\|(1). .PP Якщо вказано, \f(CW\*(C`ВАРІАНТ\*(C'\fR можна зазначити у одному з таких форматів: .IP "\fB\-\-ssh\-inject\fR КОРИСТУВАЧ:file:НАЗВА_ФАЙЛА" 4 @@ -1037,7 +1040,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* Прочитати ключ ssh з файла \fIНАЗВА ФАЙЛА\fR. Файлом зазвичай є файл \fI.pub\fR. .IP "\fB\-\-ssh\-inject\fR КОРИСТУВАЧ:string:РЯДОК_КЛЮЧА" 4 .IX Item "--ssh-inject КОРИСТУВАЧ:string:РЯДОК_КЛЮЧА" -Використати вказаний \f(CW\*(C`РЯДОК_КЛЮЧА\*(C'\fR. Зазвичай, \f(CW\*(C`РЯДОК_КЛЮЧА\*(C'\fR — рядок відкритого ключа у форматі \fIssh-rsa AAAA.... user@localhost\fR. +Використати вказаний \f(CW\*(C`РЯДОК_КЛЮЧА\*(C'\fR. Зазвичай, \f(CW\*(C`РЯДОК_КЛЮЧА\*(C'\fR — рядок відкритого ключа у форматі \fIssh\-rsa AAAA.... user@localhost\fR. .PP Який би з варіантів не було вибрано, буде створено каталог \fI~USER/.ssh\fR і файл \fI~USER/.ssh/authorized_keys\fR, якщо вони досі не існували. .SS "СКРИПТИ ПЕРШОГО ЗАВАНТАЖЕННЯ" @@ -1047,19 +1050,19 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* Підтримувані операційні системи: .IP Linux 4 .IX Item "Linux" -Передбачено підтримку таких систем ініціалізації: systemd, System-V init (також відома як sysvinit) та Upstart (з використанням скриптів System-V). +Передбачено підтримку таких систем ініціалізації: systemd, System\-V init (також відома як sysvinit) та Upstart (з використанням скриптів System\-V). .Sp Зауважте, що, зазвичай, скрипти ініціалізації виконуються від імені адміністратора (root), але у набагато обмеженішому середовищі ніж те, яке доступне зі звичайної оболонки. Наприклад, значення змінної середовища \f(CW$HOME\fR може бути не встановленим або порожнім. .Sp Дані, виведені скриптами першого запуску, у гостьовій системі зберігатимуться у \fI~root/virt\-sysprep\-firstboot.log\fR. .IP Windows 4 .IX Item "Windows" -Для запуску скриптів першого завантаження встановлюється \fIrhsrvany.exe\fR, початковий код якого можна знайти у https://github.com/rwmjones/rhsrvany, або \fIpvvxsvc.exe\fR, який є частиною SUSE VMDP. Наявність цих файлів є обов'язковою. Якщо файлів не буде знайдено, скрипти першого завантаження виконати не вдасться. +Для запуску скриптів першого завантаження встановлюється \fIrhsrvany.exe\fR, початковий код якого можна знайти у https://github.com/rwmjones/rhsrvany, або \fIpvvxsvc.exe\fR, який є частиною SUSE VMDP. Наявність цих файлів є обов\*(Aqязковою. Якщо файлів не буде знайдено, скрипти першого завантаження виконати не вдасться. .Sp \&\fIrhsrvany.exe\fR або \fIpvvxsvc.exe\fR буде просто скопійовано з місця, на яке вказує змінна середовища \f(CW\*(C`VIRT_TOOLS_DATA_DIR\*(C'\fR; якщо значення змінної середовища не встановлено, буде використано типове місце, визначене під час компіляції (щось схоже на \fI/usr/share/virt\-tools\fR). .Sp Дані, виведені скриптами першого завантаження, можна знайти у гостьовій системі за адресою \fIC:\eProgram Files\eGuestfs\eFirstboot\elog.txt\fR. -.SS SUBSCRIPTION-MANAGER +.SS SUBSCRIPTION\-MANAGER .IX Subsection "SUBSCRIPTION-MANAGER" Передбачено можливість автоматизації реєстрації та долучення до системи передплат за допомогою \f(CW\*(C`subscription\-manager\*(C'\fR. Потреба у подібному налаштовуванні типово виникає у системах Red Hat Enterprise Linux. Передбачено декілька параметрів, які спрощують процедуру, усувають потребу у введенні команд вручну та не роблять загальнодоступними паролі, вказані у рядку команди. .PP @@ -1085,7 +1088,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* \&\fI\-\-sm\-remove\fR вилучає усі передплати з гостьової системи, а \fI\-\-sm\-unregister\fR повністю знімає систему з реєстрації. .SS "ПРОЦЕДУРА ВСТАНОВЛЕННЯ" .IX Subsection "ПРОЦЕДУРА ВСТАНОВЛЕННЯ" -Після виклику virt-builder встановлення виконується таким чином: +Після виклику virt\-builder встановлення виконується таким чином: .IP \(bu 4 Отримується образ шаблону. .Sp @@ -1119,7 +1122,7 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. .PP Нотатки: .IP 1. 4 -Вам \fIслід\fR вказати правильний формат. Форматом є \f(CW\*(C`raw\*(C'\fR, якщо вами не було використано параметр virt-builder \fI\-\-format\fR. +Вам \fIслід\fR вказати правильний формат. Форматом є \f(CW\*(C`raw\*(C'\fR, якщо вами не було використано параметр virt\-builder \fI\-\-format\fR. .IP 2. 4 Наполегливо рекомендуємо скористатися \fI\-\-os\-variant\fR, оскільки він надає змогу підібрати оптимальний набір пристроїв, які слід увімкнути у системі, щоб гостьова система працювала найефективніше. Щоб отримати список усіх варіантів, скористайтеся такою командою: .Sp @@ -1129,7 +1132,7 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. .Sp Вказана вище програма є частиною пакунка libosinfo. .IP 3. 4 -Запускати virt-install можна від імені адміністратора (root) або від імені простого користувача. Між цими способами є незначні відмінності, оскільки libvirt керує різними наборами віртуальних машин для кожного користувача. Зокрема, virt-manager показує віртуальні машини, власником яких є root, а «Коробки» з GNOME показують лише віртуальні машини поточного користувача. Інші ж програми можуть також мати свої особливості показу. +Запускати virt\-install можна від імені адміністратора (root) або від імені простого користувача. Між цими способами є незначні відмінності, оскільки libvirt керує різними наборами віртуальних машин для кожного користувача. Зокрема, virt\-manager показує віртуальні машини, власником яких є root, а «Коробки» з GNOME показують лише віртуальні машини поточного користувача. Інші ж програми можуть також мати свої особливості показу. .PP \fIІмпортування до OpenStack\fR .IX Subsection "Імпортування до OpenStack" @@ -1142,7 +1145,7 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. \& \-\-is\-public True .Ve .PP -Параметр \fI\-\-file\fR визначає створений за допомогою virt-builder образ диска. Його значення має узгоджуватися із значення параметра \fI\-\-output\fR virt-builder. Значення параметра \fI\-\-disk\-format\fR має узгоджуватися зі значенням параметра \fI\-\-format\fR virt-builder (або бути рівним \f(CW\*(C`raw\*(C'\fR, якщо ви не вказували цього параметра). Значенням параметра \fI\-\-container\-format\fR завжди має бути \f(CW\*(C`bare\*(C'\fR, оскільки virt-builder ніколи не вкладає образ до контейнерів. +Параметр \fI\-\-file\fR визначає створений за допомогою virt\-builder образ диска. Його значення має узгоджуватися із значення параметра \fI\-\-output\fR virt\-builder. Значення параметра \fI\-\-disk\-format\fR має узгоджуватися зі значенням параметра \fI\-\-format\fR virt\-builder (або бути рівним \f(CW\*(C`raw\*(C'\fR, якщо ви не вказували цього параметра). Значенням параметра \fI\-\-container\-format\fR завжди має бути \f(CW\*(C`bare\*(C'\fR, оскільки virt\-builder ніколи не вкладає образ до контейнерів. .PP Ви можете скористатися командою \f(CW\*(C`glance\ image\-show\ \fR\f(CIfedora\-27\-image\fR\f(CW\*(C'\fR, щоб переглянути властивості образу. .PP @@ -1176,7 +1179,7 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. .PP Щоб увімкнути агент Puppet у гостьовій системі, встановіть пакунок, вкажіть налаштування на вашому Puppetmaster і забезпечте запуск агента під час завантаження. .PP -Типовою командою virt-builder буде: +Типовою командою virt\-builder буде: .PP .Vb 7 \& virt\-builder fedora\-27 \e @@ -1191,12 +1194,12 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. Точний перелік настанов залежить від дистрибутива Linux. Докладніше про це тут: https://docs.puppet.com/puppet/latest/install_pre.html .SS "ДІАГНОСТИКА ЗБИРАННЯ" .IX Subsection "ДІАГНОСТИКА ЗБИРАННЯ" -Якщо сам virt-builder не може виконати роботу, слід увімкнути діагностику (\fI\-v\fR) і повідомити про ваду розробників (див. розділ "ВАДИ" нижче). +Якщо сам virt\-builder не може виконати роботу, слід увімкнути діагностику (\fI\-v\fR) і повідомити про ваду розробників (див. розділ "ВАДИ" нижче). .PP -Якщо причиною неможливості виконання завдання virt-builder є який скрипт або пакунок, який програма не може встановити, спробуйте скористатися параметром \fI\-\-no\-delete\-on\-failure\fR, щоб зберегти файл результатів, і продовжіть вивчення цього розділу підручника. +Якщо причиною неможливості виконання завдання virt\-builder є який скрипт або пакунок, який програма не може встановити, спробуйте скористатися параметром \fI\-\-no\-delete\-on\-failure\fR, щоб зберегти файл результатів, і продовжіть вивчення цього розділу підручника. .PP -Якщо virt-builder успішно завершує роботу, але образ не працює, ось чим слід скористатися: -.IP "Використання virt-rescue" 4 +Якщо virt\-builder успішно завершує роботу, але образ не працює, ось чим слід скористатися: +.IP "Використання virt\-rescue" 4 .IX Item "Використання virt-rescue" Запустити \fBvirt\-rescue\fR\|(1) над образом диска: .Sp @@ -1204,7 +1207,7 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. \& virt\-rescue \-a disk.img .Ve .Sp -Ви потрапите до оболонки порятунку. Ви зможете змонтувати файлові системи з образу диска до \fI/sysroot\fR і вивчити їх за допомогою звичних команд Linux. Ви також можете скористатися chroot щодо гостьової системи і перевстановити у ній завантажувач. На сторінці підручника з virt-rescue наведено набагато більше інформації та прикладів. +Ви потрапите до оболонки порятунку. Ви зможете змонтувати файлові системи з образу диска до \fI/sysroot\fR і вивчити їх за допомогою звичних команд Linux. Ви також можете скористатися chroot щодо гостьової системи і перевстановити у ній завантажувач. На сторінці підручника з virt\-rescue наведено набагато більше інформації та прикладів. .IP "Використання guestfish" 4 .IX Item "Використання guestfish" Запустити \fBguestfish\fR\|(1) над образом диска: @@ -1238,7 +1241,7 @@ SELinux relabelling is done unless disabled with \fI\-\-no\-selinux\-relabel\fR. .Ve .SS "ДЖЕРЕЛА ШАБЛОНІВ" .IX Subsection "ДЖЕРЕЛА ШАБЛОНІВ" -virt-builder читає доступні джерела із файлів налаштування, файлів із суфіксом назви \fI.conf\fR, які зберігаються у одному з таких місць: +virt\-builder читає доступні джерела із файлів налаштування, файлів із суфіксом назви \fI.conf\fR, які зберігаються у одному з таких місць: .IP \(bu 4 \&\f(CW$XDG_CONFIG_HOME\fR/virt\-builder/reposd/ (\f(CW$XDG_CONFIG_HOME\fR дорівнює \fR\f(CI$HOME\fR\fI/.config\fR, якщо не встановлено). .IP \(bu 4 @@ -1264,11 +1267,11 @@ virt-builder читає доступні джерела із файлів нал .ie n .IP """gpgkey=АДРЕСА""" 4 .el .IP \f(CWgpgkey=АДРЕСА\fR 4 .IX Item "gpgkey=АДРЕСА" -Це необов'язкове поле відповідає адресі (хоча прийнятними є лише адреси \fIfile://\fR) ключа, який використано для підписування файла покажчика. Якщо поля немає, файл покажчика, на який посилається \fIuri=..\fR, не підписано. +Це необов\*(Aqязкове поле відповідає адресі (хоча прийнятними є лише адреси \fIfile://\fR) ключа, який використано для підписування файла покажчика. Якщо поля немає, файл покажчика, на який посилається \fIuri=..\fR, не підписано. .ie n .IP """proxy=РЕЖИМ""" 4 .el .IP \f(CWproxy=РЕЖИМ\fR 4 .IX Item "proxy=РЕЖИМ" -Це необов'язкове поле вказує на режим проксі, яким слід скористатися для отримання файла покажчика цього сховища. Можливі значення: +Це необов\*(Aqязкове поле вказує на режим проксі, яким слід скористатися для отримання файла покажчика цього сховища. Можливі значення: .RS 4 .IP "\fBno\fR, \fBoff\fR" 4 .IX Item "no, off" @@ -1287,7 +1290,7 @@ virt-builder читає доступні джерела із файлів нал .ie n .IP """format=ФОРМАТ""" 4 .el .IP \f(CWformat=ФОРМАТ\fR 4 .IX Item "format=ФОРМАТ" -Це необов'язкове поле задає формат сховища. Можливі такі значення: +Це необов\*(Aqязкове поле задає формат сховища. Можливі такі значення: .RS 4 .IP \fBnative\fR 4 .IX Item "native" @@ -1303,19 +1306,19 @@ virt-builder читає доступні джерела із файлів нал Якщо не вказано, типовим значенням буде \f(CW\*(C`native\*(C'\fR. .RE .PP -Якщо ви часто користуватиметеся virt-builder, варто створити власне сховище шаблонів. +Якщо ви часто користуватиметеся virt\-builder, варто створити власне сховище шаблонів. .PP \fIСховище libguestfs.org\fR .IX Subsection "Сховище libguestfs.org" .PP -Від початку, virt-builder отримує файл http://libguestfs.org/download/builder/index.asc, який є покажчиком усіх доступних шаблонів, і деяку інформацію щодо кожного з них, яку додано до цифрового підпису. За допомогою команди \f(CW\*(C`virt\-builder \-\-list\*(C'\fR можна ознайомитися із усіма даними щодо цього файла покажчика. +Від початку, virt\-builder отримує файл http://libguestfs.org/download/builder/index.asc, який є покажчиком усіх доступних шаблонів, і деяку інформацію щодо кожного з них, яку додано до цифрового підпису. За допомогою команди \f(CW\*(C`virt\-builder \-\-list\*(C'\fR можна ознайомитися із усіма даними щодо цього файла покажчика. .PP Шаблони, які зберігаються на libguestfs.org, було створено за допомогою скриптів командної оболонки, файлів kickstart та файлів, які можна знайти у ієрархії коду libguestfs, у каталозі \f(CW\*(C`builder/templates\*(C'\fR. .PP \fIНалаштовування доступу до сховища\fR .IX Subsection "Налаштовування доступу до сховища" .PP -Ви можете створити власний сайт із файлом покажчика (index) і деякими шаблонами, а потім вказати virt-builder на цей сайт за допомогою вмісту файла \fI.conf\fR. +Ви можете створити власний сайт із файлом покажчика (index) і деякими шаблонами, а потім вказати virt\-builder на цей сайт за допомогою вмісту файла \fI.conf\fR. .PP Зауважте, що якщо ваш покажчик підписано, вам слід належним чином заповнити поле \fIgpgkey=..\fR у вашому файлі \fI.conf\fR, а також додати файл ключа GPG. .PP @@ -1330,7 +1333,7 @@ virt-builder читає доступні джерела із файлів нал \fIВстановлення ключа GPG\fR .IX Subsection "Встановлення ключа GPG" .PP -Якщо у вас ще немає ключа GnuPG, вам слід налаштувати такий. (Строго кажучи, це не є обов'язковою умовою, але якщо ваш файл покажчика і файл шаблона не буде підписано, користувачам virt-builder доведеться додавати параметр \fI\-\-no\-check\-signature\fR до команди кожного разу, коли їм потрібно буде скористатися virt-builder.) +Якщо у вас ще немає ключа GnuPG, вам слід налаштувати такий. (Строго кажучи, це не є обов\*(Aqязковою умовою, але якщо ваш файл покажчика і файл шаблона не буде підписано, користувачам virt\-builder доведеться додавати параметр \fI\-\-no\-check\-signature\fR до команди кожного разу, коли їм потрібно буде скористатися virt\-builder.) .PP Інструкцію зі створення ключа можна знайти у підручнику з GPG: http://www.gnupg.org/gph/en/manual.html. .PP @@ -1343,9 +1346,9 @@ virt-builder читає доступні джерела із файлів нал \fIСтворення шаблонів\fR .IX Subsection "Створення шаблонів" .PP -Існує багато способів створення шаблонів. Наприклад, ви можете клонувати наявні гостьові системи (див. \fBvirt\-sysprep\fR\|(1)) або встановити гостьову систему вручну (\fBvirt\-install\fR\|(1)). Щоб ознайомитися із способами створення шаблонів для virt-builder, вивчіть скрипти у \f(CW\*(C`builder/templates\*(C'\fR +Існує багато способів створення шаблонів. Наприклад, ви можете клонувати наявні гостьові системи (див. \fBvirt\-sysprep\fR\|(1)) або встановити гостьову систему вручну (\fBvirt\-install\fR\|(1)). Щоб ознайомитися із способами створення шаблонів для virt\-builder, вивчіть скрипти у \f(CW\*(C`builder/templates\*(C'\fR .PP -У virt-builder передбачено підтримку усіх форматів образів (наприклад, raw, qcow2 тощо) як шаблонів, у звичайному форматі та у форматі, стисненому XZ. Таким чином, як шаблонами можна скористатися наявними образами (наприклад, образами, очищеними за допомогою \fBvirt\-sysprep\fR\|(1)). +У virt\-builder передбачено підтримку усіх форматів образів (наприклад, raw, qcow2 тощо) як шаблонів, у звичайному форматі та у форматі, стисненому XZ. Таким чином, як шаблонами можна скористатися наявними образами (наприклад, образами, очищеними за допомогою \fBvirt\-sysprep\fR\|(1)). .PP Для досягнення найкращих результатів під час стискання шаблонів скористайтеся такими параметрами програми xz (пояснення щодо цих параметрів можна знайти на сторінці довідки до \fBnbdkit\-xz\-plugin\fR\|(1)): .PP @@ -1383,7 +1386,7 @@ virt-builder читає доступні джерела із файлів нал \& expand=/dev/sda3 .Ve .PP -Частина у квадратних дужках є \f(CW\*(C`версією\-ОС\*(C'\fR, тим самим рядком, який використано у рядку команди virt-builder, використаному для збирання цієї операційної системи. +Частина у квадратних дужках є \f(CW\*(C`версією\-ОС\*(C'\fR, тим самим рядком, який використано у рядку команди virt\-builder, використаному для збирання цієї операційної системи. .PP Спростити створення і підписування файла покажчика можна за допомогою програми \fBvirt\-builder\-repository\fR\|(1). .PP @@ -1393,7 +1396,7 @@ virt-builder читає доступні джерела із файлів нал \& gpg \-\-clearsign \-\-armor index .Ve .PP -У результаті виконання цієї команди буде створено остаточний файл із назвою \fIindex.asc\fR, який можна вивантажити на сервер (і додати у запис адреси \fIuri=..\fR). Як ми вже зауважували вище, підписування файла покажчика є необов'язковим, але рекомендованим. +У результаті виконання цієї команди буде створено остаточний файл із назвою \fIindex.asc\fR, який можна вивантажити на сервер (і додати у запис адреси \fIuri=..\fR). Як ми вже зауважували вище, підписування файла покажчика є необов\*(Aqязковим, але рекомендованим. .PP Можуть з’явитися такі поля: .ie n .IP """name=НАЗВА""" 4 @@ -1403,25 +1406,25 @@ virt-builder читає доступні джерела із файлів нал .ie n .IP """osinfo=ІДЕНТИФІКАТОР""" 4 .el .IP \f(CWosinfo=ІДЕНТИФІКАТОР\fR 4 .IX Item "osinfo=ІДЕНТИФІКАТОР" -Це додаткове поле пов'язує операційну систему із відповідним ідентифікатором libosinfo. Virt-builder (ще) не використовує ці дані. +Це додаткове поле пов\*(Aqязує операційну систему із відповідним ідентифікатором libosinfo. Virt\-builder (ще) не використовує ці дані. .ie n .IP """arch=АРХІТЕКТУРА""" 4 .el .IP \f(CWarch=АРХІТЕКТУРА\fR 4 .IX Item "arch=АРХІТЕКТУРА" -Архітектура операційної системи, яку встановлено у цьому шаблоні. Це поле є обов'язковим. +Архітектура операційної системи, яку встановлено у цьому шаблоні. Це поле є обов\*(Aqязковим. .ie n .IP """file=ШЛЯХ""" 4 .el .IP \f(CWfile=ШЛЯХ\fR 4 .IX Item "file=ШЛЯХ" Шлях (відносно покажчика) стисненого xz шаблона. .Sp -Зауважте, що тут \fBне\fR можна використовувати абсолютні шляхи або адреси файлів. Причиною є те, що у virt-builder використовується правило «одного походження» для шаблонів, тому вони не можуть походити з інших серверів. +Зауважте, що тут \fBне\fR можна використовувати абсолютні шляхи або адреси файлів. Причиною є те, що у virt\-builder використовується правило «одного походження» для шаблонів, тому вони не можуть походити з інших серверів. .ie n .IP """sig=ШЛЯХ""" 4 .el .IP \f(CWsig=ШЛЯХ\fR 4 .IX Item "sig=ШЛЯХ" \&\fBЦей параметр вважається застарілим\fR. Використовуйте замість нього поле контрольної суми (checksum). .Sp -Шлях (відносно покажчика) від'єднаного підпису GPG файла xz. +Шлях (відносно покажчика) від\*(Aqєднаного підпису GPG файла xz. .Sp -Зауважте, що тут \fBне\fR можна використовувати абсолютні шляхи або адреси файлів. Причиною є те, що у virt-builder використовується правило «одного походження» для шаблонів, тому вони не можуть походити з інших серверів. +Зауважте, що тут \fBне\fR можна використовувати абсолютні шляхи або адреси файлів. Причиною є те, що у virt\-builder використовується правило «одного походження» для шаблонів, тому вони не можуть походити з інших серверів. .Sp Файл можна створити такою командою: .Sp @@ -1443,7 +1446,7 @@ virt-builder читає доступні джерела із файлів нал .IX Item "checksum=7b882fe9b82eb0fef..." \&\f(CW\*(C`checksum\*(C'\fR є скороченою формою запису \f(CW\*(C`checksum[sha512]\*(C'\fR. .Sp -Якщо вам доводиться працювати з virt-builder = 1.24.0, слід користуватися \f(CW\*(C`checksum\*(C'\fR, оскільки ця версію видаватиме повідомлення про помилку обробки, якщо у ключі поля використано квадратні дужки і цифри. Цю помилку виправлено у версіях virt-builder ≥ 1.24.1. +Якщо вам доводиться працювати з virt\-builder = 1.24.0, слід користуватися \f(CW\*(C`checksum\*(C'\fR, оскільки ця версію видаватиме повідомлення про помилку обробки, якщо у ключі поля використано квадратні дужки і цифри. Цю помилку виправлено у версіях virt\-builder ≥ 1.24.1. .ie n .IP """revision=N""" 4 .el .IP \f(CWrevision=N\fR 4 .IX Item "revision=N" @@ -1460,7 +1463,7 @@ virt-builder читає доступні джерела із файлів нал .PD Визначає формат образу диска; якщо дані стиснено, слід вказати формат до стискання. Якщо формат не вказано, його буде визначено автоматично, але все ж варто явним чином вказати бажаний формат. .Sp -Зауважте, що це формат початкових даних, який відрізняється від параметра \fI\-\-format\fR (бажаний формат результату). Virt-builder виконує перетворення «на льоту» з початкового формату до бажаного формату результату. +Зауважте, що це формат початкових даних, який відрізняється від параметра \fI\-\-format\fR (бажаний формат результату). Virt\-builder виконує перетворення «на льоту» з початкового формату до бажаного формату результату. .ie n .IP """size=NNN""" 4 .el .IP \f(CWsize=NNN\fR 4 .IX Item "size=NNN" @@ -1468,7 +1471,7 @@ virt-builder читає доступні джерела із файлів нал .Sp Це поле слід заповнити. .Sp -Virt-builder також використовує це значення як мінімальний розмір, запит щодо якого можуть надсилати користувачів за допомогою параметра \fI\-\-size\fR, або типовий розмір, якщо не вказано параметр \fI\-\-size\fR. +Virt\-builder також використовує це значення як мінімальний розмір, запит щодо якого можуть надсилати користувачів за допомогою параметра \fI\-\-size\fR, або типовий розмір, якщо не вказано параметр \fI\-\-size\fR. .ie n .IP """compressed_size=NNN""" 4 .el .IP \f(CWcompressed_size=NNN\fR 4 .IX Item "compressed_size=NNN" @@ -1476,15 +1479,15 @@ Virt-builder також використовує це значення як мі .ie n .IP """expand=/dev/sdaX""" 4 .el .IP \f(CWexpand=/dev/sdaX\fR 4 .IX Item "expand=/dev/sdaX" -При розпаковуванні образу до його остаточного розміру, наказати \fBvirt\-resize\fR\|(1) розпакувати дані до іменованого розділу у образі гостьової системи для заповнення усього доступного місця. Це працює подібно до параметра \fI\-\-expand\fR virt-resize. +При розпаковуванні образу до його остаточного розміру, наказати \fBvirt\-resize\fR\|(1) розпакувати дані до іменованого розділу у образі гостьової системи для заповнення усього доступного місця. Це працює подібно до параметра \fI\-\-expand\fR virt\-resize. .Sp Тут вам зазвичай слід вказати назву пристрою у кореневій файловій системі гостьової операційної системи. .Sp -Цим елементом варто скористатися, але це не обов'язково. Якщо поле пропущено, virt-resize створить додатковий розділ наприкінці диска для заповнення порожнього місця, що набагато менш зручно. +Цим елементом варто скористатися, але це не обов\*(Aqязково. Якщо поле пропущено, virt\-resize створить додатковий розділ наприкінці диска для заповнення порожнього місця, що набагато менш зручно. .ie n .IP """lvexpand=/пристрій/група_томів/логічний_том""" 4 .el .IP \f(CWlvexpand=/пристрій/група_томів/логічний_том\fR 4 .IX Item "lvexpand=/пристрій/група_томів/логічний_том" -При розпаковуванні образу до його остаточного розміру, наказати \fBvirt\-resize\fR\|(1) розпакувати дані до іменованого логічного тому у образі гостьової системи для заповнення усього доступного місця. Це працює подібно до параметра \fI\-\-lv\-expand\fR virt-resize. +При розпаковуванні образу до його остаточного розміру, наказати \fBvirt\-resize\fR\|(1) розпакувати дані до іменованого логічного тому у образі гостьової системи для заповнення усього доступного місця. Це працює подібно до параметра \fI\-\-lv\-expand\fR virt\-resize. .Sp Якщо у гостьовій системі використовується LVM2, тут слід вказати логічний том кореневої файлової системи гостьової операційної системи. Якщо у гостьовій операційній системі не використовується LVM2 або її коренева файлова система не зберігається на логічному томі, не використовуйте цей параметр. .ie n .IP """notes=НОТАТКИ""" 4 @@ -1510,12 +1513,12 @@ Virt-builder також використовує це значення як мі .ie n .IP """aliases=ПСЕВДОНІМ1 ПСЕВДОНІМ2 ...""" 4 .el .IP "\f(CWaliases=ПСЕВДОНІМ1 ПСЕВДОНІМ2 ...\fR" 4 .IX Item "aliases=ПСЕВДОНІМ1 ПСЕВДОНІМ2 ..." -Це необов'язкове поле визначає список альтернативних назв, відокремлених пробілами, для образу. Альтернативною назвою, наприклад, можна скористатися так, щоб вона завжди вказувала на найсвіжішу версію певного образу, лишаючи інші, старіші версії доступними у покажчику, замість оновлення того самого образу (див. поле \f(CW\*(C`revision\*(C'\fR). +Це необов\*(Aqязкове поле визначає список альтернативних назв, відокремлених пробілами, для образу. Альтернативною назвою, наприклад, можна скористатися так, щоб вона завжди вказувала на найсвіжішу версію певного образу, лишаючи інші, старіші версії доступними у покажчику, замість оновлення того самого образу (див. поле \f(CW\*(C`revision\*(C'\fR). .PP -\fIЗапуск virt-builder для декількох джерел одночасно\fR +\fIЗапуск virt\-builder для декількох джерел одночасно\fR .IX Subsection "Запуск virt-builder для декількох джерел одночасно" .PP -У virt-builder передбачено можливість використання декількох джерел. Рекомендованим способом є розгортання файлів \fI.conf\fR, які вказують на файли покажчика. Іншим способом є визначення джерел за допомогою декількох параметрів \fI\-\-source\fR і/або \fI\-\-fingerprint\fR: +У virt\-builder передбачено можливість використання декількох джерел. Рекомендованим способом є розгортання файлів \fI.conf\fR, які вказують на файли покажчика. Іншим способом є визначення джерел за допомогою декількох параметрів \fI\-\-source\fR і/або \fI\-\-fingerprint\fR: .PP .Vb 3 \& virt\-builder \e @@ -1589,7 +1592,7 @@ Virt-builder також використовує це значення як мі \fIКешування пакунків\fR .IX Subsection "Кешування пакунків" .PP -Virt-builder використовує для отримання файлів \fBcurl\fR\|(1), а також використовує поточні параметри \f(CW\*(C`http_proxy\*(C'\fR (та інші) під час встановлення пакунків (\fI\-\-install\fR, \fI\-\-update\fR). +Virt\-builder використовує для отримання файлів \fBcurl\fR\|(1), а також використовує поточні параметри \f(CW\*(C`http_proxy\*(C'\fR (та інші) під час встановлення пакунків (\fI\-\-install\fR, \fI\-\-update\fR). .PP Тому ви можете встановити ці змінні середовища з метою максимізації обсягу локального кешування. Див. "ЗМІННІ СЕРЕДОВИЩА" та \fBcurl\fR\|(1). .PP @@ -1630,27 +1633,27 @@ Virt-builder використовує для отримання файлів \fB .Ve .SS "ЦИФРОВІ ПІДПИСИ" .IX Subsection "ЦИФРОВІ ПІДПИСИ" -Virt-builder використовує GNU Privacy Guard (GnuPG або gpg) для забезпечення невтручання до покажчика і шаблонів. +Virt\-builder використовує GNU Privacy Guard (GnuPG або gpg) для забезпечення невтручання до покажчика і шаблонів. .PP Джерело вказує на файл покажчика, який можна підписати. .PP -Virt-builder отримує покажчик і перевіряє, чи є підпис коректним і чи збігається відбиток підписника із вказаним відбитком (тобто відбитком, вказаним за допомогою \fIgpgkey=..\fR у \fI.conf\fR або за допомогою \fI\-\-fingerprint\fR, саме у цьому порядку). +Virt\-builder отримує покажчик і перевіряє, чи є підпис коректним і чи збігається відбиток підписника із вказаним відбитком (тобто відбитком, вказаним за допомогою \fIgpgkey=..\fR у \fI.conf\fR або за допомогою \fI\-\-fingerprint\fR, саме у цьому порядку). .PP Для перевірки відповідності щодо вбудованого відкритого ключа або відбитка, відкритий ключ слід імпортувати до локального сховища ключів gpg користувача (саме так працює gpg). .PP Під час отримання шаблона його підпис буде перевірено у той самий спосіб. .PP -Хоча підписи і не є обов'язковими, якщо ви їх не використаєте, користувачам virt-builder доведеться використовувати параметр \fI\-\-no\-check\-signature\fR у рядку команди. За допомогою підпису можна запобігти заміні зловмисником підписаного файла покажчика непідписаним файлом. При цьому virt-builder без перевірки підпису не повідомлятиме про підміну. Щоб там не сталося, наполегливо рекомендуємо вам створювати підписаний покажчик і шаблони. +Хоча підписи і не є обов\*(Aqязковими, якщо ви їх не використаєте, користувачам virt\-builder доведеться використовувати параметр \fI\-\-no\-check\-signature\fR у рядку команди. За допомогою підпису можна запобігти заміні зловмисником підписаного файла покажчика непідписаним файлом. При цьому virt\-builder без перевірки підпису не повідомлятиме про підміну. Щоб там не сталося, наполегливо рекомендуємо вам створювати підписаний покажчик і шаблони. .SS АРХІТЕКТУРА .IX Subsection "АРХІТЕКТУРА" -Virt-builder може збирати образ гостьової системи для будь\-якої архітектури, незалежно від архітектури основної системи. Наприклад, можна зібрати образ гостьової системи архітектури x86\-64 на основній системі архітектури ARM. +Virt\-builder може збирати образ гостьової системи для будь\-якої архітектури, незалежно від архітектури основної системи. Наприклад, можна зібрати образ гостьової системи архітектури x86\-64 на основній системі архітектури ARM. .PP Втім, деякі з параметрів не працюватимуть, особливо параметри, які потребують виконання команд у гостьовій системі під час процесу збирання: \fI\-\-install\fR, \fI\-\-update\fR, \fI\-\-run\fR, \fI\-\-run\-command\fR. Вам варто замінити ці команди на їхні еквіваленти у firstboot. .PP Основна система архітектури x86\-64, збираючи гостьові системи 32\-бітової архітектури i686, має працювати без використання будь\-яких додаткових кроків налаштовування. .SS БЕЗПЕКА .IX Subsection "БЕЗПЕКА" -Virt-builder не потребує запуску від імені користувача root (фактично, програму не слід запускати від імені root) і не використовує setuid, \f(CW\*(C`sudo\*(C'\fR або будь\-яких інших подібних механізмів. +Virt\-builder не потребує запуску від імені користувача root (фактично, програму не слід запускати від імені root) і не використовує setuid, \f(CW\*(C`sudo\*(C'\fR або будь\-яких інших подібних механізмів. .PP \&\fI\-\-install\fR, \fI\-\-update\fR, \fI\-\-run\fR і \fI\-\-run\-command\fR реалізовано за допомогою базової системи (невеличкої віртуальної машини), тому ці команди не працюватимуть у основній системі. Якщо ви користуєтеся модулем libvirt libguestfs і у системі увімкнено SELinux , віртуальну машину буде додатково огорнуто у контейнер SELinux (sVirt). .PP @@ -1658,14 +1661,14 @@ Virt-builder не потребує запуску від імені корист .PP Команди першого завантаження виконуються у контексті гостьової системи, тому слід брати до уваги параметри захисту у вашому гіпервізорі або обчислювальній хмарі. .PP -Virt-builder додає випадкову базу псевдовипадкових чисел до кожної гостьової системи, яку зібрано за його допомогою. Це допомагає забезпеченню справжньої випадковості номерів послідовності TCP, UUID, ключів вузла ssh тощо під час завантаження гостьової системи. +Virt\-builder додає випадкову базу псевдовипадкових чисел до кожної гостьової системи, яку зібрано за його допомогою. Це допомагає забезпеченню справжньої випадковості номерів послідовності TCP, UUID, ключів вузла ssh тощо під час завантаження гостьової системи. .PP Вам слід перевіряти цифрові підписи і не ігнорувати повідомлення про помилки під час таких перевірок. .SS КЛОНИ .IX Subsection "КЛОНИ" -Якщо вам потрібно створити багато гостьових систем одного типу, виникає спокуса запустити virt-builder один раз, а потім просто скопіювати файл\-результат. Втім, так \fBне\fR слід робити. Вам слід запустити virt-builder окремо для кожної нової гостьової системи, яку ви хочете створити. +Якщо вам потрібно створити багато гостьових систем одного типу, виникає спокуса запустити virt\-builder один раз, а потім просто скопіювати файл\-результат. Втім, так \fBне\fR слід робити. Вам слід запустити virt\-builder окремо для кожної нової гостьової системи, яку ви хочете створити. .PP -Так слід робити тому, що кожен клон повинен мати (принаймні) окрему базу для псевдовипадкових чисел, а також, ймовірно, інші унікальні властивості (зокрема UUID файлових систем) у майбутніх версіях virt-builder. +Так слід робити тому, що кожен клон повинен мати (принаймні) окрему базу для псевдовипадкових чисел, а також, ймовірно, інші унікальні властивості (зокрема UUID файлових систем) у майбутніх версіях virt\-builder. .PP Ще однією річчю, яку вам \fIне\fR слід робити, є клонування завантаженого образу диска. Причиною цього є те, що деякі гостьові системи створюють унікальні ідентифікатори машини, ключі SSH вузла та інші дані під час першого завантаження, а дублювання таких ідентифікаторів у клонах є вкрай небажаним. .PP @@ -1674,17 +1677,17 @@ Virt-builder додає випадкову базу псевдовипадков .IX Subsection "ШВИДКОДІЯ" Найважливішим аспектом пришвидшення роботи програми є кешування. Шаблон завантажується до кешу, коли його вперше використовують, або якщо було використано параметр команди \fI\-\-cache\-all\-templates\fR. Докладніше про це у розділі "КЕШУВАННЯ" вище. .PP -Пакунки, потрібні для виконання завдань із параметрами \fI\-\-install\fR та \fI\-\-update\fR, отримуються за допомогою з'єднання з мережею основної системи. Встановлення значень змінних середовища \f(CW\*(C`http_proxy\*(C'\fR, \f(CW\*(C`https_proxy\*(C'\fR та \f(CW\*(C`ftp_proxy\*(C'\fR таким чином, щоб вони вказували на локальний кеш, може забезпечити режим, за якого ці пакунки отримуватимуться із інтернету лише один раз. Ви також можете спробувати скористатися локальним сховищем пакунків, хоча налаштовування такого сховища може бути складною справою, специфічною для того дистрибутива Linux, який ви намагаєтеся встановити. +Пакунки, потрібні для виконання завдань із параметрами \fI\-\-install\fR та \fI\-\-update\fR, отримуються за допомогою з\*(Aqєднання з мережею основної системи. Встановлення значень змінних середовища \f(CW\*(C`http_proxy\*(C'\fR, \f(CW\*(C`https_proxy\*(C'\fR та \f(CW\*(C`ftp_proxy\*(C'\fR таким чином, щоб вони вказували на локальний кеш, може забезпечити режим, за якого ці пакунки отримуватимуться із інтернету лише один раз. Ви також можете спробувати скористатися локальним сховищем пакунків, хоча налаштовування такого сховища може бути складною справою, специфічною для того дистрибутива Linux, який ви намагаєтеся встановити. .PP \fIКористування \-\-no\-sync\fR .IX Subsection "Користування --no-sync" .PP Скористайтеся \fI\-\-no\-sync\fR. Втім, ознайомтеся із можливими проблемами, описаними у розділі "ПАРАМЕТРИ" вище, оскільки це може призвести до пошкодження даних на диску, якщо використовувати неправильно. .PP -\fIПропускання virt-resize\fR +\fIПропускання virt\-resize\fR .IX Subsection "Пропускання virt-resize" .PP -За певних умов virt-builder може пропускати крок virt-resize. Це значно пришвидшує роботу virt-builder. Умови пропускання є такими: +За певних умов virt\-builder може пропускати крок virt\-resize. Це значно пришвидшує роботу virt\-builder. Умови пропускання є такими: .IP \(bu 4 дані слід виводити до звичайного файла (не на блоковий пристрій), \fBі\fR .IP \(bu 4 @@ -1695,12 +1698,12 @@ Virt-builder додає випадкову базу псевдовипадков \fIpxzcat\fR .IX Subsection "pxzcat" .PP -Virt-builder використовує внутрішню реалізацію pxzcat (паралельного xzcat), якщо під час збирання програми було знайдено liblzma. Якщо liblzma не було знайдено під час збирання, використовуватиметься звичайний \f(CW\*(C`xzcat\*(C'\fR, який працює у один потік. +Virt\-builder використовує внутрішню реалізацію pxzcat (паралельного xzcat), якщо під час збирання програми було знайдено liblzma. Якщо liblzma не було знайдено під час збирання, використовуватиметься звичайний \f(CW\*(C`xzcat\*(C'\fR, який працює у один потік. .SS SELINUX .IX Subsection "SELINUX" Гостьові системи, у яких використовується SELinux (зокрема Fedora і Red Hat Enterprise Linux) потребують коректної мітки SELinux для кожного файла. .PP -Virt-builder не може знайти про спосіб, у який новим файлам надаються мітки. Тому існує дві можливі стратегії, використання яких забезпечує встановлення належних міток: +Virt\-builder не може знайти про спосіб, у який новим файлам надаються мітки. Тому існує дві можливі стратегії, використання яких забезпечує встановлення належних міток: .IP "Automatic relabeling" 4 .IX Item "Automatic relabeling" Запуск \fBsetfiles\fR\|(8) безпосередньо перед завершенням збирання образу гостьової системи для встановлення належних міток SELinux на образі диска. @@ -1711,11 +1714,11 @@ Virt-builder не може знайти про спосіб, у який нов Наявність у гостьовій системі файла із назвою \fI/.autorelabel\fR або можливе його створення. .Sp У гостьових системах, де використовується SELinux, це спричиняє запуск \fBrestorecon\fR\|(8) під час першого завантаження. Гостьові системи самостійно перезавантажуються під час першого використання — це нормальна і нешкідлива поведінка. -.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" +.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" .IX Header "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" -Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt-builder з інших програм, графічних інтерфейсів тощо. +Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt\-builder з інших програм, графічних інтерфейсів тощо. .PP -Скористайтеся цим параметром окремо, щоб опитати систему щодо можливостей виконуваного файла virt-builder. Типово виведені дані виглядатимуть якось так: +Скористайтеся цим параметром окремо, щоб опитати систему щодо можливостей виконуваного файла virt\-builder. Типово виведені дані виглядатимуть якось так: .PP .Vb 7 \& $ virt\-builder \-\-machine\-readable @@ -1729,7 +1732,7 @@ Virt-builder не може знайти про спосіб, у який нов .PP Виводиться список можливостей, по одній на рядок, і програма завершує роботу зі станом 0. .PP -Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). +Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). .SH "ЗМІННІ СЕРЕДОВИЩА" .IX Header "ЗМІННІ СЕРЕДОВИЩА" Опис інших змінних середовища, які стосуються усіх програм libguestfs, наведено у розділі "ЗМІННІ СЕРЕДОВИЩА" in \fBguestfs\fR\|(3). @@ -1744,7 +1747,7 @@ Virt-builder не може знайти про спосіб, у який нов .el .IP \f(CWno_proxy\fR 4 .IX Item "no_proxy" .PD -Встановити проксі\-сервер для отримання даних. Ці змінні середовища (та інші) насправді обробляються \fBcurl\fR\|(1), а не virt-builder. +Встановити проксі\-сервер для отримання даних. Ці змінні середовища (та інші) насправді обробляються \fBcurl\fR\|(1), а не virt\-builder. .ie n .IP """HOME""" 4 .el .IP \f(CWHOME\fR 4 .IX Item "HOME" diff --git a/po-docs/uk/virt-cat.1 b/po-docs/uk/virt-cat.1 index 0ed865e..161c923 100644 --- a/po-docs/uk/virt-cat.1 +++ b/po-docs/uk/virt-cat.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-cat 1" -.TH virt-cat 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-cat 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-cat — показ файлів у віртуальній машині +virt\-cat — показ файлів у віртуальній машині .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -164,7 +167,7 @@ default value which is usually 512 bytes. See also Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-cat попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-cat попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP \fB\-\-format=raw|qcow2|..\fR 4 .IX Item "--format=raw|qcow2|.." .PD 0 @@ -223,9 +226,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -251,7 +254,7 @@ multiple keys on stdin, one per line. .Sp Визначення точки монтування вимикає інспектування гостьової системи і призводить до монтування її кореневої системи та усіх її точок монтування. Тому вам слід забезпечити монтування усіх точок монтування, потрібних для роботи із файлами, назви яких вказано як аргументи. .Sp -Якщо ви не знаєте, які саме файлові системи містяться у образі диска, ви можете або запустити guestfish без цього параметра і ознайомитися зі списком доступних розділів, файлових систем та логічних томів (див. команди "list-partitions", "list-filesystems" і "lvs"), або скористатися програмою \fBvirt\-filesystems\fR\|(1). +Якщо ви не знаєте, які саме файлові системи містяться у образі диска, ви можете або запустити guestfish без цього параметра і ознайомитися зі списком доступних розділів, файлових систем та логічних томів (див. команди "list\-partitions", "list\-filesystems" і "lvs"), або скористатися програмою \fBvirt\-filesystems\fR\|(1). .Sp Третьою (і нечасто використовуваною) частиною параметра монтування є список параметрів монтування, які використовуються для того, щоб змонтувати підлеглу файлову систему. Якщо такий список не буде задано, параметрами монтування вважатиметься або порожній рядок, або \f(CW\*(C`ro\*(C'\fR (другий варіант використовується, якщо використано прапорець \fI\-\-ro\fR). Заданням параметрів монтування ви перевизначаєте типовий варіант. Ймовірно, єдиним випадком, коли вам може знадобитися це, є випадок вмикання списків керування доступом (ACL) і/або розширених атрибутів, якщо у файловій системі передбачено їхню підтримку: .Sp @@ -281,7 +284,7 @@ multiple keys on stdin, one per line. Увімкнути трасування викликів програмного інтерфейсу libguestfs. .SH "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" .IX Header "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" -У попередніх версіях virt-cat можна було використовувати або +У попередніх версіях virt\-cat можна було використовувати або .PP .Vb 1 \& virt\-cat диск.img [диск.img ...] файл @@ -317,7 +320,7 @@ multiple keys on stdin, one per line. .IP \(bu 4 Перехід за деякими символічними посиланнями NTFS може здійснюватися з помилками. .IP \(bu 4 -Точки з'єднання NTFS, які виходять за межі однією файлової системи використовувати не можна. +Точки з\*(Aqєднання NTFS, які виходять за межі однією файлової системи використовувати не можна. .SH "ВИКОРИСТАННЯ GUESTFISH" .IX Header "ВИКОРИСТАННЯ GUESTFISH" \&\fBguestfish\fR\|(1) є потужнішим інструментом нижчого рівня, яким можна скористатися, якщо \f(CW\*(C`virt\-cat\*(C'\fR не працює. diff --git a/po-docs/uk/virt-customize.1 b/po-docs/uk/virt-customize.1 index d0624f7..d91642d 100644 --- a/po-docs/uk/virt-customize.1 +++ b/po-docs/uk/virt-customize.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-customize 1" -.TH virt-customize 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-customize 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-customize — налаштовування віртуальної машини +virt\-customize — налаштовування віртуальної машини .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 7 @@ -80,13 +83,13 @@ virt-customize — налаштовування віртуальної маши .Ve .SH ОПИС .IX Header "ОПИС" -За допомогою virt-customize можна налаштувати віртуальну машину (образ диска) встановленням пакунків, редагуванням файлів налаштувань тощо. +За допомогою virt\-customize можна налаштувати віртуальну машину (образ диска) встановленням пакунків, редагуванням файлів налаштувань тощо. .PP -Virt-customize вносить зміни до гостьової системи або образу диска \fIна місці\fR. Гостьова система має бути вимкненою. Якщо ви хочете зберегти наявний вміст гостьової системи, \fIвам слід спочатку зробити її знімок, скопіювати або клонувати її диск\fR. +Virt\-customize вносить зміни до гостьової системи або образу диска \fIна місці\fR. Гостьова система має бути вимкненою. Якщо ви хочете зберегти наявний вміст гостьової системи, \fIвам слід спочатку зробити її знімок, скопіювати або клонувати її диск\fR. .PP -Вам \fIне потрібно\fR запускати virt-customize від імені користувача root. Фактично, запуск у такому режимі є нерекомендованим. +Вам \fIне потрібно\fR запускати virt\-customize від імені користувача root. Фактично, запуск у такому режимі є нерекомендованим. .PP -Пов'язані інструменти: \fBvirt\-sysprep\fR\|(1) і \fBvirt\-builder\fR\|(1). +Пов\*(Aqязані інструменти: \fBvirt\-sysprep\fR\|(1) і \fBvirt\-builder\fR\|(1). .SH ПАРАМЕТРИ .IX Header "ПАРАМЕТРИ" .IP \fB\-\-help\fR 4 @@ -155,7 +158,7 @@ Virt-customize вносить зміни до гостьової системи Виконати тестову обробку гостьової системи у режимі «лише читання». Буде виконано дію sysprep, але наприкінці усі зміни до диска буде відкинуто. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-customize попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-customize попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP "\fB\-\-format\fR raw|qcow2|.." 4 .IX Item "--format raw|qcow2|.." .PD 0 @@ -214,9 +217,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -236,7 +239,7 @@ multiple keys on stdin, one per line. .IP "\fB\-\-memsize\fR МБ" 4 .IX Item "--memsize МБ" .PD -Зміна обсягу пам'яті, наданого скриптам \fI\-\-run\fR. Збільште це значення, якщо виявиться, що для використання скриптів \fI\-\-run\fR або параметра \fI\-\-install\fR не вистачає пам'яті. +Зміна обсягу пам\*(Aqяті, наданого скриптам \fI\-\-run\fR. Збільште це значення, якщо виявиться, що для використання скриптів \fI\-\-run\fR або параметра \fI\-\-install\fR не вистачає пам\*(Aqяті. .Sp Типові значення можна визначити за допомогою такої команди: .Sp @@ -253,11 +256,11 @@ multiple keys on stdin, one per line. .Sp Типово увімкнено. Скористайтеся параметром \fI\-\-no\-network\fR, щоб вимкнути доступ. .Sp -У мережі працюватимуть лише вихідні з'єднання, а також буде декілька інших незначних обмежень. Див. "МЕРЕЖА" in \fBvirt\-rescue\fR\|(1). +У мережі працюватимуть лише вихідні з\*(Aqєднання, а також буде декілька інших незначних обмежень. Див. "МЕРЕЖА" in \fBvirt\-rescue\fR\|(1). .Sp Якщо ви скористаєтеся параметром \fI\-\-no\-network\fR, тоді інші параметри, зокрема \fI\-\-install\fR, не працюватимуть. .Sp -Це не вплине на доступність мережі для гостьової системи після її завантаження, оскільки така доступність керується вашим гіпервізором або хмарним середовищем і не має нічого спільного з virt-customize. +Це не вплине на доступність мережі для гостьової системи після її завантаження, оскільки така доступність керується вашим гіпервізором або хмарним середовищем і не має нічого спільного з virt\-customize. .Sp Загалом кажучи, вам \fIне варто\fR використовувати \fI\-\-no\-network\fR. Але ось декілька випадків, коли у вас може виникнути потреба у використанні цього параметра: .RS 4 @@ -266,7 +269,7 @@ multiple keys on stdin, one per line. .IP 2. 4 Усе програмне забезпечення, яке ви маєте намір встановити, походить з долученого образу ISO, отже потреби у мережі немає. .IP 3. 4 -Ви не хочете, щоб ненадійний код із гостьової системи намагався отримати доступ до мережевого з'єднання вашої основної системи під час роботи virt-customize. Таке, зокрема, може трапитися, якщо ви не довіряєте джерелу шаблонів операційних систем. (Див. "БЕЗПЕКА" нижче). +Ви не хочете, щоб ненадійний код із гостьової системи намагався отримати доступ до мережевого з\*(Aqєднання вашої основної системи під час роботи virt\-customize. Таке, зокрема, може трапитися, якщо ви не довіряєте джерелу шаблонів операційних систем. (Див. "БЕЗПЕКА" нижче). .IP 4. 4 Ви не хочете користуватися мережею основної системи (наприклад, через захищеність або обмеженість середовища у ній). .RE @@ -406,7 +409,7 @@ See also: \fI\-\-upload\fR. .Sp Зауважте, що цим параметром можна буде скористатися, лише якщо встановлено Perl 5. .Sp -Див. "NON-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). +Див. "NON\-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). .IP "\fB\-\-firstboot\fR СКРИПТ" 4 .IX Item "--firstboot СКРИПТ" Встановити \f(CW\*(C`СКРИПТ\*(C'\fR у гостьовій системі і запустити його під час першого завантаження гостьової системи (від імені root, у останній частині процесу завантаження). @@ -420,7 +423,7 @@ See also: \fI\-\-upload\fR. Будь ласка, зверніться до розділу "СКРИПТИ ПЕРШОГО ЗАВАНТАЖЕННЯ" in \fBvirt\-builder\fR\|(1), щоб ознайомитися із відомостями щодо скриптів першого завантаження і проблемами у їх використанні. .Sp Див. також \fI\-\-run\fR. -.IP "\fB\-\-firstboot\-command\fR 'КОМАНДА+ПАРАМЕТРИ'" 4 +.IP "\fB\-\-firstboot\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq" 4 .IX Item "--firstboot-command 'КОМАНДА+ПАРАМЕТРИ'" Виконати команду (разом із аргументами) у гостьовій системі під час першого завантаження гостьової системи (від імені root, у останній частині процесу завантаження). .Sp @@ -431,7 +434,7 @@ See also: \fI\-\-upload\fR. Див. також \fI\-\-run\fR. .IP "\fB\-\-firstboot\-install\fR ПАКУНОК,ПАКУНОК.." 4 .IX Item "--firstboot-install ПАКУНОК,ПАКУНОК.." -Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час першого завантаження гостьової системи за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з'єднання із мережею гостьової системи. +Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час першого завантаження гостьової системи за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з\*(Aqєднання із мережею гостьової системи. .Sp Огляд різних способів встановлення пакунків наведено у розділі "ВСТАНОВЛЕННЯ ПАКУНКІВ" in \fBvirt\-builder\fR\|(1). .IP "\fB\-\-hostname\fR НАЗВА_ВУЗЛА" 4 @@ -446,16 +449,16 @@ The parameter is the same as used by the \fI\-\-inject\-virtio\-win\fR operation Note that to do a full conversion of a Windows guest from a foreign hypervisor like VMware (which involves many other operations) you should use the \fBvirt\-v2v\fR\|(1) tool instead of this. .IP "\fB\-\-inject\-virtio\-win\fR METHOD" 4 .IX Item "--inject-virtio-win METHOD" -Inject virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. +Inject virtio\-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. .Sp The parameter can be one of: .RS 4 .IP ISO 4 .IX Item "ISO" -The path to the ISO image containing the virtio-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). +The path to the ISO image containing the virtio\-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). .IP DIR 4 .IX Item "DIR" -The directory containing the unpacked virtio-win drivers (eg. \fI/usr/share/virtio\-win\fR). +The directory containing the unpacked virtio\-win drivers (eg. \fI/usr/share/virtio\-win\fR). .IP "\fB""osinfo""\fR" 4 .IX Item """osinfo""" The literal string \f(CW"osinfo"\fR means to use the libosinfo database to locate the drivers. (See \fBosinfo\-query\fR\|(1). @@ -466,7 +469,7 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .RE .IP "\fB\-\-install\fR ПАКУНОК,ПАКУНОК.." 4 .IX Item "--install ПАКУНОК,ПАКУНОК.." -Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час збирання образу за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з'єднання із мережею основної системи. +Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час збирання образу за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з\*(Aqєднання із мережею основної системи. .Sp Огляд різних способів встановлення пакунків наведено у розділі "ВСТАНОВЛЕННЯ ПАКУНКІВ" in \fBvirt\-builder\fR\|(1). .Sp @@ -495,7 +498,7 @@ Do not attempt to correct the SELinux labels of files in the guest. .Sp In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. (The relabeling is performed immediately, but if the operation fails, customization will instead touch \fI/.autorelabel\fR on the image to schedule a relabel operation for the next time the image boots.) This option disables the automatic relabeling. .Sp -The option is a no-op for guests that do not support SELinux. +The option is a no\-op for guests that do not support SELinux. .IP "\fB\-\-password\fR КОРИСТУВАЧ:ВАРІАНТ" 4 .IX Item "--password КОРИСТУВАЧ:ВАРІАНТ" Встановити пароль для користувача \f(CW\*(C`КОРИСТУВАЧ\*(C'\fR. (Зауважте, що за допомогою цього параметра \fIне можна\fR створювати облікові записи користувачів.) @@ -518,23 +521,23 @@ The option is a no-op for guests that do not support SELinux. .Sp Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR та способи налаштовування облікових записів користувачів описано у розділі "КОРИСТУВАЧІ І ПАРОЛІ" in \fBvirt\-builder\fR\|(1). .Sp -Зауваження: якщо у virt-builder ви \fIне встановите\fR \fI\-\-root\-password\fR, для гостьової системи буде використано \fIвипадковий\fR пароль root. +Зауваження: якщо у virt\-builder ви \fIне встановите\fR \fI\-\-root\-password\fR, для гостьової системи буде використано \fIвипадковий\fR пароль root. .IP "\fB\-\-run\fR СКРИПТ" 4 .IX Item "--run СКРИПТ" Виконати скрипт оболонки (або будь\-яку програму), яка називається \f(CW\*(C`СКРИПТ\*(C'\fR у образі диска. Скрипт буде запущено у віртуалізованому режимі у малій допоміжній системі, у пісочниці гостьової файлової системи. .Sp Для скрипту буде автоматично використано команду chmod +x. .Sp -Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з'єднання, але лише для вихідних з'єднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з'єднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). +Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з\*(Aqєднання, але лише для вихідних з\*(Aqєднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з\*(Aqєднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). .Sp Можна вказати декілька параметрів \fI\-\-run\fR. Їх буде виконано у тому самому порядку, у якому їх вказано у рядку команди. .Sp Див. також \fI\-\-firstboot\fR, \fI\-\-attach\fR, \fI\-\-upload\fR. -.IP "\fB\-\-run\-command\fR 'КОМАНДА+ПАРАМЕТРИ'" 4 +.IP "\fB\-\-run\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq" 4 .IX Item "--run-command 'КОМАНДА+ПАРАМЕТРИ'" Виконати команду із аргументами у образі диска. Команду буде виконано у віртуалізованому режимі у малій допоміжній системі, у пісочниці гостьової файлової системи. .Sp -Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з'єднання, але лише для вихідних з'єднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з'єднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). +Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з\*(Aqєднання, але лише для вихідних з\*(Aqєднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з\*(Aqєднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). .Sp Можна вказати декілька параметрів \fI\-\-run\-command\fR. Їх буде виконано у тому самому порядку, у якому їх вказано у рядку команди. .Sp @@ -557,12 +560,12 @@ This is a compatibility option that does nothing. .IX Item "--sm-attach ВАРІАНТ" Долучити систему до буфера передплати за допомогою \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1). +Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1). .IP "\fB\-\-sm\-credentials\fR ВАРІАНТ" 4 .IX Item "--sm-credentials ВАРІАНТ" Встановити реєстраційні дані для \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1). +Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1). .IP \fB\-\-sm\-register\fR 4 .IX Item "--sm-register" Зареєструвати гостьову систему за допомогою \f(CW\*(C`subscription\-manager\*(C'\fR. diff --git a/po-docs/uk/virt-df.1 b/po-docs/uk/virt-df.1 index ea74a16..19f237d 100644 --- a/po-docs/uk/virt-df.1 +++ b/po-docs/uk/virt-df.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-df 1" -.TH virt-df 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-df 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-df — програма для показу даних щодо вільного місця на віртуальних файлових системах +virt\-df — програма для показу даних щодо вільного місця на віртуальних файлових системах .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" Всі гостьові системи: @@ -114,7 +117,7 @@ virt-df — програма для показу даних щодо вільн \& test1.img:/dev/sda1 99099 1551 92432 2% .Ve .PP -Якщо у одній гостьовій системі декілька дисків, скористайтеся параметром \fI\-a\fR декілька разів. Для кожного з додаткових дисків буде показано символ «плюс» (\f(CW\*(C`+\*(C'\fR). \fBЗауваження: не робіть цього для непов'язаних дисків гостьових систем.\fR +Якщо у одній гостьовій системі декілька дисків, скористайтеся параметром \fI\-a\fR декілька разів. Для кожного з додаткових дисків буде показано символ «плюс» (\f(CW\*(C`+\*(C'\fR). \fBЗауваження: не робіть цього для непов\*(Aqязаних дисків гостьових систем.\fR .PP .Vb 5 \& $ virt\-df \-a Win7x32TwoDisks\-a \-a Win7x32TwoDisks\-b @@ -220,7 +223,7 @@ default value which is usually 512 bytes. See also З версії libguestfs 1.22 ця поведінка є типовою. Використання цього параметра не має жодних наслідків. Параметр збережено лише з міркувань зворотної сумісності із давніми скриптами. .IP "\fB\-P\fR кількість_потоків" 4 .IX Item "-P кількість_потоків" -З версії libguestfs 1.22 у virt-df передбачено обробку у декілька потоків і паралельне вивчення гостьових систем. Типово кількість потоків виконання, що використовуються, вибирається на основі доступного обсягу вільної пам’яті на час запуску virt-df. Ви можете примусово наказати virt-df використовувати не більше за \f(CW\*(C`кількість_потоків\*(C'\fR за допомогою параметра \fI\-P\fR. +З версії libguestfs 1.22 у virt\-df передбачено обробку у декілька потоків і паралельне вивчення гостьових систем. Типово кількість потоків виконання, що використовуються, вибирається на основі доступного обсягу вільної пам’яті на час запуску virt\-df. Ви можете примусово наказати virt\-df використовувати не більше за \f(CW\*(C`кількість_потоків\*(C'\fR за допомогою параметра \fI\-P\fR. .Sp Зауважте, що \fI\-P 0\fR означає автоматичне визначення, а \fI\-P 1\fR означає використання одного потоку виконання. .IP \fB\-\-uuid\fR 4 diff --git a/po-docs/uk/virt-dib.1 b/po-docs/uk/virt-dib.1 deleted file mode 100644 index b251e09..0000000 --- a/po-docs/uk/virt-dib.1 +++ /dev/null @@ -1,82 +0,0 @@ -.\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. -.ie n \{\ -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is >0, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{\ -. if \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{\ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" ======================================================================== -.\" -.IX Title "virt-dib 1" -.TH virt-dib 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" -.\" For nroff, turn off justification. Always turn off hyphenation; it makes -.\" way too many mistakes in technical documents. -.if n .ad l -.nh -.SH LICENSE -.IX Header "LICENSE" -.SH BUGS -.IX Header "BUGS" -To get a list of bugs against libguestfs, use this link: -https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools -.PP -To report a new bug against libguestfs, use this link: -https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools -.PP -When reporting a bug, please supply: -.IP \(bu 4 -The version of libguestfs. -.IP \(bu 4 -Where you got libguestfs (eg. which Linux distro, compiled from source, etc) -.IP \(bu 4 -Describe the bug accurately and give a way to reproduce it. -.IP \(bu 4 -Run \fBlibguestfs\-test\-tool\fR\|(1) and paste the \fBcomplete, unedited\fR -output into the bug report. diff --git a/po-docs/uk/virt-diff.1 b/po-docs/uk/virt-diff.1 index a695054..1fe16fd 100644 --- a/po-docs/uk/virt-diff.1 +++ b/po-docs/uk/virt-diff.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-diff 1" -.TH virt-diff 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-diff 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-diff \-\- показ відмінностей між файлами у двох віртуальних машинах +virt\-diff \-\- показ відмінностей між файлами у двох віртуальних машинах .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -173,7 +176,7 @@ default value which is usually 512 bytes. See also Додати всі диски з вказаної гостьової системи libvirt як другої гостьової системи. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-diff попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-diff попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP \fB\-\-extra\-stats\fR 4 .IX Item "--extra-stats" Показати додаткові дані. @@ -242,9 +245,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. diff --git a/po-docs/uk/virt-drivers.pod b/po-docs/uk/virt-drivers.pod index 2db48ae..26dffce 100644 --- a/po-docs/uk/virt-drivers.pod +++ b/po-docs/uk/virt-drivers.pod @@ -68,7 +68,7 @@ The EbootloaderE element shows the bootloader found in the Linux guest. -Many more fields are usually available for Linux guests, including a complete list of kernel modules and information about support for virtio. For a complete example see: L +Many more fields are usually available for Linux guests, including a complete list of kernel modules and information about support for virtio. For a complete example see: L =head2 EdriversE diff --git a/po-docs/uk/virt-edit.1 b/po-docs/uk/virt-edit.1 index adff7dc..0733144 100644 --- a/po-docs/uk/virt-edit.1 +++ b/po-docs/uk/virt-edit.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-edit 1" -.TH virt-edit 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-edit 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-edit — програма для редагування файлів у віртуальній машині +virt\-edit — програма для редагування файлів у віртуальній машині .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -179,7 +182,7 @@ default value which is usually 512 bytes. See also Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-edit попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-edit попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP "\fB\-e\fR вираз" 4 .IX Item "-e вираз" .PD 0 @@ -251,9 +254,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -279,7 +282,7 @@ multiple keys on stdin, one per line. .Sp Визначення точки монтування вимикає інспектування гостьової системи і призводить до монтування її кореневої системи та усіх її точок монтування. Тому вам слід забезпечити монтування усіх точок монтування, потрібних для роботи із файлами, назви яких вказано як аргументи. .Sp -Якщо ви не знаєте, які саме файлові системи містяться у образі диска, ви можете або запустити guestfish без цього параметра і ознайомитися зі списком доступних розділів, файлових систем та логічних томів (див. команди "list-partitions", "list-filesystems" і "lvs"), або скористатися програмою \fBvirt\-filesystems\fR\|(1). +Якщо ви не знаєте, які саме файлові системи містяться у образі диска, ви можете або запустити guestfish без цього параметра і ознайомитися зі списком доступних розділів, файлових систем та логічних томів (див. команди "list\-partitions", "list\-filesystems" і "lvs"), або скористатися програмою \fBvirt\-filesystems\fR\|(1). .Sp Третьою (і нечасто використовуваною) частиною параметра монтування є список параметрів монтування, які використовуються для того, щоб змонтувати підлеглу файлову систему. Якщо такий список не буде задано, параметрами монтування вважатиметься або порожній рядок, або \f(CW\*(C`ro\*(C'\fR (другий варіант використовується, якщо використано прапорець \fI\-\-ro\fR). Заданням параметрів монтування ви перевизначаєте типовий варіант. Ймовірно, єдиним випадком, коли вам може знадобитися це, є випадок вмикання списків керування доступом (ACL) і/або розширених атрибутів, якщо у файловій системі передбачено їхню підтримку: .Sp @@ -309,7 +312,7 @@ multiple keys on stdin, one per line. Увімкнути трасування викликів програмного інтерфейсу libguestfs. .SH "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" .IX Header "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" -У попередніх версіях virt-edit можна було використовувати або +У попередніх версіях virt\-edit можна було використовувати або .PP .Vb 1 \& virt\-edit диск.img [диск.img ...] файл @@ -358,7 +361,7 @@ multiple keys on stdin, one per line. .PP Значення, повернуте у результаті обробки виразу, ігнорується, але вираз може викликати \f(CW\*(C`die\*(C'\fR з метою переривання усієї програми без внесення змін до початкового файла. .PP -Слід пам'ятати, що відповідник кінця рядка при використанні \f(CW$_\fR може містити кінцеве \f(CW\*(C`\en\*(C'\fR або (у файлах DOS) \f(CW\*(C`\er\en\*(C'\fR, або, якщо файл не закінчується символом нового рядка, жодну з цих послідовностей. Тому для пошуку або заміни певного тексту наприкінці рядка слід використовувати такий формальний вираз: +Слід пам\*(Aqятати, що відповідник кінця рядка при використанні \f(CW$_\fR може містити кінцеве \f(CW\*(C`\en\*(C'\fR або (у файлах DOS) \f(CW\*(C`\er\en\*(C'\fR, або, якщо файл не закінчується символом нового рядка, жодну з цих послідовностей. Тому для пошуку або заміни певного тексту наприкінці рядка слід використовувати такий формальний вираз: .PP .Vb 1 \& /якийсь текст(\er?\en)?$/ @@ -385,7 +388,7 @@ multiple keys on stdin, one per line. .IP \(bu 4 Перехід за деякими символічними посиланнями NTFS може здійснюватися з помилками. .IP \(bu 4 -Точки з'єднання NTFS, які виходять за межі однією файлової системи використовувати не можна. +Точки з\*(Aqєднання NTFS, які виходять за межі однією файлової системи використовувати не можна. .SH "ВИКОРИСТАННЯ GUESTFISH" .IX Header "ВИКОРИСТАННЯ GUESTFISH" \&\fBguestfish\fR\|(1) є потужнішим інструментом нижчого рівня, яким можна скористатися, якщо \f(CW\*(C`virt\-edit\*(C'\fR не працює. diff --git a/po-docs/uk/virt-filesystems.1 b/po-docs/uk/virt-filesystems.1 index fef846e..588c3ec 100644 --- a/po-docs/uk/virt-filesystems.1 +++ b/po-docs/uk/virt-filesystems.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-filesystems 1" -.TH virt-filesystems 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-filesystems 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-filesystems — програма для показу списку файлових систем, розділів, блокових пристроїв, LVM у віртуальних машинах або образах дисків +virt\-filesystems — програма для показу списку файлових систем, розділів, блокових пристроїв, LVM у віртуальних машинах або образах дисків .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -101,7 +104,7 @@ virt-filesystems — програма для показу списку файл \& /dev/vg_guest/lv_root filesystem ext4 root 10212081664 .Ve .PP -Якщо ви додасте параметр \fI\-\-extra\fR, буде показано і файлові системи, які непридатні до монтування (резервна пам'ять, невідомий формат): +Якщо ви додасте параметр \fI\-\-extra\fR, буде показано і файлові системи, які непридатні до монтування (резервна пам\*(Aqять, невідомий формат): .PP .Vb 5 \& $ virt\-filesystems \-a disk.img \-\-extra @@ -121,7 +124,7 @@ virt-filesystems — програма для показу списку файл .PP У подібний спосіб, ви можете скористатися параметрами \fI\-\-logical\-volumes\fR, \fI\-\-volume\-groups\fR, \fI\-\-physical\-volumes\fR, \fI\-\-block\-devices\fR, щоб отримати список цих записів. .PP -Ви можете також скористатися цими параметрами у поєднанні (якщо вам потрібна комбінація із файловими системами, вам слід додати \fI\-\-filesystems\fR). Зауважте, що деякі з пунктів списку можуть належати одночасно декільком категоріям (наприклад, \fI/dev/sda1\fR може бути як розділом, так і файловою системою). Такі пункти буде показано відповідну кількість разів. Щоб отримати список, який міститиме абсолютно усе, про що знає virt-filesystems, скористайтеся параметром \fI\-\-all\fR. +Ви можете також скористатися цими параметрами у поєднанні (якщо вам потрібна комбінація із файловими системами, вам слід додати \fI\-\-filesystems\fR). Зауважте, що деякі з пунктів списку можуть належати одночасно декільком категоріям (наприклад, \fI/dev/sda1\fR може бути як розділом, так і файловою системою). Такі пункти буде показано відповідну кількість разів. Щоб отримати список, який міститиме абсолютно усе, про що знає virt\-filesystems, скористайтеся параметром \fI\-\-all\fR. .PP UUID (оскільки вони є доволі довгими) типово показано не буде. Додайте параметр \fI\-\-uuid\fR, щоб ознайомитися із UUID пристроїв і файлових систем у розширених даних. .PP @@ -205,10 +208,10 @@ default value which is usually 512 bytes. See also Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-filesystems попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-filesystems попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP \fB\-\-extra\fR 4 .IX Item "--extra" -Це спричинить показ файлових систем, які не є звичайними файловими системами, які придатні до монтування. До цієї категорії включено розділи резервної пам'яті та файлові системи, які є порожніми або містять невідомі дані. +Це спричинить показ файлових систем, які не є звичайними файловими системами, які придатні до монтування. До цієї категорії включено розділи резервної пам\*(Aqяті та файлові системи, які є порожніми або містять невідомі дані. .Sp Цей параметр автоматично встановлює параметр \fI\-\-filesystems\fR. .IP \fB\-\-filesystems\fR 4 @@ -281,7 +284,7 @@ multiple keys on stdin, one per line. .IX Item "--no-title" У режимі \fI\-\-long\fR не додавати рядок заголовків. .Sp -Зауважте, що порядок стовпчиків не є фіксованим і може змінитися у майбутніх версіях virt-filesystems; отже, використання цього параметра може призвести до не зовсім очікуваних наслідків. +Зауважте, що порядок стовпчиків не є фіксованим і може змінитися у майбутніх версіях virt\-filesystems; отже, використання цього параметра може призвести до не зовсім очікуваних наслідків. .IP \fB\-\-parts\fR 4 .IX Item "--parts" .PD 0 @@ -343,13 +346,13 @@ multiple keys on stdin, one per line. Якщо параметр \fI\-\-long\fR \fBне\fR вказано, у виведених даних буде лише стовпчик назв. .IP \fBТип\fR 4 .IX Item "Тип" -Тип об'єкта. Наприклад, \f(CW\*(C`filesystem\*(C'\fR, \f(CW\*(C`lv\*(C'\fR, \f(CW\*(C`device\*(C'\fR тощо. +Тип об\*(Aqєкта. Наприклад, \f(CW\*(C`filesystem\*(C'\fR, \f(CW\*(C`lv\*(C'\fR, \f(CW\*(C`device\*(C'\fR тощо. .IP \fBVFS\fR 4 .IX Item "VFS" Якщо буде виявлено відому програмі файлову систему, у цьому стовпчику буде показано дані щодо неї, наприклад \f(CW\*(C`ext4\*(C'\fR. .IP \fBМітка\fR 4 .IX Item "Мітка" -Якщо у об'єкта є мітка (яка використовується для ідентифікації та монтування файлових систем), у цьому стовпчику міститься мітка. +Якщо у об\*(Aqєкта є мітка (яка використовується для ідентифікації та монтування файлових систем), у цьому стовпчику міститься мітка. .IP \fBMBR\fR 4 .IX Item "MBR" Байт типу розділу, буде показано у форматі двоцифрового шістнадцяткового числа. Довідковий список типів розділів наведено тут: http://www.win.tue.nl/~aeb/partitions/partition_types\-1.html @@ -357,17 +360,17 @@ multiple keys on stdin, one per line. Це стосується лише розділів DOS (MBR). .IP \fBРозмір\fR 4 .IX Item "Розмір" -Розмір об'єкта у байтах. Якщо використано параметр \fI\-\-human\fR, розмір буде вказано у зручному для читання форматі. +Розмір об\*(Aqєкта у байтах. Якщо використано параметр \fI\-\-human\fR, розмір буде вказано у зручному для читання форматі. .IP \fBОснова\fR 4 .IX Item "Основа" -У стовпчику батьківських об'єктів показано відношення батьківських і дочірніх об'єктів. +У стовпчику батьківських об\*(Aqєктів показано відношення батьківських і дочірніх об\*(Aqєктів. .Sp -Наприклад, якщо об'єкт є розділом, у цьому стовпчику міститиметься назва пристрою, на якому цей розділ розташовано. Якщо об'єкт є логічним томом, у цьому стовпчику буде наведено назву групи томів. +Наприклад, якщо об\*(Aqєкт є розділом, у цьому стовпчику міститиметься назва пристрою, на якому цей розділ розташовано. Якщо об\*(Aqєкт є логічним томом, у цьому стовпчику буде наведено назву групи томів. .Sp -Якщо батьківських об'єктів декілька, вмістом стовпчика буде список значень відокремлених комами, наприклад \f(CW\*(C`/dev/sda,/dev/sdb\*(C'\fR. +Якщо батьківських об\*(Aqєктів декілька, вмістом стовпчика буде список значень відокремлених комами, наприклад \f(CW\*(C`/dev/sda,/dev/sdb\*(C'\fR. .IP \fBUUID\fR 4 .IX Item "UUID" -Якщо у об'єкта є UUID (який використовується для ідентифікації та монтування файлових систем та блокових пристроїв), у цьому стовпчику міститься UUID у форматі рядка. +Якщо у об\*(Aqєкта є UUID (який використовується для ідентифікації та монтування файлових систем та блокових пристроїв), у цьому стовпчику міститься UUID у форматі рядка. .Sp UUID буде показано, лише якщо вказано параметр \fI\-\-uuid\fR. .SH "ЗАУВАЖЕННЯ ЩОДО ФОРМАТУ CSV" diff --git a/po-docs/uk/virt-format.1 b/po-docs/uk/virt-format.1 index 0697f16..a1130e7 100644 --- a/po-docs/uk/virt-format.1 +++ b/po-docs/uk/virt-format.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-format 1" -.TH virt-format 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-format 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-format — витирання і створення порожнього диска +virt\-format — витирання і створення порожнього диска .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -70,7 +73,7 @@ virt-format — витирання і створення порожнього д .Ve .SH ОПИС .IX Header "ОПИС" -Virt-format отримує назву наявного файла на диску (або розділу, логічного тому основної системи), \fBвитирає з нього усі дані\fR і форматує його як порожній диск. Якщо потрібно, програма може створити таблиці розділів, порожні файлові системи, логічні томи тощо. +Virt\-format отримує назву наявного файла на диску (або розділу, логічного тому основної системи), \fBвитирає з нього усі дані\fR і форматує його як порожній диск. Якщо потрібно, програма може створити таблиці розділів, порожні файлові системи, логічні томи тощо. .PP Для створення диска, що містить дані, краще скористатися \fBvirt\-make\-fs\fR\|(1). Якщо ви створюєте порожній диск для використання у \fBguestfish\fR\|(1), вам слід скористатися для цього параметром \fI\-N\fR guestfish. .PP @@ -206,9 +209,9 @@ default value which is usually 512 bytes. See also Показати дані щодо версії і завершити роботу. .IP \fB\-\-wipe\fR 4 .IX Item "--wipe" -У поточній версії virt-format не витирає дані з диска (оскільки ця дія є надто тривалою). Тому, якщо на диску є дані, їх буде лише приховано і частково перезаписано virt-format. Ймовірно, такі дані можна відновити за допомогою інструментів для редагування дисків. +У поточній версії virt\-format не витирає дані з диска (оскільки ця дія є надто тривалою). Тому, якщо на диску є дані, їх буде лише приховано і частково перезаписано virt\-format. Ймовірно, такі дані можна відновити за допомогою інструментів для редагування дисків. .Sp -Якщо ви скористаєтеся цим параметром, virt-format перезапише нулями увесь диск, щоб попередньо записані дані не можна було відновити. +Якщо ви скористаєтеся цим параметром, virt\-format перезапише нулями увесь диск, щоб попередньо записані дані не можна було відновити. .IP \fB\-x\fR 4 .IX Item "-x" Увімкнути трасування викликів програмного інтерфейсу libguestfs. diff --git a/po-docs/uk/virt-get-kernel.1 b/po-docs/uk/virt-get-kernel.1 index dd7e6e2..eee29c0 100644 --- a/po-docs/uk/virt-get-kernel.1 +++ b/po-docs/uk/virt-get-kernel.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-get-kernel 1" -.TH virt-get-kernel 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-get-kernel 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-get-kernel — видобування ядра і диска в пам'яті з гостьових систем +virt\-get\-kernel — видобування ядра і диска в пам\*(Aqяті з гостьових систем .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -130,7 +133,7 @@ This parameter sets the sector size of the disk image added with \fI\-a\fR optio Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-get-kernel попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-get\-kernel попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP "\fB\-\-format\fR raw|qcow2|.." 4 .IX Item "--format raw|qcow2|.." .PD 0 @@ -175,9 +178,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -197,7 +200,7 @@ multiple keys on stdin, one per line. .IP \fB\-\-machine\-readable\fR=формат 4 .IX Item "--machine-readable=формат" .PD -За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп'ютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" нижче. +За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп\*(Aqютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" нижче. .IP "\fB\-o\fR каталог" 4 .IX Item "-o каталог" .PD 0 @@ -225,7 +228,7 @@ multiple keys on stdin, one per line. .IX Item "--unversioned-names" Цей параметр впливає на назву файла призначення для видобутих файлів. .Sp -Якщо увімкнено, файли буде збережено локально лише з базовою назвою. Наприклад, якщо ядро та диск у пам'яті у гостьовій системі називалися \f(CW\*(C`vmlinuz\-3.19.0\-20\-generic\*(C'\fR та \f(CW\*(C`initrd.img\-3.19.0\-20\-generic\*(C'\fR, їх буде збережено, відповідно, як \f(CW\*(C`vmlinuz\*(C'\fR та \f(CW\*(C`initrd.img\*(C'\fR. +Якщо увімкнено, файли буде збережено локально лише з базовою назвою. Наприклад, якщо ядро та диск у пам\*(Aqяті у гостьовій системі називалися \f(CW\*(C`vmlinuz\-3.19.0\-20\-generic\*(C'\fR та \f(CW\*(C`initrd.img\-3.19.0\-20\-generic\*(C'\fR, їх буде збережено, відповідно, як \f(CW\*(C`vmlinuz\*(C'\fR та \f(CW\*(C`initrd.img\*(C'\fR. .Sp Див. також \fI\-\-prefix\fR. .IP \fB\-v\fR 4 @@ -248,11 +251,11 @@ Wrap error, warning, and informative messages. This is the default when the out .IP \fB\-x\fR 4 .IX Item "-x" Увімкнути трасування викликів програмного інтерфейсу libguestfs. -.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" +.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" .IX Header "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" -Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt-get-kernel з інших програм, графічних інтерфейсів тощо. +Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt\-get\-kernel з інших програм, графічних інтерфейсів тощо. .PP -Скористайтеся цим параметром окремо, щоб опитати систему щодо можливостей виконуваного файла virt-get-kernel. Типово виведені дані виглядатимуть якось так: +Скористайтеся цим параметром окремо, щоб опитати систему щодо можливостей виконуваного файла virt\-get\-kernel. Типово виведені дані виглядатимуть якось так: .PP .Vb 2 \& $ virt\-get\-kernel \-\-machine\-readable @@ -261,7 +264,7 @@ Wrap error, warning, and informative messages. This is the default when the out .PP Виводиться список можливостей, по одній на рядок, і програма завершує роботу зі станом 0. .PP -Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). +Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). .SH "ЗМІННІ СЕРЕДОВИЩА" .IX Header "ЗМІННІ СЕРЕДОВИЩА" Опис інших змінних середовища, які стосуються усіх програм libguestfs, наведено у розділі "ЗМІННІ СЕРЕДОВИЩА" in \fBguestfs\fR\|(3). diff --git a/po-docs/uk/virt-index-validate.1 b/po-docs/uk/virt-index-validate.1 index ac46a97..0a7ccf9 100644 --- a/po-docs/uk/virt-index-validate.1 +++ b/po-docs/uk/virt-index-validate.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-index-validate 1" -.TH virt-index-validate 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-index-validate 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-index-validate — засіб перевірки файла покажчика virt-builder +virt\-index\-validate — засіб перевірки файла покажчика virt\-builder .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -70,32 +73,32 @@ virt-index-validate — засіб перевірки файла покажчи .Ve .SH ОПИС .IX Header "ОПИС" -\&\fBvirt\-builder\fR\|(1) використовує файл покажчика (index) для зберігання метаданих щодо шаблонів, способи використання яких відомі програмі. Цей файл покажчика має специфічний формат, перевірку якого виконує програма virt-index-validate. +\&\fBvirt\-builder\fR\|(1) використовує файл покажчика (index) для зберігання метаданих щодо шаблонів, способи використання яких відомі програмі. Цей файл покажчика має специфічний формат, перевірку якого виконує програма virt\-index\-validate. .PP -Зауважте, що virt-index-validate може перевіряти як підписані, так і непідписані файли покажчиків (тобто, як \fIindex\fR, так і \fIindex.asc\fR). Програма здатна перевіряти лише локальні файли і не може працювати із зовнішніми адресами. +Зауважте, що virt\-index\-validate може перевіряти як підписані, так і непідписані файли покажчиків (тобто, як \fIindex\fR, так і \fIindex.asc\fR). Програма здатна перевіряти лише локальні файли і не може працювати із зовнішніми адресами. .SH ПАРАМЕТРИ .IX Header "ПАРАМЕТРИ" .IP \fB\-\-compat\-1.24.0\fR 4 .IX Item "--compat-1.24.0" -Перевірити на сумісність за допомогою virt-builder 1.24.0. (Використання цього параметра автоматично додає \fI\-\-compat\-1.24.1\fR, тому немає потреби у додатковому параметрі, якщо ви вже вказали цей.) +Перевірити на сумісність за допомогою virt\-builder 1.24.0. (Використання цього параметра автоматично додає \fI\-\-compat\-1.24.1\fR, тому немає потреби у додатковому параметрі, якщо ви вже вказали цей.) .Sp Зокрема: .RS 4 .IP \(bu 4 -Ця версія virt-builder не здатна обробляти \f(CW\*(C`[...]\*(C'\fR (квадратні дужки) у назвах полів (наприклад, \f(CW\*(C`checksum[sha512]=...\*(C'\fR). +Ця версія virt\-builder не здатна обробляти \f(CW\*(C`[...]\*(C'\fR (квадратні дужки) у назвах полів (наприклад, \f(CW\*(C`checksum[sha512]=...\*(C'\fR). .IP \(bu 4 -Потребувало від'єднаних підписів (\f(CW\*(C`sig=...\*(C'\fR). +Потребувало від\*(Aqєднаних підписів (\f(CW\*(C`sig=...\*(C'\fR). .RE .RS 4 .RE .IP \fB\-\-compat\-1.24.1\fR 4 .IX Item "--compat-1.24.1" -Перевірити на сумісність за допомогою virt-builder ≥ 1.24.1. +Перевірити на сумісність за допомогою virt\-builder ≥ 1.24.1. .Sp Зокрема: .RS 4 .IP \(bu 4 -У цій версії virt-builder не було передбачено обробки \f(CW\*(C`.\*(C'\fR (крапки) у назвах полів або \f(CW\*(C`,\*(C'\fR (коми) у назвах підполів. +У цій версії virt\-builder не було передбачено обробки \f(CW\*(C`.\*(C'\fR (крапки) у назвах полів або \f(CW\*(C`,\*(C'\fR (коми) у назвах підполів. .IP \(bu 4 Вона не може обробляти коментарі, які є у цьому файлі. .RE diff --git a/po-docs/uk/virt-inspector.1 b/po-docs/uk/virt-inspector.1 index 64d0255..c81fc3c 100644 --- a/po-docs/uk/virt-inspector.1 +++ b/po-docs/uk/virt-inspector.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-inspector 1" -.TH virt-inspector 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-inspector 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-inspector — показ версії операційної системи та інших даних щодо віртуальної машини +virt\-inspector — показ версії операційної системи та інших даних щодо віртуальної машини .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -80,21 +83,21 @@ virt-inspector — показ версії операційної системи .Ve .SH ОПИС .IX Header "ОПИС" -\&\fBvirt-inspector\fR виконує вивчення віртуальної машини або образу диска і намагається визначити версію операційної системи та інші дані щодо віртуальної машини. +\&\fBvirt\-inspector\fR виконує вивчення віртуальної машини або образу диска і намагається визначити версію операційної системи та інші дані щодо віртуальної машини. .PP -Virt-inspector виводить дані XML для обробки у інших програмах. +Virt\-inspector виводить дані XML для обробки у інших програмах. .PP У звичайному режимі користуйтеся командою \f(CW\*(C`virt\-inspector \-d назва_домену\*(C'\fR, де \f(CW\*(C`назва_домену\*(C'\fR — назва домену libvirt (див. \f(CW\*(C`virsh list \-\-all\*(C'\fR). .PP -Ви також можете запускати virt-inspector безпосередньо для образів дисків з однієї віртуальної машини. Для цього слід використовувати команду \f(CW\*(C`virt\-inspector \-a образ.диска\*(C'\fR. У рідкісних випадках у домені може бути декілька блокових пристроїв. У цьому випадку вам слід вказати список із декількох параметрів \fI\-a\fR, один за одним. Перший має відповідати пристрою \fI/dev/sda\fR гостьової системи, другий — пристрою \fI/dev/sdb\fR гостьової системи тощо. +Ви також можете запускати virt\-inspector безпосередньо для образів дисків з однієї віртуальної машини. Для цього слід використовувати команду \f(CW\*(C`virt\-inspector \-a образ.диска\*(C'\fR. У рідкісних випадках у домені може бути декілька блокових пристроїв. У цьому випадку вам слід вказати список із декількох параметрів \fI\-a\fR, один за одним. Перший має відповідати пристрою \fI/dev/sda\fR гостьової системи, другий — пристрою \fI/dev/sdb\fR гостьової системи тощо. .PP -Ви також можете запускати virt-inspector для дисків для встановлення системи, образів компакт\-дисків для портативних систем, призначених для завантаження образів флешок USB тощо. +Ви також можете запускати virt\-inspector для дисків для встановлення системи, образів компакт\-дисків для портативних систем, призначених для завантаження образів флешок USB тощо. .PP -Virt-inspector може одночасно інспектувати і створювати звіт лише для \fIодного домену\fR. Для інспектування декількох віртуальних машин вам доведеться запускати virt-inspector декілька разів (наприклад, із циклу for скрипту оболонки). +Virt\-inspector може одночасно інспектувати і створювати звіт лише для \fIодного домену\fR. Для інспектування декількох віртуальних машин вам доведеться запускати virt\-inspector декілька разів (наприклад, із циклу for скрипту оболонки). .PP -Оскільки virt-inspector потрібен безпосередній доступ до образів гостьової системи, програма, зазвичай, не працюватиме, якщо використовується віддалене з'єднання із libvirt. +Оскільки virt\-inspector потрібен безпосередній доступ до образів гостьової системи, програма, зазвичай, не працюватиме, якщо використовується віддалене з\*(Aqєднання із libvirt. .PP -Усі дані, які доступні за допомогою virt-inspector, також доступні і з основного програмного інтерфейсу інспектування libguestfs (див. "ІНСПЕКТУВАННЯ" in \fBguestfs\fR\|(3)). Ті самі дані можна також отримати за допомогою guestfish або прив'язок до libguestfs багатьма мовами програмування (див. "ОТРИМАННЯ ДАНИХ ІНСПЕКТУВАННЯ ЗА ДОПОМОГОЮ ПРОГРАМНОГО ІНТЕРФЕЙСУ LIBGUESTFS"). +Усі дані, які доступні за допомогою virt\-inspector, також доступні і з основного програмного інтерфейсу інспектування libguestfs (див. "ІНСПЕКТУВАННЯ" in \fBguestfs\fR\|(3)). Ті самі дані можна також отримати за допомогою guestfish або прив\*(Aqязок до libguestfs багатьма мовами програмування (див. "ОТРИМАННЯ ДАНИХ ІНСПЕКТУВАННЯ ЗА ДОПОМОГОЮ ПРОГРАМНОГО ІНТЕРФЕЙСУ LIBGUESTFS"). .PP Additional information about bootloader, kernel and drivers inside a guest can be found using \fBvirt\-drivers\fR\|(1). .SH ПАРАМЕТРИ @@ -149,7 +152,7 @@ Libvirt використовуватиметься, лише якщо ви вк Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-inspector попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-inspector попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP \fB\-\-format=raw|qcow2|..\fR 4 .IX Item "--format=raw|qcow2|.." .PD 0 @@ -196,9 +199,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -214,12 +217,12 @@ If there are multiple encrypted devices then you may need to supply multiple keys on stdin, one per line. .IP \fB\-\-no\-applications\fR 4 .IX Item "--no-applications" -Типово, виведені virt-inspector дані містять список програм, які встановлено у гостьовій системі, якщо такий список доступний. +Типово, виведені virt\-inspector дані містять список програм, які встановлено у гостьовій системі, якщо такий список доступний. .Sp Вкажіть цей параметр, щоб вимкнути частину XML результату. .IP \fB\-\-no\-icon\fR 4 .IX Item "--no-icon" -Типово, виведені virt-inspector дані містять список програм, які встановлено у гостьовій системі, якщо такий список доступний (див. "icon"). +Типово, виведені virt\-inspector дані містять список програм, які встановлено у гостьовій системі, якщо такий список доступний (див. "icon"). .Sp Вкажіть цей параметр, щоб вимкнути частину XML результату. .IP \fB\-v\fR 4 @@ -241,10 +244,10 @@ multiple keys on stdin, one per line. Увімкнути трасування викликів програмного інтерфейсу libguestfs. .IP "\fB\-\-xpath\fR запит" 4 .IX Item "--xpath запит" -Виконати запит XPath до XML у stdin і вивести результат до stdout. У цьому режимі virt-inspector просто виконує запит XPath; усі інші функції інспектування буде вимкнено. Приклади запитів наведено у розділі "ЗАПИТИ XPATH" нижче. +Виконати запит XPath до XML у stdin і вивести результат до stdout. У цьому режимі virt\-inspector просто виконує запит XPath; усі інші функції інспектування буде вимкнено. Приклади запитів наведено у розділі "ЗАПИТИ XPATH" нижче. .SH "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" .IX Header "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" -У попередніх версіях virt-inspector можна було використовувати або +У попередніх версіях virt\-inspector можна було використовувати або .PP .Vb 1 \& virt\-inspector диск.img [диск.img ...] @@ -261,12 +264,12 @@ multiple keys on stdin, one per line. З міркувань зворотної сумісності передбачено підтримку запису параметрів у застарілому форматі. .SH "ФОРМАТ XML" .IX Header "ФОРМАТ XML" -Точний опис XML virt-inspector наведено у файлі схеми RELAX NG \fIvirt\-inspector.rng\fR, який постачається разом із libguestfs. Цей розділ містить лише поверхневий огляд. +Точний опис XML virt\-inspector наведено у файлі схеми RELAX NG \fIvirt\-inspector.rng\fR, який постачається разом із libguestfs. Цей розділ містить лише поверхневий огляд. .PP Елементом верхнього рівня є . Він містить один або декілька елементів . Елементів буде декілька, лише якщо у віртуальній машині передбачено декілька варіантів завантаження. Такі випадки є дуже рідкісними у світі віртуальних машин. .SS .IX Subsection "" -Всередині теґу містяться різноманітні необов'язкові поля, які описують операційну систему, її архітектуру, містять описовий рядок «назва продукту», тип операційної системи тощо. Ось приклад: +Всередині теґу містяться різноманітні необов\*(Aqязкові поля, які описують операційну систему, її архітектуру, містять описовий рядок «назва продукту», тип операційної системи тощо. Ось приклад: .PP .Vb 11 \& @@ -299,10 +302,10 @@ multiple keys on stdin, one per line. \& .Ve .PP -Як і з , пристрої подано з точки зору libguestfs, отже вони можуть мати зовсім інші назви у гостьовій системі. У списку буде наведено лише монтовані файлові системи, а не щось подібне до пристроїв резервної пам'яті на диску. +Як і з , пристрої подано з точки зору libguestfs, отже вони можуть мати зовсім інші назви у гостьовій системі. У списку буде наведено лише монтовані файлові системи, а не щось подібне до пристроїв резервної пам\*(Aqяті на диску. .SS .IX Subsection "" -Елемент подібний до , але стосується файлових \fIусіх\fR файлових систем, що належать гостьовій операційній системі, зокрема розділів резервної пам'яті на диску та порожніх розділів. (У рідкісних випадках гостьової системи із варіантами завантаження, цей елемент стосується файлових систем, що належать цій операційній системі або є спільними для цієї операційної системи та інших операційних систем.) +Елемент подібний до , але стосується файлових \fIусіх\fR файлових систем, що належать гостьовій операційній системі, зокрема розділів резервної пам\*(Aqяті на диску та порожніх розділів. (У рідкісних випадках гостьової системи із варіантами завантаження, цей елемент стосується файлових систем, що належать цій операційній системі або є спільними для цієї операційної системи та інших операційних систем.) .PP Ви побачите щось таке: .PP @@ -318,10 +321,10 @@ multiple keys on stdin, one per line. \& .Ve .PP -Необов'язкові елементи у стосуються типу, мітки та UUID файлової системи. +Необов\*(Aqязкові елементи у стосуються типу, мітки та UUID файлової системи. .SS .IX Subsection "" -Пов'язані елементи , та описують програми, які встановлено у віртуальній машині. +Пов\*(Aqязані елементи , та описують програми, які встановлено у віртуальній машині. .PP Елемент , якщо він є, описує використану систему пакунків. Типовими значеннями цього елемента є \f(CW\*(C`rpm\*(C'\fR та \f(CW\*(C`deb\*(C'\fR. .PP @@ -344,7 +347,7 @@ multiple keys on stdin, one per line. Для деяких типів гостьових системи дані полів версії і випуску можуть бути недоступними. Можлива поява інших полів, див. "guestfs_inspect_list_applications" in \fBguestfs\fR\|(3). .SS .IX Subsection "" -Для операційних систем, подібних до Windows, де для позначення дисків використовуються літери, virt-inspector може визначати прив'язки літер дисків до файлових систем. +Для операційних систем, подібних до Windows, де для позначення дисків використовуються літери, virt\-inspector може визначати прив\*(Aqязки літер дисків до файлових систем. .PP .Vb 7 \& @@ -356,12 +359,12 @@ multiple keys on stdin, one per line. \& .Ve .PP -У наведеному вище прикладі диск C пов'язано із файловою системою на другому розділі першого диска, диск E — із файловою системою на першому розділі другого диска. +У наведеному вище прикладі диск C пов\*(Aqязано із файловою системою на другому розділі першого диска, диск E — із файловою системою на першому розділі другого диска. .PP -Зауважте, що це стосується лише постійних прив'язок дисків, а не прив'язок, які подібні до прив'язок до спільних ресурсів у мережі. Крім того, до цього списку може бути не включено точки монтування томів NTFS. +Зауважте, що це стосується лише постійних прив\*(Aqязок дисків, а не прив\*(Aqязок, які подібні до прив\*(Aqязок до спільних ресурсів у мережі. Крім того, до цього списку може бути не включено точки монтування томів NTFS. .SS .IX Subsection "" -Іноді virt-inspector може видобути піктограму або логотип гостьової системи. Піктограму буде повернуто у форматі даних PNG у кодуванні base64. Зауважте, що піктограма може бути доволі великою і дуже якісною. +Іноді virt\-inspector може видобути піктограму або логотип гостьової системи. Піктограму буде повернуто у форматі даних PNG у кодуванні base64. Зауважте, що піктограма може бути доволі великою і дуже якісною. .PP .Vb 7 \& @@ -380,9 +383,9 @@ multiple keys on stdin, one per line. .Ve .SH "ЗАПИТИ XPATH" .IX Header "ЗАПИТИ XPATH" -У virt-inspector передбачено вбудовану підтримку виконання запитів XPath. Причиною включення підтримкиXPath безпосередньо до virt-inspector є те, що не існує добрих і широкодоступних засобів командного рядка, які можуть виконувати запити XPath. Єдиним добрим засобом є \fBxmlstarlet\fR\|(1), але ця програма недоступна у Red Hat Enterprise Linux. +У virt\-inspector передбачено вбудовану підтримку виконання запитів XPath. Причиною включення підтримкиXPath безпосередньо до virt\-inspector є те, що не існує добрих і широкодоступних засобів командного рядка, які можуть виконувати запити XPath. Єдиним добрим засобом є \fBxmlstarlet\fR\|(1), але ця програма недоступна у Red Hat Enterprise Linux. .PP -Для виконання запиту XPath скористайтеся параметром \fI\-\-xpath\fR. Зауважте, що у цьому режимі virt-inspector просто читає XML зі stdin і виводить результат запиту до stdout. Усі інші можливості інспектування у цьому режимі вимкнено. +Для виконання запиту XPath скористайтеся параметром \fI\-\-xpath\fR. Зауважте, що у цьому режимі virt\-inspector просто читає XML зі stdin і виводить результат запиту до stdout. Усі інші можливості інспектування у цьому режимі вимкнено. .PP Приклад: .PP @@ -403,9 +406,9 @@ multiple keys on stdin, one per line. .Ve .SH "ОТРИМАННЯ ДАНИХ ІНСПЕКТУВАННЯ ЗА ДОПОМОГОЮ ПРОГРАМНОГО ІНТЕРФЕЙСУ LIBGUESTFS" .IX Header "ОТРИМАННЯ ДАНИХ ІНСПЕКТУВАННЯ ЗА ДОПОМОГОЮ ПРОГРАМНОГО ІНТЕРФЕЙСУ LIBGUESTFS" -У ранніх версіях libguestfs virt-inspector був великим скриптом Perl, до якого було включено багато евристики для інспектування гостьових систем. Цей підхід мав декілька проблем: для виконання інспектування з інших інструментів (зокрема guestfish) нам доводилося викликати цей скрипт Perl; він ставив у пріоритетне становище Perl над іншими мовами програмування, підтримку яких передбачено у libguestfs. +У ранніх версіях libguestfs virt\-inspector був великим скриптом Perl, до якого було включено багато евристики для інспектування гостьових систем. Цей підхід мав декілька проблем: для виконання інспектування з інших інструментів (зокрема guestfish) нам доводилося викликати цей скрипт Perl; він ставив у пріоритетне становище Perl над іншими мовами програмування, підтримку яких передбачено у libguestfs. .PP -До libguestfs 1.8 ми переписали код Perl на C і включили його до програмного інтерфейсу основи libguestfs (\fBguestfs\fR\|(3)). Тепер virt-inspector є простим тонким прошарком C над основним програмним інтерфейсом мовою C. Усі дані інспектування доступні з усіх мов програмування, підтримку яких передбачено у libguestfs, і з guestfish. +До libguestfs 1.8 ми переписали код Perl на C і включили його до програмного інтерфейсу основи libguestfs (\fBguestfs\fR\|(3)). Тепер virt\-inspector є простим тонким прошарком C над основним програмним інтерфейсом мовою C. Усі дані інспектування доступні з усіх мов програмування, підтримку яких передбачено у libguestfs, і з guestfish. .PP Опис програмного інтерфейсу інспектування мовою C наведено у розділі "ІНСПЕКТУВАННЯ" in \fBguestfs\fR\|(3). .PP @@ -416,7 +419,7 @@ multiple keys on stdin, one per line. .IX Subsection "ОТРИМАННЯ ДАНИХ ІНСПЕКТУВАННЯ ВІД GUESTFISH" Якщо ви використовуєте параметр guestfish \fI\-i\fR, викликається основний програмний інтерфейс інспектування "guestfs_inspect_os" in \fBguestfs\fR\|(3) мовою C. Це еквівалент команди guestfish \f(CW\*(C`inspect\-os\*(C'\fR. Ви також можете викликати цю команду guestfish вручну. .PP -\&\f(CW\*(C`inspect\-os\*(C'\fR виконує інспектування поточного образу диска, повертаючи список знайдених операційних систем. Кожну операційну систему представлено її пристроєм кореневої файлової системи. У більшості випадків ця команда не виводить ніяких даних (не знайдено жодної операційної системи) або виводить єдиний кореневий пристрій, але ви маєте зважати на те, що ця команда може вивести декілька рядків, якщо у образі декілька операційних систем або із гостьовою системою з'єднано компакт\-диск для встановлення. +\&\f(CW\*(C`inspect\-os\*(C'\fR виконує інспектування поточного образу диска, повертаючи список знайдених операційних систем. Кожну операційну систему представлено її пристроєм кореневої файлової системи. У більшості випадків ця команда не виводить ніяких даних (не знайдено жодної операційної системи) або виводить єдиний кореневий пристрій, але ви маєте зважати на те, що ця команда може вивести декілька рядків, якщо у образі декілька операційних систем або із гостьовою системою з\*(Aqєднано компакт\-диск для встановлення. .PP .Vb 4 \& $ guestfish \-\-ro \-a F15x32.img @@ -438,7 +441,7 @@ multiple keys on stdin, one per line. \& Fedora release 15 (Lovelock) .Ve .PP -Обмеження guestfish ускладнюють прив'язку кореневого пристрою до змінної (оскільки у guestfish немає змінних), отже, якщо вам потрібно робити це декілька разів, варто написати скрипт якоюсь іншою мовою програмування, підтримку якої передбачено програмним інтерфейсом libguestfs. +Обмеження guestfish ускладнюють прив\*(Aqязку кореневого пристрою до змінної (оскільки у guestfish немає змінних), отже, якщо вам потрібно робити це декілька разів, варто написати скрипт якоюсь іншою мовою програмування, підтримку якої передбачено програмним інтерфейсом libguestfs. .PP Для отримання списку програм вам спочатку слід змонтувати диски: .PP @@ -450,7 +453,7 @@ multiple keys on stdin, one per line. \& > mount\-ro /dev/vda1 /boot .Ve .PP -а далі викличте програмний інтерфейс inspect-list-applications: +а далі викличте програмний інтерфейс inspect\-list\-applications: .PP .Vb 10 \& > inspect\-list\-applications /dev/vg_f15x32/lv_root | head \-28 @@ -489,13 +492,13 @@ multiple keys on stdin, one per line. .Vb 1 \& > inspect\-get\-icon /dev/vg_f15x32/lv_root | display \- .Ve -.SH "ПОПЕРЕДНІ ВЕРСІЇ VIRT-INSPECTOR" +.SH "ПОПЕРЕДНІ ВЕРСІЇ VIRT\-INSPECTOR" .IX Header "ПОПЕРЕДНІ ВЕРСІЇ VIRT-INSPECTOR" -Як ми вже вказували вище, ранні версії libguestfs постачалися із іншою програмою virt-inspector, написаною на Perl (поточну версію написано на C). Виведені дані XML virt-inspector на Perl були іншими, програма також могла виводити дані у інших форматах, зокрема текстовому. +Як ми вже вказували вище, ранні версії libguestfs постачалися із іншою програмою virt\-inspector, написаною на Perl (поточну версію написано на C). Виведені дані XML virt\-inspector на Perl були іншими, програма також могла виводити дані у інших форматах, зокрема текстовому. .PP -Підтримку застарілої версії virt-inspector припинено, вона більше не постачається з libguestfs. +Підтримку застарілої версії virt\-inspector припинено, вона більше не постачається з libguestfs. .PP -Крім того, до непорозумінь може призвести і те, що разом із Red Hat Enterprise Linux 6 ми постачаємо дві версії virt-inspector із різними назвами: +Крім того, до непорозумінь може призвести і те, що разом із Red Hat Enterprise Linux 6 ми постачаємо дві версії virt\-inspector із різними назвами: .PP .Vb 2 \& virt\-inspector Стара версія на Perl. diff --git a/po-docs/uk/virt-log.1 b/po-docs/uk/virt-log.1 index 1b5463f..d2440ed 100644 --- a/po-docs/uk/virt-log.1 +++ b/po-docs/uk/virt-log.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-log 1" -.TH virt-log 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-log 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-log \-\- програма для показу файлів журналу віртуальної машини +virt\-log \-\- програма для показу файлів журналу віртуальної машини .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -142,7 +145,7 @@ default value which is usually 512 bytes. See also Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-log попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-log попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP \fB\-\-format=raw|qcow2|..\fR 4 .IX Item "--format=raw|qcow2|.." .PD 0 @@ -201,9 +204,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. diff --git a/po-docs/uk/virt-ls.1 b/po-docs/uk/virt-ls.1 index e83cdea..ce1ea89 100644 --- a/po-docs/uk/virt-ls.1 +++ b/po-docs/uk/virt-ls.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-ls 1" -.TH virt-ls 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-ls 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-ls — програма для показу списку файлів у віртуальній машині +virt\-ls — програма для показу списку файлів у віртуальній машині .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -82,7 +85,7 @@ virt-ls — програма для показу списку файлів у в .IX Header "ОПИС" \&\f(CW\*(C`virt\-ls\*(C'\fR виводить списки назв файлів, розмірів файлів, контрольних сум, розширених атрибутів та інші дані з віртуальної машини або образу диска. .PP -Можна вказати декілька назв каталогів. У цьому випадку виведені дані для кожного з них буде об'єднано. +Можна вказати декілька назв каталогів. У цьому випадку виведені дані для кожного з них буде об\*(Aqєднано. .PP Щоб отримати список вмісту каталогів з гостьової системи libvirt, скористайтеся параметром \fI\-d\fR для задання назви гостьової системи. Для роботи з образом диска скористайтеся параметром \fI\-a\fR. .PP @@ -138,7 +141,7 @@ virt-ls — програма для показу списку файлів у в .Ve .SS "ВІДМІННОСТІ МІЖ ЗНІМКАМИ ТА ФАЙЛАМИ РЕЗЕРВНИХ КОПІЙ" .IX Subsection "ВІДМІННОСТІ МІЖ ЗНІМКАМИ ТА ФАЙЛАМИ РЕЗЕРВНИХ КОПІЙ" -Хоча virt-ls можна скористатися для пошуку відмінностей між каталогами, з випуску libguestfs ≥ 1.26 з цією метою краще користуватися новим інструментом, \fBvirt\-diff\fR\|(1). +Хоча virt\-ls можна скористатися для пошуку відмінностей між каталогами, з випуску libguestfs ≥ 1.26 з цією метою краще користуватися новим інструментом, \fBvirt\-diff\fR\|(1). .SH "РЕЖИМИ ВИВЕДЕННЯ ДАНИХ" .IX Header "РЕЖИМИ ВИВЕДЕННЯ ДАНИХ" У \f(CW\*(C`virt\-ls\*(C'\fR передбачено чотири режими виведення даних, керування якими здійснюється різними комбінаціями параметрів \fI\-l\fR та \fI\-R\fR. @@ -321,7 +324,7 @@ default value which is usually 512 bytes. See also Додати всі диски з вказаної гостьової системи libvirt. UUID доменів можна використовувати замість назв. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-ls попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-ls попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP \fB\-\-extra\-stats\fR 4 .IX Item "--extra-stats" Показати додаткові дані. @@ -394,9 +397,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -422,7 +425,7 @@ multiple keys on stdin, one per line. .Sp Визначення точки монтування вимикає інспектування гостьової системи і призводить до монтування її кореневої системи та усіх її точок монтування. Тому вам слід забезпечити монтування усіх точок монтування, потрібних для роботи із файлами, назви яких вказано як аргументи. .Sp -Якщо ви не знаєте, які саме файлові системи містяться у образі диска, ви можете або запустити guestfish без цього параметра і ознайомитися зі списком доступних розділів, файлових систем та логічних томів (див. команди "list-partitions", "list-filesystems" і "lvs"), або скористатися програмою \fBvirt\-filesystems\fR\|(1). +Якщо ви не знаєте, які саме файлові системи містяться у образі диска, ви можете або запустити guestfish без цього параметра і ознайомитися зі списком доступних розділів, файлових систем та логічних томів (див. команди "list\-partitions", "list\-filesystems" і "lvs"), або скористатися програмою \fBvirt\-filesystems\fR\|(1). .Sp Третьою (і нечасто використовуваною) частиною параметра монтування є список параметрів монтування, які використовуються для того, щоб змонтувати підлеглу файлову систему. Якщо такий список не буде задано, параметрами монтування вважатиметься або порожній рядок, або \f(CW\*(C`ro\*(C'\fR (другий варіант використовується, якщо використано прапорець \fI\-\-ro\fR). Заданням параметрів монтування ви перевизначаєте типовий варіант. Ймовірно, єдиним випадком, коли вам може знадобитися це, є випадок вмикання списків керування доступом (ACL) і/або розширених атрибутів, якщо у файловій системі передбачено їхню підтримку: .Sp @@ -496,7 +499,7 @@ multiple keys on stdin, one per line. Увімкнути трасування викликів програмного інтерфейсу libguestfs. .SH "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" .IX Header "ПАРАМЕТРИ КОМАНДНОГО РЯДКА У ФОРМАТІ ПОПЕРЕДНІХ ВЕРСІЙ" -У попередніх версіях virt-ls можна було використовувати або +У попередніх версіях virt\-ls можна було використовувати або .PP .Vb 1 \& virt\-ls диск.img [диск.img ...] /каталог diff --git a/po-docs/uk/virt-make-fs.1 b/po-docs/uk/virt-make-fs.1 index f1384b6..4d529eb 100644 --- a/po-docs/uk/virt-make-fs.1 +++ b/po-docs/uk/virt-make-fs.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-make-fs 1" -.TH virt-make-fs 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-make-fs 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-make-fs —створення файлової системи на основі архіву tar або файлів +virt\-make\-fs —створення файлової системи на основі архіву tar або файлів .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -74,7 +77,7 @@ virt-make-fs —створення файлової системи на осно .Ve .SH ОПИС .IX Header "ОПИС" -Virt-make-fs — інструмент командного рядка для створення файлової системи на основі архіву tar або якихось файлів у каталозі. Подібний для інструментів \fBmkisofs\fR\|(1), \fBgenisoimage\fR\|(1) та \fBmksquashfs\fR\|(1). На відміну від цих інструментів він може створювати файлові системи стандартних типів, зокрема ext2/3 або NTFS, що може бути корисним, якщо ви хочете долучити ці файлові системи до наявних віртуальних машин (наприклад, щоб імпортувати великі обсяги доступних лише для читання даних до віртуальної машини). +Virt\-make\-fs — інструмент командного рядка для створення файлової системи на основі архіву tar або якихось файлів у каталозі. Подібний для інструментів \fBmkisofs\fR\|(1), \fBgenisoimage\fR\|(1) та \fBmksquashfs\fR\|(1). На відміну від цих інструментів він може створювати файлові системи стандартних типів, зокрема ext2/3 або NTFS, що може бути корисним, якщо ви хочете долучити ці файлові системи до наявних віртуальних машин (наприклад, щоб імпортувати великі обсяги доступних лише для читання даних до віртуальної машини). .PP Для створення порожніх дисків скористайтеся \fBvirt\-format\fR\|(1). Для створення складних компонувань скористайтеся \fBguestfish\fR\|(1). .PP @@ -106,7 +109,7 @@ Virt-make-fs — інструмент командного рядка для с .Ve .SS "ДІЛИТИ ЧИ НЕ ДІЛИТИ НА РОЗДІЛИ" .IX Subsection "ДІЛИТИ ЧИ НЕ ДІЛИТИ НА РОЗДІЛИ" -На вимогу, virt-make-fs може додавати на диск\-результат таблицю розділів. +На вимогу, virt\-make\-fs може додавати на диск\-результат таблицю розділів. .PP Додавання розділу може зробити образ диска суміснішим із деякими віртуалізованими операційними системами, які не можуть працювати із файловими системами, які безпосередньо розміщено на блоковому пристрої (Linux не звертає на це уваги і може успішно працювати із обома типами образів). .PP @@ -128,11 +131,11 @@ Virt-make-fs — інструмент командного рядка для с .Ve .SS "ЗАЙВЕ МІСЦЕ" .IX Subsection "ЗАЙВЕ МІСЦЕ" -На відміну від форматів, таких як tar і squashfs, файлова система не може «просто підлаштуватися» під файли, які вона містить, — вона може потребувати зайвого місця. Залежно від того, як ви збираєтеся використовувати виведений образ, зайве місце може бути небажаним, таким, яке слід мінімізувати, або бажаним для додавання згодом файлів. Типовою поведінкою virt-make-fs є мінімізація зайвого місця, але ви можете скористатися прапорцем \fI\-\-size\fR для створення зайвого місця, якщо вам це потрібно. +На відміну від форматів, таких як tar і squashfs, файлова система не може «просто підлаштуватися» під файли, які вона містить, — вона може потребувати зайвого місця. Залежно від того, як ви збираєтеся використовувати виведений образ, зайве місце може бути небажаним, таким, яке слід мінімізувати, або бажаним для додавання згодом файлів. Типовою поведінкою virt\-make\-fs є мінімізація зайвого місця, але ви можете скористатися прапорцем \fI\-\-size\fR для створення зайвого місця, якщо вам це потрібно. .PP Альтернативним способом створити зайве місце без збільшення образу\-результату є використання альтернативного формату образів дисків (замість типового формату «raw"»). За допомогою параметра \fI\-\-format=qcow2\fR можна визначити природний для qemu/KVM формат образів qcow2 (перш ніж користуватися ним, перевірте, чи передбачено підтримку цього формату у вашому гіпервізорі). Це надасть вам змогу вибрати більший розмір за допомогою \fI\-\-size\fR так, щоб зайве місце було розподілено у образі лише після того, як ви спробуєте на ньому щось зберегти. .PP -Не забувайте, що ви також можете скористатися локальними командами, зокрема \fBresize2fs\fR\|(8) та \fBvirt\-resize\fR\|(1), для зміни розмірів наявних файлових систем або повторно запустити virt-make-fs для збирання іншого образу «з нуля». +Не забувайте, що ви також можете скористатися локальними командами, зокрема \fBresize2fs\fR\|(8) та \fBvirt\-resize\fR\|(1), для зміни розмірів наявних файлових систем або повторно запустити virt\-make\-fs для збирання іншого образу «з нуля». .PP \fIПРИКЛАД\fR .IX Subsection "ПРИКЛАД" @@ -175,11 +178,11 @@ See also "guestfs_add_drive_opts" in \fBguestfs\fR\|(3). .Sp Якщо цей параметр \fIне\fR вказано, образ\-результат буде точно таким великим, щоб умістити усі файли без зайвої витрати місця. .Sp -Щоб вибрати для диска\-результату фіксований розмір, вкажіть значення розміру з суфіксом b/K/M/G/T/P/E, який позначає байти, кілобайти, мегабайти, гігабайти, терабайти, петабайти або ексабайти. Диск має бути достатньо об'ємним, щоб умістити усі вхідні файли. Якщо розмір диска виявиться недостатнім, вам буде повідомлено про помилку. +Щоб вибрати для диска\-результату фіксований розмір, вкажіть значення розміру з суфіксом b/K/M/G/T/P/E, який позначає байти, кілобайти, мегабайти, гігабайти, терабайти, петабайти або ексабайти. Диск має бути достатньо об\*(Aqємним, щоб умістити усі вхідні файли. Якщо розмір диска виявиться недостатнім, вам буде повідомлено про помилку. .Sp Щоб лишити на диску зайве місце, вкажіть \f(CW\*(C`+\*(C'\fR (символ «плюс») із числовим значенням та суфіксом b/K/M/G/T/P/E , який позначає байти, кілобайти, мегабайти, гігабайти, терабайти, петабайти або ексабайти. Наприклад, \fI\-\-size=+200M\fR означає «достатньо місця для вхідних файлів та (приблизно) зайві 200 МБ вільного місця». .Sp -Зауважте, що virt-make-fs estimates використовує оцінки вільного місця на диску, тому створені програмою файлові системи не міститимуть рівно стільки вільного місця, скільки ви вкажете. (Створення файлової системи, яка міститиме рівно стільки місця, скільки було вказано користувачем, є доволі складним і тривалим завданням.) +Зауважте, що virt\-make\-fs estimates використовує оцінки вільного місця на диску, тому створені програмою файлові системи не міститимуть рівно стільки вільного місця, скільки ви вкажете. (Створення файлової системи, яка міститиме рівно стільки місця, скільки було вказано користувачем, є доволі складним і тривалим завданням.) .IP \fB\-\-format=\fRФОРМАТ 4 .IX Item "--format=ФОРМАТ" .PD 0 @@ -213,7 +216,7 @@ See also "guestfs_add_drive_opts" in \fBguestfs\fR\|(3). .Sp Ви можете змінити тип таблиці розділів, наприклад, вказати \fI\-\-partition=gpt\fR для великих дисків. .Sp -Для MBR virt-make-fs встановлює значення байта типу розділу автоматично. +Для MBR virt\-make\-fs встановлює значення байта типу розділу автоматично. .IP \fB\-v\fR 4 .IX Item "-v" .PD 0 diff --git a/po-docs/uk/virt-resize.1 b/po-docs/uk/virt-resize.1 index c5b8368..9071e8d 100644 --- a/po-docs/uk/virt-resize.1 +++ b/po-docs/uk/virt-resize.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-resize 1" -.TH virt-resize 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-resize 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-resize — програма для зміни розмірів дисків віртуальної машини +virt\-resize — програма для зміни розмірів дисків віртуальної машини .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 3 @@ -72,11 +75,11 @@ virt-resize — програма для зміни розмірів дисків .Ve .SH ОПИС .IX Header "ОПИС" -Virt-resize — програма, за допомогою якої можна змінити розміри диска віртуальної машини, зробивши його більшим або меншим чи змінивши розміри розділів, які містяться на диску, або вилучивши їх. +Virt\-resize — програма, за допомогою якої можна змінити розміри диска віртуальної машини, зробивши його більшим або меншим чи змінивши розміри розділів, які містяться на диску, або вилучивши їх. .PP -Virt-resize \fBне може\fR змінювати розмір образів дисків «на місці». Virt-resize \fBне слід\fR використовувати для активних віртуальних машин — щоб отримати належний результат, перш ніж змінювати розміри дисків, зупиніть роботу віртуальної машини. +Virt\-resize \fBне може\fR змінювати розмір образів дисків «на місці». Virt\-resize \fBне слід\fR використовувати для активних віртуальних машин — щоб отримати належний результат, перш ніж змінювати розміри дисків, зупиніть роботу віртуальної машини. .PP -Якщо ви ще не знайомі з принципами роботи пов'язаних інструментів, \fBvirt\-filesystems\fR\|(1) і \fBvirt\-df\fR\|(1), рекомендуємо вам спершу ознайомитися із документацією щодо цих інструментів. +Якщо ви ще не знайомі з принципами роботи пов\*(Aqязаних інструментів, \fBvirt\-filesystems\fR\|(1) і \fBvirt\-df\fR\|(1), рекомендуємо вам спершу ознайомитися із документацією щодо цих інструментів. .SH ПРИКЛАДИ .IX Header "ПРИКЛАДИ" .IP 1. 4 @@ -145,7 +148,7 @@ Virt-resize \fBне може\fR змінювати розмір образів (У цьому прикладі маємо справу з віртуальною машиною з диском у 8 ГБ, який ми хочемо розширити до 10 ГБ). .IP "4. Створіть диск для виведення даних" 4 .IX Item "4. Створіть диск для виведення даних" -Virt-resize не може виконувати внесення змін до дисків «на місці». У вашій системі має бути достатньо місця для зберігання диска\-результату зі зміненим розміром. +Virt\-resize не може виконувати внесення змін до дисків «на місці». У вашій системі має бути достатньо місця для зберігання диска\-результату зі зміненим розміром. .Sp Для збереження образу диска зі зміненим розміром створіть файл відповідного розміру: .Sp @@ -160,7 +163,7 @@ Virt-resize не може виконувати внесення змін до д \& # lvcreate \-L 10G \-n lv_name vg_name .Ve .Sp -Або скористайтеся \fBvirsh\fR\|(1) vol-create-as для створення тому сховища даних libvirt: +Або скористайтеся \fBvirsh\fR\|(1) vol\-create\-as для створення тому сховища даних libvirt: .Sp .Vb 2 \& # virsh pool\-list @@ -168,7 +171,7 @@ Virt-resize не може виконувати внесення змін до д .Ve .IP "5. Зміна розміру" 4 .IX Item "5. Зміна розміру" -virt-resize має отримати два обов'язкових параметри, назву диска із вхідними даними і назву диска із вихідними даними (обидві можуть бути, наприклад, пристроями, файлами або адресами на віддаленому диску). Диском з виведеними даними має бути диск, створений на попередньому кроці. +virt\-resize має отримати два обов\*(Aqязкових параметри, назву диска із вхідними даними і назву диска із вихідними даними (обидві можуть бути, наприклад, пристроями, файлами або адресами на віддаленому диску). Диском з виведеними даними має бути диск, створений на попередньому кроці. .Sp .Vb 1 \& # virt\-resize indisk outdisk @@ -193,7 +196,7 @@ virt-resize має отримати два обов'язкових параме \& indisk outdisk .Ve .Sp -Якщо на розширюваному розділі у образі міститься файлова система або фізичний том LVM, тоді, якщо virt-resize відомий спосіб, програма змінить розміри вмісту так, як це роблять виклики команд \fBpvresize\fR\|(8), \fBresize2fs\fR\|(8), \fBntfsresize\fR\|(8), \fBbtrfs\fR\|(8), \fBxfs_growfs\fR\|(8) або \fBresize.f2fs\fR\|(8). Втім, virt-resize не відомі способи зміни розмірів деяких файлових систем, тому вам доведеться якось змінювати їхні розміри після завантаження гостьової системи. +Якщо на розширюваному розділі у образі міститься файлова система або фізичний том LVM, тоді, якщо virt\-resize відомий спосіб, програма змінить розміри вмісту так, як це роблять виклики команд \fBpvresize\fR\|(8), \fBresize2fs\fR\|(8), \fBntfsresize\fR\|(8), \fBbtrfs\fR\|(8), \fBxfs_growfs\fR\|(8) або \fBresize.f2fs\fR\|(8). Втім, virt\-resize не відомі способи зміни розмірів деяких файлових систем, тому вам доведеться якось змінювати їхні розміри після завантаження гостьової системи. .Sp .Vb 1 \& # virt\-resize \-\-expand /dev/sda2 nbd://example.com outdisk @@ -225,24 +228,24 @@ virt-resize має отримати два обов'язкових параме .IX Item "7. Зміна розмірів логічних томів та інших сховищ у гостьовій системі" (Це завдання можна виконати без завантаження гостьової системи за допомогою \fBguestfish\fR\|(1)) .Sp -Після завантаження гостьової системи у ній має з'явитися вільне місце, принаймні для файлових систем, способи зміни розмірів яких відомі virt-resize, та фізичних томів. Користувачеві, ймовірно, слід буде змінити логічні томи у фізичних томах, а також змінити розміри типів файлових систем, способи розширення яких не відомі virt-resize. +Після завантаження гостьової системи у ній має з\*(Aqявитися вільне місце, принаймні для файлових систем, способи зміни розмірів яких відомі virt\-resize, та фізичних томів. Користувачеві, ймовірно, слід буде змінити логічні томи у фізичних томах, а також змінити розміри типів файлових систем, способи розширення яких не відомі virt\-resize. .SS "ЗМЕНШЕННЯ РОЗМІРІВ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ" .IX Subsection "ЗМЕНШЕННЯ РОЗМІРІВ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ" Зменшення розмірів є дещо складнішим завданням за збільшення. У цьому розділі наведено лише загальний огляд. .PP -По\-перше, virt-resize не робитиме спроб стиснути будь\-який вміст розділу (фізичні томи, файлові системи). Користувачеві слід подбати про зменшення розмірів вмісту до передавання диска на обробку до virt-resize, і virt-resize перевірить, чи було стиснено вміст належним чином. +По\-перше, virt\-resize не робитиме спроб стиснути будь\-який вміст розділу (фізичні томи, файлові системи). Користувачеві слід подбати про зменшення розмірів вмісту до передавання диска на обробку до virt\-resize, і virt\-resize перевірить, чи було стиснено вміст належним чином. .PP (Зменшення розмірів також можна виконати без завантаження системи за допомогою \fBguestfish\fR\|(1)) .PP Після стискання фізичних томів і файлових систем, вимкніть гостьову систему і виконайте описані вище кроки 3 і 4 для розміщення нового образу диска. .PP -Потім запустіть virt-resize із відповідними параметрами \fI\-\-shrink\fR і/або \fI\-\-resize\fR. +Потім запустіть virt\-resize із відповідними параметрами \fI\-\-shrink\fR і/або \fI\-\-resize\fR. .SS "ІГНОРУВАННЯ І ВИЛУЧЕННЯ РОЗДІЛІВ" .IX Subsection "ІГНОРУВАННЯ І ВИЛУЧЕННЯ РОЗДІЛІВ" -Крім того, virt-resize надає вам зручний спосіб ігнорувати або вилучати розділи при копіюванні з диска вхідних даних на диск вихідних даних. Ігнорування розділу пришвидшує копіювання там, де вам все одно що станеться із наявним вмістом розділу. Вилучення розділу вилучає його повністю, але зауважте, що це також призводить до перенумерування усіх розділів після вилучено, що може призвести до неможливості завантаження деяких гостьових систем. +Крім того, virt\-resize надає вам зручний спосіб ігнорувати або вилучати розділи при копіюванні з диска вхідних даних на диск вихідних даних. Ігнорування розділу пришвидшує копіювання там, де вам все одно що станеться із наявним вмістом розділу. Вилучення розділу вилучає його повністю, але зауважте, що це також призводить до перенумерування усіх розділів після вилучено, що може призвести до неможливості завантаження деяких гостьових систем. .SS "QCOW2 І НЕРОЗРІДЖЕНІ ФОРМАТИ RAW" .IX Subsection "QCOW2 І НЕРОЗРІДЖЕНІ ФОРМАТИ RAW" -Якщо дисх вхідних даних записано у форматі qcow2, ймовірно, варто записати вихідні дані теж у форматі qcow2. Крім того, virt-resize може перетворювати дані з одного формату на інший «на льоту». Формат виведених даних просто визначається форматом порожнього контейнера для виведення даних, який ви надасте. Таким чином, щоб записати виведені дані у форматі qcow2, скористайтеся такою командою: +Якщо дисх вхідних даних записано у форматі qcow2, ймовірно, варто записати вихідні дані теж у форматі qcow2. Крім того, virt\-resize може перетворювати дані з одного формату на інший «на льоту». Формат виведених даних просто визначається форматом порожнього контейнера для виведення даних, який ви надасте. Таким чином, щоб записати виведені дані у форматі qcow2, скористайтеся такою командою: .PP .Vb 1 \& qemu\-img create \-f qcow2 \-o preallocation=metadata outdisk [розмір] @@ -261,11 +264,11 @@ virt-resize має отримати два обов'язкових параме .IX Subsection "ЛОГІЧНІ РОЗДІЛИ" Розміри логічних розділів (тобто \fI/dev/sda5+\fR на дисках із таблицею розділів DOS) не може бути змінено. .PP -Щоб розібратися у тому, що відбувається, по\-перше, слід пам'ятати, що один із чотирьох розділів \fI/dev/sda1\-4\fR матиме тип розділу MBR \f(CW05\fR або \f(CW\*(C`0f\*(C'\fR. Такий розділ називається \fBрозширеним розділом\fR. Для перегляду типу розділу MBR скористайтеся \fBvirt\-filesystems\fR\|(1). +Щоб розібратися у тому, що відбувається, по\-перше, слід пам\*(Aqятати, що один із чотирьох розділів \fI/dev/sda1\-4\fR матиме тип розділу MBR \f(CW05\fR або \f(CW\*(C`0f\*(C'\fR. Такий розділ називається \fBрозширеним розділом\fR. Для перегляду типу розділу MBR скористайтеся \fBvirt\-filesystems\fR\|(1). .PP Логічні розділи містяться у розширеному розділі. .PP -Розширений розділ може бути збільшено, але не може бути зменшено (це можна зробити у примусовому режимі, але ми не радимо так робити). При копіюванні розширеного розділу неявним чином копіюються усі логічні розділи, які на ньому містяться. Virt-resize не зазирає до розширеного розділу, отже сліпо копіює логічні розділи. +Розширений розділ може бути збільшено, але не може бути зменшено (це можна зробити у примусовому режимі, але ми не радимо так робити). При копіюванні розширеного розділу неявним чином копіюються усі логічні розділи, які на ньому містяться. Virt\-resize не зазирає до розширеного розділу, отже сліпо копіює логічні розділи. .PP Вказати логічний розділ (\fI/dev/sda5+\fR) у рядку команди не можна. Якщо ви це зробите, програма повідомить про помилку. .SH ПАРАМЕТРИ @@ -290,7 +293,7 @@ virt-resize має отримати два обов'язкових параме \&\fI\-\-align\-first always\fR означає, що завжди відбуватиметься вирівнювання першого розділу (якщо його треба вирівнювати). Для деяких гостьових систем це може завадити роботи завантажувача, зробивши гостьову систему непридатною до завантаження. .IP "\fB\-\-alignment\fR N" 4 .IX Item "--alignment N" -Встановити вирівнювання розділів на межу \f(CW\*(C`N\*(C'\fR секторів. Типовою у virt-resize < 1.13.19 було межа у 64 сектори. Після цієї версії типове значення було змінено на 128 секторів. +Встановити вирівнювання розділів на межу \f(CW\*(C`N\*(C'\fR секторів. Типовою у virt\-resize < 1.13.19 було межа у 64 сектори. Після цієї версії типове значення було змінено на 128 секторів. .Sp Якщо припускати розмір сектора у гостьовій системі у 512 байтів, ось придатні значення для цього параметра: .RS 4 @@ -327,7 +330,7 @@ virt-resize має отримати два обов'язкових параме Увімкнути показ діагностичних повідомлень. .IP "\fB\-\-delete\fR РОЗДІЛ" 4 .IX Item "--delete РОЗДІЛ" -Вилучити вказаний за назвою розділ. Точнішим визначенням цієї дії буде «не копіювати», оскільки virt-resize не вносить зміни до початкового образу диска. +Вилучити вказаний за назвою розділ. Точнішим визначенням цієї дії буде «не копіювати», оскільки virt\-resize не вносить зміни до початкового образу диска. .Sp Зауважте, що коли ви вилучаєте розділ, вилучаються і усі дані, які зберігалися на ньому. Більше того, у результаті усі розділи за вилученим \fIперенумеровуються\fR, що може призвести до неможливості завантаження гостьової системи. .Sp @@ -336,9 +339,9 @@ virt-resize має отримати два обов'язкових параме .IX Item "--expand РОЗДІЛ" Розширити вказаний за назвою розділ так, щоб він зайняв усе вільне місце (місце, яке лишатиметься вільним після усіх інших вказаних вами змін у розмірах). .Sp -Якщо virt-resize відомий спосіб, програма розширить безпосередній вміст розділу. Наприклад, якщо розділ є фізичним томом LVM, програма розширить фізичний том так, щоб він зайняв усе місце (подібно до виклику \fBpvresize\fR\|(8)). Якщо спосіб розширення виявиться невідомим virt-resize, програма не чіпатиме вмісту розділу. +Якщо virt\-resize відомий спосіб, програма розширить безпосередній вміст розділу. Наприклад, якщо розділ є фізичним томом LVM, програма розширить фізичний том так, щоб він зайняв усе місце (подібно до виклику \fBpvresize\fR\|(8)). Якщо спосіб розширення виявиться невідомим virt\-resize, програма не чіпатиме вмісту розділу. .Sp -У поточній версії virt-resize може змінювати розміри таких файлових систем: +У поточній версії virt\-resize може змінювати розміри таких файлових систем: .RS 4 .IP \(bu 4 Файлових систем ext2, ext3 і ext4. @@ -347,15 +350,15 @@ virt-resize має отримати два обов'язкових параме .Sp Роботу файлової системи під час її останнього використання має бути завершено у штатному режимі. Крім того, \fBntfsresize\fR\|(8) позначає файлові системи зі зміненими розмірами як такі, що потребують перевірки, отже під час першого наступного запуску Windows на розділі зі зміненим розміром буде виконано перевірку диска. .IP \(bu 4 -Фізичні томи LVM. Зазвичай, virt-resize не змінює розміри вмісту фізичних томів, втім, див. параметр \fI\-\-LV\-expand\fR. Користувач також може змінити розміри логічних томів бажаним чином після завантаження системи. +Фізичні томи LVM. Зазвичай, virt\-resize не змінює розміри вмісту фізичних томів, втім, див. параметр \fI\-\-LV\-expand\fR. Користувач також може змінити розміри логічних томів бажаним чином після завантаження системи. .IP \(bu 4 Файлові системи btrfs, якщо libguestfs було зібрано із підтримкою btrfs. .IP \(bu 4 Файлові системи XFS, якщо libguestfs було зібрано із підтримкою XFS. .IP \(bu 4 -Розділи резервної пам'яті на диску Linux. +Розділи резервної пам\*(Aqяті на диску Linux. .Sp -Будь ласка, зауважте, що libguestfs \fIзнищує\fR наявний вміст розділу резервної пам'яті на диску, відтворюючи його за допомогою \f(CW\*(C`mkswap\*(C'\fR, тому такі розділи не слід використовувати, якщо гостьова система присипляється. +Будь ласка, зауважте, що libguestfs \fIзнищує\fR наявний вміст розділу резервної пам\*(Aqяті на диску, відтворюючи його за допомогою \f(CW\*(C`mkswap\*(C'\fR, тому такі розділи не слід використовувати, якщо гостьова система присипляється. .IP \(bu 4 Файлові системи f2fs, якщо libguestfs було зібрано із підтримкою f2fs. .RE @@ -386,7 +389,7 @@ virt-resize має отримати два обов'язкових параме .Sp Ця команда спершу розширить розділ (і фізичний том), а потім розширить кореневий пристрій так, що він займе усе наявне зайве місце на фізичному томі. .Sp -Розмір вмісту логічного тому також буде змінено, якщо virt-resize відомий спосіб, як це зробити. Ви можете заборонити virt-resize змінювати розміри вмісту за допомогою параметра \fI\-\-no\-expand\-content\fR. +Розмір вмісту логічного тому також буде змінено, якщо virt\-resize відомий спосіб, як це зробити. Ви можете заборонити virt\-resize змінювати розміри вмісту за допомогою параметра \fI\-\-no\-expand\-content\fR. .Sp Скористайтеся \fBvirt\-filesystems\fR\|(1) для отримання списку файлових систем у гостьовій системі. .Sp @@ -397,7 +400,7 @@ virt-resize має отримати два обов'язкових параме .IP \fB\-\-machine\-readable\fR=формат 4 .IX Item "--machine-readable=формат" .PD -За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп'ютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" нижче. +За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп\*(Aqютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" нижче. .IP \fB\-n\fR 4 .IX Item "-n" .PD 0 @@ -407,19 +410,19 @@ virt-resize має отримати два обов'язкових параме Вивести резюме щодо дій, але не виконувати ці дії. .IP \fB\-\-no\-copy\-boot\-loader\fR 4 .IX Item "--no-copy-boot-loader" -Типово, virt-resize копіює деякі сектори на початку диска (аж до початку першого розділу). Найчастіше, у цих секторах міститься Master Boot Record (MBR) та завантажувач. Вони потрібні для того, щоб гостьова система завантажувалася належним чином. +Типово, virt\-resize копіює деякі сектори на початку диска (аж до початку першого розділу). Найчастіше, у цих секторах міститься Master Boot Record (MBR) та завантажувач. Вони потрібні для того, щоб гостьова система завантажувалася належним чином. .Sp Якщо ви вкажете цей прапорець, це початкове копіювання не виконуватиметься. У цьому випадку може виникнути потреба у перевстановленні завантажувача. .IP \fB\-\-no\-extra\-partition\fR 4 .IX Item "--no-extra-partition" -Типово, virt-resize створює додатковий розділ, якщо буде виявлено зайве невикористане місце після усіх змін розмірів. Скористайтеся цим параметром для того, щоб запобігти створенню цього додаткового розділу. Якщо ви так зробите, зайве місце буде недоступним, аж доки ви не запустите fdisk, parted або якийсь інший інструмент поділу на розділи у гостьовій системі. +Типово, virt\-resize створює додатковий розділ, якщо буде виявлено зайве невикористане місце після усіх змін розмірів. Скористайтеся цим параметром для того, щоб запобігти створенню цього додаткового розділу. Якщо ви так зробите, зайве місце буде недоступним, аж доки ви не запустите fdisk, parted або якийсь інший інструмент поділу на розділи у гостьовій системі. .Sp Зауважте, що якщо зайвого місця виявиться менше за 10 МБ, додатковий розділ не створюватиметься. .IP \fB\-\-no\-expand\-content\fR 4 .IX Item "--no-expand-content" -Типово, virt-resize намагатиметься розширити безпосередній вміст розділів, якщо програмі відомий спосіб виконати таке розширення (див. параметр \fI\-\-expand\fR вище). +Типово, virt\-resize намагатиметься розширити безпосередній вміст розділів, якщо програмі відомий спосіб виконати таке розширення (див. параметр \fI\-\-expand\fR вище). .Sp -Якщо ви вкажете параметр \fI\-\-no\-expand\-content\fR, virt-resize не виконуватиме таких спроб. +Якщо ви вкажете параметр \fI\-\-no\-expand\-content\fR, virt\-resize не виконуватиме таких спроб. .IP \fB\-\-no\-sparse\fR 4 .IX Item "--no-sparse" Вимкнути розріджене копіювання. Див. "РОЗРІДЖЕНЕ КОПІЮВАННЯ" нижче. @@ -462,21 +465,21 @@ virt-resize має отримати два обов'язкових параме \& \-\-resize /dev/sda1=\-10% .Ve .Sp -Ви можете збільшити розмір будь\-якого розділу. Virt-resize розширить безпосередній вміст розділу, якщо програмі відомий спосіб виконати таке розширення (див. \fI\-\-expand\fR вище). +Ви можете збільшити розмір будь\-якого розділу. Virt\-resize розширить безпосередній вміст розділу, якщо програмі відомий спосіб виконати таке розширення (див. \fI\-\-expand\fR вище). .Sp -\&\fIЗменшити\fR розмір розділів, які містять файлові системи або фізичні томи, можна лише якщо ці файлові системи або фізичні томи вже зменшено у розмірах всередині розділу. Virt-resize виконає перевірку виконання цієї умови до того, як розпочне обробку даних. Якщо умову не виконано, програма повідомить про помилку (див. також \fI\-\-resize\-force\fR). +\&\fIЗменшити\fR розмір розділів, які містять файлові системи або фізичні томи, можна лише якщо ці файлові системи або фізичні томи вже зменшено у розмірах всередині розділу. Virt\-resize виконає перевірку виконання цієї умови до того, як розпочне обробку даних. Якщо умову не виконано, програма повідомить про помилку (див. також \fI\-\-resize\-force\fR). .Sp Цей параметр можна вказувати декілька разів. .IP "\fB\-\-resize\-force\fR РОЗДІЛ=РОЗМІР" 4 .IX Item "--resize-force РОЗДІЛ=РОЗМІР" -Це те саме, що і \fI\-\-resize\fR, але із можливістю зменшувати розміри будь\-яких розділів. Загалом, це означає, що ви можете втратити якісь дані, які зберігалися наприкінці зменшуваного розділу, але, можливо, ви цим не переймаєтеся (наприклад, якщо зменшуєте розмір невикористаного розділу або можете легко відтворити вміст розділу, зокрема розділу резервної пам'яті на диску). +Це те саме, що і \fI\-\-resize\fR, але із можливістю зменшувати розміри будь\-яких розділів. Загалом, це означає, що ви можете втратити якісь дані, які зберігалися наприкінці зменшуваного розділу, але, можливо, ви цим не переймаєтеся (наприклад, якщо зменшуєте розмір невикористаного розділу або можете легко відтворити вміст розділу, зокрема розділу резервної пам\*(Aqяті на диску). .Sp Див. також опис параметра \fI\-\-ignore\fR. .IP "\fB\-\-shrink\fR РОЗДІЛ" 4 .IX Item "--shrink РОЗДІЛ" -Зменшити вказаний за назвою розділ у розмірах так, щоб увесь образ диска вмістився у образ призначення. Вказаний за назвою розділ \fBмає\fR містити файлову систему або фізичний том, які вже було зменшено у розмірах за допомогою іншого засобу (наприклад \fBguestfish\fR\|(1) або інших програм). Virt-resize виконає перевірку виконання цієї умови і повідомить про помилку, якщо попереднього зменшення файлової системи або фізичного тому не виконано. +Зменшити вказаний за назвою розділ у розмірах так, щоб увесь образ диска вмістився у образ призначення. Вказаний за назвою розділ \fBмає\fR містити файлову систему або фізичний том, які вже було зменшено у розмірах за допомогою іншого засобу (наприклад \fBguestfish\fR\|(1) або інших програм). Virt\-resize виконає перевірку виконання цієї умови і повідомить про помилку, якщо попереднього зменшення файлової системи або фізичного тому не виконано. .Sp -Об'єм, на який має бути зменшено увесь диск (після виконання усіх інших дій, вказаних користувачем), називається «дефіцитом». Наприклад, просте копіювання (якщо не виконується жодних інших дій) з образу диска у 5 ГБ на образ диска у 4 ГБ дає дефіцит у 1 ГБ. У цьому випадку virt-resize повідомить про помилку, якщо користувач не вказав такий розділ для стискання, на якому є понад гігабайт вільного місця. +Об\*(Aqєм, на який має бути зменшено увесь диск (після виконання усіх інших дій, вказаних користувачем), називається «дефіцитом». Наприклад, просте копіювання (якщо не виконується жодних інших дій) з образу диска у 5 ГБ на образ диска у 4 ГБ дає дефіцит у 1 ГБ. У цьому випадку virt\-resize повідомить про помилку, якщо користувач не вказав такий розділ для стискання, на якому є понад гігабайт вільного місця. .Sp Зауважте, що параметри \fI\-\-expand\fR і \fI\-\-shrink\fR не можна використовувати у одній і тій самій команді. .IP "\fB\-\-unknown\-filesystems\fR \fBignore\fR" 4 @@ -487,13 +490,13 @@ virt-resize має отримати два обов'язкових параме .IP "\fB\-\-unknown\-filesystems\fR \fBerror\fR" 4 .IX Item "--unknown-filesystems error" .PD -Налаштувати поведінку virt-resize, якщо програмі надійшла команда розширити файлову систему, а у libguestfs не передбачено її підтримки і virt-resize не знає способу, як розширити вміст файлової системи. +Налаштувати поведінку virt\-resize, якщо програмі надійшла команда розширити файлову систему, а у libguestfs не передбачено її підтримки і virt\-resize не знає способу, як розширити вміст файлової системи. .Sp -Використання параметра \fI\-\-unknown\-filesystems ignore\fR призведе до того, що virt-resize без додаткових повідомлень ігноруватиме такі файлові системи і нічого не виводитиме щодо них. +Використання параметра \fI\-\-unknown\-filesystems ignore\fR призведе до того, що virt\-resize без додаткових повідомлень ігноруватиме такі файлові системи і нічого не виводитиме щодо них. .Sp -Використання параметра \fI\-\-unknown\-filesystems warn\fR (типове поведінка) призводитиме до того, що virt-resize попереджатиме про кожну файлову систему, яку не може бути розширено, але продовжуватиме зміну розмірів розділів на диску. +Використання параметра \fI\-\-unknown\-filesystems warn\fR (типове поведінка) призводитиме до того, що virt\-resize попереджатиме про кожну файлову систему, яку не може бути розширено, але продовжуватиме зміну розмірів розділів на диску. .Sp -Використання параметра \fI\-\-unknown\-filesystems error\fR призведе до того, що virt-resize повідомлятиме про помилку, якщо виявить файлову систему, розміри якої не можна збільшити. +Використання параметра \fI\-\-unknown\-filesystems error\fR призведе до того, що virt\-resize повідомлятиме про помилку, якщо виявить файлову систему, розміри якої не можна збільшити. .Sp Див. також "unknown/unavailable method for expanding the TYPE filesystem on DEVICE/LV". .IP \fB\-v\fR 4 @@ -516,13 +519,13 @@ Wrap error, warning, and informative messages. This is the default when the out .IP \fB\-x\fR 4 .IX Item "-x" Увімкнути трасування викликів програмного інтерфейсу libguestfs. -.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" +.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" .IX Header "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" -Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt-resize з інших програм, графічних інтерфейсів тощо. +Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt\-resize з інших програм, графічних інтерфейсів тощо. .PP Існує два способи використання цього параметра. .PP -По\-перше, можна скористатися ним без інших параметрів для того, щоб дізнатися про можливості виконуваного файла virt-resize. Типові виведені дані виглядатимуть так: +По\-перше, можна скористатися ним без інших параметрів для того, щоб дізнатися про можливості виконуваного файла virt\-resize. Типові виведені дані виглядатимуть так: .PP .Vb 6 \& $ virt\-resize \-\-machine\-readable @@ -547,16 +550,16 @@ Wrap error, warning, and informative messages. This is the default when the out .IP 2. 4 Програма, яка надсилає виклик, має обробляти повідомлення, надіслані до стандартного виведення, (окрім повідомлень смужки поступу) як повідомлення щодо стану. Ці повідомлення може бути записано до журналу і/або показано користувачеві. .IP 3. 4 -Програма, яка надсилає виклик, має обробляти повідомлення, надіслані до stderr як повідомлення про помилки. Крім того, virt-resize завершує роботу із ненульовим кодом стану, якщо станеться критична помилка. +Програма, яка надсилає виклик, має обробляти повідомлення, надіслані до stderr як повідомлення про помилки. Крім того, virt\-resize завершує роботу із ненульовим кодом стану, якщо станеться критична помилка. .PP У версіях програми до 1.13.9 не передбачено використання параметра \fI\-\-machine\-readable\fR. Якщо цей параметр буде використано для такої версії, програма поверне повідомлення про помилку. .PP -Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). +Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). .SH ПРИМІТКИ .IX Header "ПРИМІТКИ" .SS "«Розділ 1 не закінчується на межі циліндра.»" .IX Subsection "«Розділ 1 не закінчується на межі циліндра.»" -Virt-resize вирівнює розділи на позиції, кратні до 128 секторів (див. параметр \fI\-\-alignment\fR). Зазвичай, це означає, що розділи не буде вирівняно за давньою геометрією CHS (циліндр\-голівка\-сектор). Втім, геометрія CHS не має сенсу для дисків, які вироблено після ранніх 1990\-х, і зовсім не має сенсу для віртуальних жорстких дисків. Вирівнювання розділів за циліндрами не є вимогою жодної сучасної операційної системи. +Virt\-resize вирівнює розділи на позиції, кратні до 128 секторів (див. параметр \fI\-\-alignment\fR). Зазвичай, це означає, що розділи не буде вирівняно за давньою геометрією CHS (циліндр\-голівка\-сектор). Втім, геометрія CHS не має сенсу для дисків, які вироблено після ранніх 1990\-х, і зовсім не має сенсу для віртуальних жорстких дисків. Вирівнювання розділів за циліндрами не є вимогою жодної сучасної операційної системи. .SS "ЗАВАНТАЖЕННЯ ГОСТЬОВОЇ СИСТЕМИ ЗУПИНЯЄТЬСЯ НА «GRUB»" .IX Subsection "ЗАВАНТАЖЕННЯ ГОСТЬОВОЇ СИСТЕМИ ЗУПИНЯЄТЬСЯ НА «GRUB»" Якщо гостьова система Linux не завантажується після зміни розміру, і завантаження зупиняється після виведення слова \f(CW\*(C`GRUB\*(C'\fR до консолі, спробуйте перевстановити grub. @@ -570,33 +573,33 @@ Virt-resize вирівнює розділи на позиції, кратні д \& > exit .Ve .PP -Для гнучкішого переналаштовування гостьової системи, зокрема випадків, коли вам потрібно вказати інші параметри grub-install, скористайтеся \fBvirt\-rescue\fR\|(1). +Для гнучкішого переналаштовування гостьової системи, зокрема випадків, коли вам потрібно вказати інші параметри grub\-install, скористайтеся \fBvirt\-rescue\fR\|(1). .SS "ЗМІНА РОЗМІРІВ ЗАВАНТАЖУВАЛЬНИХ РОЗДІЛІВ WINDOWS" .IX Subsection "ЗМІНА РОЗМІРІВ ЗАВАНТАЖУВАЛЬНИХ РОЗДІЛІВ WINDOWS" У Windows Vista і новіших версіях компанія Microsoft перейшла до використання окремого розділу завантаження. У віртуальних машинах із цими операційними системами, типово, \fI/dev/sda1\fR є розділом завантаження, а \fI/dev/sda2\fR є основним диском (C:). Зміна розмірів першого розділу (розділу завантаження) спричиняє помилку завантажувача \f(CW0xC0000225\fR. Зміна розмірів другого розділу (тобто диска C:) має працювати. .SS "WINDOWS CHKDSK" .IX Subsection "WINDOWS CHKDSK" -Диск Windows, на якому використовується NTFS, має бути коректним, перш ніж virt-resize зможе ним скористатися. Якщо спроба виконати дію ntfsresize завершиться повідомленням про помилку, спробуйте завантажити початкову віртуальну машину і запустіть \f(CW\*(C`chkdsk /f\*(C'\fR для усіх розділів NTFS, потім завершіть роботу віртуальної машини у штатний спосіб. Докладнішу інформацію наведено тут: https://bugzilla.redhat.com/show_bug.cgi?id=975753 +Диск Windows, на якому використовується NTFS, має бути коректним, перш ніж virt\-resize зможе ним скористатися. Якщо спроба виконати дію ntfsresize завершиться повідомленням про помилку, спробуйте завантажити початкову віртуальну машину і запустіть \f(CW\*(C`chkdsk /f\*(C'\fR для усіх розділів NTFS, потім завершіть роботу віртуальної машини у штатний спосіб. Докладнішу інформацію наведено тут: https://bugzilla.redhat.com/show_bug.cgi?id=975753 .PP \&\fIПісля зміни розмірів\fR Windows може ініціювати тривалу обробку chkdsk при першому завантаженні, якщо було розширено розділи NTFS. Це усього лише для забезпечення надійного зберігання даних, і (якщо не буде знайдено помилок) ви можете бути спокійні. .SS "СИНІЙ ЕКРАН СМЕРТІ UNMOUNTABLE_BOOT_VOLUME У WINDOWS" .IX Subsection "СИНІЙ ЕКРАН СМЕРТІ UNMOUNTABLE_BOOT_VOLUME У WINDOWS" -Після приготування системи гостьової операційної системи Windows із наступною зміною її розміру за допомогою virt-resize ви можете отримати непридатну до завантаження систему, яка показуватиме синій екран смерті із помилкою \f(CW\*(C`UNMOUNTABLE_BOOT_VOLUME\*(C'\fR. Цю помилку спричинено наявністю рядка \f(CW\*(C`ExtendOemPartition=1\*(C'\fR у файлі sysprep.inf. Якщо вилучити цей рядок до обробки sysprep, проблема зникає. +Після приготування системи гостьової операційної системи Windows із наступною зміною її розміру за допомогою virt\-resize ви можете отримати непридатну до завантаження систему, яка показуватиме синій екран смерті із помилкою \f(CW\*(C`UNMOUNTABLE_BOOT_VOLUME\*(C'\fR. Цю помилку спричинено наявністю рядка \f(CW\*(C`ExtendOemPartition=1\*(C'\fR у файлі sysprep.inf. Якщо вилучити цей рядок до обробки sysprep, проблема зникає. .SS "WINDOWS 8" .IX Subsection "WINDOWS 8" -«Швидкий запуск» Windows 8 може заважати virt-resize змінювати розмір розділів NTFS. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). +«Швидкий запуск» Windows 8 може заважати virt\-resize змінювати розмір розділів NTFS. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). .SS "РОЗРІДЖЕНЕ КОПІЮВАННЯ" .IX Subsection "РОЗРІДЖЕНЕ КОПІЮВАННЯ" -Вам слід створити новий, заповнений нулями образ диска призначення, який використовуватиме virt-resize. +Вам слід створити новий, заповнений нулями образ диска призначення, який використовуватиме virt\-resize. .PP -Virt-resize типово виконує розріджене копіювання. Це означає, що програма не копіює ті блоки з початкового диска, які заповнено лише нулями. Це підвищує швидкість та ефективність роботи, але може призвести до некоректних результатів, якщо на образі диска призначення є незанулені дані. +Virt\-resize типово виконує розріджене копіювання. Це означає, що програма не копіює ті блоки з початкового диска, які заповнено лише нулями. Це підвищує швидкість та ефективність роботи, але може призвести до некоректних результатів, якщо на образі диска призначення є незанулені дані. .PP В основному, така проблема виникає, якщо образом призначення є розділ основної системи (наприклад, \f(CW\*(C`virt\-resize\ source.img\ /dev/sda4\*(C'\fR), оскільки звичайні інструменти поділу диска на розділи лишають недоторканними усі дані, які раніше зберігалися на диску. .PP Якщо ви змушені використатися образ призначення, на якому вже зберігалися дані, вам слід скористатися параметром \fI\-\-no\-sparse\fR. Зауважте, що це значно уповільнить роботу програми. .SS """unknown/unavailable method for expanding the TYPE filesystem on DEVICE/LV""" .IX Subsection """unknown/unavailable method for expanding the TYPE filesystem on DEVICE/LV""" -Virt-resize було наказано розширити розділ або логічний том, на якому міститься файлова система типу \f(CW\*(C`TYPE\*(C'\fR, але програмі недоступний або невідомий спосіб розширення цієї файлової системи. +Virt\-resize було наказано розширити розділ або логічний том, на якому міститься файлова система типу \f(CW\*(C`TYPE\*(C'\fR, але програмі недоступний або невідомий спосіб розширення цієї файлової системи. .PP Причиною може бути будь\-що із наведеного нижче: .IP 1. 4 @@ -612,20 +615,20 @@ Virt-resize було наказано розширити розділ або л .Sp У цьому випадку достатньо встановити належні пакунки із підтримкою файлових систем. Наприклад, достатньо встановити \f(CW\*(C`libguestfs\-xfs\*(C'\fR у Red Hat Enterprise Linux, CentOS, Debian, Ubuntu та дистрибутивах, які від них походять, щоб можна було працювати із файловою системою \f(CW\*(C`xfs\*(C'\fR. .IP 2. 4 -У virt-resize не передбачено підтримки розширення цього типу файлових систем. +У virt\-resize не передбачено підтримки розширення цього типу файлових систем. .Sp -У цьому випадку нічого не поробиш: virt-resize не зможе розширити файлову систему цього типу. +У цьому випадку нічого не поробиш: virt\-resize не зможе розширити файлову систему цього типу. .PP -In both cases, virt-resize will not expand the mentioned filesystem; the result (unless \fI\-\-unknown\-filesystems error\fR is specified) is that the partitions containing such filesystems will be actually bigger as requested, but the filesystems will still be usable at their older sizes. +In both cases, virt\-resize will not expand the mentioned filesystem; the result (unless \fI\-\-unknown\-filesystems error\fR is specified) is that the partitions containing such filesystems will be actually bigger as requested, but the filesystems will still be usable at their older sizes. .SH "АЛЬТЕРНАТИВНІ ІНСТРУМЕНТИ" .IX Header "АЛЬТЕРНАТИВНІ ІНСТРУМЕНТИ" Існує декілька пропрієтарних інструментів для зміни розмірів розділів. Тут ми не будемо згадувати назви жодного з таких інструментів. .PP \&\fBparted\fR\|(8) і її графічний інтерфейс, gparted, можуть виконувати певні типи дій із зміни розміру образів дисків. Ці програми можуть змінювати розмір і пересувати розділи, але не слід вважати, що вони можуть виконувати будь\-які дії із вмістом розділів, і, звичайно ж, вони не можуть працювати з LVM. .PP -\&\fBguestfish\fR\|(1) може виконувати усі ті дії, які може виконувати virt-resize, і набагато більше, але на суттєво нижчому рівні. Ймовірно, вам доведеться вручну обчислювати відступи у секторах, робити те, що за означенням має робити virt-resize. Якщо хочете дізнатися, які команди у guestfish запускає virt-resize, скористайтеся параметром \fI\-\-debug\fR. +\&\fBguestfish\fR\|(1) може виконувати усі ті дії, які може виконувати virt\-resize, і набагато більше, але на суттєво нижчому рівні. Ймовірно, вам доведеться вручну обчислювати відступи у секторах, робити те, що за означенням має робити virt\-resize. Якщо хочете дізнатися, які команди у guestfish запускає virt\-resize, скористайтеся параметром \fI\-\-debug\fR. .PP -До складу \fBdracut\fR\|(8) включено модуль із назвою \f(CW\*(C`dracut\-modules\-growroot\*(C'\fR, яким можна скористатися для збільшення розмірів кореневого розділу під час першого завантаження гостьової системи. Документацію з цього модуля наведено у пов'язаному із ним файлі README. +До складу \fBdracut\fR\|(8) включено модуль із назвою \f(CW\*(C`dracut\-modules\-growroot\*(C'\fR, яким можна скористатися для збільшення розмірів кореневого розділу під час першого завантаження гостьової системи. Документацію з цього модуля наведено у пов\*(Aqязаному із ним файлі README. .SH "СТАН ВИХОДУ" .IX Header "СТАН ВИХОДУ" Ця програма повертає значення 0 у разі успішного завершення і ненульове значення, якщо сталася помилка. diff --git a/po-docs/uk/virt-sparsify.1 b/po-docs/uk/virt-sparsify.1 index ae2a64b..b960963 100644 --- a/po-docs/uk/virt-sparsify.1 +++ b/po-docs/uk/virt-sparsify.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-sparsify 1" -.TH virt-sparsify 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-sparsify 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-sparsify — зробити диск віртуальної машини розрідженим +virt\-sparsify — зробити диск віртуальної машини розрідженим .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -72,13 +75,13 @@ virt-sparsify — зробити диск віртуальної машини р .Ve .SH ОПИС .IX Header "ОПИС" -Virt-sparsify — інструмент, який може зробити диск віртуальної машини (або будь\-який образ диска) розрідженим, тобто спеціально зменшеним. Це означає, що вільне місце в образі диска можна буде перетворити на вільне місце в основній системі. +Virt\-sparsify — інструмент, який може зробити диск віртуальної машини (або будь\-який образ диска) розрідженим, тобто спеціально зменшеним. Це означає, що вільне місце в образі диска можна буде перетворити на вільне місце в основній системі. .PP -Virt-sparsify може знаходити і розріджувати вільне місце у більшості файлових систем (наприклад у ext2/3/4, btrfs, NTFS тощо), а також у фізичних томах LVM. +Virt\-sparsify може знаходити і розріджувати вільне місце у більшості файлових систем (наприклад у ext2/3/4, btrfs, NTFS тощо), а також у фізичних томах LVM. .PP -Крім того, програма virt-sparsify може перетворювати диски з одного формату на інший, наприклад, перетворити образ диска у простому форматі (raw) на розріджений образ у форматі qcow2. +Крім того, програма virt\-sparsify може перетворювати диски з одного формату на інший, наприклад, перетворити образ диска у простому форматі (raw) на розріджений образ у форматі qcow2. .PP -Virt-sparsify може працювати з будь\-яким образом диска, не лише з образами віртуальних машин. Втім, якщо у вашій віртуальній машині декілька дисків і використано керування томами, virt-sparsify працюватиме, але не дуже ефективно (http://bugzilla.redhat.com/887826). +Virt\-sparsify може працювати з будь\-яким образом диска, не лише з образами віртуальних машин. Втім, якщо у вашій віртуальній машині декілька дисків і використано керування томами, virt\-sparsify працюватиме, але не дуже ефективно (http://bugzilla.redhat.com/887826). .SS "ВАЖЛИВЕ ЗАУВАЖЕННЯ ЩОДО РОЗРІДЖЕНИХ ВИВЕДЕНИХ ОБРАЗІВ" .IX Subsection "ВАЖЛИВЕ ЗАУВАЖЕННЯ ЩОДО РОЗРІДЖЕНИХ ВИВЕДЕНИХ ОБРАЗІВ" Якщо вхідними даними є образ raw, буде виведено розріджені дані raw. \fBВам слід перевірити розмір виведених даних за допомогою інструмента, який обробляє розріджені дані\fR, наприклад \f(CW\*(C`du \-sh\*(C'\fR. Різниця може бути досить значною: @@ -96,19 +99,19 @@ Virt-sparsify може працювати з будь\-яким образом .IP \(bu 4 До використання цього інструмента віртуальну машину \fIслід зупинити\fR. .IP \(bu 4 -Virt-sparsify може потребувати для роботи удвічі більшого місця на диску, ніж розмір початкового образу диска (1 тимчасова копія + 1 образ призначення). Ця оцінка є максимальною, і зазвичай потрібно набагато менше місця. +Virt\-sparsify може потребувати для роботи удвічі більшого місця на диску, ніж розмір початкового образу диска (1 тимчасова копія + 1 образ призначення). Ця оцінка є максимальною, і зазвичай потрібно набагато менше місця. .Sp Якщо ви використовуєте параметр \fI\-\-in\-place\fR, значні обсяги місця на диску для тимчасового зберігання даних \fBне\fR знадобляться. .IP \(bu 4 -Virt-sparsify не може змінювати розміри образів дисків. Для зміни розмірів дисків скористайтеся \fBvirt\-resize\fR\|(1). +Virt\-sparsify не може змінювати розміри образів дисків. Для зміни розмірів дисків скористайтеся \fBvirt\-resize\fR\|(1). .IP \(bu 4 -Virt-sparsify не може працювати із зашифрованими дисками. У libguestfs передбачено підтримку самих зашифрованих дисків, але зашифровані диски не може бути розріджено. +Virt\-sparsify не може працювати із зашифрованими дисками. У libguestfs передбачено підтримку самих зашифрованих дисків, але зашифровані диски не може бути розріджено. .IP \(bu 4 -Virt-sparsify ще не може розріджувати місце між розділами. Зауважте, що це місце часто використовується для критичних даних, зокрема завантажувачів, тому, насправді, воно може бути зовсім не таким зайвим, як може здатися. +Virt\-sparsify ще не може розріджувати місце між розділами. Зауважте, що це місце часто використовується для критичних даних, зокрема завантажувачів, тому, насправді, воно може бути зовсім не таким зайвим, як може здатися. .IP \(bu 4 У режимі копіювання внутрішні знімки qcow2 не копіюються на образ призначення. .PP -Перш ніж розпочати користування цією програмою, вам також варто ознайомитися зі сторінками підручника щодо пов'язаних із нею інструментів, \fBvirt\-filesystems\fR\|(1) та \fBvirt\-df\fR\|(1). +Перш ніж розпочати користування цією програмою, вам також варто ознайомитися зі сторінками підручника щодо пов\*(Aqязаних із нею інструментів, \fBvirt\-filesystems\fR\|(1) та \fBvirt\-df\fR\|(1). .SH ПРИКЛАДИ .IX Header "ПРИКЛАДИ" Типовий приклад використання: @@ -125,7 +128,7 @@ Virt-sparsify ще не може розріджувати місце між ро \& virt\-sparsify disk.raw \-\-convert qcow2 disk.qcow2 .Ve .PP -Virt-sparsify намагається занулити і розрідити вільне місце на усіх файлових системах, які вдасться знайти на початковому образі диска. Ви можете наказати програмі ігнорувати (не занулювати вільне місце) певні файлові системи за допомогою такої команди: +Virt\-sparsify намагається занулити і розрідити вільне місце на усіх файлових системах, які вдасться знайти на початковому образі диска. Ви можете наказати програмі ігнорувати (не занулювати вільне місце) певні файлові системи за допомогою такої команди: .PP .Vb 1 \& virt\-sparsify \-\-ignore /dev/sda1 вхідний_диск вихідний_диск @@ -133,7 +136,7 @@ Virt-sparsify намагається занулити і розрідити ві .PP Щоб отримати список файлових систем на образі диска, скористайтеся командою \fBvirt\-filesystems\fR\|(1). .PP -Починаючи з версії virt-sparsify ≥ 1.26, ви можете розріджувати образ диска на місці, ось так: +Починаючи з версії virt\-sparsify ≥ 1.26, ви можете розріджувати образ диска на місці, ось так: .PP .Vb 1 \& virt\-sparsify \-\-in\-place disk.img @@ -196,14 +199,14 @@ Virt-sparsify намагається занулити і розрідити ві .Sp Ви також можете скористатися будь\-яким іншим форматом, підтримку якого передбачено у програми \fBqemu\-img\fR\|(1), наприклад \f(CW\*(C`vmdk\*(C'\fR, але підтримка інших форматів повністю залежить від можливостей qemu. .Sp -Зазвичай, варто визначати формат за допомогою \fI\-\-convert\fR, оскільки тоді virt-sparsify не доведеться вгадувати формат вхідних даних. +Зазвичай, варто визначати формат за допомогою \fI\-\-convert\fR, оскільки тоді virt\-sparsify не доведеться вгадувати формат вхідних даних. .Sp Скоригувати формат виведення даних можна за допомогою параметрів \fI\-\-compress\fR, \fI\-o\fR. .Sp Цей параметр не можна поєднувати із параметром \fI\-\-in\-place\fR. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-sparcify попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-sparcify попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP "\fB\-\-format\fR raw" 4 .IX Item "--format raw" .PD 0 @@ -266,9 +269,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -288,10 +291,10 @@ multiple keys on stdin, one per line. .IP \fB\-\-machine\-readable\fR=формат 4 .IX Item "--machine-readable=формат" .PD -За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп'ютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" нижче. +За допомогою цього параметра можна зробити виведені дані придатнішими для обробки комп\*(Aqютером, якщо для цієї обробки використовуються інші програми. Див. "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" нижче. .IP "\fB\-o\fR параметр[,параметр,...]" 4 .IX Item "-o параметр[,параметр,...]" -Передати параметри \fI\-o\fR до програми \fBqemu\-img\fR\|(1) для коригування формату виведення даних. Перелік доступних параметрів залежить від формату виведення (див. \fI\-\-convert\fR) і встановленої версії програми qemu-img. +Передати параметри \fI\-o\fR до програми \fBqemu\-img\fR\|(1) для коригування формату виведення даних. Перелік доступних параметрів залежить від формату виведення (див. \fI\-\-convert\fR) і встановленої версії програми qemu\-img. .Sp Вам слід скористатися \fI\-o\fR не більше одного разу. Щоб передати декілька параметрів, відокремте їх комами. Приклад: .Sp @@ -307,7 +310,7 @@ multiple keys on stdin, one per line. .IP \fB\-\-quiet\fR 4 .IX Item "--quiet" .PD -Цей параметр вимикає смужки поступу та інші необов'язкові до виведення дані. +Цей параметр вимикає смужки поступу та інші необов\*(Aqязкові до виведення дані. .IP "\fB\-\-tmp\fR блоковий_пристрій" 4 .IX Item "--tmp блоковий_пристрій" .PD 0 @@ -323,14 +326,14 @@ multiple keys on stdin, one per line. Цей параметр не можна поєднувати із параметром \fI\-\-in\-place\fR. .IP "\fB\-\-tmp\fR prebuilt:файл" 4 .IX Item "--tmp prebuilt:файл" -Лише у режимі копіювання, спеціалізований параметр \fI\-\-tmp prebuilt:файл\fR (де \f(CW\*(C`prebuilt:\*(C'\fR слід записувати буквально) наказує virt-sparsify використовувати як місце зберігання тимчасових даних файл qcow2 \f(CW\*(C`файл\*(C'\fR. +Лише у режимі копіювання, спеціалізований параметр \fI\-\-tmp prebuilt:файл\fR (де \f(CW\*(C`prebuilt:\*(C'\fR слід записувати буквально) наказує virt\-sparsify використовувати як місце зберігання тимчасових даних файл qcow2 \f(CW\*(C`файл\*(C'\fR. .RS 4 .IP \(bu 4 Файл \fBмає\fR бути наново форматовано як qcow2, а вхідний диск буде резервним файлом. .IP \(bu 4 -Якщо ви повторно запускатимете virt-sparsify, вам \fBслід\fR повторно створювати файл перед кожним запуском. +Якщо ви повторно запускатимете virt\-sparsify, вам \fBслід\fR повторно створювати файл перед кожним запуском. .IP \(bu 4 -Virt-sparsify не вилучає цей файл. +Virt\-sparsify не вилучає цей файл. .RE .RS 4 .Sp @@ -365,7 +368,7 @@ Wrap error, warning, and informative messages. This is the default when the out Занулити вміст вказаного за назвою розділу або логічного тому у гостьовій системі. Усі дані на пристрої буде втрачено, але буде досягнуто чудової розрідженості! Цей параметр можна вказувати в одній команді декілька разів. .SH "РОЗРІДЖЕННЯ НА МІСЦІ" .IX Header "РОЗРІДЖЕННЯ НА МІСЦІ" -Починаючи з virt-sparsify ≥ 1.26, програма може виконувати розрідження на місці (замість копіювання з вхідного диска до вихідного диска). Таке розрідження є ефективнішим. Втім, за його використання не можна отримати більше місця у основній системі, якщо порівнювати із розрідженням із копіюванням. +Починаючи з virt\-sparsify ≥ 1.26, програма може виконувати розрідження на місці (замість копіювання з вхідного диска до вихідного диска). Таке розрідження є ефективнішим. Втім, за його використання не можна отримати більше місця у основній системі, якщо порівнювати із розрідженням із копіюванням. .PP Щоб скористатися цим режимом, вкажіть образ диска, який буде змінено на місці: .PP @@ -375,14 +378,14 @@ Wrap error, warning, and informative messages. This is the default when the out .PP Деякі параметри несумісні із цим режимом: \fI\-\-convert\fR, \fI\-\-compress\fR і \fI\-o\fR, оскільки їхнє використання вимагає загальної зміни формату диска; \fI\-\-check\-tmpdir\fR, оскільки великі обсяги для зберігання тимчасових даних не потрібні. .PP -Розрідження на місці працює завдяки підтримці відкидання (або обрізання чи скасування отримання пам'яті). -.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" +Розрідження на місці працює завдяки підтримці відкидання (або обрізання чи скасування отримання пам\*(Aqяті). +.SH "ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" .IX Header "ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" -Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt-sparcify з інших програм, графічних інтерфейсів тощо. +Для виведення даних у зручному для машинної обробки форматі можна скористатися параметром \fI\-\-machine\-readable\fR. Додавання цього параметра робить зручним використання virt\-sparcify з інших програм, графічних інтерфейсів тощо. .PP Існує два способи використання цього параметра. .PP -Спочатку, скористайтеся цим параметром окремо, щоб опитати систему щодо можливостей виконуваного файла virt-sparcify. Типово виведені дані виглядатимуть якось так: +Спочатку, скористайтеся цим параметром окремо, щоб опитати систему щодо можливостей виконуваного файла virt\-sparcify. Типово виведені дані виглядатимуть якось так: .PP .Vb 4 \& $ virt\-sparsify \-\-machine\-readable @@ -405,27 +408,27 @@ Wrap error, warning, and informative messages. This is the default when the out .IP 2. 4 Програма, яка надсилає виклик, має обробляти повідомлення, надіслані до стандартного виведення, (окрім повідомлень смужки поступу) як повідомлення щодо стану. Ці повідомлення може бути записано до журналу і/або показано користувачеві. .IP 3. 4 -Програма, яка надсилає виклик, має обробляти повідомлення, надіслані до stderr як повідомлення про помилки. Крім того, virt-sparcify завершує роботу із ненульовим кодом стану, якщо станеться критична помилка. +Програма, яка надсилає виклик, має обробляти повідомлення, надіслані до stderr як повідомлення про помилки. Крім того, virt\-sparcify завершує роботу із ненульовим кодом стану, якщо станеться критична помилка. .PP -Підтримку параметра \fI\-\-machine\-readable\fR передбачено у всіх версіях virt-sparsify. +Підтримку параметра \fI\-\-machine\-readable\fR передбачено у всіх версіях virt\-sparsify. .PP -Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП'ЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). +Можна вказати рядок форматування для керування виведенням, див. "РОЗШИРЕНЕ ПРИДАТНЕ ДО ЧИТАННЯ КОМП\*(AqЮТЕРОМ ВИВЕДЕННЯ" in \fBguestfs\fR\|(3). .SH "WINDOWS 8" .IX Header "WINDOWS 8" -«Швидкий запуск» Windows 8 може заважати роботі virt-sparsify. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). +«Швидкий запуск» Windows 8 може заважати роботі virt\-sparsify. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). .SH "ЗМІННІ СЕРЕДОВИЩА" .IX Header "ЗМІННІ СЕРЕДОВИЩА" .IP "ТИМЧАСОВИЙ КАТАЛОГ" 4 .IX Item "ТИМЧАСОВИЙ КАТАЛОГ" Розташування каталогу тимчасових даних, який використовуватиметься для потенційно великих тимчасових файлів\-накладок. .Sp -У virt-sparsify ≥ 1.28 ви можете перевизначити цю змінну середовища за допомогою параметра \fI\-\-tmp\fR. +У virt\-sparsify ≥ 1.28 ви можете перевизначити цю змінну середовища за допомогою параметра \fI\-\-tmp\fR. .Sp На диску має бути достатньо вільного місця для найгіршого варіанта для повної копії початкового диска (\fIвіртуального\fR розміру). Якщо місця недостатньо, слід встановити для \f(CW$TMPDIR\fR значення, яке вказує на інший каталог, де достатньо місця. .Sp Типовим значенням є \fI/tmp\fR. .Sp -Зауважте, що якщо файловою системою у \f(CW$TMPDIR\fR є tmpfs (наприклад, якщо файловою системою \fI/tmp\fR є tmpfs, або якщо ви використовуєте \f(CW\*(C`TMPDIR=/dev/shm\*(C'\fR), типовим розміром tmpfs є максимальне значення \fIполовини\fR фізичної оперативної пам'яті. Якщо virt-sparsify знадобиться більше місця, програма просто «повисне». Якщо ви побоюєтеся такого перебігу подій, або скористайтеся реальним диском, або збільште максимальний розмір точки монтування tmpfs, наприклад так: +Зауважте, що якщо файловою системою у \f(CW$TMPDIR\fR є tmpfs (наприклад, якщо файловою системою \fI/tmp\fR є tmpfs, або якщо ви використовуєте \f(CW\*(C`TMPDIR=/dev/shm\*(C'\fR), типовим розміром tmpfs є максимальне значення \fIполовини\fR фізичної оперативної пам\*(Aqяті. Якщо virt\-sparsify знадобиться більше місця, програма просто «повисне». Якщо ви побоюєтеся такого перебігу подій, або скористайтеся реальним диском, або збільште максимальний розмір точки монтування tmpfs, наприклад так: .Sp .Vb 1 \& mount \-o remount,size=10G /tmp @@ -436,7 +439,7 @@ Wrap error, warning, and informative messages. This is the default when the out Опис інших змінних середовища наведено у розділі "ENVIRONMENT VARIABLES" in \fBguestfs\fR\|(3). .SH "СТАН ВИХОДУ" .IX Header "СТАН ВИХОДУ" -Ця програма повертає 0, якщо дію виконано без жодної помилки (це не обов'язково означає, що місце на диску звільнилося). +Ця програма повертає 0, якщо дію виконано без жодної помилки (це не обов\*(Aqязково означає, що місце на диску звільнилося). .PP Ненульовий код виходу вказує на помилку. .PP diff --git a/po-docs/uk/virt-sysprep.1 b/po-docs/uk/virt-sysprep.1 index 7a4bde4..c22751a 100644 --- a/po-docs/uk/virt-sysprep.1 +++ b/po-docs/uk/virt-sysprep.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-sysprep 1" -.TH virt-sysprep 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-sysprep 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-sysprep — скидання налаштувань віртуальної машини до початкових, так, щоб з неї можна було роботи клони +virt\-sysprep — скидання налаштувань віртуальної машини до початкових, так, щоб з неї можна було роботи клони .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -72,13 +75,13 @@ virt-sysprep — скидання налаштувань віртуальної .Ve .SH ОПИС .IX Header "ОПИС" -Virt-sysprep може відновити початковий стан або зняти налаштовування з віртуальної машини, щоб з неї можна було робити клони. Кроками цієї процедури є вилучення ключів вузла SSH, вилучення сталих налаштувань мережі щодо MAC та вилучення облікових записів користувачів. Крім того, virt-sysprep може налаштовувати віртуальну машину, наприклад, додаванням ключів SSH, користувачів чи логотипів. Ви можете вмикати або вимикати кожен з цих кроків. +Virt\-sysprep може відновити початковий стан або зняти налаштовування з віртуальної машини, щоб з неї можна було робити клони. Кроками цієї процедури є вилучення ключів вузла SSH, вилучення сталих налаштувань мережі щодо MAC та вилучення облікових записів користувачів. Крім того, virt\-sysprep може налаштовувати віртуальну машину, наприклад, додаванням ключів SSH, користувачів чи логотипів. Ви можете вмикати або вимикати кожен з цих кроків. .PP -Virt-sysprep вносить зміни до гостьової системи або образу диска \fIна місці\fR. Гостьова система має бути вимкненою. Якщо ви хочете зберегти наявний вміст гостьової системи, \fIвам слід спочатку зробити її знімок, скопіювати або клонувати її диск\fR. Див. "КОПІЮВАННЯ І КЛОНУВАННЯ" нижче. +Virt\-sysprep вносить зміни до гостьової системи або образу диска \fIна місці\fR. Гостьова система має бути вимкненою. Якщо ви хочете зберегти наявний вміст гостьової системи, \fIвам слід спочатку зробити її знімок, скопіювати або клонувати її диск\fR. Див. "КОПІЮВАННЯ І КЛОНУВАННЯ" нижче. .PP -Вам \fIне потрібно\fR запускати virt-sysprep від імені користувача root. Фактично, запуск у такому режимі є нерекомендованим. Єдиною причиною запускати програму від імені root може бути потреба у доступі до образу диска, але навіть у цьому випадку, доцільніше змінити права доступу до образу диска так, щоб запис до нього став доступним від імені користувача, який запускає virt-sysprep. +Вам \fIне потрібно\fR запускати virt\-sysprep від імені користувача root. Фактично, запуск у такому режимі є нерекомендованим. Єдиною причиною запускати програму від імені root може бути потреба у доступі до образу диска, але навіть у цьому випадку, доцільніше змінити права доступу до образу диска так, щоб запис до нього став доступним від імені користувача, який запускає virt\-sysprep. .PP -«Sysprep» — скорочення від «system preparation» («приготування системи»). Назва походить від програми Microsoft \fIsysprep.exe\fR, яка використовується для вилучення налаштувань з Windows у приготуваннях до клонування системи. Маємо зауважити, що у поточній версії virt-sysprep \fIне\fR може працювати із гостьовими системами Microsoft Windows. Ми плануємо впровадити підтримку приготування Windows у майбутніх версіях і вже маємо певні напрацювання щодо цього. +"Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program \fIsysprep.exe\fR which is used to unconfigure Windows machines in preparation for cloning them. (Virt\-sysprep does not work on Microsoft Windows guests.) .SH ПАРАМЕТРИ .IX Header "ПАРАМЕТРИ" .IP \fB\-\-help\fR 4 @@ -144,7 +147,7 @@ Virt-sysprep вносить зміни до гостьової системи а .Sp Незалежно від вказаного параметра \fI\-\-enable\fR, для певних типів гостьових систем деякі дії пропускаються. .Sp -Скористайтеся параметром \fI\-\-list\-operations\fR, щоб переглянути список дій, підтримку яких передбачено у вашій версії virt-sysprep. +Скористайтеся параметром \fI\-\-list\-operations\fR, щоб переглянути список дій, підтримку яких передбачено у вашій версії virt\-sysprep. .Sp Список дій із поясненнями щодо них наведено у розділі "ДІЇ" нижче. .IP "\fB\-\-operation\fR дії" 4 @@ -175,12 +178,12 @@ Virt-sysprep вносить зміни до гостьової системи а .Sp Незалежно від вказаного параметра \fI\-\-operations\fR, для певних типів гостьових систем деякі дії пропускаються. .Sp -Скористайтеся параметром \fI\-\-list\-operations\fR, щоб переглянути список дій, підтримку яких передбачено у вашій версії virt-sysprep. +Скористайтеся параметром \fI\-\-list\-operations\fR, щоб переглянути список дій, підтримку яких передбачено у вашій версії virt\-sysprep. .Sp Список дій із поясненнями щодо них наведено у розділі "ДІЇ" нижче. .IP \fB\-\-echo\-keys\fR 4 .IX Item "--echo-keys" -Типово, якщо virt-sysprep попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. +Типово, якщо virt\-sysprep попросить вас ввести ключ або пароль, програма не відтворюватиме введені символи на екрані. Якщо ви не боїтеся TEMPEST\-нападів, або у вашій кімнаті нікого, окрім вас, немає, ви можете скористатися цим прапорцем, щоб бачити, які саме символи ви вводите. .IP "\fB\-\-format\fR raw|qcow2|.." 4 .IX Item "--format raw|qcow2|.." .PD 0 @@ -239,9 +242,9 @@ Read the passphrase from \fIFILENAME\fR. .IP "\fB\-\-key\fR \fBall:clevis\fR" 4 .IX Item "--key all:clevis" .PD -Attempt passphrase-less unlocking for the device with Clevis, over the +Attempt passphrase\-less unlocking for the device with Clevis, over the network. Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more -information on network-bound disk encryption (NBDE). +information on network\-bound disk encryption (NBDE). .Sp Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance. @@ -257,7 +260,7 @@ If there are multiple encrypted devices then you may need to supply multiple keys on stdin, one per line. .IP \fB\-\-list\-operations\fR 4 .IX Item "--list-operations" -Список дій, підтримку яких передбачено у програмі virt-sysprep. +Список дій, підтримку яких передбачено у програмі virt\-sysprep. .Sp Дії буде показано по одній на рядок із одним або декількома полями, відокремленими комами. Приклад: .Sp @@ -309,7 +312,7 @@ multiple keys on stdin, one per line. .PD Увімкнути чи вимкнути доступ до мережі для гостьової системи під час встановлення. .Sp -У virt-sysprep роботу у мережі типово \fIвимкнено\fR. Вам слід скористатися параметром \fI\-\-network\fR, щоб увімкнути її та мати змогу скористатися параметрами, подібними до \fI\-\-install\fR або \fI\-\-update\fR. +У virt\-sysprep роботу у мережі типово \fIвимкнено\fR. Вам слід скористатися параметром \fI\-\-network\fR, щоб увімкнути її та мати змогу скористатися параметрами, подібними до \fI\-\-install\fR або \fI\-\-update\fR. .Sp На сторінці підручника \fBvirt\-builder\fR\|(1) можна знайти додаткові дані щодо переваг у захисті від вимикання мережі. .IP \fB\-v\fR 4 @@ -440,7 +443,7 @@ See also: \fI\-\-upload\fR. .Sp Зауважте, що цим параметром можна буде скористатися, лише якщо встановлено Perl 5. .Sp -Див. "NON-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). +Див. "NON\-INTERACTIVE EDITING" in \fBvirt\-edit\fR\|(1). .ie n .IP "\fB\-\-firstboot\fR СКРИПТ (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-firstboot\fR СКРИПТ (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--firstboot СКРИПТ (див. customize нижче)" @@ -455,8 +458,8 @@ See also: \fI\-\-upload\fR. Будь ласка, зверніться до розділу "СКРИПТИ ПЕРШОГО ЗАВАНТАЖЕННЯ" in \fBvirt\-builder\fR\|(1), щоб ознайомитися із відомостями щодо скриптів першого завантаження і проблемами у їх використанні. .Sp Див. також \fI\-\-run\fR. -.ie n .IP "\fB\-\-firstboot\-command\fR 'КОМАНДА+ПАРАМЕТРИ' (див. ""customize"" нижче)" 4 -.el .IP "\fB\-\-firstboot\-command\fR 'КОМАНДА+ПАРАМЕТРИ' (див. \f(CWcustomize\fR нижче)" 4 +.ie n .IP "\fB\-\-firstboot\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq (див. ""customize"" нижче)" 4 +.el .IP "\fB\-\-firstboot\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--firstboot-command 'КОМАНДА+ПАРАМЕТРИ' (див. customize нижче)" Виконати команду (разом із аргументами) у гостьовій системі під час першого завантаження гостьової системи (від імені root, у останній частині процесу завантаження). .Sp @@ -468,7 +471,7 @@ See also: \fI\-\-upload\fR. .ie n .IP "\fB\-\-firstboot\-install\fR ПАКУНОК,ПАКУНОК... (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-firstboot\-install\fR ПАКУНОК,ПАКУНОК... (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--firstboot-install ПАКУНОК,ПАКУНОК... (див. customize нижче)" -Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час першого завантаження гостьової системи за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з'єднання із мережею гостьової системи. +Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час першого завантаження гостьової системи за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з\*(Aqєднання із мережею гостьової системи. .Sp Огляд різних способів встановлення пакунків наведено у розділі "ВСТАНОВЛЕННЯ ПАКУНКІВ" in \fBvirt\-builder\fR\|(1). .ie n .IP "\fB\-\-hostname\fR НАЗВА_ВУЗЛА (див. ""customize"" нижче)" 4 @@ -486,16 +489,16 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .ie n .IP "\fB\-\-inject\-virtio\-win\fR METHOD (see ""customize"" below)" 4 .el .IP "\fB\-\-inject\-virtio\-win\fR METHOD (see \f(CWcustomize\fR below)" 4 .IX Item "--inject-virtio-win METHOD (see customize below)" -Inject virtio-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. +Inject virtio\-win drivers into a Windows guest. These drivers add virtio accelerated drivers suitable when running on top of a hypervisor that supports virtio (such as qemu/KVM). The operation also adjusts the Windows Registry so that the drivers are installed when the guest boots. .Sp The parameter can be one of: .RS 4 .IP ISO 4 .IX Item "ISO" -The path to the ISO image containing the virtio-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). +The path to the ISO image containing the virtio\-win drivers (eg. \fI/usr/share/virtio\-win/virtio\-win.iso\fR). .IP DIR 4 .IX Item "DIR" -The directory containing the unpacked virtio-win drivers (eg. \fI/usr/share/virtio\-win\fR). +The directory containing the unpacked virtio\-win drivers (eg. \fI/usr/share/virtio\-win\fR). .IP "\fB""osinfo""\fR" 4 .IX Item """osinfo""" The literal string \f(CW"osinfo"\fR means to use the libosinfo database to locate the drivers. (See \fBosinfo\-query\fR\|(1). @@ -507,7 +510,7 @@ Note that to do a full conversion of a Windows guest from a foreign hypervisor l .ie n .IP "\fB\-\-install\fR ПАКУНОК,ПАКУНОК... (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-install\fR ПАКУНОК,ПАКУНОК... (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--install ПАКУНОК,ПАКУНОК... (див. customize нижче)" -Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час збирання образу за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з'єднання із мережею основної системи. +Встановити іменовані пакунки (список значень, відокремлених комами). Ці пакунки буде встановлено під час збирання образу за допомогою програми для керування пакунків гостьової системи (наприклад, apt, yum тощо) і з\*(Aqєднання із мережею основної системи. .Sp Огляд різних способів встановлення пакунків наведено у розділі "ВСТАНОВЛЕННЯ ПАКУНКІВ" in \fBvirt\-builder\fR\|(1). .Sp @@ -553,7 +556,7 @@ Do not attempt to correct the SELinux labels of files in the guest. .Sp In such guests that support SELinux, customization automatically relabels files so that they have the correct SELinux label. (The relabeling is performed immediately, but if the operation fails, customization will instead touch \fI/.autorelabel\fR on the image to schedule a relabel operation for the next time the image boots.) This option disables the automatic relabeling. .Sp -The option is a no-op for guests that do not support SELinux. +The option is a no\-op for guests that do not support SELinux. .ie n .IP "\fB\-\-password\fR КОРИСТУВАЧ:ВАРІАНТ (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-password\fR КОРИСТУВАЧ:ВАРІАНТ (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--password КОРИСТУВАЧ:ВАРІАНТ (див. customize нижче)" @@ -591,7 +594,7 @@ The option is a no-op for guests that do not support SELinux. .Sp Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR та способи налаштовування облікових записів користувачів описано у розділі "КОРИСТУВАЧІ І ПАРОЛІ" in \fBvirt\-builder\fR\|(1). .Sp -Зауваження: якщо у virt-builder ви \fIне встановите\fR \fI\-\-root\-password\fR, для гостьової системи буде використано \fIвипадковий\fR пароль root. +Зауваження: якщо у virt\-builder ви \fIне встановите\fR \fI\-\-root\-password\fR, для гостьової системи буде використано \fIвипадковий\fR пароль root. .ie n .IP "\fB\-\-run\fR СКРИПТ (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-run\fR СКРИПТ (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--run СКРИПТ (див. customize нижче)" @@ -599,17 +602,17 @@ The option is a no-op for guests that do not support SELinux. .Sp Для скрипту буде автоматично використано команду chmod +x. .Sp -Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з'єднання, але лише для вихідних з'єднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з'єднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). +Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з\*(Aqєднання, але лише для вихідних з\*(Aqєднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з\*(Aqєднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). .Sp Можна вказати декілька параметрів \fI\-\-run\fR. Їх буде виконано у тому самому порядку, у якому їх вказано у рядку команди. .Sp Див. також \fI\-\-firstboot\fR, \fI\-\-attach\fR, \fI\-\-upload\fR. -.ie n .IP "\fB\-\-run\-command\fR 'КОМАНДА+ПАРАМЕТРИ' (див. ""customize"" нижче)" 4 -.el .IP "\fB\-\-run\-command\fR 'КОМАНДА+ПАРАМЕТРИ' (див. \f(CWcustomize\fR нижче)" 4 +.ie n .IP "\fB\-\-run\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq (див. ""customize"" нижче)" 4 +.el .IP "\fB\-\-run\-command\fR \*(AqКОМАНДА+ПАРАМЕТРИ\*(Aq (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--run-command 'КОМАНДА+ПАРАМЕТРИ' (див. customize нижче)" Виконати команду із аргументами у образі диска. Команду буде виконано у віртуалізованому режимі у малій допоміжній системі, у пісочниці гостьової файлової системи. .Sp -Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з'єднання, але лише для вихідних з'єднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з'єднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). +Якщо у libguestfs передбачено підтримку цього, буде доступним обмежене мережеве з\*(Aqєднання, але лише для вихідних з\*(Aqєднань. Ви також можете долучати диски з даними (наприклад, файли ISO), як ще один спосіб надання даних (наприклад, пакунків із програмним забезпеченням) для скрипту без потреби у з\*(Aqєднанні із мережею (\fI\-\-attach\fR). Також ви можете вивантажувати файли з даними (\fI\-\-upload\fR). .Sp Можна вказати декілька параметрів \fI\-\-run\-command\fR. Їх буде виконано у тому самому порядку, у якому їх вказано у рядку команди. .Sp @@ -649,13 +652,13 @@ This is a compatibility option that does nothing. .IX Item "--sm-attach ВАРІАНТ (див. customize нижче)" Долучити систему до буфера передплати за допомогою \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1). +Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1). .ie n .IP "\fB\-\-sm\-credentials\fR ВАРІАНТ (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-sm\-credentials\fR ВАРІАНТ (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--sm-credentials ВАРІАНТ (див. customize нижче)" Встановити реєстраційні дані для \f(CW\*(C`subscription\-manager\*(C'\fR. .Sp -Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION-MANAGER" in \fBvirt\-builder\fR\|(1). +Формат поля \f(CW\*(C`ВАРІАНТ\*(C'\fR описано у розділі "SUBSCRIPTION\-MANAGER" in \fBvirt\-builder\fR\|(1). .ie n .IP "\fB\-\-sm\-register\fR (див. ""customize"" нижче)" 4 .el .IP "\fB\-\-sm\-register\fR (див. \f(CWcustomize\fR нижче)" 4 .IX Item "--sm-register (див. customize нижче)" @@ -728,7 +731,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* .IX Header "ДІЇ" Якщо параметр \fI\-\-enable\fR/\fI\-\-operations\fR \fIне\fR вказано, більшу частину дій з приготування системи буде увімкнено. .PP -Скористайтеся командою \f(CW\*(C`virt\-sysprep \-\-list\-operations\*(C'\fR, щоб переглянути список усіх дій, які передбачено у вашому виконуваному файлі virt-sysprep. Дії, які типово увімкнено, буде позначено у списку символом \f(CW\*(C`*\*(C'\fR. Незалежно від вказаних параметрів \fI\-\-enable\fR/\fI\-\-operations\fR для певних типів гостьових систем деякі з дій з приготування системи пропускатимуться. +Скористайтеся командою \f(CW\*(C`virt\-sysprep \-\-list\-operations\*(C'\fR, щоб переглянути список усіх дій, які передбачено у вашому виконуваному файлі virt\-sysprep. Дії, які типово увімкнено, буде позначено у списку символом \f(CW\*(C`*\*(C'\fR. Незалежно від вказаних параметрів \fI\-\-enable\fR/\fI\-\-operations\fR для певних типів гостьових систем деякі з дій з приготування системи пропускатимуться. .PP Окремі дії можна увімкнути за допомогою параметрів \fI\-\-enable\fR/\fI\-\-operations\fR. Записи дій у списку слід відокремлювати комами. Приклад: .PP @@ -736,15 +739,15 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* \& virt\-sysprep \-\-operations ssh\-hostkeys,udev\-persistent\-net [тощо..] .Ve .PP -У майбутніх версіях virt-sysprep може бути додано інші дії. Якщо ви використовуєте virt-sysprep, і вам потрібна передбачувана поведінка, вказуйте лише ті дії, які ви хочете увімкнути. +У майбутніх версіях virt\-sysprep може бути додано інші дії. Якщо ви використовуєте virt\-sysprep, і вам потрібна передбачувана поведінка, вказуйте лише ті дії, які ви хочете увімкнути. .PP \&\f(CW\*(C`*\*(C'\fR = типово увімкнено, якщо не вказано параметрів \fI\-\-enable\fR/\fI\-\-operations\fR. -.SS "\fBabrt-data\fP *" +.SS "\fBabrt\-data\fP *" .IX Subsection "abrt-data *" Вилучити дані щодо аварії, створені ABRT. .PP Вилучити автоматично створені ABRT дані щодо аварії у \f(CW\*(C`/var/spool/abrt/\*(C'\fR. -.SS "\fBbackup-files\fP *" +.SS "\fBbackup\-files\fP *" .IX Subsection "backup-files *" Вилучити файли резервних копій редактора з гостьової системи. .PP @@ -765,7 +768,7 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* /tmp .IP · 4 /var -.SS "\fBbash-history\fP *" +.SS "\fBbash\-history\fP *" .IX Subsection "bash-history *" Вилучити журнал команд bash у гостьовій системі. .PP @@ -775,20 +778,20 @@ Copy local files or directories from a local tar file called \f(CW\*(C`TARFILE\* .IX Subsection "Нотатки щодо журналу команд bash" .PP У поточній версії пошук домашніх каталогів користувачів виконується лише у \f(CW\*(C`/root\*(C'\fR і \f(CW\*(C`/home/*\*(C'\fR. Отже, журнал bash користувачів, дані яких зберігаються у інших каталогах, не буде вилучено. -.SS "\fBblkid-tab\fP *" +.SS "\fBblkid\-tab\fP *" .IX Subsection "blkid-tab *" Вилучити вкладку ідентифікаторів блоків у гостьовій системі. -.SS \fBca-certificates\fP +.SS \fBca\-certificates\fP .IX Subsection "ca-certificates" Вилучити сертифікати CA у гостьовій системі. .PP In case any certificate is removed, the system CA store is updated. -.SS "\fBcrash-data\fP *" +.SS "\fBcrash\-data\fP *" .IX Subsection "crash-data *" -Вилучити дані щодо аварії, створені kexec-tools. +Вилучити дані щодо аварії, створені kexec\-tools. .PP Вилучити автоматично створені kdump дані аварії ядра. -.SS "\fBcron-spool\fP *" +.SS "\fBcron\-spool\fP *" .IX Subsection "cron-spool *" Вилучити завдання at та cron користувачів. .SS "\fBcustomize\fP *" @@ -796,40 +799,40 @@ In case any certificate is removed, the system CA store is updated. Налаштувати гостьову систему. .PP Налаштувати гостьову систему визначенням параметрів \fBvirt\-customize\fR\|(1) для встановлення пакунків, редагування файлів тощо. -.SS "\fBdhcp-client-state\fP *" +.SS "\fBdhcp\-client\-state\fP *" .IX Subsection "dhcp-client-state *" Вилучити надані клієнтські адреси DHCP. -.SS "\fBdhcp-server-state\fP *" +.SS "\fBdhcp\-server\-state\fP *" .IX Subsection "dhcp-server-state *" Вилучити надані серверні адреси DHCP. -.SS "\fBdovecot-data\fP *" +.SS "\fBdovecot\-data\fP *" .IX Subsection "dovecot-data *" Вилучити дані Dovecot (поштового сервера). -.SS \fBfirewall-rules\fP +.SS \fBfirewall\-rules\fP .IX Subsection "firewall-rules" Вилучити правила брандмауера. .PP Вилучає нетипові правила брандмауера вилученням \f(CW\*(C`/etc/sysconfig/iptables\*(C'\fR або нетипових налаштувань firewalld з \f(CW\*(C`/etc/firewalld/*/*\*(C'\fR. .PP Зауважте, що цю можливість типово \fIне\fR увімкнено, оскільки може відкрити гостьову систему для вразливостей. Користуйтеся обережно. -.SS \fBflag-reconfiguration\fP +.SS \fBflag\-reconfiguration\fP .IX Subsection "flag-reconfiguration" Позначити систему для зміни налаштувань. .PP Для гостьових систем Linux оновлює часову позначку \f(CW\*(C`/.unconfigured\*(C'\fR, отже, під час першого завантаження користувачеві буде надіслано запит щодо параметрів, зокрема пароля root та часового поясу. -.SS \fBfs-uuids\fP +.SS \fBfs\-uuids\fP .IX Subsection "fs-uuids" Змінити UUID файлових систем. .PP У гостьових системах та типах файлових систем, де передбачено таку підтримку, буде створено нові випадкові UUID, які буде пов’язано з файловими системами. .PP -\fIЗауваження щодо fs-uuids\fR +\fIЗауваження щодо fs\-uuids\fR .IX Subsection "Зауваження щодо fs-uuids" .PP -Типово, дію fs-uuids вимкнено, оскільки у поточній версії програма ще не здатна знайти і оновити усі записи у гостьовій системі, які використовують UUID, наприклад \f(CW\*(C`/etc/fstab\*(C'\fR або завантажувач. Вмикання цієї дії може з високою ймовірністю зробити вашу гостьову систему непридатною до завантаження. +Типово, дію fs\-uuids вимкнено, оскільки у поточній версії програма ще не здатна знайти і оновити усі записи у гостьовій системі, які використовують UUID, наприклад \f(CW\*(C`/etc/fstab\*(C'\fR або завантажувач. Вмикання цієї дії може з високою ймовірністю зробити вашу гостьову систему непридатною до завантаження. .PP Див. https://bugzilla.redhat.com/show_bug.cgi?id=991641 -.SS "\fBipa-client\fP *" +.SS "\fBipa\-client\fP *" .IX Subsection "ipa-client *" Remove the IPA files. .PP @@ -839,7 +842,7 @@ This operation does not run \f(CW\*(C`ipa\-client\*(C'\fR. .SS \fBдані\-kerberos\fP .IX Subsection "дані-kerberos" Вилучити дані Kerberos у гостьовій системі. -.SS "\fBkerberos-hostkeytab\fP *" +.SS "\fBkerberos\-hostkeytab\fP *" .IX Subsection "kerberos-hostkeytab *" Remove the Kerberos host keytab file in the guest. .SS "\fBlogfiles\fP *" @@ -987,12 +990,12 @@ Remove the Kerberos host keytab file in the guest. /var/log/xferlog* .IP · 4 /var/named/data/named.run -.SS "\fBlvm-system-devices\fP *" +.SS "\fBlvm\-system\-devices\fP *" .IX Subsection "lvm-system-devices *" Remove LVM2 system.devices file. .PP -On Linux guests, LVM2's scanning for physical volumes (PVs) may be restricted to those block devices whose WWIDs are listed in \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. When cloning VMs, WWIDs may change, breaking \f(CW\*(C`lvm pvscan\*(C'\fR. Remove \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. -.SS "\fBlvm-uuids\fP *" +On Linux guests, LVM2\*(Aqs scanning for physical volumes (PVs) may be restricted to those block devices whose WWIDs are listed in \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. When cloning VMs, WWIDs may change, breaking \f(CW\*(C`lvm pvscan\*(C'\fR. Remove \f(CW\*(C`/etc/lvm/devices/system.devices\*(C'\fR. +.SS "\fBlvm\-uuids\fP *" .IX Subsection "lvm-uuids *" Змінити UUID ФТ і ГТ LVM2. .PP @@ -1002,36 +1005,36 @@ On Linux guests, LVM2's scanning for physical volumes (PVs) may be restricted to Вилучити ідентифікатор локального комп’ютера. .PP Зазвичай, ідентифікатор системи створюється на основі випадкових джерел даних під час встановлення системи і не змінюється під час всіх наступних її завантажень. За потреби у системах без певного стану цей ідентифікатор створюється під час роботи завантажувача, якщо буде виявлено порожнє значення. -.SS "\fBmail-spool\fP *" +.SS "\fBmail\-spool\fP *" .IX Subsection "mail-spool *" Вилучити поштове повідомлення з локального каталогу поштового буфера. -.SS "\fBnet-hostname\fP *" +.SS "\fBnet\-hostname\fP *" .IX Subsection "net-hostname *" Вилучити HOSTNAME та DHCP_HOSTNAME у налаштуваннях інтерфейсу мережі. .PP Для Fedora і Red Hat Enterprise Linux це вилучається з файлів \f(CW\*(C`ifcfg\-*\*(C'\fR. -.SS "\fBnet-hwaddr\fP *" +.SS "\fBnet\-hwaddr\fP *" .IX Subsection "net-hwaddr *" Вилучити налаштування HWADDR (апаратної адреси MAC). .PP Для Fedora і Red Hat Enterprise Linux це вилучається з файлів \f(CW\*(C`ifcfg\-*\*(C'\fR. -.SS "\fBnet-nmconn\fP *" +.SS "\fBnet\-nmconn\fP *" .IX Subsection "net-nmconn *" -Remove system-local NetworkManager connection profiles (keyfiles). +Remove system\-local NetworkManager connection profiles (keyfiles). .PP On Fedora and Red Hat Enterprise Linux, remove the \f(CW\*(C`/etc/NetworkManager/system\-connections/*.nmconnection\*(C'\fR files. -.SS "\fBpacct-log\fP *" +.SS "\fBpacct\-log\fP *" .IX Subsection "pacct-log *" Вилучити файли журналу обліку процесів. .PP Дані обліку процесів системи будуть зберігатися у файлах журналу pacct, якщо увімкнено облік процесів. -.SS "\fBpackage-manager-cache\fP *" +.SS "\fBpackage\-manager\-cache\fP *" .IX Subsection "package-manager-cache *" Вилучити кеш керування пакунками. -.SS "\fBpam-data\fP *" +.SS "\fBpam\-data\fP *" .IX Subsection "pam-data *" Вилучити дані PAM у гостьовій системі. -.SS "\fBpasswd-backups\fP *" +.SS "\fBpasswd\-backups\fP *" .IX Subsection "passwd-backups *" Вилучити /etc/passwd\- та подібні файли резервних копій. .PP @@ -1048,21 +1051,21 @@ On Fedora and Red Hat Enterprise Linux, remove the \f(CW\*(C`/etc/NetworkManager /etc/subgid\- .IP · 4 /etc/subuid\- -.SS "\fBpuppet-data-log\fP *" +.SS "\fBpuppet\-data\-log\fP *" .IX Subsection "puppet-data-log *" Вилучити дані та файли журналів puppet. -.SS "\fBrh-subscription-manager\fP *" +.SS "\fBrh\-subscription\-manager\fP *" .IX Subsection "rh-subscription-manager *" Вилучити файли керування передплатою RH. -.SS "\fBrhn-systemid\fP *" +.SS "\fBrhn\-systemid\fP *" .IX Subsection "rhn-systemid *" Вилучити ідентифікатор системи у RHN. -.SS "\fBrpm-db\fP *" +.SS "\fBrpm\-db\fP *" .IX Subsection "rpm-db *" Вилучити специфічні для системи файли баз даних RPM. .PP Вилучити специфічні для системи файли баз даних RPM. RPM буде повторно створено ці файли, якщо це потрібно. -.SS "\fBsamba-db-log\fP *" +.SS "\fBsamba\-db\-log\fP *" .IX Subsection "samba-db-log *" Вилучити бази даних та файли журналів Samba. .SS "\fBscript\fP *" @@ -1080,10 +1083,10 @@ On Fedora and Red Hat Enterprise Linux, remove the \f(CW\*(C`/etc/NetworkManager Зазвичай, використовується тимчасова точка монтування гостьової системи, але ви можете вибрати якусь іншу за допомогою параметра \fI\-\-scriptdir\fR. .PP \&\fBЗауваження:\fR описані тут скрипти відрізняються від скриптів \fI\-\-firstboot\fR (скриптів, які виконуються у контексті гостьової системи під час першого завантаження цієї системи). Скрипти \fI\-\-script\fR запускаються у основній системі, а не у гостьовій. -.SS "\fBsmolt-uuid\fP *" +.SS "\fBsmolt\-uuid\fP *" .IX Subsection "smolt-uuid *" Вилучити UUID обладнання Smolt. -.SS "\fBssh-hostkeys\fP *" +.SS "\fBssh\-hostkeys\fP *" .IX Subsection "ssh-hostkeys *" Вилучити ключі вузла SSH у гостьовій системі. .PP @@ -1097,32 +1100,32 @@ On Fedora and Red Hat Enterprise Linux, remove the \f(CW\*(C`/etc/NetworkManager \& @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \& IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! .Ve -.SS "\fBssh-userdir\fP *" +.SS "\fBssh\-userdir\fP *" .IX Subsection "ssh-userdir *" Вилучити каталоги «.ssh» у гостьовій системі. .PP Вилучити каталог \f(CW\*(C`.ssh\*(C'\fR користувача «root» та всіх інших користувачів, домашні каталоги яких містять каталог \f(CW\*(C`.ssh\*(C'\fR. .PP -\fIЗауваження щодо ssh-userdir\fR +\fIЗауваження щодо ssh\-userdir\fR .IX Subsection "Зауваження щодо ssh-userdir" .PP У поточній версії пошук домашніх каталогів користувачів виконується лише у \f(CW\*(C`/root\*(C'\fR і \f(CW\*(C`/home/*\*(C'\fR. Отже, файли ssh користувачів, дані яких зберігаються у інших каталогах, не буде вилучено. -.SS "\fBsssd-db-log\fP *" +.SS "\fBsssd\-db\-log\fP *" .IX Subsection "sssd-db-log *" Вилучити бази даних і файли журналів sssd. -.SS "\fBtmp-files\fP *" +.SS "\fBtmp\-files\fP *" .IX Subsection "tmp-files *" Вилучити тимчасові файли. .PP Вилучає тимчасові файли з \f(CW\*(C`/tmp\*(C'\fR і \f(CW\*(C`/var/tmp\*(C'\fR. -.SS "\fBudev-persistent-net\fP *" +.SS "\fBudev\-persistent\-net\fP *" .IX Subsection "udev-persistent-net *" Вилучити постійні правила мережі udev. .PP Вилучити постійні правила мережі udev, які відображають вже створену MAC\-адресу гостьової системи на фіксований пристрій ethernet (наприклад eth0). .PP Після клонування гостьової системи MAC\-адреса зазвичай змінюється. Оскільки стару MAC\-адресу вже пов’язано зі старою назвою (наприклад eth0), це означає, що нову MAC\-адресу буде пов’язано з новою назвою (наприклад eth1), а це зазвичай є небажаним. За допомогою вилучення постійних правил мережі udev цьому можна запобігти. -.SS \fBuser-account\fP +.SS \fBuser\-account\fP .IX Subsection "user-account" Вилучити облікові записи користувачів у гостьовій системі. .PP @@ -1134,14 +1137,14 @@ On Fedora and Red Hat Enterprise Linux, remove the \f(CW\*(C`/etc/NetworkManager Вилучити файл utmp. .PP У цьому файлі зберігаються записи щодо входу користувачів до машини. У сучасних дистрибутивах Linux ці записи зберігаються на диску у пам’яті, тому не є частиною віртуальної машини на диску, але ці дані зберігаються на диску у старіших версіях дистрибутивів. -.SS "\fByum-uuid\fP *" +.SS "\fByum\-uuid\fP *" .IX Subsection "yum-uuid *" Вилучити UUID yum. .PP Yum створить новий UUID під час наступного запуску, коли виявить, що початковий UUID було вилучено. .SH "КОПІЮВАННЯ ТА КЛОНУВАННЯ" .IX Header "КОПІЮВАННЯ ТА КЛОНУВАННЯ" -Virt-sysprep можна скористатися як частиною процедури клонування гостьових систем або приготування шаблона, з якого можна буде клонувати гостьові системи. Існує багато різних способів досягти цього за допомогою засобів віртуалізації, — цей розділ є лише вступом. +Virt\-sysprep можна скористатися як частиною процедури клонування гостьових систем або приготування шаблона, з якого можна буде клонувати гостьові системи. Існує багато різних способів досягти цього за допомогою засобів віртуалізації, — цей розділ є лише вступом. .PP Віртуальна машина (коли її вимкнено) складається з двох частин: .IP \fIналаштування\fR 4 @@ -1214,7 +1217,7 @@ UUID \& \e\-\-\-\-> .Ve .PP -Ймовірно, virt-sysprep доведеться запустити двічі — один раз для відновлення початкового стану гостьової системи (для створення шаблона) і другий раз для налаштовування гостьової системи для певного користувача: +Ймовірно, virt\-sysprep доведеться запустити двічі — один раз для відновлення початкового стану гостьової системи (для створення шаблона) і другий раз для налаштовування гостьової системи для певного користувача: .PP .Vb 6 \& virt\-sysprep virt\-sysprep @@ -1225,7 +1228,7 @@ UUID \& шаблон гостьова система .Ve .IP \(bu 4 -Створити знімок за допомогою qemu-img: +Створити знімок за допомогою qemu\-img: .Sp .Vb 1 \& qemu\-img create \-f qcow2 \-o backing_file=original snapshot.qcow @@ -1244,11 +1247,11 @@ UUID Накажіть вашому NAS здублювати LUN. На більшості пристроїв NAS також передбачено дуже просте дублювання LUN (копіювання відбувається у фоновому режимі за запитом). .IP \(bu 4 Приготуйте ваш шаблон за допомогою \fBvirt\-sparsify\fR\|(1). Див. нижче. -.SS VIRT-CLONE +.SS VIRT\-CLONE .IX Subsection "VIRT-CLONE" Для дублювання блокового пристрою і/або внесення змін до зовнішніх налаштувань libvirt гостьової системи можна скористатися окремим інструментом, \fBvirt\-clone\fR\|(1). Ця програма відновить початкові значення назви, UUID та адреси MAC гостьової системи в XML libvirt. .PP -\&\fBvirt\-clone\fR\|(1) не використовує libguestfs і не може «зазирнути» у образ диска. Це і було причиною для написання virt-sysprep. +\&\fBvirt\-clone\fR\|(1) не використовує libguestfs і не може «зазирнути» у образ диска. Це і було причиною для написання virt\-sysprep. .SS РОЗРІДЖЕННЯ .IX Subsection "РОЗРІДЖЕННЯ" .Vb 2 @@ -1258,7 +1261,7 @@ UUID .PP \&\fBvirt\-sparsify\fR\|(1) можна скористатися для зменшення розмірів шаблона для клонування, спрощуючи стискання і/або пришвидшуючи копіювання. .PP -Зауважте, що оскільки virt-sparsify також копіює образ, ви можете скористатися цією програмою для створення початкової копії (замість \f(CW\*(C`dd\*(C'\fR). +Зауважте, що оскільки virt\-sparsify також копіює образ, ви можете скористатися цією програмою для створення початкової копії (замість \f(CW\*(C`dd\*(C'\fR). .SS "ЗМІНА РОЗМІРІВ" .IX Subsection "ЗМІНА РОЗМІРІВ" .Vb 5 @@ -1269,7 +1272,7 @@ UUID \& \e\-\-\-\-> .Ve .PP -Якщо ви хочете надати комусь клоновані гостьові системи, але хочете надати можливість вибирати розмір гостьової системи (наприклад за місцем, яке надається гостьовій системі на диску), замість копіювання шаблона вам слід запустити \fBvirt\-resize\fR\|(1). Virt-resize виконує копіювання і зміну розмірів, тому програма є ідеальною для клонування гостьових систем з шаблона. +Якщо ви хочете надати комусь клоновані гостьові системи, але хочете надати можливість вибирати розмір гостьової системи (наприклад за місцем, яке надається гостьовій системі на диску), замість копіювання шаблона вам слід запустити \fBvirt\-resize\fR\|(1). Virt\-resize виконує копіювання і зміну розмірів, тому програма є ідеальною для клонування гостьових систем з шаблона. .SH "FIRSTBOOT ЧИ SCRIPT" .IX Header "FIRSTBOOT ЧИ SCRIPT" Обидва параметри, \fI\-\-firstboot\fR і \fI\-\-script\fR, запускають скрипти оболонки, яка виконують дії із гостьовою системою. Втім, ці параметри суттєво різняться. @@ -1287,14 +1290,14 @@ UUID .IX Header "БЕЗПЕКА" Virtual machines that employ full disk encryption \fIinternally to the guest\fR should not be considered for cloning and distribution, as it provides multiple parties with the same internal volume key, enabling any one such party to decrypt all the other clones. Refer to the LUKS FAQ for details. .PP -Хоча virt-sysprep вилучає певні конфіденційні дані з гостьової системи, програма не претендує на вилучення усіх цих даних. Вам слід ознайомитися із розділом "ДІЇ" вище і вивчити саму гостьову систему після виконання дій. +Хоча virt\-sysprep вилучає певні конфіденційні дані з гостьової системи, програма не претендує на вилучення усіх цих даних. Вам слід ознайомитися із розділом "ДІЇ" вище і вивчити саму гостьову систему після виконання дій. .PP Файли з конфіденційними даними просто вилучаються. Дані, які у них містяться, можуть залишатися на диску. Такі дані доволі просто відновити за допомогою шістнадцяткового редактора або засобів для відновлення файлів. Ви можете скористатися параметром \fI\-\-scrub\fR для витирання вмісту файлів замість простого їх вилучення. Ще одним способом вилучити конфіденційні дані є використання \fBvirt\-sparsify\fR\|(1). Крім того, витерти вміст вилучених каталогів та inode можна за допомогою команди \fBscrub\fR\|(1). .SS "БАЗА ВИПАДКОВОСТІ" .IX Subsection "БАЗА ВИПАДКОВОСТІ" \&\fI(Цей розділ стосується лише гостьових систем Linux)\fR .PP -У підтримуваних гостьових системах virt-sysprep записує декілька випадкових байтів з основної системи до файла породжувача псевдовипадкової послідовності гостьової системи. +У підтримуваних гостьових системах virt\-sysprep записує декілька випадкових байтів з основної системи до файла породжувача псевдовипадкової послідовності гостьової системи. .PP Якщо ця процедура виконується один раз, а гостьова система клонується з того самого шаблона, кожна гостьова система починатиме з того самого значення ентропії, отже дані, подібні до ключів SSH вузла і послідовностей чисел TCP, можуть бути передбачуваними. .PP @@ -1311,7 +1314,7 @@ Virtual machines that employ full disk encryption \fIinternally to the guest\fR Докладніший опис наведено у розділі "SELINUX" in \fBvirt\-builder\fR\|(1). .SH "WINDOWS 8" .IX Header "WINDOWS 8" -«Швидкий запуск» Windows 8 може заважати роботі virt-sysprep. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). +«Швидкий запуск» Windows 8 може заважати роботі virt\-sysprep. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). .SH "СТАН ВИХОДУ" .IX Header "СТАН ВИХОДУ" Ця програма повертає 0, якщо роботу виконано успішно, і 1, якщо сталися помилки. diff --git a/po-docs/uk/virt-sysprep.pod b/po-docs/uk/virt-sysprep.pod index 17f7ae6..f04ce89 100644 --- a/po-docs/uk/virt-sysprep.pod +++ b/po-docs/uk/virt-sysprep.pod @@ -17,7 +17,7 @@ Virt-sysprep вносить зміни до гостьової системи а Вам I<не потрібно> запускати virt-sysprep від імені користувача root. Фактично, запуск у такому режимі є нерекомендованим. Єдиною причиною запускати програму від імені root може бути потреба у доступі до образу диска, але навіть у цьому випадку, доцільніше змінити права доступу до образу диска так, щоб запис до нього став доступним від імені користувача, який запускає virt-sysprep. -«Sysprep» — скорочення від «system preparation» («приготування системи»). Назва походить від програми Microsoft F, яка використовується для вилучення налаштувань з Windows у приготуваннях до клонування системи. Маємо зауважити, що у поточній версії virt-sysprep I<не> може працювати із гостьовими системами Microsoft Windows. Ми плануємо впровадити підтримку приготування Windows у майбутніх версіях і вже маємо певні напрацювання щодо цього. +"Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program F which is used to unconfigure Windows machines in preparation for cloning them. (Virt-sysprep does not work on Microsoft Windows guests.) =head1 ПАРАМЕТРИ diff --git a/po-docs/uk/virt-win-reg.1 b/po-docs/uk/virt-win-reg.1 index d61883a..4886e49 100644 --- a/po-docs/uk/virt-win-reg.1 +++ b/po-docs/uk/virt-win-reg.1 @@ -1,5 +1,5 @@ .\" -*- mode: troff; coding: utf-8 -*- -.\" Automatically generated by Podwrapper::Man 1.52.0 (Pod::Simple 3.45) +.\" Automatically generated by Podwrapper::Man 1.52.1 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== @@ -52,17 +52,20 @@ . \} .\} .rr rF +.\" +.\" Required to disable full justification in groff 1.23.0. +.if n .ds AD l .\" ======================================================================== .\" .IX Title "virt-win-reg 1" -.TH virt-win-reg 1 2024-01-04 guestfs-tools-1.52.0 "Virtualization Support" +.TH virt-win-reg 1 2024-08-27 guestfs-tools-1.52.1 "Virtualization Support" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH НАЗВА .IX Header "НАЗВА" -virt-win-reg — програма для експортування та дописування записів реєстру Windows з гостьової системи Windows +virt\-win\-reg — програма для експортування та дописування записів реєстру Windows з гостьової системи Windows .SH "КОРОТКИЙ ОПИС" .IX Header "КОРОТКИЙ ОПИС" .Vb 1 @@ -138,12 +141,12 @@ virt-win-reg — програма для експортування та доп Якщо ви працюєте із образами дисків гостьових систем у форматі raw із ненадійних джерел, вам слід завжди вказувати назву формату. .IP \fB\-\-merge\fR 4 .IX Item "--merge" -У режимі об'єднання програма дописує текстовий файл regedit до реєстру Windows віртуальної машини. Якщо цей параметр \fIне\fR вказано, virt-win-reg показує або експортує записи реєстру. +У режимі об\*(Aqєднання програма дописує текстовий файл regedit до реєстру Windows віртуальної машини. Якщо цей параметр \fIне\fR вказано, virt\-win\-reg показує або експортує записи реєстру. .Sp Зауважте, що \fI\-\-merge\fR \fIне безпечно\fR використовувати для активних віртуальних машин. Використання цього параметра команди для активних віртуальних машин призводить до пошкодження вмісту диска. Втім, експортування (виконання команди без цього параметра) є завжди безпечним. .IP "\fB\-\-encoding\fR UTF\-16LE|ASCII" 4 .IX Item "--encoding UTF-16LE|ASCII" -При об'єднанні (і лише при ньому) у вас може виникнути потреба у визначення кодування рядків, які використовуються у файлі рою. Докладніший опис можна знайти у розділі "ENCODING STRINGS" in \fBWin::Hivex::Regedit\fR\|(3). +При об\*(Aqєднанні (і лише при ньому) у вас може виникнути потреба у визначення кодування рядків, які використовуються у файлі рою. Докладніший опис можна знайти у розділі "ENCODING STRINGS" in \fBWin::Hivex::Regedit\fR\|(3). .Sp Типово буде використано кодування UTF\-16LE, яке має працювати у свіжих версіях Windows. .IP \fB\-\-unsafe\-printable\-strings\fR 4 @@ -201,7 +204,7 @@ virt-win-reg — програма для експортування та доп Підтримки буквальних ключів \f(CW\*(C`HKEY_USERS\e$SID\*(C'\fR і \f(CW\*(C`HKEY_CURRENT_USER\*(C'\fR не передбачено (немає «поточного користувача»). .SS "WINDOWS 8" .IX Subsection "WINDOWS 8" -«Швидкий запуск» Windows 8 може заважати virt-win-reg редагувати реєстр. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). +«Швидкий запуск» Windows 8 може заважати virt\-win\-reg редагувати реєстр. Див. "ПРИСИПЛЯННЯ WINDOWS ТА ШВИДКИЙ ЗАПУСК WINDOWS 8" in \fBguestfs\fR\|(3). .SH КОДУВАННЯ .IX Header "КОДУВАННЯ" \&\f(CW\*(C`virt\-win\-reg\*(C'\fR вважає, що вміст файлів regedit вже перекодовано до локального кодування. Зазвичай, у основних системах Linux це означає, що використано UTF\-8 із символами завершення рядків у стилі Unix. Оскільки файли regedit Windows часто записуються у кодуванні UTF\-16LE із символами завершення рядків у стилі Windows, ймовірно, вам доведеться виконати перекодування усього файла до або після обробки. diff --git a/po/Makefile.in b/po/Makefile.in index 2874111..41a31d9 100644 --- a/po/Makefile.in +++ b/po/Makefile.in @@ -330,6 +330,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -433,7 +435,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/po/guestfs-tools.pot b/po/guestfs-tools.pot index f7a306d..77f5dfe 100644 --- a/po/guestfs-tools.pot +++ b/po/guestfs-tools.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: guestfs-tools 1.52.0\n" +"Project-Id-Version: guestfs-tools 1.52.1\n" "Report-Msgid-Bugs-To: https://bugzilla.redhat.com/enter_bug.cgi?" "component=libguestfs&product=Virtualization+Tools\n" -"POT-Creation-Date: 2024-01-04 17:06+0000\n" +"POT-Creation-Date: 2024-08-27 22:50+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -52,7 +52,7 @@ msgstr "" msgid "%s (ignored)" msgstr "" -#: builder/builder.ml:330 +#: builder/builder.ml:329 msgid "" "%s checksum of template did not match the expected checksum!\n" " found checksum: %s\n" @@ -158,7 +158,7 @@ msgstr "" msgid "%s: This partition will be resized from %s to %s." msgstr "" -#: builder/cmdline.ml:178 +#: builder/cmdline.ml:176 msgid "" "%s: build virtual machine images quickly\n" "\n" @@ -216,7 +216,7 @@ msgid "" "read the man page virt-builder-repository(1).\n" msgstr "" -#: customize/customize_main.ml:98 +#: customize/customize_main.ml:96 msgid "" "%s: customize a virtual machine\n" "\n" @@ -364,7 +364,7 @@ msgid "" "read the man page virt-sparsify(1).\n" msgstr "" -#: builder/builder.ml:339 +#: builder/builder.ml:338 msgid "" "%s: template not downloaded or deleted. You may have run ‘virt-builder --" "delete-cache’ in parallel." @@ -416,11 +416,11 @@ msgid "" "line option multiple times to add several lines." msgstr "" -#: customize/customize_main.ml:116 +#: customize/customize_main.ml:114 msgid "--attach-format parameter must appear before --attach parameter" msgstr "" -#: builder/cmdline.ml:270 +#: builder/cmdline.ml:268 msgid "" "--cache-all-templates/--print-cache/--delete-cache does not need any extra " "arguments" @@ -440,7 +440,7 @@ msgid "" "convert qcow2." msgstr "" -#. customize/customize_main.ml:74 +#. customize/customize_main.ml:72 #: sysprep/main.ml:68 get-kernel/get_kernel.ml:49 drivers/drivers.ml:45 msgid "--domain option can only be given once" msgstr "" @@ -457,11 +457,11 @@ msgstr "" msgid "--expand option given more than once" msgstr "" -#: sysprep/main.ml:157 customize/customize_main.ml:113 +#: sysprep/main.ml:157 customize/customize_main.ml:111 msgid "--format parameter must appear before -a parameter" msgstr "" -#: builder/cmdline.ml:280 +#: builder/cmdline.ml:278 msgid "--get-kernel: too many parameters" msgstr "" @@ -477,11 +477,11 @@ msgid "" "in the virtio-win source that you specified" msgstr "" -#: builder/cmdline.ml:247 +#: builder/cmdline.ml:245 msgid "--list: use ‘--list-format’, not ‘--format’" msgstr "" -#: builder/cmdline.ml:262 +#: builder/cmdline.ml:260 msgid "--notes: too many parameters, expecting ‘os-version’" msgstr "" @@ -522,7 +522,7 @@ msgstr "" msgid "--tmp prebuilt:file: %s: file format is not qcow2" msgstr "" -#. customize/customize_main.ml:79 +#. customize/customize_main.ml:77 #: sysprep/main.ml:126 get-kernel/get_kernel.ml:57 drivers/drivers.ml:50 msgid "Add disk image file" msgstr "" @@ -578,7 +578,7 @@ msgstr "" msgid "Ask the user about missing data" msgstr "" -#: customize/customize_main.ml:80 builder/cmdline.ml:130 +#: customize/customize_main.ml:78 builder/cmdline.ml:128 msgid "Attach data disk/ISO during install" msgstr "" @@ -644,7 +644,7 @@ msgstr "" msgid "Changing permissions of %s to %s" msgstr "" -#: builder/cmdline.ml:138 +#: builder/cmdline.ml:136 msgid "Check digital signatures" msgstr "" @@ -671,11 +671,11 @@ msgstr "" msgid "Compressed output format" msgstr "" -#: builder/builder.ml:710 +#: builder/builder.ml:709 msgid "Converting %s to %s" msgstr "" -#: builder/builder.ml:709 +#: builder/builder.ml:708 msgid "Converting to %s" msgstr "" @@ -694,7 +694,7 @@ msgstr "" msgid "Copy local files or directories into image" msgstr "" -#: builder/builder.ml:643 +#: builder/builder.ml:642 msgid "Copying" msgstr "" @@ -775,15 +775,15 @@ msgstr "" msgid "Delete partition" msgstr "" -#: builder/cmdline.ml:143 +#: builder/cmdline.ml:141 msgid "Delete the template cache" msgstr "" -#: customize/customize_run.ml:184 builder/builder.ml:139 +#: customize/customize_run.ml:184 builder/builder.ml:138 msgid "Deleting: %s" msgstr "" -#: customize/customize_main.ml:89 builder/cmdline.ml:158 +#: customize/customize_main.ml:87 builder/cmdline.ml:156 msgid "Disable appliance network" msgstr "" @@ -791,11 +791,11 @@ msgstr "" msgid "Disable appliance network (default)" msgstr "" -#: builder/cmdline.ml:140 +#: builder/cmdline.ml:138 msgid "Disable digital signatures" msgstr "" -#: builder/cmdline.ml:134 +#: builder/cmdline.ml:132 msgid "Disable template cache" msgstr "" @@ -807,7 +807,7 @@ msgstr "" msgid "Display brief help" msgstr "" -#: builder/cmdline.ml:159 +#: builder/cmdline.ml:157 msgid "Display installation notes" msgstr "" @@ -819,7 +819,7 @@ msgstr "" msgid "Display version and exit" msgstr "" -#: builder/cmdline.ml:166 +#: builder/cmdline.ml:164 msgid "Do not fsync output file on exit" msgstr "" @@ -828,7 +828,7 @@ msgstr "" msgid "Do not relabel files with correct SELinux labels" msgstr "" -#: builder/cmdline.ml:168 +#: builder/cmdline.ml:166 msgid "Do not warn if writing to a partition" msgstr "" @@ -844,7 +844,7 @@ msgstr "" msgid "Don’t create extra partition" msgstr "" -#: builder/cmdline.ml:145 +#: builder/cmdline.ml:143 msgid "Don’t delete output file on failure" msgstr "" @@ -864,7 +864,7 @@ msgstr "" msgid "Don’t turn off echo for passphrases" msgstr "" -#: builder/cmdline.ml:136 +#: builder/cmdline.ml:134 msgid "Download all templates to the cache" msgstr "" @@ -872,7 +872,7 @@ msgstr "" msgid "Download size:" msgstr "" -#: builder/builder.ml:315 builder/builder.ml:263 +#: builder/builder.ml:314 builder/builder.ml:262 msgid "Downloading: %s" msgstr "" @@ -889,7 +889,7 @@ msgstr "" msgid "Enable appliance network" msgstr "" -#: customize/customize_main.ml:88 builder/cmdline.ml:157 +#: customize/customize_main.ml:86 builder/cmdline.ml:155 msgid "Enable appliance network (default)" msgstr "" @@ -921,7 +921,7 @@ msgstr "" msgid "Examining %s" msgstr "" -#: sysprep/main.ml:213 customize/customize_main.ml:161 +#: sysprep/main.ml:213 customize/customize_main.ml:159 msgid "Examining the guest ..." msgstr "" @@ -1002,7 +1002,7 @@ msgstr "" msgid "Fill free space in volgroup %s with zero" msgstr "" -#: builder/cmdline.ml:147 +#: builder/cmdline.ml:145 msgid "Fingerprint of valid signing key" msgstr "" @@ -1010,7 +1010,7 @@ msgstr "" msgid "Fingerprint: %s\n" msgstr "" -#: customize/customize_main.ml:208 builder/builder.ml:797 +#: customize/customize_main.ml:206 builder/builder.ml:796 msgid "Finishing off" msgstr "" @@ -1061,7 +1061,7 @@ msgstr "" msgid "Found new images: %s" msgstr "" -#: builder/builder.ml:787 +#: builder/builder.ml:786 msgid "Free space" msgstr "" @@ -1090,7 +1090,7 @@ msgid "" "- Check no one has tampered with the website or your network!" msgstr "" -#: builder/cmdline.ml:150 +#: builder/cmdline.ml:148 msgid "Get kernel from image" msgstr "" @@ -1171,7 +1171,7 @@ msgstr "" msgid "Linking: %s -> %s" msgstr "" -#: builder/cmdline.ml:152 +#: builder/cmdline.ml:150 msgid "List available templates" msgstr "" @@ -1271,7 +1271,7 @@ msgid "" "building rhsrvany (https://github.com/rwmjones/rhsrvany)" msgstr "" -#: builder/builder.ml:722 +#: builder/builder.ml:721 msgid "Opening the new disk" msgstr "" @@ -1279,19 +1279,19 @@ msgstr "" msgid "Output directory" msgstr "" -#: builder/builder.ml:782 +#: builder/builder.ml:781 msgid "Output file" msgstr "" -#: builder/builder.ml:784 +#: builder/builder.ml:783 msgid "Output format" msgstr "" -#: builder/cmdline.ml:148 +#: builder/cmdline.ml:146 msgid "Output format (default: raw)" msgstr "" -#: builder/builder.ml:783 +#: builder/builder.ml:782 msgid "Output size" msgstr "" @@ -1322,7 +1322,7 @@ msgstr "" msgid "POD notes for %s must not end with newline" msgstr "" -#: sysprep/main.ml:129 customize/customize_main.ml:85 +#: sysprep/main.ml:129 customize/customize_main.ml:83 msgid "Perform a dry run" msgstr "" @@ -1330,7 +1330,7 @@ msgstr "" msgid "Performing %S ..." msgstr "" -#: builder/builder.ml:578 +#: builder/builder.ml:577 msgid "Planning how to build this image" msgstr "" @@ -1342,7 +1342,7 @@ msgstr "" msgid "Preparing %s" msgstr "" -#: builder/cmdline.ml:162 +#: builder/cmdline.ml:160 msgid "Print info about template cache" msgstr "" @@ -1596,11 +1596,11 @@ msgstr "" msgid "Resize partition" msgstr "" -#: builder/builder.ml:668 +#: builder/builder.ml:667 msgid "Resizing (using virt-resize) to expand the disk to %s" msgstr "" -#: builder/builder.ml:695 +#: builder/builder.ml:694 msgid "Resizing container (but not filesystems) to expand the disk to %s" msgstr "" @@ -1706,15 +1706,15 @@ msgstr "" msgid "Scrubbing: %s" msgstr "" -#: builder/repository_main.ml:52 builder/cmdline.ml:151 +#: builder/repository_main.ml:52 builder/cmdline.ml:149 msgid "Set GPG binary/command" msgstr "" -#: customize/customize_main.ml:82 builder/cmdline.ml:132 +#: customize/customize_main.ml:80 builder/cmdline.ml:130 msgid "Set attach disk format" msgstr "" -#: builder/cmdline.ml:141 +#: builder/cmdline.ml:139 msgid "Set curl binary/command" msgstr "" @@ -1722,21 +1722,21 @@ msgstr "" msgid "Set disk sector size" msgstr "" -#: sysprep/main.ml:133 customize/customize_main.ml:86 +#: sysprep/main.ml:133 customize/customize_main.ml:84 msgid "Set format (default: auto)" msgstr "" -#. customize/customize_main.ml:83 +#. customize/customize_main.ml:81 #: sysprep/main.ml:127 get-kernel/get_kernel.ml:59 drivers/drivers.ml:52 msgid "Set libvirt URI" msgstr "" -#. customize/customize_main.ml:84 +#. customize/customize_main.ml:82 #: sysprep/main.ml:128 get-kernel/get_kernel.ml:60 drivers/drivers.ml:53 msgid "Set libvirt guest name" msgstr "" -#: customize/customize_main.ml:87 builder/cmdline.ml:156 +#: customize/customize_main.ml:85 builder/cmdline.ml:154 msgid "Set memory size" msgstr "" @@ -1744,15 +1744,15 @@ msgstr "" msgid "Set mount options (eg /:noatime;/var:rw,noatime)" msgstr "" -#: customize/customize_main.ml:90 builder/cmdline.ml:164 +#: customize/customize_main.ml:88 builder/cmdline.ml:162 msgid "Set number of vCPUs" msgstr "" -#: builder/cmdline.ml:163 +#: builder/cmdline.ml:161 msgid "Set output disk size" msgstr "" -#: builder/cmdline.ml:160 +#: builder/cmdline.ml:158 msgid "Set output filename" msgstr "" @@ -1774,11 +1774,11 @@ msgstr "" msgid "Set root password" msgstr "" -#: builder/cmdline.ml:165 +#: builder/cmdline.ml:163 msgid "Set source URL" msgstr "" -#: builder/cmdline.ml:133 +#: builder/cmdline.ml:131 msgid "Set template cache dir" msgstr "" @@ -1791,7 +1791,7 @@ msgstr "" msgid "Set the default timezone" msgstr "" -#: builder/cmdline.ml:155 +#: builder/cmdline.ml:153 msgid "Set the format for --list (default: short)" msgstr "" @@ -1800,7 +1800,7 @@ msgstr "" msgid "Set the hostname" msgstr "" -#: builder/cmdline.ml:129 +#: builder/cmdline.ml:127 msgid "Set the output architecture" msgstr "" @@ -1837,7 +1837,7 @@ msgstr "" msgid "Setting up initial partition table on %s" msgstr "" -#: builder/cmdline.ml:153 +#: builder/cmdline.ml:151 msgid "Shortcut for --list-format long" msgstr "" @@ -2013,7 +2013,7 @@ msgid "" "This option can be specified multiple times." msgstr "" -#: builder/builder.ml:287 +#: builder/builder.ml:286 msgid "There are no notes for %s\n" msgstr "" @@ -2063,7 +2063,7 @@ msgstr "" msgid "This removes temporary files under C and C." msgstr "" -#: builder/builder.ml:785 +#: builder/builder.ml:784 msgid "Total usable space" msgstr "" @@ -2103,7 +2103,7 @@ msgstr "" msgid "UUID in swap partition %s changed from ‘%s’ to ‘%s’" msgstr "" -#: builder/builder.ml:656 +#: builder/builder.ml:655 msgid "Uncompressing" msgstr "" @@ -2222,7 +2222,7 @@ msgstr "" msgid "btrfs-filesystem-resize" msgstr "" -#: builder/builder.ml:182 +#: builder/builder.ml:181 msgid "cache %s: %s" msgstr "" @@ -2238,7 +2238,7 @@ msgstr "" msgid "cannot detect input disk format; use the --format parameter" msgstr "" -#: builder/builder.ml:100 +#: builder/builder.ml:99 msgid "" "cannot find os-version ‘%s’ with architecture ‘%s’.\n" "Use --list to list available guest types." @@ -2251,7 +2251,7 @@ msgid "" "at boot." msgstr "" -#: builder/builder.ml:387 +#: builder/builder.ml:386 msgid "cannot output to a character device or /dev/null" msgstr "" @@ -2300,7 +2300,7 @@ msgstr "" msgid "could not find bootloader mount point (%s): %s" msgstr "" -#: builder/builder.ml:143 +#: builder/builder.ml:142 msgid "could not find cache directory. Is $HOME set?" msgstr "" @@ -2339,7 +2339,7 @@ msgstr "" msgid "cp (download) command failed copying ‘%s’" msgstr "" -#: builder/builder.ml:168 +#: builder/builder.ml:167 msgid "curl is not installed (or does not work)" msgstr "" @@ -2367,7 +2367,7 @@ msgstr "" msgid "directory" msgstr "" -#: builder/builder.ml:183 +#: builder/builder.ml:182 msgid "disabling the cache" msgstr "" @@ -2379,7 +2379,7 @@ msgstr "" msgid "discard/trim is not supported" msgstr "" -#. customize/customize_main.ml:84 +#. customize/customize_main.ml:82 #: sysprep/main.ml:128 get-kernel/get_kernel.ml:60 drivers/drivers.ml:53 msgid "domain" msgstr "" @@ -2416,7 +2416,7 @@ msgstr "" msgid "empty --shrink option" msgstr "" -#. customize/customize_main.ml:67 +#. customize/customize_main.ml:65 #. builder/downloader.ml:72 #: get-kernel/get_kernel.ml:44 drivers/drivers.ml:40 msgid "error parsing URI '%s'. Look for error messages printed above." @@ -2468,7 +2468,7 @@ msgstr "" msgid "failure: %s" msgstr "" -#. customize/customize_main.ml:79 +#. customize/customize_main.ml:77 #: sysprep/main.ml:126 get-kernel/get_kernel.ml:57 drivers/drivers.ml:50 msgid "file" msgstr "" @@ -2494,7 +2494,7 @@ msgstr "" #. resize/resize.ml:205 #. get-kernel/get_kernel.ml:61 #. drivers/drivers.ml:54 -#. customize/customize_main.ml:86 +#. customize/customize_main.ml:84 #: sysprep/main.ml:133 sparsify/cmdline.ml:71 sparsify/cmdline.ml:70 msgid "format" msgstr "" @@ -2548,13 +2548,13 @@ msgstr "" msgid "ignoring kernel %s in bootloader, as it does not exist." msgstr "" -#: builder/builder.ml:412 +#: builder/builder.ml:411 msgid "" "images cannot be shrunk, the output size is too small for this image. " "Requested size = %s, minimum size = %s" msgstr "" -#: builder/builder.ml:372 +#: builder/builder.ml:371 msgid "input file (%s) has an unsupported type" msgstr "" @@ -2677,7 +2677,7 @@ msgstr "" msgid "never|always|auto" msgstr "" -#: builder/builder.ml:156 +#: builder/builder.ml:155 msgid "" "no GNU Privacy Guard (GnuPG, gpg) binary was found.\n" "\n" @@ -2692,15 +2692,15 @@ msgstr "" msgid "no bootloader detected" msgstr "" -#: builder/builder.ml:257 +#: builder/builder.ml:256 msgid "no cache directory" msgstr "" -#: builder/builder.ml:250 +#: builder/builder.ml:249 msgid "no cache directory\n" msgstr "" -#: builder/builder.ml:750 +#: builder/builder.ml:749 msgid "" "no guest operating systems or multiboot OS found in this disk image\n" "This is a failure of the source repository. Use -v for more information." @@ -2733,11 +2733,11 @@ msgstr "" msgid "no operating system found" msgstr "" -#: sysprep/main.ml:230 customize/customize_main.ml:192 +#: sysprep/main.ml:230 customize/customize_main.ml:190 msgid "no operating systems were found in the guest image" msgstr "" -#: builder/builder.ml:583 +#: builder/builder.ml:582 msgid "" "no plan could be found for making a disk image with\n" "the required size, format etc. This is a bug in libguestfs!\n" @@ -2784,7 +2784,7 @@ msgstr "" msgid "osinfo short ID: " msgstr "" -#: builder/builder.ml:301 +#: builder/builder.ml:300 msgid "" "output device (%s) is a partition. If you are writing to a USB key or " "external drive then you probably need to write to the whole device, not to a " @@ -2792,7 +2792,7 @@ msgid "" "if-partition" msgstr "" -#: builder/builder.ml:417 +#: builder/builder.ml:416 msgid "" "output size is too large for this block device. Requested size = %s, output " "block device = %s, output block device size = %s" @@ -2931,7 +2931,7 @@ msgid "" "options instead (described in the virt-customize(1) manual)." msgstr "" -#: builder/cmdline.ml:306 +#: builder/cmdline.ml:304 msgid "source and fingerprint lists are not the same length" msgstr "" @@ -3050,11 +3050,11 @@ msgstr "" msgid "timezone could not be set for this type of guest" msgstr "" -#: builder/cmdline.ml:252 +#: builder/cmdline.ml:250 msgid "too many parameters, at most one ‘os-version’ is allowed for --list" msgstr "" -#: builder/cmdline.ml:243 +#: builder/cmdline.ml:241 msgid "too many parameters, expecting ‘os-version’" msgstr "" @@ -3093,7 +3093,7 @@ msgstr "" msgid "updating the system CA store on this guest %s/%s is not supported" msgstr "" -#. customize/customize_main.ml:83 +#. customize/customize_main.ml:81 #: sysprep/main.ml:127 get-kernel/get_kernel.ml:59 drivers/drivers.ml:52 msgid "uri" msgstr "" @@ -3127,19 +3127,19 @@ msgstr "" msgid "users" msgstr "" -#: builder/cmdline.ml:277 +#: builder/cmdline.ml:275 msgid "" "virt-builder --get-kernel image\n" "Missing ‘image’ (disk image file) argument" msgstr "" -#: builder/cmdline.ml:259 +#: builder/cmdline.ml:257 msgid "" "virt-builder --notes os-version\n" "Missing ‘os-version’. Use ‘--list’ to list available template names." msgstr "" -#: builder/cmdline.ml:240 +#: builder/cmdline.ml:238 msgid "" "virt-builder os-version\n" "Missing ‘os-version’. Use ‘--list’ to list available template names." @@ -3158,7 +3158,7 @@ msgid "" "Use ‘/path/to/repo’ to point to the repository folder." msgstr "" -#: builder/builder.ml:173 +#: builder/builder.ml:172 msgid "virt-resize is not installed (or does not work)" msgstr "" @@ -3184,7 +3184,7 @@ msgid "" "for further information." msgstr "" -#: customize/customize_main.ml:137 +#: customize/customize_main.ml:135 msgid "" "you cannot give -a and -d options together. Read virt-customize(1) man page " "for further information." @@ -3240,7 +3240,7 @@ msgid "" "further information." msgstr "" -#: customize/customize_main.ml:125 +#: customize/customize_main.ml:123 msgid "" "you must give either -a or -d options. Read virt-customize(1) man page for " "further information." @@ -3953,12 +3953,12 @@ msgid "" "format=%s'.\n" msgstr "" -#: diff/diff.c:787 +#: diff/diff.c:802 #, c-format msgid "%s: external diff command failed\n" msgstr "" -#: diff/diff.c:791 +#: diff/diff.c:806 msgid "End of diff" msgstr "" diff --git a/resize/Makefile.in b/resize/Makefile.in index 730acec..4efc729 100644 --- a/resize/Makefile.in +++ b/resize/Makefile.in @@ -594,6 +594,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -697,7 +699,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am index 5fb0461..ae922d1 100644 --- a/sparsify/Makefile.am +++ b/sparsify/Makefile.am @@ -22,7 +22,6 @@ EXTRA_DIST = \ test-virt-sparsify.sh \ test-virt-sparsify-docs.sh \ test-virt-sparsify-in-place.sh \ - test-virt-sparsify-in-place-fstrim-unsupported.sh \ virt-sparsify.pod SOURCES_MLI = \ @@ -141,8 +140,7 @@ TESTS_ENVIRONMENT = $(top_builddir)/run --test TESTS = \ test-virt-sparsify-docs.sh \ test-virt-sparsify.sh \ - test-virt-sparsify-in-place.sh \ - test-virt-sparsify-in-place-fstrim-unsupported.sh + test-virt-sparsify-in-place.sh check-valgrind: $(MAKE) VG="@VG@" check diff --git a/sparsify/Makefile.in b/sparsify/Makefile.in index fccf653..1534030 100644 --- a/sparsify/Makefile.in +++ b/sparsify/Makefile.in @@ -594,6 +594,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -697,7 +699,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt @@ -731,7 +733,6 @@ EXTRA_DIST = \ test-virt-sparsify.sh \ test-virt-sparsify-docs.sh \ test-virt-sparsify-in-place.sh \ - test-virt-sparsify-in-place-fstrim-unsupported.sh \ virt-sparsify.pod SOURCES_MLI = \ @@ -823,8 +824,7 @@ SOURCES_C = \ @HAVE_OCAML_TRUE@TESTS = \ @HAVE_OCAML_TRUE@ test-virt-sparsify-docs.sh \ @HAVE_OCAML_TRUE@ test-virt-sparsify.sh \ -@HAVE_OCAML_TRUE@ test-virt-sparsify-in-place.sh \ -@HAVE_OCAML_TRUE@ test-virt-sparsify-in-place-fstrim-unsupported.sh +@HAVE_OCAML_TRUE@ test-virt-sparsify-in-place.sh all: all-am @@ -1229,13 +1229,6 @@ test-virt-sparsify-in-place.sh.log: test-virt-sparsify-in-place.sh --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) -test-virt-sparsify-in-place-fstrim-unsupported.sh.log: test-virt-sparsify-in-place-fstrim-unsupported.sh - @p='test-virt-sparsify-in-place-fstrim-unsupported.sh'; \ - b='test-virt-sparsify-in-place-fstrim-unsupported.sh'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ diff --git a/sparsify/test-virt-sparsify-in-place-fstrim-unsupported.sh b/sparsify/test-virt-sparsify-in-place-fstrim-unsupported.sh deleted file mode 100755 index 91e87dd..0000000 --- a/sparsify/test-virt-sparsify-in-place-fstrim-unsupported.sh +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/bash - -# libguestfs virt-sparsify --in-place test script -# Copyright (C) 2011-2023 Red Hat Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# Test that we do the right thing for filesystems where the fstrim -# operation is not supported. -# -# https://bugzilla.redhat.com/show_bug.cgi?id=1364347 -# -# This test assumes that the kernel minix driver does not support -# fstrim. It might become supported in a future kernel version in -# which case we could use a different filesystem for this test, or -# delete the test if we are confident that all common filesystems are -# supported. - -set -e -set -x - -$TEST_FUNCTIONS -skip_if_skipped -skip_unless_filesystem_available minix - -img=test-virt-sparsify-in-place-fstrim-unsupported.img -log=test-virt-sparsify-in-place-fstrim-unsupported.log -rm -f $img $log - -# Create a test filesystem with a single minix filesystem. -guestfish -N $img=fs:minix exit - -# This should warn. -virt-sparsify --in-place $img |& tee $log - -# Check the warning was emitted. -grep "warning:.*fstrim" $log - -# This should ignore the filesystem and not warn. -virt-sparsify --in-place --ignore /dev/sda1 $img |& tee $log - -if grep "warning:.*fstrim.*not supported" $log; then - echo "$0: filesystem /dev/sda1 was not ignored" - exit 1 -fi - -# Create a test filesystem with minix and ext4 filesystems. -guestfish -N $img=bootroot:minix:ext4 exit - -# This should warn. -virt-sparsify --in-place $img |& tee $log - -# Check the warning was emitted. -grep "warning:.*fstrim" $log - -# This should ignore the filesystem and not warn. -virt-sparsify --in-place --ignore /dev/sda1 $img |& tee $log - -if grep "warning:.*fstrim.*not supported" $log; then - echo "$0: filesystem /dev/sda1 was not ignored" - exit 1 -fi - -rm $img $log diff --git a/subdir-rules.mk b/subdir-rules.mk index 6bd62b6..051dc9d 100644 --- a/subdir-rules.mk +++ b/subdir-rules.mk @@ -49,7 +49,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver if !HAVE_OCAMLOPT MLARCHIVE = cma -LINK_CUSTOM_OCAMLC_ONLY = -custom +LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe BEST = c else MLARCHIVE = cmxa diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index 4b29d4e..4b1c23c 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -179,7 +179,7 @@ virt_sysprep_LINK = \ $(OBJECTS) -o $@ # The sysprep_operation_*.mli files are all empty and autogenerated. -CLEANFILES += \ +DISTCLEANFILES += \ $(patsubst %,sysprep_operation_%.mli,$(operations)) sysprep_operation_%.mli: diff --git a/sysprep/Makefile.in b/sysprep/Makefile.in index 9d48b67..c9ca9ca 100644 --- a/sysprep/Makefile.in +++ b/sysprep/Makefile.in @@ -599,6 +599,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -686,10 +688,10 @@ top_srcdir = @top_srcdir@ # Bindtests temporary files used in many language bindings. CLEANFILES = *~ *.bak *.orig *.rej *.cmi *.cmo *.cma *.cmx *.cmxa \ dll*.so *.a *.annot oUnit-*.cache oUnit-*.log *.1 *.3 *.5 *.8 \ - stamp-*.pod bindtests.tmp $(am__append_2) + stamp-*.pod bindtests.tmp # Files that should be universally removed by 'make distclean'. -DISTCLEANFILES = .depend stamp-* +DISTCLEANFILES = .depend stamp-* $(am__append_2) # Special suffixes used by OCaml. @@ -702,7 +704,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/sysprep/virt-sysprep.pod b/sysprep/virt-sysprep.pod index 0bcdc4d..b48ac55 100644 --- a/sysprep/virt-sysprep.pod +++ b/sysprep/virt-sysprep.pod @@ -30,10 +30,8 @@ disk image to be writable as the non-root user running virt-sysprep. "Sysprep" stands for "system preparation" tool. The name comes from the Microsoft program F which is used to unconfigure -Windows machines in preparation for cloning them. Having said that, -virt-sysprep does I currently work on Microsoft Windows guests. -We plan to support Windows sysprepping in a future version, and we -already have code to do it. +Windows machines in preparation for cloning them. (Virt-sysprep does +not work on Microsoft Windows guests.) =head1 OPTIONS diff --git a/test-data/Makefile.am b/test-data/Makefile.am index 4910c50..bbac445 100644 --- a/test-data/Makefile.am +++ b/test-data/Makefile.am @@ -20,82 +20,4 @@ include $(top_srcdir)/subdir-rules.mk SUBDIRS = binaries SUBDIRS += blank-disks SUBDIRS += phony-guests -SUBDIRS += files SUBDIRS += . - -# Build an ISO containing various files from the subdirectories, which -# is used by tests/c-api and a few guestfish tests and regression -# tests. - -image_files = \ - $(srcdir)/binaries/bin-aarch64-dynamic \ - $(srcdir)/binaries/bin-armv7-dynamic \ - $(srcdir)/binaries/bin-i586-dynamic \ - $(srcdir)/binaries/bin-ia64-dynamic \ - $(srcdir)/binaries/bin-mipsel-dynamic \ - $(srcdir)/binaries/bin-ppc64-dynamic \ - $(srcdir)/binaries/bin-ppc64le-dynamic \ - $(srcdir)/binaries/bin-riscv64-dynamic \ - $(srcdir)/binaries/bin-s390x-dynamic \ - $(srcdir)/binaries/bin-sparc-dynamic \ - $(srcdir)/binaries/bin-win32.exe \ - $(srcdir)/binaries/bin-win64.exe \ - $(srcdir)/binaries/bin-x86_64-dynamic \ - $(srcdir)/binaries/lib-aarch64.so \ - $(srcdir)/binaries/lib-armv7.so \ - $(srcdir)/binaries/lib-i586.so \ - $(srcdir)/binaries/lib-ia64.so \ - $(srcdir)/binaries/lib-mipsel.so \ - $(srcdir)/binaries/lib-ppc64.so \ - $(srcdir)/binaries/lib-ppc64le.so \ - $(srcdir)/binaries/lib-riscv64.so \ - $(srcdir)/binaries/lib-s390x.so \ - $(srcdir)/binaries/lib-sparc.so \ - $(srcdir)/binaries/lib-win32.dll \ - $(srcdir)/binaries/lib-win64.dll \ - $(srcdir)/binaries/lib-x86_64.so \ - $(srcdir)/files/helloworld.tar \ - $(srcdir)/files/helloworld.tar.gz \ - $(srcdir)/files/helloworld.tar.xz \ - $(srcdir)/files/empty \ - $(srcdir)/files/known-1 \ - $(srcdir)/files/known-2 \ - $(srcdir)/files/known-3 \ - $(srcdir)/files/known-4 \ - $(srcdir)/files/known-5 \ - $(srcdir)/files/test-grep.txt \ - $(srcdir)/files/minimal \ - blank-disks/blank-disk-1s.raw \ - blank-disks/blank-disk-1s.qcow2 \ - blank-disks/blank-disk-1K.raw \ - blank-disks/blank-disk-1K.qcow2 \ - blank-disks/blank-disk-1M.raw \ - blank-disks/blank-disk-1M.qcow2 \ - blank-disks/blank-disk-with-backing.qcow2 \ - files/100kallzeroes \ - files/100kallnewlines \ - files/100kallspaces \ - files/100krandom \ - files/10klines \ - files/bin-x86_64-dynamic.gz \ - files/hello.b64 \ - files/initrd \ - files/initrd-x86_64.img \ - files/initrd-x86_64.img.gz \ - files/lib-i586.so.xz \ - files/test-grep.txt.gz - -noinst_DATA = test.iso - -CLEANFILES += test.iso - -test.iso: $(images_files) - rm -rf d - rm -f $@ $@-t - mkdir d - cp $(image_files) d/ - mkdir -p d/directory - cd d && ln -sf /10klines abssymlink - cd d && $(MKISOFS) -J -r -o ../$@-t . - rm -rf d - mv $@-t $@ diff --git a/test-data/Makefile.in b/test-data/Makefile.in index f9e1d45..227fc65 100644 --- a/test-data/Makefile.in +++ b/test-data/Makefile.in @@ -69,7 +69,6 @@ # 'common-rules.mk' should be included in every Makefile.am. # cf. 'subdir-rules.mk' - VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ @@ -192,7 +191,6 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -DATA = $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ @@ -390,6 +388,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -477,7 +477,7 @@ top_srcdir = @top_srcdir@ # Bindtests temporary files used in many language bindings. CLEANFILES = *~ *.bak *.orig *.rej *.cmi *.cmo *.cma *.cmx *.cmxa \ dll*.so *.a *.annot oUnit-*.cache oUnit-*.log *.1 *.3 *.5 *.8 \ - stamp-*.pod bindtests.tmp test.iso + stamp-*.pod bindtests.tmp # Files that should be universally removed by 'make distclean'. DISTCLEANFILES = .depend stamp-* @@ -493,7 +493,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt @@ -522,70 +522,7 @@ guestfs_am_v_jar_0 = @echo " JAR " $@; guestfs_am_v_po4a_translate = $(guestfs_am_v_po4a_translate_@AM_V@) guestfs_am_v_po4a_translate_ = $(guestfs_am_v_po4a_translate_@AM_DEFAULT_V@) guestfs_am_v_po4a_translate_0 = @echo " PO4A-T " $@; -SUBDIRS = binaries blank-disks phony-guests files . - -# Build an ISO containing various files from the subdirectories, which -# is used by tests/c-api and a few guestfish tests and regression -# tests. -image_files = \ - $(srcdir)/binaries/bin-aarch64-dynamic \ - $(srcdir)/binaries/bin-armv7-dynamic \ - $(srcdir)/binaries/bin-i586-dynamic \ - $(srcdir)/binaries/bin-ia64-dynamic \ - $(srcdir)/binaries/bin-mipsel-dynamic \ - $(srcdir)/binaries/bin-ppc64-dynamic \ - $(srcdir)/binaries/bin-ppc64le-dynamic \ - $(srcdir)/binaries/bin-riscv64-dynamic \ - $(srcdir)/binaries/bin-s390x-dynamic \ - $(srcdir)/binaries/bin-sparc-dynamic \ - $(srcdir)/binaries/bin-win32.exe \ - $(srcdir)/binaries/bin-win64.exe \ - $(srcdir)/binaries/bin-x86_64-dynamic \ - $(srcdir)/binaries/lib-aarch64.so \ - $(srcdir)/binaries/lib-armv7.so \ - $(srcdir)/binaries/lib-i586.so \ - $(srcdir)/binaries/lib-ia64.so \ - $(srcdir)/binaries/lib-mipsel.so \ - $(srcdir)/binaries/lib-ppc64.so \ - $(srcdir)/binaries/lib-ppc64le.so \ - $(srcdir)/binaries/lib-riscv64.so \ - $(srcdir)/binaries/lib-s390x.so \ - $(srcdir)/binaries/lib-sparc.so \ - $(srcdir)/binaries/lib-win32.dll \ - $(srcdir)/binaries/lib-win64.dll \ - $(srcdir)/binaries/lib-x86_64.so \ - $(srcdir)/files/helloworld.tar \ - $(srcdir)/files/helloworld.tar.gz \ - $(srcdir)/files/helloworld.tar.xz \ - $(srcdir)/files/empty \ - $(srcdir)/files/known-1 \ - $(srcdir)/files/known-2 \ - $(srcdir)/files/known-3 \ - $(srcdir)/files/known-4 \ - $(srcdir)/files/known-5 \ - $(srcdir)/files/test-grep.txt \ - $(srcdir)/files/minimal \ - blank-disks/blank-disk-1s.raw \ - blank-disks/blank-disk-1s.qcow2 \ - blank-disks/blank-disk-1K.raw \ - blank-disks/blank-disk-1K.qcow2 \ - blank-disks/blank-disk-1M.raw \ - blank-disks/blank-disk-1M.qcow2 \ - blank-disks/blank-disk-with-backing.qcow2 \ - files/100kallzeroes \ - files/100kallnewlines \ - files/100kallspaces \ - files/100krandom \ - files/10klines \ - files/bin-x86_64-dynamic.gz \ - files/hello.b64 \ - files/initrd \ - files/initrd-x86_64.img \ - files/initrd-x86_64.img.gz \ - files/lib-i586.so.xz \ - files/test-grep.txt.gz - -noinst_DATA = test.iso +SUBDIRS = binaries blank-disks phony-guests . all: all-recursive .SUFFIXES: @@ -785,7 +722,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-recursive -all-am: Makefile $(DATA) +all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive @@ -955,17 +892,6 @@ export TEST_FUNCTIONS := \ abs_top_srcdir="$(abs_top_srcdir)" \ abs_top_builddir="$(abs_top_builddir)" -test.iso: $(images_files) - rm -rf d - rm -f $@ $@-t - mkdir d - cp $(image_files) d/ - mkdir -p d/directory - cd d && ln -sf /10klines abssymlink - cd d && $(MKISOFS) -J -r -o ../$@-t . - rm -rf d - mv $@-t $@ - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/test-data/binaries/Makefile.am b/test-data/binaries/Makefile.am index 3e5cec8..60d3925 100644 --- a/test-data/binaries/Makefile.am +++ b/test-data/binaries/Makefile.am @@ -19,29 +19,5 @@ include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ README \ - bin-aarch64-dynamic \ - bin-armv7-dynamic \ - bin-i586-dynamic \ - bin-ia64-dynamic \ - bin-mipsel-dynamic \ - bin-ppc64-dynamic \ - bin-ppc64le-dynamic \ - bin-riscv64-dynamic \ - bin-s390x-dynamic \ - bin-sparc-dynamic \ bin-win32.exe \ - bin-win64.exe \ - bin-x86_64-dynamic \ - lib-aarch64.so \ - lib-armv7.so \ - lib-i586.so \ - lib-ia64.so \ - lib-ppc64.so \ - lib-ppc64le.so \ - lib-mipsel.so \ - lib-riscv64.so \ - lib-s390x.so \ - lib-sparc.so \ - lib-win32.dll \ - lib-win64.dll \ - lib-x86_64.so + bin-x86_64-dynamic diff --git a/test-data/binaries/Makefile.in b/test-data/binaries/Makefile.in index 2884a1a..f445aeb 100644 --- a/test-data/binaries/Makefile.in +++ b/test-data/binaries/Makefile.in @@ -330,6 +330,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -433,7 +435,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt @@ -464,32 +466,8 @@ guestfs_am_v_po4a_translate_ = $(guestfs_am_v_po4a_translate_@AM_DEFAULT_V@) guestfs_am_v_po4a_translate_0 = @echo " PO4A-T " $@; EXTRA_DIST = \ README \ - bin-aarch64-dynamic \ - bin-armv7-dynamic \ - bin-i586-dynamic \ - bin-ia64-dynamic \ - bin-mipsel-dynamic \ - bin-ppc64-dynamic \ - bin-ppc64le-dynamic \ - bin-riscv64-dynamic \ - bin-s390x-dynamic \ - bin-sparc-dynamic \ bin-win32.exe \ - bin-win64.exe \ - bin-x86_64-dynamic \ - lib-aarch64.so \ - lib-armv7.so \ - lib-i586.so \ - lib-ia64.so \ - lib-ppc64.so \ - lib-ppc64le.so \ - lib-mipsel.so \ - lib-riscv64.so \ - lib-s390x.so \ - lib-sparc.so \ - lib-win32.dll \ - lib-win64.dll \ - lib-x86_64.so + bin-x86_64-dynamic all: all-am diff --git a/test-data/binaries/README b/test-data/binaries/README index 62dab72..4e0dc0f 100644 --- a/test-data/binaries/README +++ b/test-data/binaries/README @@ -1,5 +1,5 @@ -The bin-* and lib-* files are used for testing the -guestfs_file_architecture API. +The bin-* and lib-* files are used for building phony guest images +(see test-data/phony-guests). The bin-* files are generated from empty source files (ie. "main(){}") on the respective architectures. diff --git a/test-data/binaries/bin-aarch64-dynamic b/test-data/binaries/bin-aarch64-dynamic deleted file mode 100755 index 2693cdb..0000000 Binary files a/test-data/binaries/bin-aarch64-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-armv7-dynamic b/test-data/binaries/bin-armv7-dynamic deleted file mode 100755 index 5ab3dbf..0000000 Binary files a/test-data/binaries/bin-armv7-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-i586-dynamic b/test-data/binaries/bin-i586-dynamic deleted file mode 100755 index 4f77063..0000000 Binary files a/test-data/binaries/bin-i586-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-ia64-dynamic b/test-data/binaries/bin-ia64-dynamic deleted file mode 100755 index 51113bd..0000000 Binary files a/test-data/binaries/bin-ia64-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-mipsel-dynamic b/test-data/binaries/bin-mipsel-dynamic deleted file mode 100755 index a962276..0000000 Binary files a/test-data/binaries/bin-mipsel-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-ppc64-dynamic b/test-data/binaries/bin-ppc64-dynamic deleted file mode 100755 index 2ff08c1..0000000 Binary files a/test-data/binaries/bin-ppc64-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-ppc64le-dynamic b/test-data/binaries/bin-ppc64le-dynamic deleted file mode 100755 index 24472ee..0000000 Binary files a/test-data/binaries/bin-ppc64le-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-riscv64-dynamic b/test-data/binaries/bin-riscv64-dynamic deleted file mode 100755 index a8b4baa..0000000 Binary files a/test-data/binaries/bin-riscv64-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-s390x-dynamic b/test-data/binaries/bin-s390x-dynamic deleted file mode 100755 index 43d3b3d..0000000 Binary files a/test-data/binaries/bin-s390x-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-sparc-dynamic b/test-data/binaries/bin-sparc-dynamic deleted file mode 100755 index 138839a..0000000 Binary files a/test-data/binaries/bin-sparc-dynamic and /dev/null differ diff --git a/test-data/binaries/bin-win32.exe b/test-data/binaries/bin-win32.exe old mode 100755 new mode 100644 diff --git a/test-data/binaries/bin-win64.exe b/test-data/binaries/bin-win64.exe deleted file mode 100755 index 98bddc0..0000000 Binary files a/test-data/binaries/bin-win64.exe and /dev/null differ diff --git a/test-data/binaries/bin-x86_64-dynamic b/test-data/binaries/bin-x86_64-dynamic old mode 100755 new mode 100644 diff --git a/test-data/binaries/lib-aarch64.so b/test-data/binaries/lib-aarch64.so deleted file mode 100755 index eb813dd..0000000 Binary files a/test-data/binaries/lib-aarch64.so and /dev/null differ diff --git a/test-data/binaries/lib-armv7.so b/test-data/binaries/lib-armv7.so deleted file mode 100755 index 5d88a8a..0000000 Binary files a/test-data/binaries/lib-armv7.so and /dev/null differ diff --git a/test-data/binaries/lib-i586.so b/test-data/binaries/lib-i586.so deleted file mode 100755 index e82023a..0000000 Binary files a/test-data/binaries/lib-i586.so and /dev/null differ diff --git a/test-data/binaries/lib-ia64.so b/test-data/binaries/lib-ia64.so deleted file mode 100755 index 7c244b2..0000000 Binary files a/test-data/binaries/lib-ia64.so and /dev/null differ diff --git a/test-data/binaries/lib-mipsel.so b/test-data/binaries/lib-mipsel.so deleted file mode 100755 index e94aae7..0000000 Binary files a/test-data/binaries/lib-mipsel.so and /dev/null differ diff --git a/test-data/binaries/lib-ppc64.so b/test-data/binaries/lib-ppc64.so deleted file mode 100755 index 7eb8f32..0000000 Binary files a/test-data/binaries/lib-ppc64.so and /dev/null differ diff --git a/test-data/binaries/lib-ppc64le.so b/test-data/binaries/lib-ppc64le.so deleted file mode 100755 index dde4fe9..0000000 Binary files a/test-data/binaries/lib-ppc64le.so and /dev/null differ diff --git a/test-data/binaries/lib-riscv64.so b/test-data/binaries/lib-riscv64.so deleted file mode 100755 index 764965c..0000000 Binary files a/test-data/binaries/lib-riscv64.so and /dev/null differ diff --git a/test-data/binaries/lib-s390x.so b/test-data/binaries/lib-s390x.so deleted file mode 100755 index 387b56d..0000000 Binary files a/test-data/binaries/lib-s390x.so and /dev/null differ diff --git a/test-data/binaries/lib-sparc.so b/test-data/binaries/lib-sparc.so deleted file mode 100755 index 7feec75..0000000 Binary files a/test-data/binaries/lib-sparc.so and /dev/null differ diff --git a/test-data/binaries/lib-win32.dll b/test-data/binaries/lib-win32.dll deleted file mode 100755 index e1a2d2e..0000000 Binary files a/test-data/binaries/lib-win32.dll and /dev/null differ diff --git a/test-data/binaries/lib-win64.dll b/test-data/binaries/lib-win64.dll deleted file mode 100755 index ca94485..0000000 Binary files a/test-data/binaries/lib-win64.dll and /dev/null differ diff --git a/test-data/binaries/lib-x86_64.so b/test-data/binaries/lib-x86_64.so deleted file mode 100755 index 8cee4d2..0000000 Binary files a/test-data/binaries/lib-x86_64.so and /dev/null differ diff --git a/test-data/blank-disks/Makefile.in b/test-data/blank-disks/Makefile.in index 503f161..defead4 100644 --- a/test-data/blank-disks/Makefile.in +++ b/test-data/blank-disks/Makefile.in @@ -332,6 +332,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -435,7 +437,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/test-data/files/Makefile.am b/test-data/files/Makefile.am deleted file mode 100644 index bb03564..0000000 --- a/test-data/files/Makefile.am +++ /dev/null @@ -1,118 +0,0 @@ -# libguestfs test images -# Copyright (C) 2009-2023 Red Hat Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -include $(top_srcdir)/subdir-rules.mk - -EXTRA_DIST = \ - filesanddirs-10M.tar.xz \ - filesanddirs-100M.tar.xz \ - helloworld.tar \ - helloworld.tar.gz \ - helloworld.tar.xz \ - mbr-ext2-empty.img.gz \ - empty known-1 known-2 known-3 known-4 known-5 \ - test-grep.txt \ - minimal - -noinst_DATA = \ - 100kallzeroes \ - 100kallnewlines \ - 100kallspaces \ - 100krandom \ - 10klines \ - bin-x86_64-dynamic.gz \ - hello.b64 \ - initrd \ - initrd-x86_64.img \ - initrd-x86_64.img.gz \ - lib-i586.so.xz \ - test-grep.txt.gz - -CLEANFILES += $(noinst_DATA) - -100kallzeroes: - rm -f $@ $@-t - dd if=/dev/zero of=$@-t bs=1024 count=100 - mv $@-t $@ - -100kallnewlines: 100kallzeroes - rm -f $@ $@-t - tr '\0' '\n' < $< > $@-t - mv $@-t $@ - -100kallspaces: 100kallzeroes - rm -f $@ $@-t - tr '\0' ' ' < $< > $@-t - mv $@-t $@ - -100krandom: - rm -f $@ $@-t - dd if=/dev/urandom of=$@-t bs=1024 count=100 - mv $@-t $@ - -10klines: - rm -f $@ $@-t - i=0; \ - while [ $$i -lt 10000 ]; do \ - echo "$${i}abcdefghijklmnopqrstuvwxyz"; \ - i=$$(($$i+1)); \ - done > $@-t - mv $@-t $@ - -hello.b64: - echo "hello" | base64 > $@ - -# When builddir != srcdir, names like 'empty' are rewritten as -# '../../test-data/files/empty'. We need to copy the files into a fresh -# subdirectory in order to create the initrd correctly. -initrd: empty known-1 known-2 known-3 known-4 known-5 - rm -rf init.tmp $@ $@-t - mkdir -p init.tmp - cp $^ init.tmp - (cd init.tmp; ls -1 * | cpio -o -H newc | gzip --best) > $@-t - rm -r init.tmp - mv $@-t $@ - -# Create a dummy initrd with a single file called 'bin/nash' which -# is used to test the file_architecture function. -initrd-x86_64.img: $(top_srcdir)/test-data/binaries/bin-x86_64-dynamic - rm -rf bin $@ $@-t - mkdir bin - cp $< bin/nash - echo bin/nash | cpio -o -H newc > $@-t - mv $@-t $@ - rm -rf bin $@-t - -initrd-x86_64.img.gz: initrd-x86_64.img - rm -f $@ $@-t - gzip --best -c $< > $@-t - mv $@-t $@ - -test-grep.txt.gz: test-grep.txt - rm -f $@ $@-t - gzip --best -c $< > $@-t - mv $@-t $@ - -bin-x86_64-dynamic.gz: $(top_srcdir)/test-data/binaries/bin-x86_64-dynamic - rm -f $@ $@-t - gzip --best -c $< > $@-t - mv $@-t $@ - -lib-i586.so.xz: $(top_srcdir)/test-data/binaries/lib-i586.so - rm -f $@ $@-t - xz -c $< > $@-t - mv $@-t $@ diff --git a/test-data/files/Makefile.in b/test-data/files/Makefile.in deleted file mode 100644 index ba78ef3..0000000 --- a/test-data/files/Makefile.in +++ /dev/null @@ -1,816 +0,0 @@ -# Makefile.in generated by automake 1.16.5 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2021 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# libguestfs test images -# Copyright (C) 2009-2023 Red Hat Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# libguestfs -# Copyright (C) 2009-2023 Red Hat Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# subdir-rules.mk should be included in every *subdirectory* Makefile.am. - -# libguestfs -# Copyright (C) 2013 Red Hat Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -# 'common-rules.mk' should be included in every Makefile.am. -# cf. 'subdir-rules.mk' - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = test-data/files -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ - $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/guestfs-progs.m4 \ - $(top_srcdir)/m4/guestfs-c.m4 \ - $(top_srcdir)/m4/guestfs-libraries.m4 \ - $(top_srcdir)/m4/guestfs-ocaml-gettext.m4 \ - $(top_srcdir)/m4/guestfs-ocaml.m4 \ - $(top_srcdir)/m4/guestfs-perl.m4 \ - $(top_srcdir)/m4/guestfs-misc-libraries.m4 \ - $(top_srcdir)/m4/guestfs-bash-completion.m4 \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -SOURCES = -DIST_SOURCES = -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -DATA = $(noinst_DATA) -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/common-rules.mk \ - $(top_srcdir)/subdir-rules.mk -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BASH_COMPLETIONS_DIR = @BASH_COMPLETIONS_DIR@ -BASH_COMPLETION_CFLAGS = @BASH_COMPLETION_CFLAGS@ -BASH_COMPLETION_LIBS = @BASH_COMPLETION_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CSCOPE = @CSCOPE@ -CTAGS = @CTAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -ETAGS = @ETAGS@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -GCC_VISIBILITY_HIDDEN = @GCC_VISIBILITY_HIDDEN@ -GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ -GMSGFMT = @GMSGFMT@ -GMSGFMT_015 = @GMSGFMT_015@ -GREP = @GREP@ -HWDATA_PKGDATADIR = @HWDATA_PKGDATADIR@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -JANSSON_CFLAGS = @JANSSON_CFLAGS@ -JANSSON_LIBS = @JANSSON_LIBS@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LEX = @LEX@ -LEXLIB = @LEXLIB@ -LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -LIBCRYPT_CFLAGS = @LIBCRYPT_CFLAGS@ -LIBCRYPT_LIBS = @LIBCRYPT_LIBS@ -LIBGUESTFS_CFLAGS = @LIBGUESTFS_CFLAGS@ -LIBGUESTFS_LIBS = @LIBGUESTFS_LIBS@ -LIBICONV = @LIBICONV@ -LIBINTL = @LIBINTL@ -LIBLZMA_CFLAGS = @LIBLZMA_CFLAGS@ -LIBLZMA_LIBS = @LIBLZMA_LIBS@ -LIBOBJS = @LIBOBJS@ -LIBOSINFO_CFLAGS = @LIBOSINFO_CFLAGS@ -LIBOSINFO_LIBS = @LIBOSINFO_LIBS@ -LIBS = @LIBS@ -LIBTINFO_CFLAGS = @LIBTINFO_CFLAGS@ -LIBTINFO_LIBS = @LIBTINFO_LIBS@ -LIBTOOL = @LIBTOOL@ -LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@ -LIBVIRT_LIBS = @LIBVIRT_LIBS@ -LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ -LIBXML2_LIBS = @LIBXML2_LIBS@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBICONV = @LTLIBICONV@ -LTLIBINTL = @LTLIBINTL@ -LTLIBOBJS = @LTLIBOBJS@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -MKISOFS = @MKISOFS@ -MSGCAT = @MSGCAT@ -MSGFMT = @MSGFMT@ -MSGMERGE = @MSGMERGE@ -MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ -NCURSES_CONFIG = @NCURSES_CONFIG@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OCAMLBEST = @OCAMLBEST@ -OCAMLBUILD = @OCAMLBUILD@ -OCAMLC = @OCAMLC@ -OCAMLCDOTOPT = @OCAMLCDOTOPT@ -OCAMLDEP = @OCAMLDEP@ -OCAMLDOC = @OCAMLDOC@ -OCAMLFIND = @OCAMLFIND@ -OCAMLLIB = @OCAMLLIB@ -OCAMLMKLIB = @OCAMLMKLIB@ -OCAMLMKTOP = @OCAMLMKTOP@ -OCAMLOPT = @OCAMLOPT@ -OCAMLOPTDOTOPT = @OCAMLOPTDOTOPT@ -OCAMLVERSION = @OCAMLVERSION@ -OCAML_FLAGS = @OCAML_FLAGS@ -OCAML_GETTEXT = @OCAML_GETTEXT@ -OCAML_PKG_gettext = @OCAML_PKG_gettext@ -OCAML_PKG_guestfs = @OCAML_PKG_guestfs@ -OCAML_PKG_ounit2 = @OCAML_PKG_ounit2@ -OCAML_RUNTIME_VARIANT_PIC_OPTION = @OCAML_RUNTIME_VARIANT_PIC_OPTION@ -OCAML_WARN_ERROR = @OCAML_WARN_ERROR@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PACKAGE_VERSION_FULL = @PACKAGE_VERSION_FULL@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCRE2_CFLAGS = @PCRE2_CFLAGS@ -PCRE2_CONFIG = @PCRE2_CONFIG@ -PCRE2_LIBS = @PCRE2_LIBS@ -PERL = @PERL@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -PO4A_GETTEXTIZE = @PO4A_GETTEXTIZE@ -PO4A_TRANSLATE = @PO4A_TRANSLATE@ -PODWRAPPER = @PODWRAPPER@ -POSUB = @POSUB@ -RANLIB = @RANLIB@ -REALPATH = @REALPATH@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -SQLITE3 = @SQLITE3@ -STRIP = @STRIP@ -SYSCONFDIR = @SYSCONFDIR@ -USE_NLS = @USE_NLS@ -VALGRIND = @VALGRIND@ -VERSION = @VERSION@ -VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ -XGETTEXT = @XGETTEXT@ -XGETTEXT_015 = @XGETTEXT_015@ -XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ -XMLLINT = @XMLLINT@ -XZCAT = @XZCAT@ -YACC = @YACC@ -YFLAGS = @YFLAGS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -libvirt_ro_uri = @libvirt_ro_uri@ -localedir = @localedir@ -localedir_c = @localedir_c@ -localedir_c_make = @localedir_c_make@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -ounit_is_v2 = @ounit_is_v2@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -runstatedir = @runstatedir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -# Files that should universally be removed by 'make clean'. Note if -# there is any case in any subdirectory where a file should not be -# removed by 'make clean', it should not be listed here! - -# Editor backup files - -# Patch original and reject files. - -# OCaml intermediate and generated files. - -# OCaml -annot files (used for displaying types in some IDEs). - -# OCaml oUnit generated files. - -# Manual pages - these are all generated from *.pod, so the -# pages themselves should all be removed by 'make clean'. - -# Stamp files used when generating man pages. - -# Bindtests temporary files used in many language bindings. -CLEANFILES = *~ *.bak *.orig *.rej *.cmi *.cmo *.cma *.cmx *.cmxa \ - dll*.so *.a *.annot oUnit-*.cache oUnit-*.log *.1 *.3 *.5 *.8 \ - stamp-*.pod bindtests.tmp $(noinst_DATA) - -# Files that should be universally removed by 'make distclean'. -DISTCLEANFILES = .depend stamp-* - -# Special suffixes used by OCaml. - -# Special suffixes used by PO files. -SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly .po .gmo -LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver - -# Rules for building OCaml objects. -# See also: -# guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" -@HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma -@HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom -@HAVE_OCAMLOPT_FALSE@BEST = c -@HAVE_OCAMLOPT_TRUE@BEST = opt - -# custom silent rules -guestfs_am_v_ocamlc = $(guestfs_am_v_ocamlc_@AM_V@) -guestfs_am_v_ocamlc_ = $(guestfs_am_v_ocamlc_@AM_DEFAULT_V@) -guestfs_am_v_ocamlc_0 = @echo " OCAMLC " $@; -guestfs_am_v_ocamlcmi = $(guestfs_am_v_ocamlcmi_@AM_V@) -guestfs_am_v_ocamlcmi_ = $(guestfs_am_v_ocamlcmi_@AM_DEFAULT_V@) -guestfs_am_v_ocamlcmi_0 = @echo " OCAMLCMI" $@; -guestfs_am_v_ocamlopt = $(guestfs_am_v_ocamlopt_@AM_V@) -guestfs_am_v_ocamlopt_ = $(guestfs_am_v_ocamlopt_@AM_DEFAULT_V@) -guestfs_am_v_ocamlopt_0 = @echo " OCAMLOPT" $@; -guestfs_am_v_javac = $(guestfs_am_v_javac_@AM_V@) -guestfs_am_v_javac_ = $(guestfs_am_v_javac_@AM_DEFAULT_V@) -guestfs_am_v_javac_0 = @echo " JAVAC " $@; -guestfs_am_v_erlc = $(guestfs_am_v_erlc_@AM_V@) -guestfs_am_v_erlc_ = $(guestfs_am_v_erlc_@AM_DEFAULT_V@) -guestfs_am_v_erlc_0 = @echo " ERLC " $@; -guestfs_am_v_podwrapper = $(guestfs_am_v_podwrapper_@AM_V@) -guestfs_am_v_podwrapper_ = $(guestfs_am_v_podwrapper_@AM_DEFAULT_V@) -guestfs_am_v_podwrapper_0 = @echo " POD " $@; -guestfs_am_v_jar = $(guestfs_am_v_jar_@AM_V@) -guestfs_am_v_jar_ = $(guestfs_am_v_jar_@AM_DEFAULT_V@) -guestfs_am_v_jar_0 = @echo " JAR " $@; -guestfs_am_v_po4a_translate = $(guestfs_am_v_po4a_translate_@AM_V@) -guestfs_am_v_po4a_translate_ = $(guestfs_am_v_po4a_translate_@AM_DEFAULT_V@) -guestfs_am_v_po4a_translate_0 = @echo " PO4A-T " $@; -EXTRA_DIST = \ - filesanddirs-10M.tar.xz \ - filesanddirs-100M.tar.xz \ - helloworld.tar \ - helloworld.tar.gz \ - helloworld.tar.xz \ - mbr-ext2-empty.img.gz \ - empty known-1 known-2 known-3 known-4 known-5 \ - test-grep.txt \ - minimal - -noinst_DATA = \ - 100kallzeroes \ - 100kallnewlines \ - 100kallspaces \ - 100krandom \ - 10klines \ - bin-x86_64-dynamic.gz \ - hello.b64 \ - initrd \ - initrd-x86_64.img \ - initrd-x86_64.img.gz \ - lib-i586.so.xz \ - test-grep.txt.gz - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly .po .gmo -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/subdir-rules.mk $(top_srcdir)/common-rules.mk $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test-data/files/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign test-data/files/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ - esac; -$(top_srcdir)/subdir-rules.mk $(top_srcdir)/common-rules.mk $(am__empty): - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags TAGS: - -ctags CTAGS: - -cscope cscopelist: - -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am - -distdir-am: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(DATA) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - cscopelist-am ctags-am distclean distclean-generic \ - distclean-libtool distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags-am uninstall uninstall-am - -.PRECIOUS: Makefile - - --include $(top_builddir)/localenv - -# Individual Makefile.am's should define generator_built if that -# subdirectory contains any files which are built by the generator. -# Set generator_built to the list of those files. - -$(generator_built): $(top_builddir)/generator/stamp-generator - -$(top_builddir)/generator/stamp-generator: $(top_builddir)/generator/generator - @if test -f $(top_builddir)/generator/Makefile; then \ - $(MAKE) -C $(top_builddir)/generator stamp-generator; \ - else \ - echo "warning: Run 'make' at the top level to build $(generator_built)"; \ - fi - -# If this file doesn't exist, just print a warning and continue. -# During 'make distclean' we can end up deleting this file. -$(top_builddir)/generator/generator: - @if test -f $(top_builddir)/generator/Makefile; then \ - $(MAKE) -C $(top_builddir)/generator generator; \ - else \ - echo "warning: Run 'make' at the top level to build $@"; \ - fi - -%.cmi: %.mli - $(guestfs_am_v_ocamlcmi)$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@ -%.cmo: %.ml - $(guestfs_am_v_ocamlc)$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@ -@HAVE_OCAMLOPT_TRUE@%.cmx: %.ml -@HAVE_OCAMLOPT_TRUE@ $(guestfs_am_v_ocamlopt)$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@ - -# Test shell scripts should use '$TEST_FUNCTIONS' to get a predefined -# set of helper functions for running tests (see test-functions.sh). -# -# Notes: -# -# (1) This is in fact a single command all on one line. The variables -# are evaluated in test-functions.sh. -# -# (2) We use absolute paths here and in test-functions.sh so that the -# test can change directory freely. But we also include the -# non-absolute values so they can be used by the test script itself. -export TEST_FUNCTIONS := \ - source $(abs_top_srcdir)/test-functions.sh \ - abs_srcdir="$(abs_srcdir)" \ - abs_builddir="$(abs_builddir)" \ - top_srcdir="$(top_srcdir)" \ - top_builddir="$(top_builddir)" \ - abs_top_srcdir="$(abs_top_srcdir)" \ - abs_top_builddir="$(abs_top_builddir)" - -100kallzeroes: - rm -f $@ $@-t - dd if=/dev/zero of=$@-t bs=1024 count=100 - mv $@-t $@ - -100kallnewlines: 100kallzeroes - rm -f $@ $@-t - tr '\0' '\n' < $< > $@-t - mv $@-t $@ - -100kallspaces: 100kallzeroes - rm -f $@ $@-t - tr '\0' ' ' < $< > $@-t - mv $@-t $@ - -100krandom: - rm -f $@ $@-t - dd if=/dev/urandom of=$@-t bs=1024 count=100 - mv $@-t $@ - -10klines: - rm -f $@ $@-t - i=0; \ - while [ $$i -lt 10000 ]; do \ - echo "$${i}abcdefghijklmnopqrstuvwxyz"; \ - i=$$(($$i+1)); \ - done > $@-t - mv $@-t $@ - -hello.b64: - echo "hello" | base64 > $@ - -# When builddir != srcdir, names like 'empty' are rewritten as -# '../../test-data/files/empty'. We need to copy the files into a fresh -# subdirectory in order to create the initrd correctly. -initrd: empty known-1 known-2 known-3 known-4 known-5 - rm -rf init.tmp $@ $@-t - mkdir -p init.tmp - cp $^ init.tmp - (cd init.tmp; ls -1 * | cpio -o -H newc | gzip --best) > $@-t - rm -r init.tmp - mv $@-t $@ - -# Create a dummy initrd with a single file called 'bin/nash' which -# is used to test the file_architecture function. -initrd-x86_64.img: $(top_srcdir)/test-data/binaries/bin-x86_64-dynamic - rm -rf bin $@ $@-t - mkdir bin - cp $< bin/nash - echo bin/nash | cpio -o -H newc > $@-t - mv $@-t $@ - rm -rf bin $@-t - -initrd-x86_64.img.gz: initrd-x86_64.img - rm -f $@ $@-t - gzip --best -c $< > $@-t - mv $@-t $@ - -test-grep.txt.gz: test-grep.txt - rm -f $@ $@-t - gzip --best -c $< > $@-t - mv $@-t $@ - -bin-x86_64-dynamic.gz: $(top_srcdir)/test-data/binaries/bin-x86_64-dynamic - rm -f $@ $@-t - gzip --best -c $< > $@-t - mv $@-t $@ - -lib-i586.so.xz: $(top_srcdir)/test-data/binaries/lib-i586.so - rm -f $@ $@-t - xz -c $< > $@-t - mv $@-t $@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/test-data/files/empty b/test-data/files/empty deleted file mode 100644 index e69de29..0000000 diff --git a/test-data/files/filesanddirs-100M.tar.xz b/test-data/files/filesanddirs-100M.tar.xz deleted file mode 100644 index 04d42d1..0000000 Binary files a/test-data/files/filesanddirs-100M.tar.xz and /dev/null differ diff --git a/test-data/files/filesanddirs-10M.tar.xz b/test-data/files/filesanddirs-10M.tar.xz deleted file mode 100644 index 4e557e9..0000000 Binary files a/test-data/files/filesanddirs-10M.tar.xz and /dev/null differ diff --git a/test-data/files/helloworld.tar b/test-data/files/helloworld.tar deleted file mode 100644 index 191a31b..0000000 Binary files a/test-data/files/helloworld.tar and /dev/null differ diff --git a/test-data/files/helloworld.tar.gz b/test-data/files/helloworld.tar.gz deleted file mode 100644 index 9d36cc9..0000000 Binary files a/test-data/files/helloworld.tar.gz and /dev/null differ diff --git a/test-data/files/helloworld.tar.xz b/test-data/files/helloworld.tar.xz deleted file mode 100644 index 661f1a2..0000000 Binary files a/test-data/files/helloworld.tar.xz and /dev/null differ diff --git a/test-data/files/known-1 b/test-data/files/known-1 deleted file mode 100644 index 8baef1b..0000000 --- a/test-data/files/known-1 +++ /dev/null @@ -1 +0,0 @@ -abc diff --git a/test-data/files/known-2 b/test-data/files/known-2 deleted file mode 100644 index 0373d93..0000000 --- a/test-data/files/known-2 +++ /dev/null @@ -1 +0,0 @@ -abcdef diff --git a/test-data/files/known-3 b/test-data/files/known-3 deleted file mode 100644 index 3ac370d..0000000 --- a/test-data/files/known-3 +++ /dev/null @@ -1,27 +0,0 @@ - I WANDERED lonely as a cloud - That floats on high o'er vales and hills, - When all at once I saw a crowd, - A host, of golden daffodils; - Beside the lake, beneath the trees, - Fluttering and dancing in the breeze. - - Continuous as the stars that shine - And twinkle on the milky way, - They stretched in never-ending line - Along the margin of a bay: - Ten thousand saw I at a glance, - Tossing their heads in sprightly dance. - - The waves beside them danced; but they - Out-did the sparkling waves in glee: - A poet could not but be gay, - In such a jocund company: - I gazed--and gazed--but little thought - What wealth the show to me had brought: - - For oft, when on my couch I lie - In vacant or in pensive mood, - They flash upon that inward eye - Which is the bliss of solitude; - And then my heart with pleasure fills, - And dances with the daffodils. diff --git a/test-data/files/known-4 b/test-data/files/known-4 deleted file mode 100644 index f5bc74f..0000000 --- a/test-data/files/known-4 +++ /dev/null @@ -1,3 +0,0 @@ -abc -def -ghi \ No newline at end of file diff --git a/test-data/files/known-5 b/test-data/files/known-5 deleted file mode 100644 index 3122d94..0000000 --- a/test-data/files/known-5 +++ /dev/null @@ -1,2 +0,0 @@ -abcdefghi -jklmnopqr \ No newline at end of file diff --git a/test-data/files/mbr-ext2-empty.img.gz b/test-data/files/mbr-ext2-empty.img.gz deleted file mode 100644 index 5438c1d..0000000 Binary files a/test-data/files/mbr-ext2-empty.img.gz and /dev/null differ diff --git a/test-data/files/minimal b/test-data/files/minimal deleted file mode 100755 index 3f4ee58..0000000 Binary files a/test-data/files/minimal and /dev/null differ diff --git a/test-data/files/test-grep.txt b/test-data/files/test-grep.txt deleted file mode 100644 index 1d24b9a..0000000 --- a/test-data/files/test-grep.txt +++ /dev/null @@ -1,7 +0,0 @@ -abc -def -ghi -ghi - -abc123 -ABC diff --git a/test-data/phony-guests/Makefile.in b/test-data/phony-guests/Makefile.in index 8b84e73..ae2ee21 100644 --- a/test-data/phony-guests/Makefile.in +++ b/test-data/phony-guests/Makefile.in @@ -382,6 +382,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -487,7 +489,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt diff --git a/test-data/phony-guests/fedora.db b/test-data/phony-guests/fedora.db index ca1ec0b..89a9a8b 100644 Binary files a/test-data/phony-guests/fedora.db and b/test-data/phony-guests/fedora.db differ diff --git a/test-data/phony-guests/make-archlinux-img.sh b/test-data/phony-guests/make-archlinux-img.sh index 066df09..e0e3d3d 100755 --- a/test-data/phony-guests/make-archlinux-img.sh +++ b/test-data/phony-guests/make-archlinux-img.sh @@ -50,6 +50,7 @@ write /etc/hostname "archlinux.test" upload $SRCDIR/archlinux-package /var/lib/pacman/local/test-package-1:0.1-1/desc upload $SRCDIR/../binaries/bin-x86_64-dynamic /bin/ls +chmod 0755 /bin/ls mkdir /boot/grub touch /boot/grub/grub.conf diff --git a/test-data/phony-guests/make-debian-img.sh b/test-data/phony-guests/make-debian-img.sh index 637bd4b..27c68e6 100755 --- a/test-data/phony-guests/make-debian-img.sh +++ b/test-data/phony-guests/make-debian-img.sh @@ -85,6 +85,7 @@ write /etc/hostname "debian.invalid" upload $SRCDIR/debian-packages /var/lib/dpkg/status upload $SRCDIR/../binaries/bin-x86_64-dynamic /bin/ls +chmod 0755 /bin/ls upload $SRCDIR/debian-syslog /var/log/syslog diff --git a/test-data/phony-guests/make-fedora-img.pl b/test-data/phony-guests/make-fedora-img.pl index 9721ce4..0de5063 100755 --- a/test-data/phony-guests/make-fedora-img.pl +++ b/test-data/phony-guests/make-fedora-img.pl @@ -332,6 +332,7 @@ $g->write ('/usr/lib/rpm/macros', <upload ($ENV{SRCDIR}.'/../binaries/bin-x86_64-dynamic', '/bin/ls'); +$g->chmod (0755, '/bin/ls'); $g->tar_in ($ENV{SRCDIR}.'/fedora-journal.tar.xz', '/var/log/journal', compress => "xz"); diff --git a/test-data/phony-guests/make-ubuntu-img.sh b/test-data/phony-guests/make-ubuntu-img.sh index a3aa610..5e7a3a9 100755 --- a/test-data/phony-guests/make-ubuntu-img.sh +++ b/test-data/phony-guests/make-ubuntu-img.sh @@ -76,6 +76,7 @@ write /etc/hostname "ubuntu.invalid" upload $SRCDIR/debian-packages /var/lib/dpkg/status upload $SRCDIR/../binaries/bin-x86_64-dynamic /bin/ls +chmod 0755 /bin/ls mkdir /boot/grub touch /boot/grub/grub.conf diff --git a/test-functions.sh b/test-functions.sh index 4044912..179e7ce 100755 --- a/test-functions.sh +++ b/test-functions.sh @@ -108,17 +108,6 @@ skip_unless_phony_guest () fi } -# Skip if test.iso was not created. -skip_unless_test_iso () -{ - local f="$abs_top_builddir/test-data/test.iso" - if ! test -f $f || ! test -s $f; then - echo "$(basename $0): test skipped because test-data/test.iso was not created" - echo "$(basename $0): try running: make -C test-data check" - exit 77 - fi -} - # Skip if the current arch = $1. skip_if_arch () { diff --git a/win-reg/Makefile.in b/win-reg/Makefile.in index e1c4a04..6c03882 100644 --- a/win-reg/Makefile.in +++ b/win-reg/Makefile.in @@ -363,6 +363,8 @@ USE_NLS = @USE_NLS@ VALGRIND = @VALGRIND@ VERSION = @VERSION@ VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +WERROR_CFLAGS = @WERROR_CFLAGS@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ @@ -466,7 +468,7 @@ LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED" @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa -@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -custom +@HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe @HAVE_OCAMLOPT_FALSE@BEST = c @HAVE_OCAMLOPT_TRUE@BEST = opt