2014-03-17 00:21:41 +04:00
|
|
|
# This file defines the content of the minimum Haiku image.
|
|
|
|
|
|
|
|
SYSTEM_BIN = [ FFilterByBuildFeatures
|
2015-07-06 09:24:21 +03:00
|
|
|
addattr alert arp autologin
|
2017-10-08 14:03:32 +03:00
|
|
|
beep bfsinfo
|
2017-12-29 23:25:16 +03:00
|
|
|
catattr checkfs checkitout chop clear collectcatkeys copyattr
|
2017-10-08 14:03:32 +03:00
|
|
|
desklink df diskimage draggers
|
2015-02-05 20:47:47 +03:00
|
|
|
driveinfo dstcheck dumpcatalog
|
|
|
|
eject error
|
|
|
|
fdinfo ffm filepanel finddir findpaths fortune fstrim
|
2015-10-18 14:57:20 +03:00
|
|
|
ftp@libedit ftpd
|
2015-06-10 12:26:51 +03:00
|
|
|
getarch groupadd groupdel groupmod
|
2015-02-05 20:47:47 +03:00
|
|
|
hd hey
|
2017-06-28 16:13:37 +03:00
|
|
|
ifconfig iroster isvolume
|
2015-02-06 21:33:47 +03:00
|
|
|
kernel_debugger keymap keystore
|
2016-01-07 20:13:47 +03:00
|
|
|
launch_roster linkcatkeys listarea listattr listimage listdev listfont
|
2015-02-05 20:47:47 +03:00
|
|
|
listport listres listsem listusb locale logger login lsindex
|
|
|
|
makebootable message mimeset mkfs mkindex
|
|
|
|
modifiers mount mountvolume
|
2015-03-04 00:43:01 +03:00
|
|
|
netstat notify
|
2015-02-05 20:47:47 +03:00
|
|
|
open
|
2016-11-03 19:33:00 +03:00
|
|
|
package package_repo passwd pc ping ping6 pkgman prio profile ps
|
2014-03-17 00:21:41 +04:00
|
|
|
query quit
|
2016-11-03 19:33:00 +03:00
|
|
|
ramdisk rc reindex release renice resattr rmattr rmindex roster route
|
2015-08-01 15:04:10 +03:00
|
|
|
safemode screen_blanker screeninfo screenmode setarch setmime settype
|
2015-02-05 20:47:47 +03:00
|
|
|
setversion setvolume shutdown
|
2015-08-29 20:02:36 +03:00
|
|
|
strace su sysinfo system_time
|
2015-05-01 12:55:23 +03:00
|
|
|
tcptester telnet telnetd top
|
2015-02-05 20:47:47 +03:00
|
|
|
traceroute trash
|
2015-02-26 21:18:03 +03:00
|
|
|
unchop unmount
|
2014-04-15 00:52:58 +04:00
|
|
|
uptime urlwrapper useradd userdel
|
2015-02-05 20:47:47 +03:00
|
|
|
version vmstat
|
|
|
|
waitfor watch writembr@x86,x86_64 xres
|
2014-03-17 00:21:41 +04:00
|
|
|
] ;
|
|
|
|
|
|
|
|
SYSTEM_APPS = [ FFilterByBuildFeatures
|
2017-10-23 20:09:47 +03:00
|
|
|
AboutSystem
|
2014-05-01 14:50:11 +04:00
|
|
|
BootManager@x86,x86_64
|
2014-03-17 00:21:41 +04:00
|
|
|
CharacterMap
|
2015-10-18 14:57:20 +03:00
|
|
|
Debugger@libedit DeskCalc Devices DiskProbe DiskUsage DriveSetup
|
2014-03-17 00:21:41 +04:00
|
|
|
Expander
|
|
|
|
NetworkStatus
|
2014-05-01 14:50:11 +04:00
|
|
|
ProcessController
|
|
|
|
ShowImage StyledEdit
|
|
|
|
Terminal TextSearch
|
2014-03-17 00:21:41 +04:00
|
|
|
Workspaces
|
|
|
|
] ;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
DESKBAR_APPLICATIONS =
|
|
|
|
CharacterMap
|
|
|
|
DeskCalc Devices DiskProbe DiskUsage DriveSetup
|
|
|
|
Expander
|
|
|
|
StyledEdit
|
2014-03-17 00:21:41 +04:00
|
|
|
Terminal
|
|
|
|
;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
DESKBAR_DESKTOP_APPLETS =
|
|
|
|
NetworkStatus
|
2014-03-17 00:21:41 +04:00
|
|
|
ProcessController
|
|
|
|
Workspaces
|
|
|
|
;
|
|
|
|
|
|
|
|
SYSTEM_PREFERENCES = [ FFilterByBuildFeatures
|
2014-05-01 14:50:11 +04:00
|
|
|
Appearance
|
2014-03-17 00:21:41 +04:00
|
|
|
Backgrounds
|
2014-05-01 14:50:11 +04:00
|
|
|
<preference>Deskbar
|
|
|
|
FileTypes
|
|
|
|
Keyboard Keymap
|
2014-03-17 00:21:41 +04:00
|
|
|
Locale
|
2014-05-01 14:50:11 +04:00
|
|
|
Mouse
|
|
|
|
Network Notifications
|
|
|
|
Screen Shortcuts
|
|
|
|
Time Touchpad <preference>Tracker
|
2014-03-17 00:21:41 +04:00
|
|
|
VirtualMemory
|
|
|
|
] ;
|
|
|
|
|
|
|
|
SYSTEM_DEMOS = ;
|
|
|
|
|
|
|
|
|
|
|
|
rule HaikuImageGetSystemLibs
|
|
|
|
{
|
|
|
|
return
|
|
|
|
# libs with special grist
|
|
|
|
[ MultiArchDefaultGristFiles libroot.so : revisioned ]
|
2014-08-01 01:38:22 +04:00
|
|
|
[ Libstdc++ForImage ]
|
2014-03-17 00:21:41 +04:00
|
|
|
# libs with standard grist
|
|
|
|
[ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
|
|
|
|
libbe.so libbsd.so libbnetapi.so
|
2016-12-13 11:41:10 +03:00
|
|
|
libdebug.so
|
2016-06-05 01:43:20 +03:00
|
|
|
libdebugger.so@primary
|
|
|
|
libdevice.so
|
2014-03-17 00:21:41 +04:00
|
|
|
libgnu.so
|
|
|
|
libnetwork.so
|
|
|
|
libpackage.so
|
|
|
|
libtextencoding.so libtracker.so libtranslation.so
|
|
|
|
] ]
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rule HaikuImageGetPrivateSystemLibs
|
|
|
|
{
|
|
|
|
return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
|
|
|
|
libalm.so
|
|
|
|
libpackage-add-on-libsolv.so
|
|
|
|
libroot-addon-icu.so
|
|
|
|
] ] ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SYSTEM_SERVERS = [ FFilterByBuildFeatures
|
2014-05-01 14:50:11 +04:00
|
|
|
app_server
|
|
|
|
debug_server dns_resolver_server
|
2014-03-17 00:21:41 +04:00
|
|
|
input_server
|
|
|
|
keystore_server
|
2015-04-15 19:14:22 +03:00
|
|
|
launch_daemon
|
2014-05-01 14:50:11 +04:00
|
|
|
mount_server
|
2014-03-17 00:21:41 +04:00
|
|
|
net_server notification_server
|
2014-05-01 14:50:11 +04:00
|
|
|
package_daemon power_daemon
|
2014-03-17 00:21:41 +04:00
|
|
|
registrar
|
|
|
|
syslog_daemon
|
|
|
|
] ;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
SYSTEM_NETWORK_DEVICES =
|
|
|
|
ethernet
|
|
|
|
loopback
|
2014-03-17 00:21:41 +04:00
|
|
|
;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
SYSTEM_NETWORK_DATALINK_PROTOCOLS =
|
|
|
|
<module>arp
|
|
|
|
ethernet_frame
|
|
|
|
ipv6_datagram
|
2014-03-17 00:21:41 +04:00
|
|
|
loopback_frame
|
|
|
|
;
|
|
|
|
|
2014-01-04 19:49:30 +04:00
|
|
|
#SYSTEM_NETWORK_PPP = ipcp modem pap pppoe KPPPManager ;
|
2014-03-17 00:21:41 +04:00
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
SYSTEM_NETWORK_PROTOCOLS =
|
|
|
|
icmp icmp6 ipv4 ipv6
|
|
|
|
tcp
|
|
|
|
udp unix
|
2014-03-17 00:21:41 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_ACCELERANTS = [ FFilterByBuildFeatures
|
|
|
|
x86,x86_64 @{
|
2017-06-11 19:51:23 +03:00
|
|
|
vesa.accelerant
|
2014-03-17 00:21:41 +04:00
|
|
|
}@ # x86,x86_64
|
|
|
|
] ;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
SYSTEM_ADD_ONS_TRANSLATORS =
|
|
|
|
STXTTranslator
|
2014-03-17 00:21:41 +04:00
|
|
|
;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
SYSTEM_ADD_ONS_LOCALE_CATALOGS =
|
|
|
|
<catalog-addon>plaintext
|
2014-03-17 00:21:41 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_MEDIA = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_MEDIA_PLUGINS = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_PRINT = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_PRINT_TRANSPORT = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_SCREENSAVERS = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_DRIVERS_AUDIO = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = [ FFilterByBuildFeatures
|
|
|
|
x86,x86_64 @{
|
2017-06-11 19:51:23 +03:00
|
|
|
vesa
|
2014-03-17 00:21:41 +04:00
|
|
|
}@ # x86,x86_64
|
|
|
|
] ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_DRIVERS_MIDI = ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_DRIVERS_NET = [ FFilterByBuildFeatures
|
|
|
|
x86,x86_64 @{
|
2014-05-01 14:50:11 +04:00
|
|
|
3com
|
|
|
|
atheros813x ar81xx attansic_l1 attansic_l2
|
|
|
|
broadcom440x broadcom570x
|
|
|
|
dec21xxx
|
2018-11-28 18:49:02 +03:00
|
|
|
emulex_oce
|
2014-05-01 14:50:11 +04:00
|
|
|
ipro100 ipro1000
|
|
|
|
jmicron2x0
|
|
|
|
marvell_yukon
|
2014-03-17 00:21:41 +04:00
|
|
|
nforce
|
2014-05-01 14:50:11 +04:00
|
|
|
pcnet
|
|
|
|
rtl8139 rtl81xx
|
2018-12-21 22:22:32 +03:00
|
|
|
sis19x sis900 syskonnect
|
2014-03-17 00:21:41 +04:00
|
|
|
via_rhine vt612x
|
2014-10-18 19:12:46 +04:00
|
|
|
}@ # x86,x86_64
|
2014-03-17 00:21:41 +04:00
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
etherpci
|
|
|
|
pegasus
|
|
|
|
usb_asix usb_davicom usb_ecm
|
2014-03-17 00:21:41 +04:00
|
|
|
wb840
|
|
|
|
] ;
|
|
|
|
|
2014-05-01 14:50:11 +04:00
|
|
|
SYSTEM_ADD_ONS_DRIVERS_POWER = [ FFilterByBuildFeatures
|
2016-08-07 01:46:27 +03:00
|
|
|
acpi_button@x86,x86_64
|
2014-03-17 00:21:41 +04:00
|
|
|
] ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_BUS_MANAGERS = [ FFilterByBuildFeatures
|
2014-05-01 14:50:11 +04:00
|
|
|
acpi@x86,x86_64 agp_gart@x86,x86_64 ata@ata
|
|
|
|
config_manager
|
2014-03-17 00:21:41 +04:00
|
|
|
firewire@x86
|
2017-06-28 16:13:37 +03:00
|
|
|
scsi isa@x86,x86_64
|
2014-03-17 00:21:41 +04:00
|
|
|
pci ps2@x86,x86_64
|
|
|
|
random
|
2014-05-01 14:50:11 +04:00
|
|
|
usb
|
2014-03-17 00:21:41 +04:00
|
|
|
virtio
|
|
|
|
] ;
|
|
|
|
|
|
|
|
SYSTEM_ADD_ONS_FILE_SYSTEMS =
|
|
|
|
attribute_overlay
|
|
|
|
bfs bindfs btrfs
|
|
|
|
exfat ext2
|
|
|
|
fat
|
|
|
|
iso9660
|
2015-07-05 11:31:59 +03:00
|
|
|
log_overlay
|
2014-03-17 00:21:41 +04:00
|
|
|
ntfs
|
|
|
|
packagefs
|
2018-08-22 07:03:43 +03:00
|
|
|
reiserfs
|
2014-03-17 00:21:41 +04:00
|
|
|
udf
|
|
|
|
write_overlay
|
|
|
|
;
|
|
|
|
|
2014-03-18 01:21:48 +04:00
|
|
|
# symlink to home on desktop
|
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/home : Home ;
|
|
|
|
|
2014-03-17 00:21:41 +04:00
|
|
|
# global settings when a package is installed in ~/config
|
|
|
|
AddDirectoryToHaikuImage home config settings global ;
|
|
|
|
|
|
|
|
# user scripts and data files
|
|
|
|
local userBootScripts = UserBootscript UserSetupEnvironment.sample ;
|
|
|
|
SEARCH on $(userBootScripts) = [ FDirName $(HAIKU_TOP) data config boot ] ;
|
|
|
|
AddFilesToHaikuImage home config settings boot : $(userBootScripts) ;
|
|
|
|
|
2015-10-19 22:09:55 +03:00
|
|
|
SEARCH on <user-first-login>first_login
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings ] ;
|
|
|
|
AddFilesToHaikuImage home config settings : <user-first-login>first_login ;
|
|
|
|
|
2014-03-17 00:21:41 +04:00
|
|
|
local etcDir = [ FDirName $(HAIKU_TOP) data etc ] ;
|
|
|
|
local etcFiles = inputrc profile ;
|
|
|
|
etcFiles = $(etcFiles:G=etc) ;
|
|
|
|
SEARCH on $(etcFiles) = $(etcDir) ;
|
2014-04-18 01:13:41 +04:00
|
|
|
etcFiles += <etc>termcap ;
|
2014-03-17 00:21:41 +04:00
|
|
|
AddFilesToHaikuImage system settings etc : $(etcFiles) ;
|
|
|
|
|
|
|
|
local profileFiles = [ Glob $(etcDir)/profile.d : *.sh ] ;
|
|
|
|
profileFiles = $(profileFiles:G=profile-d) ;
|
|
|
|
AddDirectoryToHaikuImage system settings etc profile.d ;
|
|
|
|
AddFilesToHaikuImage system settings etc profile.d : $(profileFiles) ;
|
|
|
|
|
|
|
|
local driverSettingsFiles = <driver-settings>kernel ;
|
|
|
|
SEARCH on $(driverSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings kernel drivers ] ;
|
|
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
|
|
: $(driverSettingsFiles) ;
|
|
|
|
|
2015-09-09 17:30:18 +03:00
|
|
|
local networkSettingsFiles = <network-settings>services
|
|
|
|
<network-settings>hosts ;
|
|
|
|
|
2014-03-17 00:21:41 +04:00
|
|
|
SEARCH on $(networkSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) data settings network ] ;
|
|
|
|
AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;
|
|
|
|
|
|
|
|
# fresh install indicator file for the post install scripts
|
|
|
|
SEARCH on <post-install>fresh_install
|
|
|
|
= [ FDirName $(HAIKU_TOP) data system settings ] ;
|
|
|
|
AddFilesToHaikuImage system settings : <post-install>fresh_install ;
|
2019-01-09 03:45:36 +03:00
|
|
|
|
|
|
|
# repository config and cache files
|
|
|
|
local repository ;
|
|
|
|
for repository in $(HAIKU_REPOSITORIES) {
|
|
|
|
local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
|
|
|
|
local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
|
|
|
|
if $(HAIKU_UPDATE_ALL_PACKAGES) {
|
|
|
|
HAIKU_INCLUDE_IN_IMAGE on $(config) $(cache) = 1 ;
|
|
|
|
}
|
|
|
|
AddFilesToHaikuImage system settings package-repositories
|
|
|
|
: $(config) : $(repository:G=) ;
|
|
|
|
AddFilesToHaikuImage system cache package-repositories
|
|
|
|
: $(cache) : $(repository:G=) ;
|
|
|
|
}
|