https://bugzilla.novell.com/show_bug.cgi?id=654905 https://bugzilla.novell.com/show_bug.cgi?id=654905#c0 Summary: Please provide the possibility of shadow mounts (mount --bind) for buildroot Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Enhancement Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: werner@novell.com QAContact: adrian@novell.com CC: ro@novell.com, mrueckert@novell.com Found By: Development Blocker: --- Preamble: it is very difficult to avoid the buildroot string within the resulting binaries of TeXLive (dumped formats). Currently I run # Avoid build root string in format ROOT=/tmp/= TEXMFCNF=${ROOT}%{_texcnfdir}/web2c// ln -sf %{buildroot} ${ROOT} export ROOT TEXMFCNF [... huge section making the rest of TeXLive ...] # Clean out the maps and formats if test -n "$ROOT" -a -d "$ROOT" ; then SLASH=$(echo "$ROOT" | tr '[[:print:]]' '/') for match in $(grep -rl $ROOT ${ROOT}) ; do mv -v $match ${match}.tmp case "$match" in *.map) sed "s@$ROOT@@g" < ${match}.tmp > $match ;; *.fmt|*.base) sed "s@$ROOT@$SLASH@g" < ${match}.tmp > $match ;; *) echo $match 1>&2 exit 1 esac rm -v ${match}.tmp done unset match SLASH fi .. to avoid this I'd like to have the possibility of mounting directories below buildroot into the above root/chroot enviroment %{buildroot}/usr/lib/texmf -> /usr/lib/texmf %{buildroot}/usr/share/texmf -> /usr/share/texmf %{buildroot}/etc/texmf -> /etc/texmf %{buildroot}/var/lib/texmf -> /var/lib/texmf %{buildroot}/var/cache/texmf -> /var/cache/texmf this would allow me to skip the time consuming rewrite of all the binaries above. This without become root access. One possible solution would my own package to do the mounts with the help of a BuildRequire ... or to create and/or append /etc/fstab to allow `user' to be able to do such mounts -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.