minimum revision 85e5aa30
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
7	clockconfig cmp collectcatkeys compress copyattr
8	dc desklink df diff diff3 diskimage draggers
9	driveinfo dstcheck dumpcatalog
10	eject error
11	fdinfo ffm filepanel finddir findpaths fortune fstrim
12	ftp ftpd
13	getarch groupadd groupdel groupmod gzip gzexe
14	hd hey
15	ideinfo@ide idestatus@ide ifconfig iroster isvolume
16	kernel_debugger keymap keystore
17	linkcatkeys listarea listattr listimage listdev
18	listport listres listsem listusb locale logger login lsindex
19	makebootable message mimeset mkfs mkindex
20	modifiers mount mountvolume
21	netcat netstat notify
22	open
23	package package_repo passwd pc ping ping6 pkgman
24	prio profile ps
25	query quit
26	rc reindex release renice rmattr rmindex roster
27	route
28	safemode screen_blanker screeninfo screenmode sdiff setarch setmime settype
29	setversion setvolume shutdown
30	strace su sysinfo
31	tcpdump tcptester telnet telnetd top
32	traceroute trash
33	unchop unmount
34	uptime urlwrapper useradd userdel
35	version vmstat
36	waitfor watch writembr@x86,x86_64 xres
37	zdiff zforce zgrep zip zipcloak zipnote zipsplit zmore znew
38] ;
39
40SYSTEM_APPS = [ FFilterByBuildFeatures
41	AboutSystem ActivityMonitor
42	BootManager@x86,x86_64
43	CharacterMap
44	Debugger DeskCalc Devices DiskProbe DiskUsage DriveSetup
45	Expander
46	NetworkStatus
47	ProcessController
48	ShowImage StyledEdit
49	Terminal TextSearch
50	Workspaces
51] ;
52
53DESKBAR_APPLICATIONS =
54	ActivityMonitor
55	CharacterMap
56	DeskCalc Devices DiskProbe DiskUsage DriveSetup
57	Expander
58	StyledEdit
59	Terminal
60;
61
62DESKBAR_DESKTOP_APPLETS =
63	NetworkStatus
64	ProcessController
65	Workspaces
66;
67
68SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
69	Appearance
70	Backgrounds
71	<preference>Deskbar
72	FileTypes
73	Keyboard Keymap
74	Locale
75	Mouse
76	Network Notifications
77	Screen Shortcuts
78	Time Touchpad <preference>Tracker
79	VirtualMemory
80] ;
81
82SYSTEM_DEMOS = ;
83
84
85rule HaikuImageGetSystemLibs
86{
87	return
88		# libs with special grist
89		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
90		[ Libstdc++ForImage ]
91		# libs with standard grist
92		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
93			libbe.so libbsd.so libbnetapi.so
94			libdebug.so 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	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	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