TODO
+-Create patch for shadow to disable group program and its man page
+
-Dans le fichier packages-list, utiliser un array pour
définir le nom du module et l'hyperlien pour le télécharger:
BASH[0]=bash-3.0.2
PKG_CONFIG=true \
ipkg ${UTIL_LINUX} "\
--exec-prefix=/tools \
- --enable-login-utils \
+ --disable-login \
+ --disable-sulogin \
+ --disable-su \
--disable-makeinstall-chown"
+ipkg ${SHADOW} "\
+ --sysconfdir=/etc \
+ --cache-file=config.cache"
ipkg ${E2FSPROGS}
ipkg -m noac ${SYSVINIT}
ipkg ${KMOD}
# Chapter 7
fpkg -s "linux/utils/util-linux/v$(get_pkg_ver2 ${UTIL_LINUX})" \
${UTIL_LINUX} ${KERNEL_URL}
+fpkg -m hv ${SHADOW}
fpkg -m sf ${E2FSPROGS}
fpkg ${SYSVINIT} "http://download.savannah.gnu.org/releases/sysvinit"
fpkg -e "tar.xz" -s "linux/utils/kernel/kmod" ${KMOD} ${KERNEL_URL}
--- /dev/null
+#!/bin/bash
+
+hvconfig_pre()
+{
+ cd ${LFS_TMP}/${PACKAGE}
+
+ # Disable the installation of the groups program and its man page, as
+ # Coreutils provides a better version.
+ sed -i 's/groups$(EXEEXT) //' src/Makefile.in
+ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
+}
+
+hvbuild()
+{
+ ${HVMAKE}
+ ${HVMAKE} DESTDIR=${CLFS} install
+}
lpkg 1 ${ZLIB}
lpkg 1 ${SED}
lpkg 1 ${UTIL_LINUX}
+lpkg 1 ${SHADOW}
lpkg 1 ${E2FSPROGS}
lpkg 1 ${COREUTILS}
lpkg 1 ${MFOUR}
"http://download.savannah.gnu.org/releases"
fpkg -e "tar.gz" ${MAN_DB} "http://download.savannah.gnu.org/releases/man-db"
fpkg -m sf ${PSMISC}
-fpkg -m hv ${SHADOW}
+
fpkg -e "tar.gz" ${SYSKLOGD} \
"http://www.infodrom.org/projects/sysklogd/download"
fpkg -m gnu ${GRUB}