Check-in [4dd80e9a9b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove need of shared temporary file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4dd80e9a9b9eb4c2ce7d13c6f47ee9a35c1145a8
User & Date: antoine 2013-06-02 14:13:13
Context
2013-06-02
21:56
make.conf: Fix appending MASTERNAME-make.conf twice Reported by: kwm Ticket: [674c0b93bf2] check-in: f4a3eb687b user: bdrewery tags: trunk
14:13
Remove need of shared temporary file. check-in: 4dd80e9a9b user: antoine tags: trunk
11:51
Fix use of $@ to "$@" so that parameters with spaces are expanded/passed properly check-in: 16098d6c6a user: bdrewery tags: trunk
Changes

Changes to src/share/poudriere/common.sh.

1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
		install) [ -n "${PORTTESTING}" ] && markfs preinst ${mnt} ;;
		deinstall)
			# Skip for all linux ports, they are not safe
			if [ "${PKGNAME%%*linux*}" != "" ]; then
				msg "Checking shared library dependencies"
				listfilecmd="grep -v '^@' /var/db/pkg/${PKGNAME}/+CONTENTS"
				[ ${PKGNG} -eq 1 ] && listfilecmd="pkg query '%Fp' ${PKGNAME}"
				echo "${listfilecmd} | xargs ldd 2>&1 |
					awk '/=>/ { print $3 }' | sort -u" > ${mnt}/shared.sh
				injail sh /shared.sh
				rm -f ${mnt}/shared.sh
			fi
			;;
		esac

		print_phase_header ${phase}

		if [ "${phase}" = "package" ]; then







|
|
<
<







1172
1173
1174
1175
1176
1177
1178
1179
1180


1181
1182
1183
1184
1185
1186
1187
		install) [ -n "${PORTTESTING}" ] && markfs preinst ${mnt} ;;
		deinstall)
			# Skip for all linux ports, they are not safe
			if [ "${PKGNAME%%*linux*}" != "" ]; then
				msg "Checking shared library dependencies"
				listfilecmd="grep -v '^@' /var/db/pkg/${PKGNAME}/+CONTENTS"
				[ ${PKGNG} -eq 1 ] && listfilecmd="pkg query '%Fp' ${PKGNAME}"
				injail ${listfilecmd} | injail xargs ldd 2>&1 |
					awk '/=>/ { print $3 }' | sort -u


			fi
			;;
		esac

		print_phase_header ${phase}

		if [ "${phase}" = "package" ]; then