xref: /haiku/build/jam/images/definitions/minimum (revision 4bd0c1066b227cec4b79883bdef697c7a27f2e90)
1# This file defines the content of the minimum Haiku image.
2
3SYSTEM_BIN = [ FFilterByBuildFeatures
4	addattr alert arp autologin
5	beep bfsinfo
6	catattr checkfs checkitout chop clear collectcatkeys copyattr
7	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	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 prio profile ps
23	query quit
24	ramdisk rc reindex release renice resattr rmattr rmindex roster route
25	safemode screen_blanker screeninfo screenmode setarch setmime settype
26	setversion setvolume shutdown
27	strace su sysinfo system_time
28	tcptester telnet telnetd top
29	traceroute trash
30	unchop unmount
31	uptime urlwrapper useradd userdel
32	version vmstat
33	waitfor watch writembr@x86,x86_64 xres
34] ;
35
36SYSTEM_APPS = [ FFilterByBuildFeatures
37	AboutSystem
38	BootManager@x86,x86_64
39	CharacterMap
40	Debugger@libedit DeskCalc Devices DiskProbe DiskUsage DriveSetup
41	Expander
42	NetworkStatus
43	ProcessController
44	ShowImage StyledEdit
45	Terminal TextSearch
46	Workspaces
47] ;
48
49DESKBAR_APPLICATIONS =
50	CharacterMap
51	DeskCalc Devices DiskProbe DiskUsage DriveSetup
52	Expander
53	StyledEdit
54	Terminal
55;
56
57DESKBAR_DESKTOP_APPLETS =
58	NetworkStatus
59	ProcessController
60	Workspaces
61;
62
63SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
64	Appearance
65	Backgrounds
66	<preference>Deskbar
67	FileTypes
68	Keyboard Keymap
69	Locale
70	Mouse
71	Network Notifications
72	Screen Shortcuts
73	Time Touchpad <preference>Tracker
74	VirtualMemory
75] ;
76
77SYSTEM_DEMOS = ;
78
79
80rule HaikuImageGetSystemLibs
81{
82	return
83		# libs with special grist
84		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
85		[ Libstdc++ForImage ]
86		# libs with standard grist
87		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
88			libbe.so libbsd.so libbnetapi.so
89			libdebug.so
90			libdebugger.so@primary
91			libdevice.so
92			libgnu.so
93			libnetwork.so
94			libpackage.so
95			libtextencoding.so libtracker.so libtranslation.so
96		] ]
97		;
98}
99
100
101rule HaikuImageGetPrivateSystemLibs
102{
103	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
104		libalm.so
105		libpackage-add-on-libsolv.so
106		libroot-addon-icu.so
107	] ] ;
108}
109
110
111SYSTEM_SERVERS = [ FFilterByBuildFeatures
112	app_server
113	debug_server dns_resolver_server
114	input_server
115	keystore_server
116	launch_daemon
117	mount_server
118	net_server notification_server
119	package_daemon power_daemon
120	registrar
121	syslog_daemon
122] ;
123
124SYSTEM_NETWORK_DEVICES =
125	ethernet
126	loopback
127;
128
129SYSTEM_NETWORK_DATALINK_PROTOCOLS =
130	<module>arp
131	ethernet_frame
132	ipv6_datagram
133	loopback_frame
134;
135
136#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe KPPPManager ;
137
138SYSTEM_NETWORK_PROTOCOLS =
139	icmp icmp6 ipv4 ipv6
140	tcp
141	udp unix
142;
143
144SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
145	x86,x86_64 @{
146		vesa.accelerant
147	}@ # x86,x86_64
148] ;
149
150SYSTEM_ADD_ONS_TRANSLATORS =
151	STXTTranslator
152;
153
154SYSTEM_ADD_ONS_LOCALE_CATALOGS =
155	<catalog-addon>plaintext
156;
157
158SYSTEM_ADD_ONS_MEDIA = ;
159
160SYSTEM_ADD_ONS_MEDIA_PLUGINS =  ;
161
162SYSTEM_ADD_ONS_PRINT = ;
163
164SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
165
166SYSTEM_ADD_ONS_SCREENSAVERS = ;
167
168SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
169
170SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
171
172SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
173	x86,x86_64 @{
174		vesa
175	}@ # x86,x86_64
176] ;
177
178SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
179
180SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
181	x86,x86_64 @{
182		3com
183		atheros813x ar81xx attansic_l1 attansic_l2
184		broadcom440x broadcom570x
185		dec21xxx
186		ipro100 ipro1000
187		jmicron2x0
188		marvell_yukon
189		nforce
190		pcnet
191		rtl8139 rtl81xx
192		sis19x syskonnect
193		via_rhine vt612x
194	}@ # x86,x86_64
195
196	etherpci
197	pegasus
198	sis900
199	usb_asix usb_davicom usb_ecm
200	wb840
201
202	# WLAN drivers
203	x86,x86_64 @{
204		aironetwifi atheroswifi
205		broadcom43xx
206		iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965
207		marvell88w8363 marvell88w8335
208		ralinkwifi
209		wavelanwifi
210	}@ # x86,x86_64
211] ;
212
213SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
214	acpi_button@x86,x86_64
215] ;
216
217SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
218	acpi@x86,x86_64	agp_gart@x86,x86_64 ata@ata
219	config_manager
220	firewire@x86
221	scsi isa@x86,x86_64
222	pci ps2@x86,x86_64
223	random
224	usb
225	virtio
226] ;
227
228SYSTEM_ADD_ONS_FILE_SYSTEMS =
229	attribute_overlay
230	bfs bindfs btrfs
231	exfat ext2
232	fat
233	iso9660
234	log_overlay
235	ntfs
236	packagefs
237	reiserfs@x86
238	udf
239	write_overlay
240;
241
242# symlink to home on desktop
243AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
244
245# global settings when a package is installed in ~/config
246AddDirectoryToHaikuImage home config settings global ;
247
248# user scripts and data files
249local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
250SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
251AddFilesToHaikuImage home config settings boot : $(userBootScripts) ;
252
253SEARCH on <user-first-login>first_login
254	= [ FDirName $(HAIKU_TOP) data settings ] ;
255AddFilesToHaikuImage home config settings : <user-first-login>first_login ;
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
276	<network-settings>hosts ;
277
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