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 
You have 
You have 
You have 
You have 
You have 
You have 
You have 
You have 
You have inet_aton()
You have fsync()
You have getdomainname()
You have nanosleep()
You have personality()
You have updwtmp()
You have fseeko()
You have lchown()
You have rpmatch()
You have 
You have ncurses. Using .
You don't have termcap
You need -lcrypt
You have  and gettext()
You have __progname
You have  and openpty()
You have wide character support
You have SYS_pivot_root
You have a tm_gmtoff field in struct tm
Your rpcgen output does not compile - using pregenerated
code
You have zlib
You have blkid
make[1]: Entering directory `/sources/util-linux-2.12r/po'
rm -f cat-id-tbl.tmp
sed -f ./po2tbl.sed util-linux.pot \
.
.
.
install -m 644 agetty.8 /usr/share/man/man8
make[1]: Leaving directory
`/sources/util-linux-2.12r/login-utils'
make[1]: Entering directory
`/sources/util-linux-2.12r/misc-utils'
install -d -m 755 /bin /usr/bin
install -m 755 cal chkdupexe ddate logger look mcookie
namei rename script whereis write setterm /usr/bin
install -d -m 755 /usr/share/man/man1
install -m 644 cal.1 chkdupexe.1 ddate.1 logger.1 look.1
mcookie.1 namei.1 rename.1 script.1 whereis.1 write.1
setterm.1 /usr/share/man/man1
chgrp tty /usr/bin/write
chmod g+s /usr/bin/write
make[1]: Leaving directory
`/sources/util-linux-2.12r/misc-utils'
make[1]: Entering directory
`/sources/util-linux-2.12r/mount'
install -d -m 755 /bin /sbin
install -m 4755 -o root mount umount /bin
install -m 755 swapon losetup pivot_root /sbin
(cd /sbin; ln -sf swapon swapoff)
install -d -m 755 /usr/share/man/man5 /usr/share/man/man8
install -m 644 fstab.5 nfs.5 /usr/share/man/man5
install -m 644 mount.8 swapoff.8 swapon.8 umount.8
losetup.8 pivot_root.8 /usr/share/man/man8
make[1]: Leaving directory
`/sources/util-linux-2.12r/mount'
make[1]: Entering directory
`/sources/util-linux-2.12r/fdisk'
install -d -m 755 /sbin
install -m 755	fdisk cfdisk sfdisk /sbin
install -d -m 755 /usr/share/man/man8
install -m 644	fdisk.8 cfdisk.8 sfdisk.8
/usr/share/man/man8
make[1]: Leaving directory
`/sources/util-linux-2.12r/fdisk'
make[1]: Entering directory
`/sources/util-linux-2.12r/hwclock'
install -d -m 755 /sbin /bin /usr/bin
install -m 755 hwclock /sbin
install -m 644 hwclock.8 /usr/share/man/man8
make[1]: Leaving directory
`/sources/util-linux-2.12r/hwclock'
make[1]: Entering directory
`/sources/util-linux-2.12r/sys-utils'
install -d -m 755 /sbin /bin /usr/bin /usr/sbin
install -m 755 ctrlaltdel /sbin
install -m 755 arch dmesg /bin
install -m 755 cytune flock ipcrm ipcs renice setsid
/usr/bin
install -m 755 readprofile tunelp rdev /usr/sbin
(cd /usr/sbin; ln -sf rdev ramsize)
(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 and our Privacy Policy
A tip o' the hat to the folks at Linux From Scratch, who provided a lot of the know-how and framing for the NoNIC OS.

Copyright 2006-2009 NoNIC.org

Created by:
MCJ
MCJ CMS