Skip to content

Commit 3923d62

Browse files
committed
Fix installation of Ubuntu Mate
1 parent 5e63649 commit 3923d62

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

simpleimage/make_rootfs.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,6 @@ export DEBIAN_FRONTEND=noninteractive
360360
locale-gen en_US.UTF-8
361361
apt-get -y update
362362
apt-get -y install dosfstools curl xz-utils iw rfkill wpasupplicant openssh-server alsa-utils jq $EXTRADEBS
363-
/usr/local/sbin/install_mate_desktop.sh
364-
systemctl set-default graphical.target
365363
apt-get -y remove --purge ureadahead
366364
$ADDPPACMD
367365
apt-get -y update
@@ -410,6 +408,10 @@ EOF
410408
rm -f "$DEST/etc/resolv.conf"
411409
rm -f "$DEST"/etc/ssh/ssh_host_*
412410
do_chroot ln -s /run/resolvconf/resolv.conf /etc/resolv.conf
411+
do_chroot /usr/local/sbin/install_mate_desktop.sh
412+
do_chroot systemctl set-default graphical.target
413+
do_chroot apt-get -y autoremove
414+
do_chroot apt-get clean
413415
;;
414416
*)
415417
;;

0 commit comments

Comments
 (0)