Commit Graph

40 Commits

Author SHA1 Message Date
Karel Zak b1ef3ad66b build-sys: don't support external (e2fsprogs) libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-16 17:31:50 +01:00
Samuel Thibault 465e997384 hwclock: build on non-Linux
Thanks to the direct ISA method and by disabling the RTC get/set epoch
functionality, hwclock can work fine on non-Linux systems which provide
ioperm or iopl.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2011-03-11 12:34:25 +01:00
Sami Kerola 8b416ca05f build-sys: fix unportable Makefile.am assignment
Makefile.am:36: warning: `:='-style assignments are not portable

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-03-08 13:37:22 +01:00
Karel Zak c0f20acb7a build-sys: add term-utils/
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-02 13:54:05 +01:00
Karel Zak 5502d92b28 simpleinit: move old init stuff to separate directory
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-12-10 17:28:32 +01:00
Karel Zak f331598afc man: add russian translation of ddate.1
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-10-21 15:00:47 +02:00
Karel Zak 0c0f93fcc3 fsck: improve whole-disk check, detect stacked devices
The current heuristic for conversion from partition to whole-disk
is based on device names. It's pretty poor. This patch replaces this
code with blkid_devno_to_wholedisk(). This solution is based on
/sys FS and it works for arbitrary partitioned devices.

The another problem is the way how fsck determines stacked devices.
The current code checks device name for "md" prefix only. It does not
care about DM, dm-ccypt, and so on. This patch uses
/sys/block/.../slaves/, but it does not fully resolves dependencies
between all devices. The method is simple -- fsck does not check
stacked devices in parallel with any other device.

Signed-off-by: Karel Zak <kzak@redhat.com>
2010-08-19 15:33:45 +02:00
Diego Elio 'Flameeyes' Pettenò ebc83db1a1 build-sys: drop shlibs/Makefile.am that only adds SUBDIRS
The same effect is gotten by changing SUBDIRS in the top-level
Makefile.am.
2010-07-29 17:48:01 +02:00
Karel Zak fed194513d build-sys: remove obsolete --with-fsprobe from distcheck flags
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-05 23:37:15 +01:00
Karel Zak 1e018c1571 libblkid: gtkdocize (API docs generated by gtk-docs)
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-09-16 21:39:37 +02:00
Karel Zak 20ad496324 build-sys: complete /libs to /shlibs rename
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-14 17:40:52 +02:00
Karel Zak 7d2802a0db build-sys: fix bugs detected by "make distcheck"
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-03-18 15:46:53 +01:00
Karel Zak 607c2a7295 fsck: move fsck from e2fsprogs to util-linux-ng
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-18 15:09:34 +01:00
Karel Zak 24a06aeb1b blkid: create basic directories
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-11 18:02:39 +01:00
Karel Zak 043102bf19 tools: add checkconfig to top-level Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-26 13:42:16 +01:00
Karel Zak 44e293d65c tools: add checkincludes.pl (from linux kernel)
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-26 12:59:29 +01:00
Alon Bar-Lev 7177d32ecf build-sys: add --disable-mount
I use busybox for most of the utilities, still lacks a few that I wish to use
from util-linux...

So mount comes from busybox.  And during the cross compile I don't want to
compile the mount dependencies only to make the configure script happy...

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-19 12:40:06 +01:00
Stepan Kasal 8569410cf5 build-sys: add --enable-static-programs
Add support for static versions of mount, umount, losetup, fdisk,
and sfdisk.

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Stepan Kasal <skasal@redhat.com>
2008-02-18 13:27:02 +01:00
Stepan Kasal 003359036d build-sys: build arch(1) during distcheck
Signed-off-by: Stepan Kasal <skasal@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-12-17 10:14:41 +01:00
Karel Zak d00ed8911e tests: move test_bkdev to lib/
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28 12:27:00 +01:00
Samuel Thibault 3bbc932079 build-sys: non-linux support
Here is a patch that disables linux-specific tools on non-linux targets.

Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-Off-By: Karel Zak <kzak@redhat.com>
2007-11-08 02:26:36 +01:00
Karel Zak b3adc9729d docs: add DEPRECATED to EXTRA_DIST
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-20 14:37:52 +02:00
Karel Zak dcb219b313 docs: add README.licensing
There is not only one unique license for all code in utl-linux-ng. We
have mix of utils with Public Domain, BSD, GPLv2 or GPLv2+. This thing
should be more transparent to avoid misunderstanding.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 12:27:55 +02:00
Karel Zak 9645b5cbe9 build-sys: fix directories in EXTRA_DIST
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-26 15:21:50 +02:00
Karel Zak 62f0ec7b4a build-sys: remove "make mrproper", git-clean is good enough
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-12 14:31:26 +02:00
Karel Zak 5196eb4b00 docs: add release notes
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-03 23:16:13 +02:00
Karel Zak 71be1ee4a1 tools: add codecheck-config that checks for {HAVE,ENABLE}_ orphans
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-15 10:17:51 +02:00
Stepan Kasal 0b9f737e0b build-sys: in the clean targets use "find ... | xargs rm -f"
"find ... -exec rm {}" is unnecessarily slow.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:31 +02:00
Stepan Kasal 6fcc950571 build-sys: remove po/Makevars.template from EXTRA_DIST
The is no point in distributing it.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:31 +02:00
Stepan Kasal 1b38f7cc47 build-sys: remove config/include-Makefile.am from EXTRA_DIST
It gets distributed automaticaly.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:30 +02:00
Stepan Kasal 81c3ab2d60 build-sys: do not use wildcards in EXTRA_DIST
Wildcards in EXTRA_DIST break "make dist" for vpath build.
But plain directory names are ok.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:30 +02:00
Stepan Kasal 33d7e66054 build-sys: set DISTCHECK_CONFIGURE_FLAGS in top-level makefile
Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:30 +02:00
Stepan Kasal d7b7454654 build-sys: use dist_noinst_DATA to work around the bug with dist_man_MANS
Automake mishandles dist_man_MANS.  Using dist_noinst_DATA to work
around this is more elegant than using dist-hook.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:29 +02:00
Stepan Kasal 2984313a46 build-sys: do not build convenience libraries in lib/
Build lib/*.c individually for each project which uses it, so that the
right set of flags is applied each time.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:29 +02:00
Karel Zak b8d1314dc6 build-sys: fix README filenames and add missing files to EXTRA_DISTs
Also, the patch makes "make mrproper" more robust.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-08 12:38:25 +01:00
Karel Zak e83446da1a tests: add basic infrastructure for regression tests
The patch adds tests/ directory with simple regression tests infrastructure.

Also, it adds the "ts-mount-paths" test that testing if all defined paths
(fstab, mtab, locks) are still same.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 14:23:48 +01:00
Karel Zak 562218e6ea build-sys: add missing files
This patch add all missing headers, man pages and README files to automake
stuff and "make dist-gzip" produces useful tarball now.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 11:57:07 +01:00
Karel Zak 8eeb575c0d build-sys: remove generated autotools stuff from git
The generated autotools stuff shouldn't be maintained by SCM. After check out
from git use ./autogen.sh. For more details see README.devel.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-03 22:20:44 +01:00
Karel Zak baf39af15b Imported from util-linux-2.13-pre2 tarball. 2006-12-07 00:26:58 +01:00
Karel Zak 48d7b13a1e Imported from util-linux-2.13-pre1 tarball. 2006-12-07 00:26:54 +01:00