Skip to content
Snippets Groups Projects
Commit 9394fd02 authored by minute's avatar minute
Browse files

mkuserland: log commands, stop on errors

parent 946e169a
No related branches found
No related tags found
1 merge request!25MNT Reform System Image v2
......@@ -57,6 +57,9 @@ export LC_ALL=C
export LANGUAGE=C
export LANG=C
set -x
set -e
echo "root:root" | chpasswd
passwd -d root # remove root password
......@@ -105,4 +108,6 @@ apt remove -y ofono foot apparmor
# disable built-in sleep targets in favor of reform-standby script
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
umount /proc
EOF
......@@ -18,6 +18,14 @@ export LC_ALL=C
export LANGUAGE=C
export LANG=C
set -x
set -e
# mount /proc if it doesn't exist
if [[ ! -e /proc/version ]]; then
mount -t proc none /proc
fi
# install applications
apt install -y libreoffice libreoffice-gtk3 inkscape firefox-esr emacs gimp wmaker x11-utils
......@@ -34,4 +42,6 @@ apt install -y --no-install-recommends gnome-control-center gnome-session
# remove apparmor (slows down boot)
apt remove -y apparmor
umount /proc
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment