# util-legacy/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package restores a program that upstream maintainers of "util- linux" have dropped from that package: rdev. An old set of "util- linux" sources is used. #--------------------------------------------------------------------- 2. As of 2011, this distro's "rc.d" scripts used "rdev" to identify the root partition node to be used. Code similar to the following was used: ROOTDEV=$(grep -o "root=[^ ]*" /proc/cmdline | cut -d= -f2) echo $ROOTDEV #--------------------------------------------------------------------- 3. "rdev" is believed to be X86-specific. It seems to be compatible with both 32-bit and 64-bit architectures, but this hasn't been con- firmed. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.13 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.15 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.17 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.37 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.01 hours (or 000.55 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] license = GNU General Public License, version 2 (June 1991) master = glibc nls = disabled revision = numeric unpack = relaxed #--------------------------------------------------------------------- [depends] util-linux # For "blkid" zlib #--------------------------------------------------------------------- [configure] for x in `grep -v "#" debian/patches/00list` do patch -p1 < debian/patches/$x.dpatch done bash ./configure \ --prefix=$PKGDIR_PROD \ --disable-nls #--------------------------------------------------------------------- [build] export FORCELINEMAX=yes export FORCEPATHMAX=yes BINDIR=$PKGDIR_PROD/bin MANDIR8=$PKGDIR_PROD/man/man8 mkdir -p $BINDIR $MANDIR8 cd sys-utils make rdev cp -p rdev $BINDIR/ cp -p rdev.8 $MANDIR8/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/\ util-linux url_debian_pool = http://ftp.debian.org/debian/pool/main/u/\ util-linux/ url_home = n/a url_lfs = http://www.linuxfromscratch.org/lfs/view/stable/\ chapter05/util-linux.html url_tarball = ftp://ftp.kernel.org/pub/linux/utils/\ util-linux/util-linux-2.12r.tar.bz2 #--------------------------------------------------------------------- [history]