Commit Graph

15502 Commits

Author SHA1 Message Date
Mario Blättermann b81d59719b Asciidoc: Update .pot template 2021-03-26 21:42:47 +01:00
Mario Blättermann f933e53c31 Asciidoc: Fix artifacts from initial import, fifth attempt 2021-03-26 21:41:03 +01:00
Mario Blättermann f67dbc88ca Asciidoc: Fix artifacts from initial import, fourth attempt 2021-03-26 21:11:25 +01:00
Mario Blättermann 7a29fa6fe4 Asciidoc: Update .pot template 2021-03-26 20:55:26 +01:00
Mario Blättermann 9b7051d5bf Asciidoc: Fix artifacts from initial import, third attempt 2021-03-26 20:54:06 +01:00
Mario Blättermann 109525d66a Asciidoc: Fix artifacts from initial import, second attempt 2021-03-26 20:17:45 +01:00
Mario Blättermann b53360d8a8 Asciidoc: Fix artifacts from initial import 2021-03-26 20:12:42 +01:00
Mario Blättermann 36e96905f5 Asciidoc: Add po4a config file and initial translation template for man pages 2021-03-26 17:32:17 +01:00
Mario Blättermann 9637ed960a Asciidoc: Small indentation fix in mount.8.adoc 2021-03-26 17:29:16 +01:00
Mario Blättermann 4eab78d379 Asciidoc: Review sys-utils man pages, part 2 2021-03-26 17:19:27 +01:00
Mario Blättermann fc86ec98de
Merge pull request #1 from karelzak/asciidoc-for-mario
Asciidoc for mario
2021-03-26 14:35:55 +01:00
Karel Zak 92c380cbc3 build-sys: fix out-of-tree build
asciidoctor cannot write to source directory, we need to force it to
use $builddir.

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 14:21:36 +01:00
Karel Zak 19feed6d96 build-sys: add man-common/Makemodule.am
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 14:21:36 +01:00
Mario Blättermann 69dc8997dc Asciidoc: Incorporate latest changes in rfkill.8 and umount.8 2021-03-26 13:35:42 +01:00
Mario Blättermann b49072cf79 Asciidoc: Remove old man page links 2021-03-26 13:26:16 +01:00
Karel Zak ad67a438cf build-sys: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 11:57:07 +01:00
Karel Zak b94cc212fd build-sys: cleanup .gitignore files
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 11:55:01 +01:00
Karel Zak 4f79d3032e build-sys: split man pages and man page links
The symlinks are generated by asciidoctor and current dist_man_MANS
depends on order (nan page before man link). This solutions is useless
when execute "make -j". The real solution is to keep man pages in
separate variable and use only this variable evaluate what we need to
generate.

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 11:49:59 +01:00
Karel Zak c2096885af build-sys: remove man page link files
It seems asciidoctor generates all necessary files.

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 11:26:08 +01:00
Karel Zak bdda0dc051 build-sys: remove duplicate hook
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 10:31:29 +01:00
Karel Zak eac3674f76 build-sys: remove some man pages from PATHFILES
fix warnings:

 Makefile:15936: warning: overriding recipe for target 'misc-utils/uuidd.8'
 Makefile:15928: warning: ignoring old recipe for target 'misc-utils/uuidd.8'
 Makefile:15936: warning: overriding recipe for target 'misc-utils/getopt.1'
 Makefile:15928: warning: ignoring old recipe for target 'misc-utils/getopt.1'

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-26 10:15:19 +01:00
Mario Blättermann 68860732a7 Asciidoc: Review sys-utils man pages,part 1 2021-03-25 20:27:34 +01:00
Mario Blättermann bbeadfdd5b Asciidoc: Review text-utils man pages 2021-03-25 19:17:48 +01:00
Mario Blättermann 28f4f1a37d Asciidoc: Review term-utils man pages 2021-03-25 18:22:30 +01:00
Karel Zak 928f320f09 ttymsg: fix resource leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 12:39:23 +01:00
Karel Zak 4397707e7a lsmem: use ul_path_readf_string() readable for analysers [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 12:23:21 +01:00
Karel Zak 01a895d840 lsirq: fix resources leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 12:14:46 +01:00
Karel Zak e37babc0ec lsirq: fix resources leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 12:13:00 +01:00
Karel Zak 645577c755 meson: add irq utils
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 12:12:11 +01:00
Karel Zak a887d587bf fstrim: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 11:53:02 +01:00
Karel Zak 903f812d0b libmount: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 11:03:03 +01:00
Karel Zak 23b9caa1fc libmount: add assert() to umount lookup code
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 10:51:54 +01:00
Karel Zak fe7ef272d0 libfdisk: make labels allocations readable for analysers [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 10:43:20 +01:00
Karel Zak 8207f99b7a sfdisk: fix resources leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-25 10:25:12 +01:00
Mario Blättermann d9a67eb510 Add missing backslash to Makefile.am 2021-03-24 20:28:08 +01:00
Mario Blättermann 62fde24f47 Asciidoc: Review login-utils man pages 2021-03-24 20:01:34 +01:00
Mario Blättermann 299604dd0b Asciidoc: Review disk-utils man pages 2021-03-24 18:53:27 +01:00
Mario Blättermann ea81716d0c Asciidoc: Review terminal-colors.d.5.adoc 2021-03-24 17:37:34 +01:00
Karel Zak 1630e65371 Merge branch 'topic/rfkill' 2021-03-24 12:54:41 +01:00
Karel Zak 529b51706e libsmartcols: introduce default sort column
* add default sort column, set by scols_sort_table()

* sort tree according to default sort column also in scols_sort_table_by_tree()

The function scols_sort_table() does not sort tree branches if tree
is not enabled. The function scols_sort_table_by_tree() does not care
if tree is enabled and it always follows parent->child relations. For
scols_sort_table_by_tree() we need to follow order in branches if
previously scols_sort_table() has been called.

For example lsblk calls

	scols_sort_table(tb, cl);
	scols_sort_table_by_tree(tb);

for list-like output (for example lsblk -P) and users assume the
same order as for tree (lsblk --tree).

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1940607
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-24 12:43:17 +01:00
Karel Zak c59d442809 libsmartcols: add sort sunction to the sample
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-24 12:42:58 +01:00
Mario Blättermann fc394b5b02 Define the asciidoctor command in configure.ac 2021-03-23 21:09:22 +01:00
Mario Blättermann 5a52459e0f Asciidoc: Review schedutils man pages 2021-03-23 20:43:52 +01:00
Mario Blättermann 925a9b5d72 Asciidoc: Incorporate latest change in findmnt.8 2021-03-23 20:10:02 +01:00
Mario Blättermann 2c646c80d8 Asciidoc: Review misc-utils man pages 2021-03-23 20:07:15 +01:00
Karel Zak 20fae1bde2 rfkill: add "toggle" command
Addresses: https://github.com/karelzak/util-linux/issues/1269
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-23 15:20:44 +01:00
Karel Zak d928b9afe2 tests: make it compatible with meson
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-22 15:15:52 +01:00
Karel Zak 3ab4ef3ca9 findmnt: add --shadowed
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-22 15:00:47 +01:00
Karel Zak 1c81dfff1a libmount: mnt_table_over_fs() make child optional
Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-22 15:00:47 +01:00
Karel Zak 667c87c50c findmnt: sort columns
Let's make "Available columns" in --help more readable.

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-22 15:00:38 +01:00