Thanks for checking and confirming the locale changes are unrelated!
I suspected the locale difference were unrelated, but wanted a closer
look and clear understanding of why, before uploading, to ensure our
changes to Bionic demonstrate the required care to request an upload
in the exception criteria (to the Ubuntu archive for an ESM release).
I looked into this a bit more, and tracked these "new" locale files
to a behavior change in pkgstriptranslations (src:pkgbinarymangler)
if running on a PPA (do not strip), so the locale files are kept:
`INFO: Disabling pkgstriptranslations for PPA build`
So, for the regular/archive build (non-PPA), we expect the locale
files not to be present (as their strip should happen), therefore
their delta should drop -- and only expected changes would remain.
I confirmed this on a local build, by setting 'enable: true' in
`/etc/pkgbinarymangler/striptranslations.conf` and building the
package. The 'Disabling ... for PPA build' line is not present,
nor are the locale files:
Hi Arif,
Thanks for checking and confirming the locale changes are unrelated!
I suspected the locale difference were unrelated, but wanted a closer
look and clear understanding of why, before uploading, to ensure our
changes to Bionic demonstrate the required care to request an upload
in the exception criteria (to the Ubuntu archive for an ESM release).
I looked into this a bit more, and tracked these "new" locale files tions (src:pkgbinarym angler) tions for PPA build`
to a behavior change in pkgstriptransla
if running on a PPA (do not strip), so the locale files are kept:
`INFO: Disabling pkgstriptransla
So, for the regular/archive build (non-PPA), we expect the locale
files not to be present (as their strip should happen), therefore
their delta should drop -- and only expected changes would remain.
I confirmed this on a local build, by setting 'enable: true' in mangler/ striptranslatio ns.conf` and building the
`/etc/pkgbinary
package. The 'Disabling ... for PPA build' line is not present,
nor are the locale files:
$ dpkg-buildpackage -b -uc 2>&1 | tee ../build.log tions ../build.log tions version 138.18.04.2 tions: processing sosreport (in debian/sosreport); do_strip: 1, oemstrip: tions: preparing translation tarball sosreport_ 4.4-1ubuntu0. 18.04.2_ amd64_translati ons.tar. gz...done 4.4-1ubuntu0. 18.04.2_ amd64.deb | grep locale
$ grep pkgstriptransla
INFO: pkgstriptransla
pkgstriptransla
pkgstriptransla
$ dpkg-deb -c ../sosreport_
$
Uploading to Bionic.
cheers,
Mauricio
...
https:/ /manpages. ubuntu. com/manpages/ bionic/ en/man1/ pkgstriptransla tions.1. html
This script also removes all gettext *.mo files below <pkg-build- dir>/usr/ share/locale from all built binary packages.
...
$ curl -sL 'https:/ /launchpadlibra rian.net/ 627169149/ buildlog_ ubuntu- bionic- amd64.sosreport _4.4-1ubuntu0. 18.04.1_ BUILDING. txt.gz' -o - | zcat >old.log /launchpadlibra rian.net/ 735903734/ buildlog_ ubuntu- bionic- amd64.sosreport _4.4-1ubuntu0. 18.04.2_ BUILDING. txt.gz' -o - | zcat >new.log
$ curl -sL 'https:/
$ grep pkgstriptransla tions old.log new.log
old.log:INFO: pkgstriptransla tions version 138.18.04.1 pkgstriptransla tions: processing sosreport (in debian/sosreport); do_strip: 1, oemstrip: pkgstriptransla tions: preparing translation tarball sosreport_ 4.4-1ubuntu0. 18.04.1_ amd64_translati ons.tar. gz...done
old.log:
old.log:
new.log:INFO: pkgstriptransla tions version 138.18.04.2 tions for PPA build
new.log:INFO: Disabling pkgstriptransla