minimum revision ac0a462f
1# This file defines the content of the minimum Haiku image.
2
3SYSTEM_BIN = [ FFilterByBuildFeatures
4	addattr alert arp
5	bc beep bfsinfo
6	catattr checkfs checkitout chop clear cmp collectcatkeys compress copyattr
7	dc desklink df diff diff3 diskimage draggers
8	driveinfo dstcheck dumpcatalog
9	eject error
10	fdinfo ffm filepanel finddir findpaths fortune fstrim
11	ftp ftpd
12	getarch groupadd groupdel groupmod
13	hd hey
14	ideinfo@ide idestatus@ide ifconfig iroster isvolume
15	kernel_debugger keymap keystore
16	linkcatkeys listarea listattr listimage listdev
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
23	prio profile ps
24	query quit
25	rc reindex release renice resattr rmattr rmindex roster
26	route
27	safemode screen_blanker screeninfo screenmode sdiff setarch setmime settype
28	setversion setvolume shutdown
29	strace su sysinfo
30	tcptester telnet telnetd top
31	traceroute trash
32	unchop unmount
33	uptime urlwrapper useradd userdel
34	version vmstat
35	waitfor watch writembr@x86,x86_64 xres
36] ;
37
38SYSTEM_APPS = [ FFilterByBuildFeatures
39	AboutSystem ActivityMonitor
40	BootManager@x86,x86_64
41	CharacterMap
42	Debugger DeskCalc Devices DiskProbe DiskUsage DriveSetup
43	Expander
44	Login
45	NetworkStatus
46	ProcessController
47	ShowImage StyledEdit
48	Terminal TextSearch
49	Workspaces
50] ;
51
52DESKBAR_APPLICATIONS =
53	ActivityMonitor
54	CharacterMap
55	DeskCalc Devices DiskProbe DiskUsage DriveSetup
56	Expander
57	StyledEdit
58	Terminal
59;
60
61DESKBAR_DESKTOP_APPLETS =
62	NetworkStatus
63	ProcessController
64	Workspaces
65;
66
67SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
68	Appearance
69	Backgrounds
70	<preference>Deskbar
71	FileTypes
72	Keyboard Keymap
73	Locale
74	Mouse
75	Network Notifications
76	Screen Shortcuts
77	Time Touchpad <preference>Tracker
78	VirtualMemory
79] ;
80
81SYSTEM_DEMOS = ;
82
83
84rule HaikuImageGetSystemLibs
85{
86	return
87		# libs with special grist
88		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
89		[ Libstdc++ForImage ]
90		# libs with standard grist
91		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
92			libbe.so libbsd.so libbnetapi.so
93			libdebug.so libdevice.so
94			libgnu.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 ;
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
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	ide@ide 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
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 ;
277SEARCH on $(networkSettingsFiles)
278	= [ FDirName $(HAIKU_TOP) data settings network ] ;
279AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
280
281local userLaunchScripts = <data!launch>user ;
282SEARCH on $(userLaunchScripts) = [ FDirName $(HAIKU_TOP) data launch ] ;
283AddFilesToHaikuImage home config non-packaged data launch : $(userLaunchScripts) ;
284
285# fresh install indicator file for the post install scripts
286SEARCH on <post-install>fresh_install
287	= [ FDirName $(HAIKU_TOP) data system settings ] ;
288AddFilesToHaikuImage system settings : <post-install>fresh_install ;
289