3 # functions used for the actual installation
10 # this gets executed if a module fails
11 # it marks the installation as failed
13 # touching noerror skips error checking for one check
14 if [ -e /opt/noerror ]; then
19 touch /opt/installfailed
25 # this sets the status message
26 # displayed at the bottom of the screen when using the GUI installer
28 if [ -e /usr/share/liveutils ]; then
31 echo "$@" >/opt/instantprogress
35 # run a script inside the installation medium
40 echo "$1" >>/tmp/instantprogress
43 # scripts executed in installed environment
46 if ! mount | grep -q '/mnt'; then
53 if command -v arch-chroot; then
54 arch-chroot /mnt "/root/instantARCH/${1}.sh" || serror
55 elif command -v manjaro-chroot; then
56 manjaro-chroot /mnt "/root/instantARCH/${1}.sh" || serror
58 artools-chroot /mnt "/root/instantARCH/${1}.sh" || serror
61 echo "chroot: $1" >>/tmp/instantprogress