Boot the system via launch_daemon.

* This is actually working already, although we cannot reproduce all
  the features of the former Bootscript yet. This is without any
  dependency support in launch_daemon.
* All shell activity like cleaning out /tmp, setting up the environment,
  setting the time, etc. is not yet working.
This commit is contained in:
Axel Dörfler
2015-07-22 20:40:33 +02:00
parent 592ffe6461
commit 89168ad8b9
4 changed files with 31 additions and 14 deletions
+1
View File
@@ -115,6 +115,7 @@ SYSTEM_SERVERS = [ FFilterByBuildFeatures
debug_server dns_resolver_server
input_server
keystore_server
launch_daemon
mount_server
net_server notification_server
package_daemon power_daemon
+5 -2
View File
@@ -124,11 +124,14 @@ AddSymlinkToPackage bin : trash : untrash ;
AddSymlinkToPackage bin : less : more ;
# scripts and data files
local bootScripts = Bootscript Bootscript.cd SetupEnvironment
InstallerInitScript InstallerFinishScript ;
local bootScripts = SetupEnvironment InstallerInitScript InstallerFinishScript ;
SEARCH on $(bootScripts) = [ FDirName $(HAIKU_TOP) data system boot ] ;
AddFilesToPackage boot : $(bootScripts) ;
local launchScripts = <data!launch>system ;
SEARCH on $(launchScripts) = [ FDirName $(HAIKU_TOP) data launch ] ;
AddFilesToPackage data launch : $(launchScripts) ;
# post install scripts
local postInstallFiles = add_catalog_entry_attributes.sh
default_deskbar_items.sh ;