mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-10 09:33:07 +00:00
Merge lp.1829333
This commit is contained in:
commit
6af9dd4148
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
livecd-rootfs (2.587) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Strip translation files out of the minimal images, another thing that
|
||||||
|
goes unused when there is no human console user (and we already don't
|
||||||
|
have the locales themselves present on a minimal image). LP: #1829333.
|
||||||
|
|
||||||
|
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 17 May 2019 18:21:15 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.586) eoan; urgency=medium
|
livecd-rootfs (2.586) eoan; urgency=medium
|
||||||
|
|
||||||
[ Robert C Jennings ]
|
[ Robert C Jennings ]
|
||||||
|
@ -131,6 +131,9 @@ Expire-Date: 0
|
|||||||
# Drop all man pages
|
# Drop all man pages
|
||||||
path-exclude=/usr/share/man/*
|
path-exclude=/usr/share/man/*
|
||||||
|
|
||||||
|
# Drop all translations
|
||||||
|
path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo
|
||||||
|
|
||||||
# Drop all documentation ...
|
# Drop all documentation ...
|
||||||
path-exclude=/usr/share/doc/*
|
path-exclude=/usr/share/doc/*
|
||||||
|
|
||||||
@ -191,6 +194,10 @@ if [ -f /etc/dpkg/dpkg.cfg.d/excludes ] || [ -f /etc/dpkg/dpkg.cfg.d/excludes.dp
|
|||||||
# This step processes the packages which still have missing documentation
|
# This step processes the packages which still have missing documentation
|
||||||
dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/doc/ {print $2}' | sed 's|/[^/]*$||' | sort |uniq \
|
dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/doc/ {print $2}' | sed 's|/[^/]*$||' | sort |uniq \
|
||||||
| xargs dpkg -S | sed 's|, |\n|g;s|: [^:]*$||' | uniq | DEBIAN_FRONTEND=noninteractive xargs apt-get install --reinstall -y
|
| xargs dpkg -S | sed 's|, |\n|g;s|: [^:]*$||' | uniq | DEBIAN_FRONTEND=noninteractive xargs apt-get install --reinstall -y
|
||||||
|
echo "Restoring system translations..."
|
||||||
|
# This step processes the packages which still have missing translations
|
||||||
|
dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/locale/ {print $2}' | sed 's|/[^/]*$||' | sort |uniq \
|
||||||
|
| xargs dpkg -S | sed 's|, |\n|g;s|: [^:]*$||' | uniq | DEBIAN_FRONTEND=noninteractive xargs apt-get install --reinstall -y
|
||||||
if dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/doc/ {exit 1}'; then
|
if dpkg --verify --verify-format rpm | awk '/..5...... \/usr\/share\/doc/ {exit 1}'; then
|
||||||
echo "Documentation has been restored successfully."
|
echo "Documentation has been restored successfully."
|
||||||
rm /etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp
|
rm /etc/dpkg/dpkg.cfg.d/excludes.dpkg-tmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user