minimum revision 8eda6db9
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 compress 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 ActivityMonitor
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	ActivityMonitor
51	CharacterMap
52	DeskCalc Devices DiskProbe DiskUsage DriveSetup
53	Expander
54	StyledEdit
55	Terminal
56;
57
58DESKBAR_DESKTOP_APPLETS =
59	NetworkStatus
60	ProcessController
61	Workspaces
62;
63
64SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
65	Appearance
66	Backgrounds
67	<preference>Deskbar
68	FileTypes
69	Keyboard Keymap
70	Locale
71	Mouse
72	Network Notifications
73	Screen Shortcuts
74	Time Touchpad <preference>Tracker
75	VirtualMemory
76] ;
77
78SYSTEM_DEMOS = ;
79
80
81rule HaikuImageGetSystemLibs
82{
83	return
84		# libs with special grist
85		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
86		[ Libstdc++ForImage ]
87		# libs with standard grist
88		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
89			libbe.so libbsd.so libbnetapi.so
90			libdebug.so
91			libdebugger.so@primary
92			libdevice.so
93			libgnu.so
94			libmedia.so
95			libnetwork.so
96			libpackage.so
97			libtextencoding.so libtracker.so libtranslation.so
98		] ]
99		;
100}
101
102
103rule HaikuImageGetPrivateSystemLibs
104{
105	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
106		libalm.so
107		libpackage-add-on-libsolv.so
108		libroot-addon-icu.so
109	] ] ;
110}
111
112
113SYSTEM_SERVERS = [ FFilterByBuildFeatures
114	app_server
115	debug_server dns_resolver_server
116	input_server
117	keystore_server
118	launch_daemon
119	mount_server
120	net_server notification_server
121	package_daemon power_daemon
122	registrar
123	syslog_daemon
124] ;
125
126SYSTEM_NETWORK_DEVICES =
127	ethernet
128	loopback
129;
130
131SYSTEM_NETWORK_DATALINK_PROTOCOLS =
132	<module>arp
133	ethernet_frame
134	ipv6_datagram
135	loopback_frame
136;
137
138#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe KPPPManager ;
139
140SYSTEM_NETWORK_PROTOCOLS =
141	icmp icmp6 ipv4 ipv6
142	tcp
143	udp unix
144;
145
146SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
147	x86,x86_64 @{
148		vesa.accelerant
149	}@ # x86,x86_64
150] ;
151
152SYSTEM_ADD_ONS_TRANSLATORS =
153	STXTTranslator
154;
155
156SYSTEM_ADD_ONS_LOCALE_CATALOGS =
157	<catalog-addon>plaintext
158;
159
160SYSTEM_ADD_ONS_MEDIA = ;
161
162SYSTEM_ADD_ONS_MEDIA_PLUGINS =  ;
163
164SYSTEM_ADD_ONS_PRINT = ;
165
166SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
167
168SYSTEM_ADD_ONS_SCREENSAVERS = ;
169
170SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
171
172SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
173
174SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
175	x86,x86_64 @{
176		vesa
177	}@ # x86,x86_64
178] ;
179
180SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
181
182SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
183	x86,x86_64 @{
184		3com
185		atheros813x ar81xx attansic_l1 attansic_l2
186		broadcom440x broadcom570x
187		dec21xxx
188		ipro100 ipro1000
189		jmicron2x0
190		marvell_yukon
191		nforce
192		pcnet
193		rtl8139 rtl81xx
194		sis19x syskonnect
195		via_rhine vt612x
196	}@ # x86,x86_64
197
198	etherpci
199	pegasus
200	sis900
201	usb_asix usb_davicom usb_ecm
202	wb840
203
204	# WLAN drivers
205	x86,x86_64 @{
206		aironetwifi atheroswifi
207		broadcom43xx
208		iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965
209		marvell88w8363 marvell88w8335
210		ralinkwifi
211		wavelanwifi
212	}@ # x86,x86_64
213
214	# WWAN drivers
215	#usb_beceemwmx@gpl
216] ;
217
218SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
219	acpi_button@x86,x86_64
220] ;
221
222SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
223	acpi@x86,x86_64	agp_gart@x86,x86_64 ata@ata
224	config_manager
225	firewire@x86
226	scsi isa@x86,x86_64
227	pci ps2@x86,x86_64
228	random
229	usb
230	virtio
231] ;
232
233SYSTEM_ADD_ONS_FILE_SYSTEMS =
234	attribute_overlay
235	bfs bindfs btrfs
236	exfat ext2
237	fat
238	iso9660
239	log_overlay
240	ntfs
241	packagefs
242	reiserfs@x86
243	udf
244	write_overlay
245;
246
247# symlink to home on desktop
248AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
249
250# global settings when a package is installed in ~/config
251AddDirectoryToHaikuImage home config settings global ;
252
253# user scripts and data files
254local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
255SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
256AddFilesToHaikuImage home config settings boot : $(userBootScripts) ;
257
258SEARCH on <user-first-login>first_login
259	= [ FDirName $(HAIKU_TOP) data settings ] ;
260AddFilesToHaikuImage home config settings : <user-first-login>first_login ;
261
262local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
263local etcFiles = inputrc profile ;
264etcFiles = $(etcFiles:G=etc) ;
265SEARCH on $(etcFiles) = $(etcDir) ;
266etcFiles += <etc>termcap ;
267AddFilesToHaikuImage system settings etc : $(etcFiles) ;
268
269local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
270profileFiles = $(profileFiles:G=profile-d) ;
271AddDirectoryToHaikuImage system settings etc profile.d ;
272AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ;
273
274local driverSettingsFiles = <driver-settings>kernel ;
275SEARCH on $(driverSettingsFiles)
276	= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
277AddFilesToHaikuImage home config settings kernel drivers
278	: $(driverSettingsFiles) ;
279
280local networkSettingsFiles = <network-settings>services
281	<network-settings>hosts ;
282
283SEARCH on $(networkSettingsFiles)
284	= [ FDirName $(HAIKU_TOP) data settings network ] ;
285AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
286
287# fresh install indicator file for the post install scripts
288SEARCH on <post-install>fresh_install
289	= [ FDirName $(HAIKU_TOP) data system settings ] ;
290AddFilesToHaikuImage system settings : <post-install>fresh_install ;
291