2.76. sudo-1.8.31
This package is not part of original LFS (on both pass1 and main stages).
Package is used for user switching inside chrooted container. After default chroot(1) we are acting as root user. sudo helps us to return back to general user (automatically).
#!/bin/sh # Copyright © 1999-2022 Gerard Beekmans # Copyright © 2017-2022 Random Crew # Distributed under the terms of MIT License.
Configuration
src_config() { ./configure \ --prefix=${PREFIX} \ --docdir=${PREFIX}/share/doc/${P} }
Compilation
src_compile() { make ${MAKEOPTS} }
Installation
src_install() { make install ${MAKEOPTS} DESTDIR=${D} }
lfs_postinstall
The installation settings for package are not performed, as they require root privileges, which we do not have.
lfs_postinstall() { return }
Patches
Run time scripts
Build code
Other files