Check-in [a335cb9a61]

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

Overview
Comment:Move GConf configuration source exclusion from mtree.preinstexclude to after check_leftovers, with a little explanation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a335cb9a611c4a46dd7d63262f5fd73c819c6b0f
User & Date: antoine 2013-05-25 13:42:33
Context
2013-05-25
13:48
status: Show tobuild and widen the jail column check-in: 46044289b0 user: bdrewery tags: trunk
13:42
Move GConf configuration source exclusion from mtree.preinstexclude to after check_leftovers, with a little explanation. check-in: a335cb9a61 user: antoine tags: trunk
13:33
Remove those 2 symbolic links from mtree.preinstexclude. They are needed with portbuild but not with poudriere, because portbuild doesn't make install-mtree before marking fs preinst. (the 2 links are created by make install-mtree) check-in: adf8b36dec user: antoine tags: trunk
Changes

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

616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
....
1276
1277
1278
1279
1280
1281
1282


1283
1284
1285
1286
1287
1288
1289
....
1292
1293
1294
1295
1296
1297
1298


1299
1300
1301
1302
1303
1304
1305
./usr/src
./var/db/ports/*
./wrkdirs/*
EOF
	elif [ "${name}" = "preinst" ]; then
		cat >  ${mnt}/poudriere/mtree.${name}exclude << EOF
.${HOME}/*
.${LOCALBASE:-/usr/local}/etc/gconf/gconf.xml.defaults
./ccache/*
./compat/linux/proc/*
./dev/*
./distfiles/*
./etc/group
./etc/make.conf
./etc/make.conf.bak
................................................................................
						-e "s,^${PREFIX}/,," \
						${sedargs} \
					`
				fi
				case $modtype in
				+)
					case "${ppath}" in


					*) echo "${ppath}" >> ${add} ;;
					esac
					;;
				-)
					# Skip if it is PREFIX and non-LOCALBASE. See misc/kdehier4
					# or mail/qmail for examples
					[ "${path#${mnt}}" = "${PREFIX}" -a \
................................................................................
					if [ $ignore_path -eq 0 ]; then
						echo "${ppath}" >> ${del}
					fi
					;;
				M)
					[ -d "${path}" ] && continue
					case "${ppath}" in


					# This is a cache file for gio modules could be modified for any gio modules
					lib/gio/modules/giomodule.cache) ;;
					# removal of info files leaves entry uneasy to cleanup in info/dir
					# accept a modification of this file
					info/dir) ;;
					# The is pear database cache
					%%PEARDIR%%/.depdb|%%PEARDIR%%/.filemap) ;;







<







 







>
>







 







>
>







616
617
618
619
620
621
622

623
624
625
626
627
628
629
....
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
....
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
./usr/src
./var/db/ports/*
./wrkdirs/*
EOF
	elif [ "${name}" = "preinst" ]; then
		cat >  ${mnt}/poudriere/mtree.${name}exclude << EOF
.${HOME}/*

./ccache/*
./compat/linux/proc/*
./dev/*
./distfiles/*
./etc/group
./etc/make.conf
./etc/make.conf.bak
................................................................................
						-e "s,^${PREFIX}/,," \
						${sedargs} \
					`
				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 \
................................................................................
					if [ $ignore_path -eq 0 ]; then
						echo "${ppath}" >> ${del}
					fi
					;;
				M)
					[ -d "${path}" ] && continue
					case "${ppath}" in
					# gconftool-2 --makefile-uninstall-rule is unpredictable
					etc/gconf/gconf.xml.defaults/%gconf-tree*.xml) ;;
					# This is a cache file for gio modules could be modified for any gio modules
					lib/gio/modules/giomodule.cache) ;;
					# removal of info files leaves entry uneasy to cleanup in info/dir
					# accept a modification of this file
					info/dir) ;;
					# The is pear database cache
					%%PEARDIR%%/.depdb|%%PEARDIR%%/.filemap) ;;