mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-28 11:31:19 +00:00
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777)
This commit is contained in:
parent
a72bfb8a07
commit
b7403fabf1
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
livecd-rootfs (2.534) bionic; urgency=medium
|
||||||
|
|
||||||
|
[ Francis Ginther ]
|
||||||
|
* Update unminimize script text and install ubuntu-standard when
|
||||||
|
unminimizing a minimal image (LP: #1778777)
|
||||||
|
|
||||||
|
-- Phil Roche <phil.roche@canonical.com> Wed, 04 Jul 2018 15:44:15 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.533) UNRELEASED; urgency=medium
|
livecd-rootfs (2.533) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
[ Robert C Jennings ]
|
[ Robert C Jennings ]
|
||||||
|
@ -109,12 +109,16 @@ set -e
|
|||||||
echo "This system has been minimized by removing packages and content that are"
|
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 "not required on a system that users do not log into."
|
||||||
echo ""
|
echo ""
|
||||||
echo "This script restores the content and packages that are found on a default"
|
echo "This script restores content and packages that are found on a default"
|
||||||
echo "Ubuntu server system."
|
echo "Ubuntu server system in order to make this system more suitable for"
|
||||||
|
echo "interactive use."
|
||||||
echo ""
|
echo ""
|
||||||
echo "Reinstallation of packages may fail due to changes to the system"
|
echo "Reinstallation of packages may fail due to changes to the system"
|
||||||
echo "configuration, the presence of third-party packages, or for other"
|
echo "configuration, the presence of third-party packages, or for other"
|
||||||
echo "reasons."
|
echo "reasons."
|
||||||
|
echo ""
|
||||||
|
echo "This operation may take some time."
|
||||||
|
echo ""
|
||||||
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" ]
|
||||||
@ -167,7 +171,7 @@ EOF
|
|||||||
|
|
||||||
if ! dpkg-query --show --showformat='${db:Status-Status}\n' ubuntu-minimal 2> /dev/null | grep -q '^installed$'; then
|
if ! dpkg-query --show --showformat='${db:Status-Status}\n' ubuntu-minimal 2> /dev/null | grep -q '^installed$'; then
|
||||||
echo "Installing ubuntu-minimal package to provide the familiar Ubuntu minimal system..."
|
echo "Installing ubuntu-minimal package to provide the familiar Ubuntu minimal system..."
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y ubuntu-minimal
|
DEBIAN_FRONTEND=noninteractive apt-get install -y ubuntu-minimal ubuntu-standard
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if dpkg-query --show --showformat='${db:Status-Status}\n' ubuntu-server 2> /dev/null | grep -q '^installed$' \
|
if dpkg-query --show --showformat='${db:Status-Status}\n' ubuntu-server 2> /dev/null | grep -q '^installed$' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user