MTD 248-645A Manual de usuario Pagina 144

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 143
Linux From Scratch - Version 7.0
124
Fix some of the permissions so that the non-root user can compile and run the tests:
chown -Rv nobody .
Now run the tests:
su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"
Remove the temporary group:
sed -i '/dummy/d' /etc/group
Install the package:
make install
Move programs to the locations specified by the FHS:
mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
mv -v /usr/bin/chroot /usr/sbin
mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8
Some of the scripts in the LFS-Bootscripts package depend on head, sleep, and nice. As /usr may not be available
during the early stages of booting, those binaries need to be on the root partition:
mv -v /usr/bin/{head,sleep,nice} /bin
6.23.2. Contents of Coreutils
Installed programs: base64, basename, cat, chcon, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit,
cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt,
fold, groups, head, hostid, id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo,
mknod, mktemp, mv, nice, nl, nohup, nproc, od, paste, pathchk, pinky, pr, printenv,
printf, ptx, pwd, readlink, rm, rmdir, runcon, seq, sha1sum, sha224sum, sha256sum,
sha384sum, sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum, sync, tac,
tail, tee, test, timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq, unlink,
users, vdir, wc, who, whoami, and yes
Installed library: libstdbuf.so
Installed directory: /usr/lib/coreutils
Short Descriptions
base64 Encodes and decodes data according to the base64 (RFC 3548) specification
basename Strips any path and a given suffix from a file name
cat Concatenates files to standard output
chcon Changes security context for files and directories
chgrp Changes the group ownership of files and directories
Vista de pagina 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 346 347

Comentarios a estos manuales

Sin comentarios