Installer: separate writing bootsector from other install finishing code

Remove the InstallerInitScript (it does nothing) and the
InstallerFinishScript (it does too many things). Instead implement the
finishing directly in Installer. Separate writing the bootsector, so
that the "write bootsector" menu writes only the bootsector.

Fixes #16303
This commit is contained in:
Adrien Destugues
2020-08-05 12:52:04 +02:00
parent d077ef8a1a
commit 2c09e0dc7f
8 changed files with 19 additions and 82 deletions
-21
View File
@@ -1,21 +0,0 @@
#!/bin/sh
## The installer finish script.
target=$1
if [ -z "$target" ]; then
echo "Usage: $0 <volume>"
exit 1
fi
if [ ! -d "$target" ]; then
echo "$target isn't mounted"
exit 1
fi
mkdir -p "$target/system/cache/tmp"
# remove Installer link
rm -f "$target/home/Desktop/Installer"
makebootable "$target"
-5
View File
@@ -1,5 +0,0 @@
#!/bin/sh
## The installer init script.