minimum revision 4738a0e1
1# This file defines the content of the minimum Haiku image.
2
3SYSTEM_BIN = [ FFilterByBuildFeatures
4	"["
5	addattr alert arp
6	base64 basename bc beep bfsinfo
7	cat catattr checkfs checkitout chgrp chmod chop chown chroot cksum clear
8	clockconfig cmp collectcatkeys comm compress copyattr cp csplit cut
9	date dc dd desklink df diff diff3 dircolors dirname diskimage draggers
10	driveinfo dstcheck du dumpcatalog
11	echo eject env error expand expr
12	factor false fdinfo ffm filepanel finddir findpaths fmt fold fortune fstrim
13	ftp ftpd funzip
14	getarch getlimits groupadd groupdel groupmod groups gzip gzexe
15	hd head hey hostname
16	id ideinfo@ide ident idestatus@ide ifconfig <bin>install iroster isvolume
17	join kernel_debugger keymap keystore kill
18	link linkcatkeys listarea listattr listimage listdev
19	listport listres listsem listusb ln locale logger login logname ls lsindex
20	makebootable md5sum merge message mimeset mkdir mkfifo mkfs mkindex mktemp
21	modifiers mount mountvolume mv
22	netcat netstat nl nohup notify nproc
23	od open
24	package package_repo passwd paste patch pathchk pc ping ping6 pkgman
25	pr prio printenv printf profile ps ptx pwd
26	query quit
27	rc readlink reindex release renice rlog rm rmattr rmindex rmdir roster
28	route
29	safemode screen_blanker screeninfo screenmode sdiff setarch setmime settype
30	setversion setvolume seq sha1sum sha256sum shred shuf shutdown sleep
31	sort split stat strace stty su sum sync sysinfo
32	tac tail tcpdump tcptester tee telnet telnetd test timeout top touch
33	tr traceroute trash true truncate tsort tty
34	uname unchop unexpand unmount uniq unlink unzip unzipsfx
35	uptime urlwrapper useradd userdel
36	vdir version vmstat
37	waitfor watch wc whoami writembr@x86,x86_64 xres
38	yes
39	zdiff zforce zgrep zip zipcloak <bin>zipgrep zipnote zipsplit zmore znew
40] ;
41
42SYSTEM_APPS = [ FFilterByBuildFeatures
43	AboutSystem ActivityMonitor
44	BootManager@x86,x86_64
45	CharacterMap
46	Debugger DeskCalc Devices DiskProbe DiskUsage DriveSetup
47	Expander
48	NetworkStatus
49	ProcessController
50	ShowImage StyledEdit
51	Terminal TextSearch
52	Workspaces
53] ;
54
55DESKBAR_APPLICATIONS =
56	ActivityMonitor
57	CharacterMap
58	DeskCalc Devices DiskProbe DiskUsage DriveSetup
59	Expander
60	StyledEdit
61	Terminal
62;
63
64DESKBAR_DESKTOP_APPLETS =
65	NetworkStatus
66	ProcessController
67	Workspaces
68;
69
70SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
71	Appearance
72	Backgrounds
73	<preference>Deskbar
74	FileTypes
75	Keyboard Keymap
76	Locale
77	Mouse
78	Network Notifications
79	Screen Shortcuts
80	Time Touchpad <preference>Tracker
81	VirtualMemory
82] ;
83
84SYSTEM_DEMOS = ;
85
86
87rule HaikuImageGetSystemLibs
88{
89	return
90		# libs with special grist
91		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
92		[ Libstdc++ForImage ]
93		# libs with standard grist
94		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
95			libbe.so libbsd.so libbnetapi.so
96			libdebug.so libdevice.so
97			libgnu.so
98			libnetwork.so
99			libpackage.so
100			libtextencoding.so libtracker.so libtranslation.so
101		] ]
102		;
103}
104
105
106rule HaikuImageGetPrivateSystemLibs
107{
108	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
109		libalm.so
110		libpackage-add-on-libsolv.so
111		libroot-addon-icu.so
112	] ] ;
113}
114
115
116SYSTEM_SERVERS = [ FFilterByBuildFeatures
117	app_server
118	debug_server dns_resolver_server
119	input_server
120	keystore_server
121	mount_server
122	net_server notification_server
123	package_daemon power_daemon
124	registrar
125	syslog_daemon
126] ;
127
128SYSTEM_NETWORK_DEVICES =
129	ethernet
130	loopback
131;
132
133SYSTEM_NETWORK_DATALINK_PROTOCOLS =
134	<module>arp
135	ethernet_frame
136	ipv6_datagram
137	loopback_frame
138;
139
140#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe ;
141
142SYSTEM_NETWORK_PROTOCOLS =
143	icmp icmp6 ipv4 ipv6
144	tcp
145	udp unix
146;
147
148SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
149	x86,x86_64 @{
150		vesa.accelerant
151	}@ # x86,x86_64
152] ;
153
154SYSTEM_ADD_ONS_TRANSLATORS =
155	STXTTranslator
156;
157
158SYSTEM_ADD_ONS_LOCALE_CATALOGS =
159	<catalog-addon>plaintext
160;
161
162SYSTEM_ADD_ONS_MEDIA = ;
163
164SYSTEM_ADD_ONS_MEDIA_PLUGINS =  ;
165
166SYSTEM_ADD_ONS_PRINT = ;
167
168SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
169
170SYSTEM_ADD_ONS_SCREENSAVERS = ;
171
172SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
173
174SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
175
176SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
177	x86,x86_64 @{
178		vesa
179	}@ # x86,x86_64
180] ;
181
182SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
183
184SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
185	x86,x86_64 @{
186		3com
187		atheros813x ar81xx attansic_l1 attansic_l2
188		broadcom440x broadcom570x
189		dec21xxx
190		ipro100 ipro1000
191		jmicron2x0
192		marvell_yukon
193		nforce
194		pcnet
195		rtl8139 rtl81xx
196		sis19x syskonnect
197		via_rhine vt612x
198	}@ # x86,x86_64
199
200	etherpci
201	pegasus
202	sis900
203	usb_asix usb_davicom usb_ecm
204	wb840
205
206	# WLAN drivers
207	x86,x86_64 @{
208		aironetwifi atheroswifi
209		broadcom43xx
210		iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965
211		marvell88w8363 marvell88w8335
212		ralinkwifi
213		wavelanwifi
214	}@ # x86,x86_64
215
216	# WWAN drivers
217	#usb_beceemwmx@gpl
218] ;
219
220SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
221	acpi_button@x86
222] ;
223
224SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
225	acpi@x86,x86_64	agp_gart@x86,x86_64 ata@ata
226	config_manager
227	firewire@x86
228	ide@ide scsi isa@x86,x86_64
229	pci ps2@x86,x86_64
230	random
231	usb
232	virtio
233] ;
234
235SYSTEM_ADD_ONS_FILE_SYSTEMS =
236	attribute_overlay
237	bfs bindfs btrfs
238	exfat ext2
239	fat
240	iso9660
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
259local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
260local etcFiles = inputrc profile ;
261etcFiles = $(etcFiles:G=etc) ;
262SEARCH on $(etcFiles) = $(etcDir) ;
263etcFiles += <etc>termcap ;
264AddFilesToHaikuImage system settings etc : $(etcFiles) ;
265
266local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
267profileFiles = $(profileFiles:G=profile-d) ;
268AddDirectoryToHaikuImage system settings etc profile.d ;
269AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ;
270
271local driverSettingsFiles = <driver-settings>kernel ;
272SEARCH on $(driverSettingsFiles)
273	= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
274AddFilesToHaikuImage home config settings kernel drivers
275	: $(driverSettingsFiles) ;
276
277local networkSettingsFiles = <network-settings>services ;
278SEARCH on $(networkSettingsFiles)
279	= [ FDirName $(HAIKU_TOP) data settings network ] ;
280AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
281
282# fresh install indicator file for the post install scripts
283SEARCH on <post-install>fresh_install
284	= [ FDirName $(HAIKU_TOP) data system settings ] ;
285AddFilesToHaikuImage system settings : <post-install>fresh_install ;
286