Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: util-linux-2.12r   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources/  &&
rm -rf util-linux-2.12r &&
tar -xjf util-linux-2.12r.tar.bz2 &&
cd util-linux-2.12r &&
sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
    -i $(grep -rl '/etc/adjtime' .)
mkdir -pv /var/lib/hwclock &&
patch -Np1 -i ../util-linux-2.12r-cramfs-1.patch &&
patch -Np1 -i ../util-linux-2.12r-lseek-1.patch &&
cp hwclock/hwclock.c{,.backup} &&
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
    hwclock/hwclock.c.backup > hwclock/hwclock.c &&
mkdir -p /var/lib/hwclock &&
./configure &&
make HAVE_KILL=yes HAVE_SLN=yes &&
make HAVE_KILL=yes HAVE_SLN=yes install


The output should look something like this:

patching file disk-utils/fsck.cramfs.c
patching file disk-utils/mkfs.cramfs.c
patching file fdisk/Makefile
patching file fdisk/cfdisk.c
patching file fdisk/fdisk.c
patching file fdisk/fdisk.h
patching file fdisk/fdiskbsdlabel.c
patching file fdisk/fdisksgilabel.c
patching file fdisk/sfdisk.c
patching file partx/partx.c

configuring util-linux-2.12r

You have 
You have 
You have 
You have 
.
.
.
(cd /usr/sbin; ln -sf rdev vidmode)
(cd /usr/sbin; ln -sf rdev rootflags)
install -d -m 755 /usr/share/man/man1 /usr/share/man/man8 /usr/share/info
install -m 644 arch.1 flock.1 readprofile.1 /usr/share/man/man1
install -m 644 ctrlaltdel.8 cytune.8 dmesg.8 ipcrm.8 ipcs.8 renice.8 setsid.8 sln.8 tunelp.8 rdev.8 ramsize.8 rootflags.8 vidmode.8 /usr/share/man/man8
install -m 644 ipc.info /usr/share/info
make[1]: Leaving directory `/sources/util-linux-2.12r/sys-utils'
make[1]: Entering directory `/sources/util-linux-2.12r/text-utils'
install -d -m 755 /bin /usr/bin /usr/share/man/man1
install -m 755  more /bin
install -m 755 col colcrt colrm column hexdump rev line tailf ul pg /usr/bin
install -m 644 col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1 ul.1 more.1 pg.1 /usr/share/man/man1
make[1]: Leaving directory `/sources/util-linux-2.12r/text-utils'

~~~
Please read our Terms of Use
The Mountain Climbing Journal filesystem has borrowed heavily from various pieces of Linux From Scratch.

Copyright 2006-2008 NoNIC.org

Created by:
MCJ
MCJ CMS