Check-in [492f7e6c9f]

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

Overview
Comment:Be a bit more strict about leftovers in /var/db/, hopefully not breaking too much things.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 492f7e6c9f8b8909776839ad277bec037f8fb4be
User & Date: antoine 2013-06-12 13:14:23
Context
2013-06-13
13:15
Quote filenames check-in: 70d7ba9064 user: bdrewery tags: trunk
2013-06-12
13:14
Be a bit more strict about leftovers in /var/db/, hopefully not breaking too much things. check-in: 492f7e6c9f user: antoine tags: trunk
2013-06-11
18:51
parallel_exec: Fix to not disable 'set -e' in child cmd due to || This set -e juggling is to keep this function portable to other scripts that may or may not be running set -e. This fixes compute_deps() finding invalid port origins and not properly stopping before the build starts, which can lead to infinite loops check-in: 7243a6f3d1 user: bdrewery tags: trunk
Changes

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

637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
....
1274
1275
1276
1277
1278
1279
1280


1281
1282
1283
1284
1285
1286
1287
1288





1289
1290
1291
1292
1293
1294
1295
./new_packages/*
./packages/*
./poudriere/*
./proc/*
./tmp/*
./usr/ports/*
./usr/src
./var/db/*
./var/db/pkg/*
./var/log/*
./var/mail/*
./var/run/*
./wrkdirs/*
EOF
	fi
	mtree -X ${mnt}/poudriere/mtree.${name}exclude \
................................................................................
					`
				fi
				case $modtype in
				+)
					case "${ppath}" in
					# gconftool-2 --makefile-uninstall-rule is unpredictable
					etc/gconf/gconf.xml.defaults/%gconf-tree*.xml) ;;


					*) echo "${ppath}" >> ${add} ;;
					esac
					;;
				-)
					# Skip if it is PREFIX and non-LOCALBASE. See misc/kdehier4
					# or mail/qmail for examples
					[ "${path#${mnt}}" = "${PREFIX}" -a \
						"${LOCALBASE}" != "${PREFIX}" ] && ignore_path=1






					if [ $ignore_path -eq 0 ]; then
						echo "${ppath}" >> ${del}
					fi
					;;
				M)
					[ -d "${path}" ] && continue







|
|







 







>
>








>
>
>
>
>







637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
....
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
./new_packages/*
./packages/*
./poudriere/*
./proc/*
./tmp/*
./usr/ports/*
./usr/src
./var/db/pkg/*
./var/db/ports/*
./var/log/*
./var/mail/*
./var/run/*
./wrkdirs/*
EOF
	fi
	mtree -X ${mnt}/poudriere/mtree.${name}exclude \
................................................................................
					`
				fi
				case $modtype in
				+)
					case "${ppath}" in
					# gconftool-2 --makefile-uninstall-rule is unpredictable
					etc/gconf/gconf.xml.defaults/%gconf-tree*.xml) ;;
					# fc-cache - skip for now
					/var/db/fontconfig/*) ;;
					*) echo "${ppath}" >> ${add} ;;
					esac
					;;
				-)
					# Skip if it is PREFIX and non-LOCALBASE. See misc/kdehier4
					# or mail/qmail for examples
					[ "${path#${mnt}}" = "${PREFIX}" -a \
						"${LOCALBASE}" != "${PREFIX}" ] && ignore_path=1

					# fc-cache - skip for now
					case "${ppath}" in
					/var/db/fontconfig/*) ignore_path=1 ;;
					esac

					if [ $ignore_path -eq 0 ]; then
						echo "${ppath}" >> ${del}
					fi
					;;
				M)
					[ -d "${path}" ] && continue