# To repackage Firefox as a .deb package # we bootstrap jessie systems on a bullseye image. # To keep the build and repackage environments # consistent the build baseline used here (jessie) should be # synchronized with the packaging baseline used in # taskcluster/docker/debian-repackage/Dockerfile # and python/mozbuild/mozbuild/repackaging/deb.py
case "$arch" in
i386|amd64)
dist=jessie if [ -n "$PACKAGES_TASKS" ]; then
gcc_version=8 else
gcc_version=4.9 fi # The Debian Jessie GPG key expired.
extra_apt_opt='Apt::Key::gpgvcommand "/usr/local/sbin/gpgvnoexpkeysig"'
;;
arm64)
dist=buster
gcc_version=8
;;
*) echo"$arch is not supported." >&2
exit 1
;;
esac
# Adjust symbolic links to link into the sysroot instead of absolute # paths that end up pointing at the host system.
find $sysroot -type l | while read l; do
t=$(readlink $l)
case "$t" in
/*) # We have a path in the form "$sysroot/a/b/c/d" and we want ../../.., # which is how we get from d to the root of the sysroot. For that, # we start from the directory containing d ("$sysroot/a/b/c"), remove # all non-slash characters, leaving is with "///", replace each slash # with "../", which gives us "../../../", and then we remove the last # slash.
rel=$(dirname $l | sed 's,[^/],,g;s,/,../,g;s,/$,,')
ln -sf $rel$t $l
;;
esac done
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.