X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-tftp-hpa;h=4fe70ceecd9a5221e1271ed25f0d4e3848de2be0;hb=532a0d1a77242192d6809b03ec7c14e271e29e82;hp=555aeb58a63966dabcbca5ef9f294c9223d826cf;hpb=f63a78e04ec65397472cda88061558f4e3a30fb2;p=hvlinux.git diff --git a/stage3/cis-tftp-hpa b/stage3/cis-tftp-hpa index 555aeb5..4fe70ce 100755 --- a/stage3/cis-tftp-hpa +++ b/stage3/cis-tftp-hpa @@ -1,4 +1,6 @@ #!/bin/sh +set -o errexit + # First argument of this script is the package name. # Remaining arguments are additional configure options. @@ -12,24 +14,23 @@ shift CONFIGURE_OPTS=${*} # Applying patches (if any) -apply_patches ${PACKAGE} && +apply_patches ${PACKAGE} # Need to specify mandir manually because of a stupid programming error in tftpd sources... -cd ${LFS_TMP}/${PACKAGE} && +cd ${LFS_TMP}/${PACKAGE} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/man \ --without-tcpwrappers \ - ${CONFIGURE_OPTS} && -make && -make install && + ${CONFIGURE_OPTS} +make +make install ldconfig -mkdir -v -p /srv/tftpboot && +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 $?