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