xref: /haiku/build/jam/images/definitions/minimum (revision d17092ceb18bf47a96dbaf8a1acf10e6e3070704)
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
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	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 resattr rmattr rmindex roster
27	route
28	safemode screen_blanker screeninfo screenmode sdiff setarch setmime settype
29	setversion setvolume shutdown
30	strace su sysinfo
31	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] ;
38
39SYSTEM_APPS = [ FFilterByBuildFeatures
40	AboutSystem ActivityMonitor
41	BootManager@x86,x86_64
42	CharacterMap
43	Debugger DeskCalc Devices DiskProbe DiskUsage DriveSetup
44	Expander
45	NetworkStatus
46	ProcessController
47	ShowImage StyledEdit
48	Terminal TextSearch
49	Workspaces
50] ;
51
52DESKBAR_APPLICATIONS =
53	ActivityMonitor
54	CharacterMap
55	DeskCalc Devices DiskProbe DiskUsage DriveSetup
56	Expander
57	StyledEdit
58	Terminal
59;
60
61DESKBAR_DESKTOP_APPLETS =
62	NetworkStatus
63	ProcessController
64	Workspaces
65;
66
67SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
68	Appearance
69	Backgrounds
70	<preference>Deskbar
71	FileTypes
72	Keyboard Keymap
73	Locale
74	Mouse
75	Network Notifications
76	Screen Shortcuts
77	Time Touchpad <preference>Tracker
78	VirtualMemory
79] ;
80
81SYSTEM_DEMOS = ;
82
83
84rule HaikuImageGetSystemLibs
85{
86	return
87		# libs with special grist
88		[ MultiArchDefaultGristFiles libroot.so : revisioned ]
89		[ Libstdc++ForImage ]
90		# libs with standard grist
91		[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
92			libbe.so libbsd.so libbnetapi.so
93			libdebug.so libdevice.so
94			libgnu.so
95			libnetwork.so
96			libpackage.so
97			libtextencoding.so libtracker.so libtranslation.so
98		] ]
99		;
100}
101
102
103rule HaikuImageGetPrivateSystemLibs
104{
105	return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
106		libalm.so
107		libpackage-add-on-libsolv.so
108		libroot-addon-icu.so
109	] ] ;
110}
111
112
113SYSTEM_SERVERS = [ FFilterByBuildFeatures
114	app_server
115	debug_server dns_resolver_server
116	input_server
117	keystore_server
118	mount_server
119	net_server notification_server
120	package_daemon power_daemon
121	registrar
122	syslog_daemon
123] ;
124
125SYSTEM_NETWORK_DEVICES =
126	ethernet
127	loopback
128;
129
130SYSTEM_NETWORK_DATALINK_PROTOCOLS =
131	<module>arp
132	ethernet_frame
133	ipv6_datagram
134	loopback_frame
135;
136
137#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe ;
138
139SYSTEM_NETWORK_PROTOCOLS =
140	icmp icmp6 ipv4 ipv6
141	tcp
142	udp unix
143;
144
145SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
146	x86,x86_64 @{
147		vesa.accelerant
148	}@ # x86,x86_64
149] ;
150
151SYSTEM_ADD_ONS_TRANSLATORS =
152	STXTTranslator
153;
154
155SYSTEM_ADD_ONS_LOCALE_CATALOGS =
156	<catalog-addon>plaintext
157;
158
159SYSTEM_ADD_ONS_MEDIA = ;
160
161SYSTEM_ADD_ONS_MEDIA_PLUGINS =  ;
162
163SYSTEM_ADD_ONS_PRINT = ;
164
165SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
166
167SYSTEM_ADD_ONS_SCREENSAVERS = ;
168
169SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
170
171SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
172
173SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
174	x86,x86_64 @{
175		vesa
176	}@ # x86,x86_64
177] ;
178
179SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
180
181SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
182	x86,x86_64 @{
183		3com
184		atheros813x ar81xx attansic_l1 attansic_l2
185		broadcom440x broadcom570x
186		dec21xxx
187		ipro100 ipro1000
188		jmicron2x0
189		marvell_yukon
190		nforce
191		pcnet
192		rtl8139 rtl81xx
193		sis19x syskonnect
194		via_rhine vt612x
195	}@ # x86,x86_64
196
197	etherpci
198	pegasus
199	sis900
200	usb_asix usb_davicom usb_ecm
201	wb840
202
203	# WLAN drivers
204	x86,x86_64 @{
205		aironetwifi atheroswifi
206		broadcom43xx
207		iprowifi2100 iprowifi2200 iprowifi3945 iprowifi4965
208		marvell88w8363 marvell88w8335
209		ralinkwifi
210		wavelanwifi
211	}@ # x86,x86_64
212
213	# WWAN drivers
214	#usb_beceemwmx@gpl
215] ;
216
217SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
218	acpi_button@x86
219] ;
220
221SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
222	acpi@x86,x86_64	agp_gart@x86,x86_64 ata@ata
223	config_manager
224	firewire@x86
225	ide@ide scsi isa@x86,x86_64
226	pci ps2@x86,x86_64
227	random
228	usb
229	virtio
230] ;
231
232SYSTEM_ADD_ONS_FILE_SYSTEMS =
233	attribute_overlay
234	bfs bindfs btrfs
235	exfat ext2
236	fat
237	iso9660
238	ntfs
239	packagefs
240	reiserfs@x86
241	udf
242	write_overlay
243;
244
245# symlink to home on desktop
246AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
247
248# global settings when a package is installed in ~/config
249AddDirectoryToHaikuImage home config settings global ;
250
251# user scripts and data files
252local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
253SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
254AddFilesToHaikuImage home config settings boot : $(userBootScripts) ;
255
256local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
257local etcFiles = inputrc profile ;
258etcFiles = $(etcFiles:G=etc) ;
259SEARCH on $(etcFiles) = $(etcDir) ;
260etcFiles += <etc>termcap ;
261AddFilesToHaikuImage system settings etc : $(etcFiles) ;
262
263local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
264profileFiles = $(profileFiles:G=profile-d) ;
265AddDirectoryToHaikuImage system settings etc profile.d ;
266AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ;
267
268local driverSettingsFiles = <driver-settings>kernel ;
269SEARCH on $(driverSettingsFiles)
270	= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
271AddFilesToHaikuImage home config settings kernel drivers
272	: $(driverSettingsFiles) ;
273
274local networkSettingsFiles = <network-settings>services ;
275SEARCH on $(networkSettingsFiles)
276	= [ FDirName $(HAIKU_TOP) data settings network ] ;
277AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
278
279# fresh install indicator file for the post install scripts
280SEARCH on <post-install>fresh_install
281	= [ FDirName $(HAIKU_TOP) data system settings ] ;
282AddFilesToHaikuImage system settings : <post-install>fresh_install ;
283