3.85. etc-release
#!/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 ${LFS_VERSION} > ${D}/etc/lfs-release cat > ${D}/etc/lsb-release << "EOF" DISTRIB_ID="Linux From Scratch" DISTRIB_RELEASE="${LFS_VERSION}" DISTRIB_CODENAME="LFS-${LFS_VERSION}" DISTRIB_DESCRIPTION="Linux From Scratch with any" EOF cat > ${D}/etc/os-release << "EOF" NAME="Linux From Scratch" VERSION="${LFS_VERSION}" ID=lfs PRETTY_NAME="Linux From Scratch ${LFS_VERSION}" VERSION_CODENAME="LFS with any" EOF }
Build code
Other files
Links
- url.lfs: https://linuxfromscratch.org/lfs/view/11.2/chapter11/theend.html
- url.lfs.stage1: