Commit Graph

273 Commits

Author SHA1 Message Date
Jessica Hamilton
48494219eb Add a dumb framebuffer driver.
This is separate to the VESA driver, as the VESA driver requires
using the VBE BIOS. Under UEFI, we don't have the VBE BIOS, nor
are we able to switch modes after leaving UEFI Boot Services, so
a dumb framebuffer driver seemed like the easier way to approach
the problem.

The framebuffer & vesa drivers now test for the presence of the
VESA_MODES_BOOT_INFO boot item to distinguish between which driver
to use. Also added check for the VESA mode count to determine
whether to add the VESA_MODES_BOOT_INFO item.

UEFI video updated to explicitly zero out the VESA and EDID
boot data.
2016-12-13 21:41:10 +13:00
John Scipione
19d8d9fa39 Add SoftwareUpdater to regular image 2016-12-09 13:52:27 -08:00
Adrien Destugues
96fef5d19f ramdisk: implement trim and icon, add to image
- B_TRIM_DEVICE on a ram disk frees all requested pages. Reading from a
  trimmed page returns all 0s. This can be used with fstrim to release
  memory for the parts not used by the filesystem, without unregistering
  then registering the device.
- Add icon and ioctl to get it.
- Add it to the image, because it works reasonably well and there is no
  reason not to include it.
2016-11-03 22:58:31 +01:00
Adrien Destugues
5c65d2f5d1 Properly add the BeDecorator to the image
Put it inside the Haiku package.
2016-11-02 21:57:16 +01:00
Alexander von Gluck IV
bccc693277 BeDecorator: Reintroduce to image 2016-09-18 14:44:18 -05:00
Fredrik Holmqvist
e5ebfda19d Enable power button on 64 bit.
Works here. You may need to hold in for a second or two.
2016-08-07 00:46:27 +02:00
Adrien Destugues
766f682338 Fix build and first runtime problem in network boot
The boot still crashes some time later, but at least it is easier to
test now.

- PackageFS included in the net boot archive
- Tell the system it is booted "from image" when netbooting
2016-08-06 20:29:08 +02:00
Rene Gollent
76477fc5a7 Cleanups.
- Move libdebugger into the body with the rest of the libraries. Cleanup
  suggested by Ingo. No functional change.
2016-06-04 18:43:20 -04:00
Rene Gollent
fce4895d18 Debugger: Split into core library and application.
- Add subfolder src/kits/debugger which contains the debugger's core
  functionality and lower layers. Correspondingly add headers/private/debugger
  for shared headers to be used by clients such as the Debugger application
  and eventual remote_debug_server. Adjust various files to account for
  differences as a result of the split and moves.
- Add libdebugger.so to minimal Jamfile.
2016-06-04 13:18:39 -04:00
Dario Casalinuovo
fbabc74ddf http_streamer: General refactor making use of new API
* Use BUrlProtocolRoster instead of BFileRequest.
* Removed HTTPMediaIO custom code that now inherits
BAdapterIO and make the whole thing more simple.
* It work with some formats (flv, mp3, mkv) but ffmpeg fail
on others (mp4, 3gp).
* GetSize needs improvements.
2016-05-31 01:15:09 +02:00
Alexander von Gluck IV
abde6a01f8 bluetooth: Re-introduce to image
* Previous enablement broke gcc2 and hybrid builds
* gcc2 builds fixed and tested working now
* Fix Hybrid builds via missing MultiArch Jam
* Sorry for the noise, enjoy early Bluetooth support
2016-04-22 14:55:55 -05:00
Alexander von Gluck IV
52da2024d0 Revert "bluetooth: Add kit, server, and preflet to image"
This reverts commit d16a0a9fc2.
2016-04-19 22:28:16 -05:00
Alexander von Gluck IV
d16a0a9fc2 bluetooth: Add kit, server, and preflet to image
* Server not started until requested (via preflet) for now.
2016-04-17 13:39:16 -05:00
Alexander von Gluck IV
0421aa8cbe bluetooth: Add h2generic driver to image 2016-04-10 11:28:42 -05:00
Alexander von Gluck IV
ca7e8e5b20 bluetooth: Add kernel stack to image 2016-04-10 11:18:57 -05:00
Adrien Destugues
8948853269 Netboot: remove rtl8169 driver from boot archive
This driver was replaced by rtl81xx. Having both in the image results
in conflicts and non-working ethernet.
2016-03-29 22:46:24 +02:00
Adrien Destugues
9d08351025 NetBoot: add the notification module to boot symlinks
- There is no point in having it in the boot image if it can't be used.
- This however does not get the system booting.
2016-03-29 22:46:24 +02:00
Rene Gollent
20122a6a77 LegacyPackageInstaller: Fix x86_64 build. 2016-03-19 16:30:53 -04:00
Augustin Cavalier
6a5f8112cd PackageInstaller: Make it x86(32-bit) only.
So people aren't tempted to make .pkg files for x86_64/ARM/etc, and
because there should be no reason to have it there.

Discussed with PulkoMandy on IRC.
2016-03-07 15:44:44 -05:00
Rudolf Cornelissen
d95b7ef60b Added via gfx driver back to the image, since ticket #1973 was solved. 2016-02-19 19:33:44 +01:00
Augustin Cavalier
6352a1b8c3 Add the 'mail' tool to the build. 2016-01-20 13:28:46 -05:00
François Revol
ec684513fe WindowShade: add to regular image 2016-01-07 21:12:17 +01:00
François Revol
b50be529bb Add dpms tool to regular image 2016-01-07 21:04:11 +01:00
François Revol
b259ac9c59 Add listfont to the minimum image definition 2016-01-07 18:13:47 +01:00
mshlyn
e3724c38cb PPP: Port to the new stack.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>

This is a squash of the 42 commits by @mshlyn, as I couldn't find a
way to break them into logical chunks. I did not include these in the build,
as it appears that they only partially work anyway, and much more cleanup is
still needed. However, this is a huge improvement on what was in the tree
before, which looked horrendous and didn't even compile (as it was designed
for the old stack).

Mostly fixes #812.
2016-01-02 07:22:13 -05:00
Axel Dörfler
7406866340 launch_roster: The beginnings of a launch_daemon control tool. 2015-11-08 00:09:26 +01:00
Axel Dörfler
d2eca26b73 Moved per user post install actions to first-login script.
* The same mechanism (and the same PostInstallScript) is used for this.
* If a file first_login exists in ~/config/settings/boot, the first-login
  scripts are launched, and the file removed.
* This fixes adding the deskbar tray icons even when there is no Deskbar
  running yet (for example on first boot when the FirstBootPrompt
  starts), or, IOW bug #12275.
2015-10-19 21:27:02 +02:00
Axel Dörfler
cfe6baf62f cddb_daemon: renamed to cddb_lookup, moved to /src/bin.
* It's now a standard command line tool that is launched automatically
  via the launch_daemon whenver a volume is mounted.
2015-10-19 21:21:21 +02:00
Jérôme Duval
56eb96022b Rename ncurses_bootstrap to ncurses6_bootstrap.
* Debugger and ftp depend on the libedit build feature.
2015-10-18 13:58:33 +02:00
Alexander von Gluck IV
635fe4746d network: Add missing hosts configuration file
* Provides localhost define to the network kit
* Resolves #12260 and others
2015-09-09 09:30:38 -05:00
Michael Lotz
b11eb89c2d Add system_time bin command which just prints system_time().
This can be used by scripts to do verious performance measurements.
Specifically it can be used to measure the boot time since it represents
the uptime.
2015-08-29 19:15:47 +02:00
Jérôme Duval
ed92a10520 diffutils: use the outsourced packages.
* remove diffutils Jamfile from the build and diffutils sources from the tree.
2015-08-01 14:04:10 +02:00
Augustin Cavalier
e4b8ed4a85 images/regular: Delete DVB stuff.
Thanks to Axel for reviewing!
2015-07-25 10:05:00 -04:00
Axel Dörfler
5e541a6042 launch_daemon: Added /system/data/user_launch directory.
* This directory is for services that are launched per user (in a user
  context), but installed globally.
* This is now used for the default "user" configuration; before this was
  put into ~/config/non-packaged/data/launch, which didn't really fit,
  and has the huge disadvantage that it cannot be updated.
* Fixes part of #12227.
2015-07-24 17:25:13 +02:00
Augustin Cavalier
00ac71aa79 Fix build after DVB removal.
Apparently, the files were included in the image.
2015-07-23 15:45:15 -04:00
Axel Dörfler
05a567f609 Added autologin command, and use it by default.
* This will handle our current single-user login needs.
* Removed Login from the minimum image again.
2015-07-22 20:43:54 +02:00
Axel Dörfler
ac0a462fba launch_daemon: Basic user session implementation.
* Instead of launching Tracker/Deskbar directly, we now launch the
  Login application.
* This will now start a new session for the selected user (the password
  is currently ignored).
* When a user session is started, the launch_daemon forks, and the
  child then restarts the LaunchDaemon application in user mode.
* It then registers itself with its parent, in order to resolve user
  dependent services.
* Added a user launch file that will cause Tracker, and Deskbar to
  start in the new session.
2015-07-22 20:41:37 +02:00
Axel Dörfler
c16361c49c launch_daemon: Initialize /tmp & /var/shared_memory, clock.
* Added initializing /tmp & /var/shared_memory to the launch_daemon.
* Moved clockconfig.cpp code into the launch_daemon.
* This follows systemd design; since those jobs are fixed, it doesn't
  matter where you maintain them.
* The init jobs are BJobs, but the JobQueue is only used for that
  one use for now. At a later time, I intend to put the job launching
  in there, as well. BJob allows to represent the dependencies already.
2015-07-22 20:41:14 +02:00
Axel Dörfler
89168ad8b9 Boot the system via launch_daemon.
* This is actually working already, although we cannot reproduce all
  the features of the former Bootscript yet. This is without any
  dependency support in launch_daemon.
* All shell activity like cleaning out /tmp, setting up the environment,
  setting the time, etc. is not yet working.
2015-07-22 20:40:33 +02:00
Augustin Cavalier
7eccc69001 Rename PackageInstaller to LegacyPackageInstaller.
Affects only the file name, not the mimetype.
Fixes #10004.
2015-07-18 14:35:08 -04:00
Augustin Cavalier
0fe33fd516 images/regular: Add Nebula to the default image. 2015-07-07 20:05:33 -04:00
Michael Lotz
29e8040d58 log_overlay: Fix 64 bit build and add to image. 2015-07-05 10:40:01 +02:00
Adrien Destugues
60295ba1f7 Move ports and protocols files back to data directory in Haiku package.
These files are required for netresolv functionality, and there is no
real use in modifying them as settings files. Restore the previous
behavior, the files are stored in data and part of the Haiku package.

This means there is no need for a fresh install from image to get the
files anymore.

Fixes #12156.
2015-06-20 11:52:13 +02:00
Adrien Destugues
8d2aee6bc8 libbind: integrate "netresolv" patches from NetBSD.
libbind development was transferred to the NetBSD project at
http://wiki.netbsd.org/individual-software-releases/netresolv/

There isn't an official release yet, but they provide a set of patches
against the latest libbind release.

* Remove all files we don't use
* Merge the changes to the remaining files
* Add some new files we need
* Move getifaddrs implementation to libnetwork (instead of libbnetapi)
so it can be used by netresolv.

Fixes #8293 : netresolv uses getifaddrs to determine if there is a local
IPv6 address. If there is not, it will not return AAAA records.
2015-06-14 15:47:03 +02:00
Jérôme Duval
e22a18e9f3 Add a feature for expat.
* Icon-O-Matic and Cortex are dependent on the feature.
* remove expat lib from the build and from the tree.
* expat package is added to regular builds.
2015-06-10 23:31:55 +02:00
Jérôme Duval
1f56c11b79 gzip: use the outsourced packages.
* remove gzip Jamfile from the build and gzip sources from the tree.
2015-06-10 11:26:51 +02:00
Jessica Hamilton
11e8ecdd94 writembr: Implement support for GPT partitions, #4028.
* This should support both GPT and MBR formatted partitions.
* To boot Haiku from a GPT partition, it must have the correct
  BFS UUID for the partition.
* Tools such as gdisk/gptfdisk can create partitions with
  the correct BFS UUID.
2015-06-04 15:07:13 +12:00
Jérôme Duval
105c7e2737 tcpdump: use the outsourced packages.
* remove tcpdump and libpcap from the build and from the tree.
2015-05-01 12:15:09 +02:00
Jérôme Duval
f19ef17518 Added netcat packages for x86 and x86_64, use them.
* removed netcat Jamfile from the build and from the tree.
* clean image and package definitions.
* added netcat in regular builds.
2015-03-03 22:49:00 +01:00
Augustin Cavalier
102b06000f Add resattr to the minimum image. 2015-03-03 09:59:37 -05:00
Jérôme Duval
22d29642fb Add packages for zip and use them.
* remove zip Jamfile from the build and from the tree
* clean up image and package definitions.
* added zip in regular builds.
2015-03-02 22:17:56 +01:00
Jérôme Duval
85e5aa30b1 Add packages for unzip and use them.
* remove unzip Jamfile from the build, <build>unzip stays with us.
* clean up image and package definitions.
* added unzip in regular builds.
2015-02-26 19:21:04 +01:00
Jérôme Duval
6d8505a01e patch: use the outsourced packages.
* remove patch Jamfile from the build and patch sources from the tree.
* added patch to DevelopmentBase.
* should a bootstrap package be added?
2015-02-16 20:11:59 +01:00
Augustin Cavalier
136a82ffc5 Cortex: add LoggingConsumer to the build. 2015-02-13 12:36:03 -05:00
Augustin Cavalier
e611f19907 gdb: outsource.
I didn't add the gdb package to the bundled packages because AFAIK,
most users / developers of Haiku use our built-in Debugger instead,
because it's so much more awesome (thanks, Ingo & Rene!).

If I'm somehow mistaken about that, please don't hesitate to speak
up and I'll add it.
2015-02-11 15:33:47 -05:00
John Scipione
4f10c6a6e5 Revert "coreutils fixup fixup"
Thanks for explaining Jérôme Duval

This reverts commit a2adc97219.
2015-02-06 13:33:47 -05:00
John Scipione
a2adc97219 coreutils fixup fixup
* Put getlimits and kill back in the image, the former is not provided
  by coreutils, Haiku provides an updated version of the latter.
* frcode is not provided by either coreutils or Haiku and has been
  removed, do we need it?
2015-02-05 18:45:02 -05:00
Jérôme Duval
950ee98409 Add coreutils packages for x86_gcc2, x86 and x86_64.
* this is a mandatory package.
* removed related commands from the minimum image definition.
* removed related commands from the Haiku package PROVIDES.
* the su command is deprecated in 8.22. Use the 8.4 in-tree version.
* the packages contain and provide the df command, to be removed.
2015-02-05 18:57:21 +01:00
Adrien Destugues
449e7cdde3 Actually remove RCS from the image. 2015-01-05 18:07:16 +01:00
Augustin Cavalier
0de25abadc bash_completion: delete from tree.
This was an old version of bash_completion and not included in the
image. An haikuports recipe is available if you need it.

Fixes #11660.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-05 12:03:45 +01:00
Adrien Destugues
4738a0e182 Remove built-in cal command.
* Replaced by gcal package
* Fixes #9696.
2014-12-16 14:31:04 +01:00
Adrien Destugues
d181ea48ed Add the ape reader to the image again.
Fixes #7048.
2014-12-10 09:40:20 +01:00
Adrien Destugues
8e8d5c85b8 Remove vmware driver from the image. 2014-12-04 12:54:44 +01:00
Adrien Destugues
1abd97e225 Add SerialConnect to DeskBar menu.
It works well enough now.
2014-11-26 10:12:44 +01:00
Adrien Destugues
0302849860 Remove some unneeded file and partitionning systems
* googlefs: not working, needs update to match current page layout of
google searches
* Amiga and Apple partitionning systems: made them 68k and ppc-only,
respectively. There is not much use for those on x86 systems.

Also remove kdlhangman from the bootstrap packages.
2014-11-17 09:33:15 +01:00
Alexander von Gluck IV
3f84ea0c7e ScreenInfo: Include screeninfo in images
* Rename from screen_info to screeninfo to match
  screenmode
2014-11-09 12:20:04 -06:00
Ithamar R. Adema
47c5303305 revert accidental adding of xhci to boot floppy
I should not be doing multiple (unrelated) things at the same
time I guess ;)
2014-10-31 11:32:15 +01:00
Ithamar R. Adema
7ed3516489 ARM: add FDT bus_manager to floppy disk image 2014-10-31 11:18:52 +01:00
Ingo Weinhold
96a321df07 bootstrap image: Add remote command execution script
In order to automate the complete bootstrap build process we need a
mechanism to control the second phase which builds the final packages
on the booted bootstrap Haiku. To avoid additional dependencies
(buildbot slave, ssh, rsh,...) we'd have to cross-build, there's now a
pair of simple python scripts that allows executing commands on a remote
machine. The server script (bootstrap_daemon.py) is added to the
bootstrap image and started automatically during the boot.
2014-10-30 16:43:54 +01:00
Michael Lotz
cd506e763c Add FreeBSD WLAN drivers to x86_64 images.
Tested working with iprowifi4965, the rest at least compiles.
2014-10-18 18:48:18 +02:00
Jérôme Duval
b2d0f2e7b6 Use bash_bootstrap for the bootstrap build.
* don't build the in-tree bash.
* bash doesn't need to be a mandatory package, it's now a dependency of
the haiku package.
2014-10-01 22:34:45 +02:00
Jérôme Duval
8b21b2b910 bash: use outsourced package for non-bootstrap builds.
* the bootstrap build keeps on building the in-tree bash.
2014-10-01 19:08:27 +02:00
Adrien Destugues
a122146848 Remove BSnow from the default image.
We get several users on IRC asking for help on how to disable it. It
doesn't even look good, uses a lot of CPU, and we have better (useful)
ways to demonstrate replicants on the desktop. So this demo has no use
anymore.
2014-09-26 17:03:26 +02:00
Adrien Destugues
3ae6595c39 Build fix. 2014-09-18 17:41:21 +02:00
Jessica Hamilton
f0b0d6578b Undo accidental file mode changes. 2014-09-15 16:38:30 +12:00
Jessica Hamilton
219f6c904a Fix issues with generation of mbr.bin for gcc4 & anyboot targets 2014-09-10 22:47:32 +12:00
Jérôme Duval
88ef93a33c RegularImage: filter translators based on features. 2014-08-27 17:49:52 +02:00
Oliver Tappe
220d040227 Use libstdc++, libsupc++ and libgcc from gcc_syslibs.
* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
  from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
  x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
  necessary since we're only using libgcc-as-single-object for libroot
  with x86_gcc2, where the filtered object file doesn't exist. Should
  the objects that used to be filtered cause any problems as part of
  libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
  x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
  x86_gcc2, we still build libstdc++.so from the sources in the Haiku
  source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.
2014-08-13 13:32:44 +02:00
Oliver Tappe
1b4510eebf Put haiku repository onto image.
* Now that system updates seem to work properly, put the haiku
  repository config and cache file onto the image automatically.
* Adjust URL of haiku repository (it is currently redirected
  to some other URL at download.haiku-os.org, but that will be
  changed later).
2014-07-26 00:35:53 +02:00
Augustin Cavalier
7481292e36 CDPlayer: remove from image & delete
* Does not work on recent hardware
  * It now lives at: https://github.com/HaikuArchives/CDPlayer

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2014-07-09 22:54:51 +02:00
François Revol
9220bcf1f6 Add /bin/clipboard to the regular images
Seemed to have gone missing in action somehow.
2014-07-04 13:58:58 +02:00
Oliver Tappe
5de87ca904 Copy haikuports/FormatVersions onto the bootstrap image.
* Without it, haikuporter will believe there's a version mismatch
  between itself and the haikuports tree.
2014-07-03 18:12:07 +02:00
Adrien Destugues
20929296c9 Add RemoteDesktop to the image.
There are some rough edges, but this can be useful and deserves more
exposure.
2014-06-16 08:16:53 +02:00
John Scipione
a407032259 build system: Add SoundRecorder to Deskbar
... in the "regular" image definition. Fixes #10932
2014-06-13 19:27:54 -04:00
John Scipione
e70b99da6a build system: Replace tab wtih space 2014-06-13 19:25:55 -04:00
Jérôme Duval
27843c6ffd TIFFTranslator is now dependent on the tiff build feature. 2014-06-04 00:42:43 +02:00
Adrien Destugues
5abe892c76 Remove deprecated file. 2014-06-03 13:17:23 +02:00
Jérôme Duval
9cd7c6a433 tiff: use the outsourced packages.
* packages for secondary architectures would be welcomed.
2014-06-02 23:45:19 +02:00
Jérôme Duval
1ee3031a90 wget: use the outsourced packages.
* remove wget Jamfile from the build.
2014-06-02 00:06:31 +02:00
czeidler
277f3ec685 Add libalm to the regular system libs.
libalm.so is used by Stack & Tile as well as for the constraint-based
layout BALMLayout. This also adds libalm.so to the development package;
links it to /boot/system/development/lib.
2014-05-28 17:21:31 +12:00
Jérôme Duval
0584f69356 gutenprint: use outsourced package.
* data files are still in the source tree.
* gutenprint headers contain a image.h header file which collides
with ours. This is solved by forcing include search first on
os/kernel directory.
2014-05-09 20:19:35 +02:00
Oliver Tappe
8c54af563c Whitespace cleanup in root and 'build' folder.
* Removed trailing whitespace and empty lines at top of files.
2014-05-01 12:55:41 +02:00
Jérôme Duval
4a4450c158 less: sysless config file is part of the hpkg.
* remove in-tree sysless config gen.
2014-04-17 23:20:32 +02:00
Jérôme Duval
1a8c694443 less: use the outsourced packages.
* added packages for x86 and x86_64.
2014-04-17 00:03:28 +02:00
Jérôme Duval
eb763779e3 sharutils: use the hpkg.
* delete the intree sources.
2014-04-14 22:52:58 +02:00
Jonathan Schleifer
d6f8092732 Sorry, my last commit was incomplete 2014-03-29 02:29:52 +01:00
Oliver Tappe
a8c098a3ba Replace HAIKU_{BOOTSTRAP,MINIMUM}_BUILD with HAIKU_BUILD_TYPE.
* Instead of separate variables, HAIKU_BUILD_TYPE is set to one of
  'bootstrap', 'minimum' or 'regular'.
* Adjust uses of HAIKU_BOOTSTRAP_BUILD accordingly.
2014-03-22 20:24:07 +01:00
Oliver Tappe
55f7180dc8 Restore creation of the home symlink on the desktop.
* apparently, this got lost during the refactoring of the images
2014-03-17 22:22:10 +01:00
Oliver Tappe
dff7d3a0f2 Add files missing in last commit, sorry. 2014-03-16 21:21:41 +01:00
Oliver Tappe
ff35d6c18a Refactor definition of Haiku image contents.
* Move actual definitions of respective image contents to files
  underneath build/jam/images/definitions (minimum, bootstrap, regular).
* HaikuImage now only includes the image definitions for the selected
  build profile and adds the Haiku packages.
* Simplified topmost Jamfile to some extent.
* Move definition of DESKBAR_APPLICATIONS and DESKBAR_DESKTOP_APPLETS
  from build/jam/packages/Haiku to the respective image definition file.
* Sort and reformat several lists to make them more readable.
2014-03-16 21:17:22 +01:00
Oliver Tappe
72e677911f Make set of source packages for bootstrap-image configurable.
* Add new build profile 'minimum', which defines a minimum set of
  packages.
* Introduce HAIKU_BOOTSTRAP_SOURCES_PROFILE and let it default to
  '@minimum-raw'. This can be overruled in UserBuildConfig, setting
  it to '@release-raw' will cause all source packages required for a
  full release to be put onto the bootstrap-image.
* Add new image HaikuImageMinimum, which is meant to define the minimum
  useful Haiku image (yeah, I know that's vague).
* Add HAIKU_MINIMUM_BUILD, which indicates that HaikuImageMinimum should
  be used (it would be better to merge this with HAIKU_BOOTSTRAP_BUILD
  into something like HAIKU_BUILD_TYPE)
* Cleanup duplicate references to basic packages - those are now added
  by the topmost Jamfile (no longer referenced by the build profiles).
2014-03-16 01:17:55 +01:00
Jonathan Schleifer
a5fba62e21 HaikuImageBootstrap: Add random
This is required for scons, which is required to build Mesa.
2014-03-15 02:46:22 +01:00
Oliver Tappe
f69f5a44a1 Filter non-rigged source packages from bootstrap image.
* Before, we were putting both rigged and standard source packages
  onto the bootstrap image, which caused the build to fail (because
  non-rigged source packages can only be built with git available).
2014-03-11 22:05:27 +01:00
Oliver Tappe
bfd2e8b3d0 Don't try to put findutils-commands on bootstrap image.
* findutils has been moved out to a haikuport, so the commands are no
  longer known to the build system
2014-03-02 21:55:25 +01:00
Jérôme Duval
91e3737dd8 gawk: use the HaikuPorts package.
* left the in-tree version as its libintl is used by gdb.
* added as bootstrap package.
2014-02-25 22:20:32 +01:00
Jérôme Duval
8b804bc17b findutils: use the HaikuPorts package.
* removed in-tree version.
* added as bootstrap package.
* note: HaikuPorts package has no rdef for binaries.
2014-02-25 17:58:32 +01:00
John Scipione
0810449709 HaikuImage: Add empty system non-packaged directories
... mirroring home/config/non-packaged/

Also, sort the list lexographically and move the creation of the non-packaged
decorators directory from HaikuImage to HaikuImageCommon along with the rest.
2014-02-23 12:10:13 -05:00
Jérôme Duval
c2d994b00e HaikuImage: activate GL components with mesa feature. 2014-02-22 14:32:10 +01:00
John Scipione
6a6d5a80a1 Add decorators to system non-packaged decorator directory
... commented out still for now. BeDecorator is almost ready,
MacDecorator and WinDecorator need a bunch more work still.
2014-02-20 19:31:51 -05:00
John Scipione
14aa801ae9 Update DecorInfo to scan for decorators
Look in system and user packaged and non-packaged decorator directories.
2014-02-20 19:31:49 -05:00
Alexander von Gluck IV
b41ab65bd4 x86_64: Add BootManager, writembr
* Fix build of BootManager on x86_64 (signed vs unsigned error)
* Throw in writembr as it seems to build (untested)
2014-02-05 23:25:26 -06:00
Alexander von Gluck IV
6464f4f659 x86_64: Add a bunch of video drivers that compile.
* Added cards need testing.
* 3dfx, ati, neomagic, and s3 still don't build due to some
  more complex pointer size issues. (and I don't have hardware
  to test on)
2014-01-30 14:55:19 -06:00
Ingo Weinhold
bf3d27539b Add Haiku repository config only optionally
The HAIKU_ADD_HAIKU_REPOSITORY_CONFIG build variable can be set to add
the Haiku repository config to the image.
2014-01-26 15:11:15 +01:00
Ingo Weinhold
be5e6fefdf Add repository config for the Haiku repository to the image
* HaikuRepository rule: Create the repository config.
* HaikuImage: Add the repository config for the Haiku image. The
repository cache is not added, though (it would only be available, if
the repository had been built before).

Implements #10287. The Haiku repository is now available in Haiku by
default.
2014-01-19 00:49:11 +01:00
Pawel Dziepak
d0f2d8282f Merge branch 'scheduler'
Conflicts:
	build/jam/packages/Haiku
	headers/os/kernel/OS.h
	headers/os/opengl/GLRenderer.h
	headers/private/shared/cpu_type.h
	src/add-ons/kernel/drivers/power/acpi_battery/acpi_battery.h
	src/bin/sysinfo.cpp
	src/bin/top.c
	src/system/kernel/arch/x86/arch_system_info.cpp
	src/system/kernel/port.cpp
2014-01-17 04:06:15 +01:00
François Revol
9307c47ea3 Revert "Add getconf to the image"
This reverts commit c229671d8e.
2013-12-28 09:58:16 +01:00
François Revol
c229671d8e Add getconf to the image 2013-12-27 19:49:17 +01:00
Alexander von Gluck IV
eb45d168e1 GL: Remove OpenGL kit, x86 Mesa
* Depend on Mesa packages to provide functionality
2013-12-22 23:36:02 -06:00
Ingo Weinhold
523b866f89 HaikuImage*: Create missing writable dirs in ~/config
Also reduce code duplication by moving the respective code to
HaikuImageCommon.
2013-12-10 23:17:43 +01:00
Jérôme Duval
67ba05e6db FloppyBootImage: removed special case for x86_64
* completes hrev46470
* to be noted, adding generic_x86 for x86_64 let Haiku crash on boot.
2013-12-09 19:48:13 +01:00
Gerasim Troeglazov
8e3ba61f64 Sort translators list in alphabetical order 2013-12-02 09:43:40 +00:00
Jérôme Duval
44b4797910 FloppyBootImage: removed special case for x86_64
* now includes acpi, should help for #10266.
2013-12-01 21:16:29 +01:00
Gerasim Troeglazov
592be1fc7a Add PSDTranslator to image 2013-12-01 11:55:27 +00:00
Pawel Dziepak
208f76e578 preferences: Remove CPUFrequency
We can't reliably set contemporary processors to an arbitrary frequency.
There are dependencies between cores and thechnologies like Turbo Boost
which may make actual frequency significantly different than the requested.

Moreover, it is the scheduler job to decide how much CPU performance is
needed and user shouldn't interfere with that.
2013-11-22 05:24:44 +01:00
Adrien Destugues
3d5714e20d Add SerialConnect to HaikuImage.
It's now complete enough.
2013-11-20 22:39:17 +01:00
Ingo Weinhold
4f5e938576 Add setarch and getarch commands 2013-11-17 02:09:37 +01:00
Axel Dörfler
a352b43896 Added fstrim command.
Later, there should be a service that runs this from time to time for all
devices that support it.

Conflicts:
	build/jam/HaikuImage
2013-11-07 19:02:53 +01:00
Jérôme Duval
a0fe2facbd x86_64: added wlan drivers to the image. 2013-11-06 13:47:28 +01:00
Ingo Weinhold
24394a9d11 Add findpaths command line tool
It provides the new find_path*() functionality to the shell.
2013-11-05 21:42:24 +01:00
Jérôme Duval
6e157720e1 only builds fwcontrol for x86 2013-11-04 18:03:37 +01:00
Ithamar R. Adema
c157484a81 x86_64: fix bootstrap build error
Without this creating the boot symlink fails for the bootstrap build,
as the actual acpi module has not been added.
2013-10-28 15:54:10 +01:00
Jérôme Duval
076952bc29 x86_64: add acpi_battery to the image. 2013-10-24 14:29:51 +02:00
Jérôme Duval
1926af4fde acpi_button: migrated to the new driver API.
* HaikuImage: SYSTEM_ADD_ONS_DRIVERS_POWER is now used for new drivers.
2013-10-23 19:07:22 +02:00
Jérôme Duval
afaeff4cdf x86_64: added acpi_button
* tested OK!
2013-10-22 18:22:40 +02:00
Rene Gollent
72eb88f5c8 Add non-packaged fonts directory to default image. 2013-10-20 16:06:51 -04:00
Jérôme Duval
5d9aaba22f x86_64: added acpi to the image.
* embedded_controller crashes on x86_64, disabled for now.
* removed the -fno-pic compile option.
* synched HaikuBootstrap package with Haiku package.
2013-10-19 21:46:56 +02:00
Ingo Weinhold
19f94028f6 Revert "Allow stripping binaries when copying to image containers"
This reverts commit d6de84de66.
2013-10-12 16:01:02 +02:00
Ingo Weinhold
d05822f18b Revert "Preserve resources and attributes when copying stripped binaries"
This reverts commit a427aa2f4a.
2013-10-12 15:59:19 +02:00
François Revol
a427aa2f4a Preserve resources and attributes when copying stripped binaries
When asked to strip binaries when copying to containers we now
strip to a temporary file, copy over resources to it, copy it
to the container, then copy the attributes from the original
source.

This should allow stripping binaries while preserving attributes
and resources even when copying to images.
2013-10-12 02:37:20 +02:00
Ingo Weinhold
111e76b755 Properly canonically name the boot loader package 2013-10-10 00:40:10 +02:00
François Revol
d6de84de66 Allow stripping binaries when copying to image containers
Currently only needed for boot floppy on some platforms.

Disabled for now.

Note we do not have a mean of knowing which file is a binary
or not so we just try to strip, and silently continue when
strip fails (like on the kernel settings file).

Also note strip actually replaces the file, which means it looses
both the resources and attributes, which shouldn't be a problem
for the boot floppy drivers archive, but is not wanted for other
images, so it's not usable elsewhere as such. Patch wanted.
2013-10-09 22:04:36 +02:00
Ingo Weinhold
a27d687e2a Name the generated HPKG files properly
* rule AddPackageFilesToHaikuImage: Add "flags" parameter. The only
  supported flag is "nameFromMetaInfo". It causes the packages to be
  copied under their canonical file name onto the image.
* Use the new flag for all generated packages save haiku_loader.hpkg.
2013-10-09 03:48:26 +02:00
Ingo Weinhold
cb434e1a2b Also add repository cache files to image
This makes package management operations that require a repository cache
immediately usable (even offline). Also makes sense for the
update-{all,packages} build profile actions, since those update the
repository config which would otherwise no longer match a potentially
existing cache.
2013-10-05 22:49:49 +02:00
Ingo Weinhold
049874acda update-{all,packages} build action: Update repository config 2013-10-05 22:49:49 +02:00
Ingo Weinhold
f73f5d4c42 Initial changes to remove /boot/common
* find_directory() and hard-coded paths use /boot/system instead of
  /boot/common.
* The build system creates the writable directories in /boot/system
  instead of /boot/common.
* The build system no longer installs any packages in /boot/common.
2013-10-03 21:52:25 +02:00
Rene Gollent
c6a952d706 Add HaikuDepot to image. 2013-09-18 18:45:10 +02:00
Ingo Weinhold
519bb60aef Add group{add,del,mod} 2013-09-18 16:33:19 +02:00
Ingo Weinhold
e9d9ac713f Add userdel 2013-09-18 16:33:17 +02:00
Rene Gollent
eeebe2843a Manually merge 1410faca6c. 2013-09-17 14:42:08 +02:00
Ingo Weinhold
cf70d345b2 Merge remote-tracking branch 'haiku/master' into package-management
This reverts 8f7f28a7c3 (OpenGL: Upgrade
to
Mesa 9.2).

Conflicts:
	build/jam/BuildFeatures
	build/jam/HaikuImage
	build/jam/OptionalPackages
	build/scripts/build_cross_tools_gcc4
	src/add-ons/opengl/swpipe/Jamfile
	src/apps/diskusage/Jamfile
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/Jamfile
2013-09-13 01:02:28 +02:00