2.36. etchosts
This is pseudo-package for setting up ip adress for localhost. It's extracted from perl instructions of original LFS.
#!/bin/sh # Copyright © 1999-2022 Gerard Beekmans # Copyright © 2017-2022 Random Crew # Distributed under the terms of MIT License.
Configuration
src_config() { return }
Compilation
src_compile() { return }
Installation
src_install() { mkdir -p ${D}/etc/ echo "127.0.0.1 localhost $(hostname)" > ${D}/etc/hosts }
Build code
Other files