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