|
|
|
@ -135,7 +135,6 @@ rm -f /etc/update-motd.d/60-unminimize
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
chmod +x chroot/usr/local/sbin/unminimize
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# inform users about the unminimize script
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
chmod +x chroot/etc/update-motd.d/60-unminimize
|
|
|
|
|
fi
|
|
|
|
|
Chroot chroot "dpkg-divert --quiet --add \
|
|
|
|
|
--divert /usr/sbin/update-initramfs.REAL --rename \
|
|
|
|
|
/usr/sbin/update-initramfs"
|
|
|
|
|