Karel Zak
af5527f45e
build-sys: make re-use of generated man-pages more robust
...
We need to ignore man-pages at all if not available (not generated
yet), but asciidoctor is not installed.
Fix: https://github.com/karelzak/util-linux/issues/1334
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-07-20 11:06:50 +02:00
Karel Zak
66099fe11c
build-sys: add generated man-pages to distribution tarball
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-07-20 11:06:20 +02:00
Georgy Yakovlev
fb87dcc80e
lscpu: fix build on powerpc
...
fails with error: label at end of compound statement
and fix typo as bonus.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
2021-07-20 10:57:22 +02:00
Karel Zak
9bf924165b
lsblk: use ID_MODEL_ENC is possible
...
Fix: https://github.com/karelzak/util-linux/issues/1098
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-07-20 10:53:55 +02:00
Karel Zak
bef5ab005e
include/strutils: fix heap-buffer-overflow in normalize_whitespace()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-14 16:29:21 +02:00
Karel Zak
fce7b9501c
build-sys: fix {release-version} man pages
...
* define {release-version} as $VERSION
* do not use {docdir} in adoc; it's built-in ascidoctor variable
https://docs.asciidoctor.org/asciidoc/latest/attributes/document-attributes-reference/#intrinsic-attributes
Addresses: https://github.com/karelzak/util-linux/issues/1327
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-02 12:23:57 +02:00
Karel Zak
e0c46c2d4e
build-sys: install hardlink bash-completion
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-02 12:23:57 +02:00
Karel Zak
a057fdb13a
docs: fix typo in v2.37-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-01 10:37:01 +02:00
Karel Zak
635d382146
docs: add uclampset to AUTHORS file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-01 10:32:35 +02:00
Karel Zak
50736e4998
build-sys: release++ (v2.37)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-01 09:52:10 +02:00
Karel Zak
8a988dd855
docs: update v2.37-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-01 09:46:40 +02:00
Karel Zak
17559f6cc2
docs: update AUTHORS file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-06-01 09:45:03 +02:00
Karel Zak
59c19c3f3a
po: merge changes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-31 18:36:06 +02:00
Seong-ho Cho
a97c28c0a5
po: add ko.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Yuri Chornoivan
ff58cee802
po: update uk.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Pedro Albuquerque
44f836d2dd
po: update pt.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Jakub Bogusz
18d7d108c0
po: update pl.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Božidar Putanec
e5f43da014
po: update hr.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Frédéric Marchal
435e838ac7
po: update fr.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Mario Blättermann
7e6634024e
po: update de.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Petr Písař
b952c8b30f
po: update cs.po (from translationproject.org)
2021-05-31 18:20:33 +02:00
Karel Zak
95fbd2db43
libblkid: fix docs
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-31 18:16:57 +02:00
Karel Zak
d58121a22a
docs: update copyright years
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-31 18:12:07 +02:00
Karel Zak
1c0d193441
build-sys: remove with-cryptsetup from tools/config-gen.d/all.conf
...
Unfortunately libtools is not smart enough to link libblkid
dynamically if we link in-tree static libmount.a for libmount tests.
In this case libtools always uses also libblkid.a, but it's problem
for libcryptsetup which requires versioned symbols from libblkid.so
This is no problem for normal binaries, but for libmount tests only
(where we need static library to by-pass public library API).
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-31 17:44:10 +02:00
Ville Skyttä
ecec8f1f90
lscpu: fix NVIDIA ARM hw implementer spelling case
...
Ref respective vendor sites.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-31 12:15:48 +02:00
Ville Skyttä
d44a83c1f9
lscpu: recognize more ARM implementers
...
Add just the implementer string, no parts yet.
Refs https://developer.arm.com/documentation/ddi0595/2021-03/AArch64-Registers/MIDR-EL1--Main-ID-Register
Refs b90e90f40b/arch/arm64/include/asm/cputype.h (L54)
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2021-05-31 12:14:34 +02:00
Karel Zak
b97e2145fa
po: add xgettext hint for non-c-format string
...
Reported-by: Petr Pisar <petr.pisar@atlas.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-27 10:39:58 +02:00
Karel Zak
0a0af6161b
lscpu: cleanup tab vs. space
...
Do not mix tab and space in structs initializations.
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-26 11:54:47 +02:00
Bader Zaidan
f2aadc1160
lscpu: Replace space with tabs
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-26 11:47:33 +02:00
Karel Zak
aa049eabb3
lscpu: add MHZ to the -e output
...
Addresses: https://github.com/karelzak/util-linux/issues/1314
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-23 23:52:00 +02:00
Zbigniew Jędrzejewski-Szmek
cacd3e7685
fstrim: do not start the timer in initrd
...
I'm working on building initramfs images directly from normal
packages, which means that the pristine system rpms should behave
correctly as much as possible also in the initrd. There usually isn't
enough time for the timer to actually fire, but starting it gives a
line on the console and generally looks confusing and sloppy. So let's
skip the timer if it ever ends up being enabled in the initrd.
Checking for /etc/initrd-release is the standard condition that
systemd's initrd units use.
2021-05-21 10:45:35 +02:00
Karel Zak
6dfa12395e
Merge branch 'more-floating-point' of https://github.com/kerolasa/util-linux
...
* 'more-floating-point' of https://github.com/kerolasa/util-linux :
more: fix floating point exception core dump
2021-05-20 09:32:53 +02:00
Karel Zak
3e8403522c
fstrim: fix paths comparison
...
Fix: https://github.com/karelzak/util-linux/issues/1312
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-20 09:29:34 +02:00
Sami Kerola
ec4153cc28
more: fix floating point exception core dump
...
Make the code avoid divided by zero. This can happen when file has content
but is zero in size. Such files can be found from procfs, possibly some
other pseudo-filesystems. To reproduce the issue run the following.
$ more /proc/crypto
...
Floating point exception (core dumped)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2021-05-19 20:23:48 +01:00
Karel Zak
842ec4ce6b
build-sys: fix po-man/ make check
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-13 12:21:56 +02:00
Karel Zak
e304441936
blkdiscard: do not probe for signatures on --force
...
The command-line option --force is defined as "disable all checks",
but the current code does not follow this idea. We need a way how to
disable read from the device (for example for dm-integrity devices).
Fixes: https://github.com/karelzak/util-linux/issues/1308
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-13 10:34:14 +02:00
Karel Zak
cef52b197a
Merge branch 'whitespace' of https://github.com/eworm-de/util-linux
2021-05-13 10:24:25 +02:00
Karel Zak
65abace259
build-sys: update util-linux-man.pot on 'make dist'
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-13 10:23:34 +02:00
Christian Hesse
e08e3d587c
fix whitespace issue in ducumentation
...
This removes trailing whitespaces and fixes minor issues.
2021-05-10 15:53:50 +02:00
Karel Zak
d637ca3e17
build-sys: release++ (v2.37-rc2)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 13:12:02 +02:00
Karel Zak
a6b49e89ed
docs: update v2.37-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 13:10:37 +02:00
Karel Zak
524897ed63
docs: update AUTHORS file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 13:09:13 +02:00
Karel Zak
2994605fba
po: merge changes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 12:21:25 +02:00
Sebastian Rasmussen
b93b8f42df
po: update sv.po (from translationproject.org)
2021-05-10 12:15:03 +02:00
Karel Zak
c916e84380
tests: update build tests
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 12:13:09 +02:00
Karel Zak
58739eb0a7
build-sys: fix libblkid dependence
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 11:24:24 +02:00
Karel Zak
21b16433a1
column: add placeholder '0' to specify all columns
...
Fixes: https://github.com/karelzak/util-linux/issues/1306
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-10 10:46:51 +02:00
Karel Zak
b6464f8dc5
blkdiscard: fix compilation without libblkid
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-07 20:38:26 +02:00
Karel Zak
3773bb151a
mkswap: remove unused variable when compile without libblkid
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-07 20:37:51 +02:00
Karel Zak
0ee5fcd2e8
docs: add #1266 to TODO file
...
References: https://github.com/karelzak/util-linux/issues/1266
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-05-07 11:26:33 +02:00