1# This file defines the content of the minimum Haiku image. 2 3SYSTEM_BIN = [ FFilterByBuildFeatures 4 addattr alert arp autologin 5 beep bfsinfo 6 catattr checkfs checkitout chop clear collectcatkeys copyattr 7 desklink df diskimage draggers 8 driveinfo dstcheck dumpcatalog 9 eject error 10 fdinfo ffm filepanel finddir findpaths fortune fstrim 11 ftp@libedit ftpd 12 getarch groupadd groupdel groupmod 13 hd hey 14 ifconfig iroster isvolume 15 kernel_debugger keymap keystore 16 launch_roster linkcatkeys listarea listattr listimage listdev listfont 17 listport listres listsem listusb locale logger login lsindex 18 makebootable message mimeset mkfs mkindex 19 modifiers mount mountvolume 20 netstat notify 21 open 22 package package_repo passwd pc ping ping6 pkgman prio profile ps 23 query quit 24 ramdisk rc reindex release renice resattr rmattr rmindex roster route 25 safemode screen_blanker screeninfo screenmode setarch setmime settype 26 setversion setvolume shutdown 27 strace su sysinfo system_time 28 tcptester telnet telnetd top 29 traceroute trash 30 unchop unmount 31 uptime urlwrapper useradd userdel 32 version vmstat 33 waitfor watch writembr@x86,x86_64 xres 34] ; 35 36SYSTEM_APPS = [ FFilterByBuildFeatures 37 AboutSystem 38 BootManager@x86,x86_64 39 CharacterMap 40 Debugger@libedit DeskCalc Devices DiskProbe DiskUsage DriveSetup 41 Expander 42 NetworkStatus 43 ProcessController 44 ShowImage StyledEdit 45 Terminal TextSearch 46 Workspaces 47] ; 48 49DESKBAR_APPLICATIONS = 50 CharacterMap 51 DeskCalc Devices DiskProbe DiskUsage DriveSetup 52 Expander 53 StyledEdit 54 Terminal 55; 56 57DESKBAR_DESKTOP_APPLETS = 58 NetworkStatus 59 ProcessController 60 Workspaces 61; 62 63SYSTEM_PREFERENCES = [ FFilterByBuildFeatures 64 Appearance 65 Backgrounds 66 <preference>Deskbar 67 FileTypes 68 Keyboard Keymap 69 Locale 70 Mouse 71 Network Notifications 72 Screen Shortcuts 73 Time Touchpad <preference>Tracker 74 VirtualMemory 75] ; 76 77SYSTEM_DEMOS = ; 78 79 80rule HaikuImageGetSystemLibs 81{ 82 return 83 # libs with special grist 84 [ MultiArchDefaultGristFiles libroot.so : revisioned ] 85 [ Libstdc++ForImage ] 86 # libs with standard grist 87 [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures 88 libbe.so libbsd.so libbnetapi.so 89 libdebug.so 90 libdebugger.so@primary 91 libdevice.so 92 libgnu.so 93 libnetwork.so 94 libpackage.so 95 libtextencoding.so libtracker.so libtranslation.so 96 ] ] 97 ; 98} 99 100 101rule HaikuImageGetPrivateSystemLibs 102{ 103 return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures 104 libalm.so 105 libpackage-add-on-libsolv.so 106 libroot-addon-icu.so 107 ] ] ; 108} 109 110 111SYSTEM_SERVERS = [ FFilterByBuildFeatures 112 app_server 113 debug_server dns_resolver_server 114 input_server 115 keystore_server 116 launch_daemon 117 mount_server 118 net_server notification_server 119 package_daemon power_daemon 120 registrar 121 syslog_daemon 122] ; 123 124SYSTEM_NETWORK_DEVICES = 125 ethernet 126 loopback 127; 128 129SYSTEM_NETWORK_DATALINK_PROTOCOLS = 130 <module>arp 131 ethernet_frame 132 ipv6_datagram 133 loopback_frame 134; 135 136#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe KPPPManager ; 137 138SYSTEM_NETWORK_PROTOCOLS = 139 icmp icmp6 ipv4 ipv6 140 tcp 141 udp unix 142; 143 144SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures 145 x86,x86_64 @{ 146 vesa.accelerant 147 }@ # x86,x86_64 148] ; 149 150SYSTEM_ADD_ONS_TRANSLATORS = 151 STXTTranslator 152; 153 154SYSTEM_ADD_ONS_LOCALE_CATALOGS = 155 <catalog-addon>plaintext 156; 157 158SYSTEM_ADD_ONS_MEDIA = ; 159 160SYSTEM_ADD_ONS_MEDIA_PLUGINS = ; 161 162SYSTEM_ADD_ONS_PRINT = ; 163 164SYSTEM_ADD_ONS_PRINT_TRANSPORT = ; 165 166SYSTEM_ADD_ONS_SCREENSAVERS = ; 167 168SYSTEM_ADD_ONS_DRIVERS_AUDIO = ; 169 170SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ; 171 172SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures 173 x86,x86_64 @{ 174 vesa 175 }@ # x86,x86_64 176] ; 177 178SYSTEM_ADD_ONS_DRIVERS_MIDI = ; 179 180SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures 181 x86,x86_64 @{ 182 3com 183 atheros813x ar81xx attansic_l1 attansic_l2 184 broadcom440x broadcom570x 185 dec21xxx 186 ipro100 ipro1000 187 jmicron2x0 188 marvell_yukon 189 nforce 190 pcnet 191 rtl8139 rtl81xx 192 sis19x syskonnect 193 via_rhine vt612x 194 }@ # x86,x86_64 195 196 etherpci 197 pegasus 198 sis900 199 usb_asix usb_davicom usb_ecm 200 wb840 201 202 # WLAN drivers 203 x86,x86_64 @{ 204 aironetwifi atheroswifi 205 broadcom43xx 206 iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965 207 idualwifi7260 208 marvell88w8363 marvell88w8335 209 ralinkwifi realtekwifi 210 wavelanwifi 211 }@ # x86,x86_64 212] ; 213 214SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures 215 acpi_button@x86,x86_64 216] ; 217 218SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures 219 acpi@x86,x86_64 agp_gart@x86,x86_64 ata@ata 220 config_manager 221 firewire@x86 222 scsi isa@x86,x86_64 223 pci ps2@x86,x86_64 224 random 225 usb 226 virtio 227] ; 228 229SYSTEM_ADD_ONS_FILE_SYSTEMS = 230 attribute_overlay 231 bfs bindfs btrfs 232 exfat ext2 233 fat 234 iso9660 235 log_overlay 236 ntfs 237 packagefs 238 reiserfs@x86 239 udf 240 write_overlay 241; 242 243# symlink to home on desktop 244AddSymlinkToHaikuImage home Desktop : /boot/home : Home ; 245 246# global settings when a package is installed in ~/config 247AddDirectoryToHaikuImage home config settings global ; 248 249# user scripts and data files 250local userBootScripts = UserBootscript UserSetupEnvironment.sample ; 251SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ; 252AddFilesToHaikuImage home config settings boot : $(userBootScripts) ; 253 254SEARCH on <user-first-login>first_login 255 = [ FDirName $(HAIKU_TOP) data settings ] ; 256AddFilesToHaikuImage home config settings : <user-first-login>first_login ; 257 258local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ; 259local etcFiles = inputrc profile ; 260etcFiles = $(etcFiles:G=etc) ; 261SEARCH on $(etcFiles) = $(etcDir) ; 262etcFiles += <etc>termcap ; 263AddFilesToHaikuImage system settings etc : $(etcFiles) ; 264 265local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ; 266profileFiles = $(profileFiles:G=profile-d) ; 267AddDirectoryToHaikuImage system settings etc profile.d ; 268AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ; 269 270local driverSettingsFiles = <driver-settings>kernel ; 271SEARCH on $(driverSettingsFiles) 272 = [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ; 273AddFilesToHaikuImage home config settings kernel drivers 274 : $(driverSettingsFiles) ; 275 276local networkSettingsFiles = <network-settings>services 277 <network-settings>hosts ; 278 279SEARCH on $(networkSettingsFiles) 280 = [ FDirName $(HAIKU_TOP) data settings network ] ; 281AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ; 282 283# fresh install indicator file for the post install scripts 284SEARCH on <post-install>fresh_install 285 = [ FDirName $(HAIKU_TOP) data system settings ] ; 286AddFilesToHaikuImage system settings : <post-install>fresh_install ; 287