xref: /haiku/build/jam/images/definitions/minimum (revision 529cd177b573aaba391c8adc9c9f5ad76a14bf81)
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	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 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		vmware.accelerant
152	}@ # x86,x86_64
153] ;
154
155SYSTEM_ADD_ONS_TRANSLATORS =
156	STXTTranslator
157;
158
159SYSTEM_ADD_ONS_LOCALE_CATALOGS =
160	<catalog-addon>plaintext
161;
162
163SYSTEM_ADD_ONS_MEDIA = ;
164
165SYSTEM_ADD_ONS_MEDIA_PLUGINS =  ;
166
167SYSTEM_ADD_ONS_PRINT = ;
168
169SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
170
171SYSTEM_ADD_ONS_SCREENSAVERS = ;
172
173SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
174
175SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
176
177SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
178	x86,x86_64 @{
179		vesa
180		vmware
181	}@ # x86,x86_64
182] ;
183
184SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
185
186SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
187	x86,x86_64 @{
188		3com
189		atheros813x ar81xx attansic_l1 attansic_l2
190		broadcom440x broadcom570x
191		dec21xxx
192		ipro100 ipro1000
193		jmicron2x0
194		marvell_yukon
195		nforce
196		pcnet
197		rtl8139 rtl81xx
198		sis19x syskonnect
199		via_rhine vt612x
200	}@ # x86,x86_64
201
202	etherpci
203	pegasus
204	sis900
205	usb_asix usb_davicom usb_ecm
206	wb840
207
208	# WLAN drivers
209	x86,x86_64 @{
210		aironetwifi atheroswifi
211		broadcom43xx
212		iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965
213		marvell88w8363 marvell88w8335
214		ralinkwifi
215		wavelanwifi
216	}@ # x86,x86_64
217
218	# WWAN drivers
219	#usb_beceemwmx@gpl
220] ;
221
222SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
223	acpi_button@x86
224] ;
225
226SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
227	acpi@x86,x86_64	agp_gart@x86,x86_64 ata@ata
228	config_manager
229	firewire@x86
230	ide@ide scsi isa@x86,x86_64
231	pci ps2@x86,x86_64
232	random
233	usb
234	virtio
235] ;
236
237SYSTEM_ADD_ONS_FILE_SYSTEMS =
238	attribute_overlay
239	bfs bindfs btrfs
240	exfat ext2
241	fat
242	iso9660
243	ntfs
244	packagefs
245	reiserfs@x86
246	udf
247	write_overlay
248;
249
250# symlink to home on desktop
251AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
252
253# global settings when a package is installed in ~/config
254AddDirectoryToHaikuImage home config settings global ;
255
256# user scripts and data files
257local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
258SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
259AddFilesToHaikuImage home config settings boot : $(userBootScripts) ;
260
261local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
262local etcFiles = inputrc profile ;
263etcFiles = $(etcFiles:G=etc) ;
264SEARCH on $(etcFiles) = $(etcDir) ;
265etcFiles += <etc>termcap ;
266AddFilesToHaikuImage system settings etc : $(etcFiles) ;
267
268local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
269profileFiles = $(profileFiles:G=profile-d) ;
270AddDirectoryToHaikuImage system settings etc profile.d ;
271AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ;
272
273local driverSettingsFiles = <driver-settings>kernel ;
274SEARCH on $(driverSettingsFiles)
275	= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
276AddFilesToHaikuImage home config settings kernel drivers
277	: $(driverSettingsFiles) ;
278
279local networkSettingsFiles = <network-settings>services ;
280SEARCH on $(networkSettingsFiles)
281	= [ FDirName $(HAIKU_TOP) data settings network ] ;
282AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
283
284# fresh install indicator file for the post install scripts
285SEARCH on <post-install>fresh_install
286	= [ FDirName $(HAIKU_TOP) data system settings ] ;
287AddFilesToHaikuImage system settings : <post-install>fresh_install ;
288