# 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
;;
arm64)
dist=buster
;;
*) echo"$arch is not supported." >&2
exit 1
;;
esac
if [ -n "$DIST" ]; then
dist="$DIST" fi
case "$dist" in
jessie)
gcc_version=4.9
;;
stretch)
gcc_version=6
;;
buster)
gcc_version=8
;;
bullseye)
gcc_version=10
;;
bookworm)
gcc_version=12
;;
esac
if [ -n "$GCC_VERSION" ]; then
gcc_version="$GCC_VERSION" fi
# 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 und die Messung sind noch experimentell.