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:
@@ -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) ;
|
||||
|
||||
|
||||
@@ -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) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user