mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-07 16:11:38 +00:00
Unminimization information should only go to motd when we are actually
minimized.
This commit is contained in:
parent
cb7fe7592f
commit
e509a81f1d
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.469) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Unminimization information should only go to motd when we are actually
|
||||||
|
minimized.
|
||||||
|
|
||||||
|
-- Steve Langasek <steve.langasek@ubuntu.com> Sun, 08 Oct 2017 16:07:42 -0400
|
||||||
|
|
||||||
livecd-rootfs (2.468) artful; urgency=medium
|
livecd-rootfs (2.468) artful; urgency=medium
|
||||||
|
|
||||||
[ Dimitri John Ledkov ]
|
[ Dimitri John Ledkov ]
|
||||||
|
@ -135,7 +135,6 @@ rm -f /etc/update-motd.d/60-unminimize
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
chmod +x chroot/usr/local/sbin/unminimize
|
chmod +x chroot/usr/local/sbin/unminimize
|
||||||
fi
|
|
||||||
|
|
||||||
# inform users about the unminimize script
|
# inform users about the unminimize script
|
||||||
cat > "chroot/etc/update-motd.d/60-unminimize" << EOF
|
cat > "chroot/etc/update-motd.d/60-unminimize" << EOF
|
||||||
@ -150,6 +149,7 @@ echo "To restore this content, you can run the 'unminimize' command."
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod +x chroot/etc/update-motd.d/60-unminimize
|
chmod +x chroot/etc/update-motd.d/60-unminimize
|
||||||
|
fi
|
||||||
Chroot chroot "dpkg-divert --quiet --add \
|
Chroot chroot "dpkg-divert --quiet --add \
|
||||||
--divert /usr/sbin/update-initramfs.REAL --rename \
|
--divert /usr/sbin/update-initramfs.REAL --rename \
|
||||||
/usr/sbin/update-initramfs"
|
/usr/sbin/update-initramfs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user