[Frugalware-git] systemd: util-linux-ng-2.18-2-i686

Michel Hermier hermier at frugalware.org
Fri Nov 26 22:29:05 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=systemd.git;a=commitdiff;h=e6a0f4ba65c1aed8909485e6322e06a019191025

commit e6a0f4ba65c1aed8909485e6322e06a019191025
Author: Michel Hermier <hermier at frugalware.org>
Date:   Fri Nov 26 22:27:40 2010 +0100

util-linux-ng-2.18-2-i686

* Make /etc/mtab an symlink to /proc/mtab
* Enable fsck build for systemd.

diff --git a/source/base/util-linux-ng/FrugalBuild b/source/base/util-linux-ng/FrugalBuild
index b2ebe1a..2c7330a 100644
--- a/source/base/util-linux-ng/FrugalBuild
+++ b/source/base/util-linux-ng/FrugalBuild
@@ -3,10 +3,11 @@

pkgname=util-linux-ng
pkgver=2.18
-pkgrel=1
+pkgrel=2
pkgdesc="Miscellaneous system utilities for Linux"
url="http://www.kernel.org/pub/linux/utils/util-linux-ng"
backup=('etc/sysconfig/console' 'etc/sysconfig/numlock')
+removes=('etc/mtab')
depends=('bash' 'ncurses>=5.6-4' 'zlib>=1.2.3-6' 'texinfo>=4.11-3')
makedepends=('cvs')
replaces=('util-linux' 'linux32')
@@ -43,8 +44,7 @@ build() {
export CFLAGS="$CFLAGS -fPIC"
Fcd
Fautoreconf
-	Fbuild --enable-arch --enable-raw  --enable-elvtune \
-		--mandir=/usr/share/man --disable-fsck
+	Fbuild --enable-arch --enable-raw --enable-elvtune
# Remove conflicting files.
Frm /bin/kill /usr/bin/wall
Frm /usr/share/man/man1/{kill,wall}.1
@@ -55,6 +55,9 @@ build() {
# This one will be created by ldconfig
Frm /lib/libblkid.so.1

+	# Runtime file
+	Fln /proc/mounts /etc/mtab
+
# Move stuff to the right location (where util-linux had them, maybe
# remove later).
Fmv /sbin/raw /usr/bin/raw


More information about the Frugalware-git mailing list