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