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
+1 -2
View File
@@ -121,8 +121,7 @@ AddSymlinkToPackage bin : trash : untrash ;
AddSymlinkToPackage bin : less : more ;
# scripts and data files
local bootScripts = PostInstallScript SetupEnvironment
InstallerInitScript InstallerFinishScript ;
local bootScripts = PostInstallScript SetupEnvironment ;
SEARCH on $(bootScripts) = [ FDirName $(HAIKU_TOP) data system boot ] ;
AddFilesToPackage boot : $(bootScripts) ;
+1 -2
View File
@@ -115,8 +115,7 @@ AddSymlinkToPackage bin : trash : untrash ;
AddSymlinkToPackage bin : less : more ;
# scripts and data files
local bootScripts = PostInstallScript SetupEnvironment
InstallerInitScript InstallerFinishScript ;
local bootScripts = PostInstallScript SetupEnvironment ;
SEARCH on $(bootScripts) = [ FDirName $(HAIKU_TOP) data system boot ] ;
AddFilesToPackage boot : $(bootScripts) ;