mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 01:11:31 +00:00
include adjustments to the minimize/unminimize wording that were made in the merge commit on trunk
This commit is contained in:
parent
2e3ca4b5a9
commit
dfb4c593b1
@ -38,7 +38,7 @@ Expire-Date: 0
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${SUBPROJECT:-}" = minimized ]; then
|
if [ "${SUBPROJECT:-}" = minimized ]; then
|
||||||
# set up dpkg filters to skip installing docs on minimizedd system
|
# set up dpkg filters to skip installing docs on minimized system
|
||||||
mkdir -p chroot/etc/dpkg/dpkg.cfg.d
|
mkdir -p chroot/etc/dpkg/dpkg.cfg.d
|
||||||
cat > chroot/etc/dpkg/dpkg.cfg.d/excludes <<EOF
|
cat > chroot/etc/dpkg/dpkg.cfg.d/excludes <<EOF
|
||||||
# Drop all man pages
|
# Drop all man pages
|
||||||
@ -64,15 +64,15 @@ EOF
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "This system was optimized for smaller footprint by reducing the available"
|
echo "This system has been minimized by removing packages and content that are"
|
||||||
echo "installed documentation, removal of rarely used tools, and by other means."
|
echo "not required on a system that users do not log into."
|
||||||
echo ""
|
echo ""
|
||||||
echo "This script reverts part of the optimization and makes documentation and"
|
echo "This script restores the content and packages that are found on a default"
|
||||||
echo "tools available again to match the familiar Ubuntu minimial system."
|
echo "Ubuntu server system."
|
||||||
echo ""
|
echo ""
|
||||||
echo "Be warned that reinstallation of packages may fail due to changes to the"
|
echo "Reinstallation of packages may fail due to changes to the system"
|
||||||
echo "system configuration, due to installation of 3rd party packages, or for"
|
echo "configuration, the presence of third-party packages, or for other"
|
||||||
echo "other reasons."
|
echo "reasons."
|
||||||
read -p "Would you like to continue? [y/N]" REPLY
|
read -p "Would you like to continue? [y/N]" REPLY
|
||||||
echo # (optional) move to a new line
|
echo # (optional) move to a new line
|
||||||
if [ "$REPLY" != "y" ] && [ "$REPLY" != "Y" ]
|
if [ "$REPLY" != "y" ] && [ "$REPLY" != "Y" ]
|
||||||
@ -129,10 +129,10 @@ EOF
|
|||||||
#
|
#
|
||||||
# This file is not managed by a package. If you no longer want to
|
# This file is not managed by a package. If you no longer want to
|
||||||
# see this message you can safely remove the file.
|
# see this message you can safely remove the file.
|
||||||
|
echo "This system has been minimized by removing packages and content that are"
|
||||||
|
echo "not required on a system that users do not log into."
|
||||||
echo ""
|
echo ""
|
||||||
echo "This system does not provide part of the tools and documentation"
|
echo "To restore this content, you can run the 'unminimize' command."
|
||||||
echo "which are available on standard Ubuntu systems."
|
|
||||||
echo "To make them available please run the "unminimize" command."
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod +x chroot/etc/update-motd.d/60-unminimize
|
chmod +x chroot/etc/update-motd.d/60-unminimize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user