#!/bin/sh # First argument of this script is the package name. # Remaining arguments are additional configure options. # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list PACKAGE=${1} shift CONFIGURE_OPTS=${*} # Applying patches (if any) apply_patches ${PACKAGE} && cd ${LFS_TMP}/${PACKAGE} && ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --without-tcpwrappers \ ${CONFIGURE_OPTS} && make && make install && ldconfig mkdir -v -p /srv/tftpboot && # Addition to /etc/inetd.conf string_add "tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /srv/tftpboot -v -v -v -v -v" /etc/inetd.conf # Return last error exit $?