diff --git a/files/bootlocal.sh b/files/bootlocal.sh index eb3918ce95b666f6f3e1cd54b75ad4d4e7a0d0c8..3bfef3f6a9573cea8286dd773e0db22b16cd4de1 100644 --- a/files/bootlocal.sh +++ b/files/bootlocal.sh @@ -1,9 +1,6 @@ #!/bin/sh cd /opt -# include develop config -. ./installer.config - # include functions.sh . ./functions.sh diff --git a/files/installer.config b/files/installer.config index 140d0068308c6a6351fd06a84d9edf56939763a8..0eadf6e1b88cdeb8784b57ef7abb1e9f7f0b3360 100644 --- a/files/installer.config +++ b/files/installer.config @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + export DISK_SDA_SCHEME="gpt" declare -a DISK_SDA_PARTITIONS=() DISK_SDA_PARTITIONS+=("1GB:fat16:/boot:defaults:0:0:False:boot,esp") diff --git a/files/installer.sh b/files/installer.sh index 0ec2c60e9708114f5d35e3467a4f1f74344866b8..aa1e0f22d3a21549bd3183c6aae08cbd1edf7acd 100755 --- a/files/installer.sh +++ b/files/installer.sh @@ -3,13 +3,16 @@ # include functions.sh again, thins it is a new environment . ./functions.sh +# include develop config +. ./installer.config + # include diskspreparation.sh echo "run disks preparation" . ./diskspreparation.sh echo "run disks preparation finished" -# append local fstab, possible problems with outomount included in tinycore -cat /tmp/fstab.local >> /etc/fstab +# append local fstab, possible problems with automount included in tinycore +cat /tmp/fstab.target >> /etc/fstab # inform kernel about changes sync