diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2005-01-13 03:54:04 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2005-01-13 03:54:04 +0000 |
commit | eb7b83b1436d35f849fc34ba41558a9d29f5753a (patch) | |
tree | 28cf2051d811dd93cabcd7f689d7ef64352e32c6 /emulators | |
parent | 4f09416a2970fc495ad7c9fe1e374627b319c4a2 (diff) | |
download | ports-eb7b83b1436d35f849fc34ba41558a9d29f5753a.tar.gz ports-eb7b83b1436d35f849fc34ba41558a9d29f5753a.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/linux_base-debian/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/emulators/linux_base-debian/Makefile b/emulators/linux_base-debian/Makefile index c413a370063d..2012baa69eb2 100644 --- a/emulators/linux_base-debian/Makefile +++ b/emulators/linux_base-debian/Makefile @@ -73,43 +73,44 @@ post-extract: ${WRKSRC} do-install: -# Create /dev/null for the chrooted environment +# Create /dev/null for the chrooted environment. ${MKDIR} ${PREFIX}/dev ${RM} -f ${PREFIX}/dev/null mknod ${PREFIX}/dev/null c 2 2 ${CHMOD} 666 ${PREFIX}/dev/null -# Extract packages that will be used while the install session +# Extract packages that will be used during the installation session. ${MKDIR} ${DPKGDB} .for pkg in dpkg shellutils libc6 debconf bash libncurses5 fileutils \ perl-base sysvinit textutils grep sed findutils ${DPKG_CMD} -x ${WRKSRC}/${pkg}_*.deb ${PREFIX} .endfor -# Touch empty data files +# Touch empty data files. ${MKDIR} ${PREFIX}/usr/info ${INSTALL_INFO} ${PREFIX}/usr/share/info/fileutils.info.gz \ ${PREFIX}/usr/info/dir ${TOUCH} ${DPKGDB}/status ${DPKGDB}/available -# Pre-generate timezone file for noninteractive +# Pre-generate timezone file, if this is a non-interactive build. .if defined(BATCH) ${ECHO_CMD} "Etc/GMT" > ${PREFIX}/etc/timezone .endif -# Install the `special' base packages that must be installed before all +# These base packages must be installed first. ${DPKG} -i ${WRKSRC}/dpkg_*.deb ${DPKG} --unpack ${WRKSRC}/libc6_*.deb ${BRANDELF} -t Linux ${PREFIX}/sbin/ldconfig ${DPKG} --configure libc6 -# Install the base packages +# Install the base packages. ${MKDIR} ${WRKSRC}/instpkgs for pkg in ${BASEPACKAGES}; do \ ${LN} -sf ${WRKSRC}/$${pkg}_*.deb ${WRKSRC}/instpkgs/; \ done ${DPKG} -i ${WRKSRC}/instpkgs/* +# Clean up. ${RM} -rf ${PREFIX}/tmp/* ${PREFIX}/etc/timezone.* .include <bsd.port.post.mk> |