Commit Graph

330 Commits

Author SHA1 Message Date
Philippe Houdoin
127456e5b5 Added user-defined image volume label support.
The default label is as previously: Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-19 17:32:57 +00:00
Axel Dörfler
ca7cb625b9 * Implemented a (private for now) get_system_info_etc() call, that can retrieve
various system information.
* Implemented retrieving some VM stats via this call.
* The VM now maintains a page fault counter, and sets system_info::page_faults
  accordingly.
* Added a (pretty simple) "vmstat" command line app.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-17 16:27:17 +00:00
Ingo Weinhold
6608ae57c1 * Added "profile" command to the image.
* Enforced 80 columns limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:46:40 +00:00
Stephan Aßmus
61490d4560 Add DiskUsage to the build and also integrate it as a Tracker add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-08 11:04:39 +00:00
Stefano Ceccherini
cedb5266aa Removed PictureTest from the image since it's not that cool as a demo, and we have a better unit test anyway (FlattenPictureTest)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-05 09:10:24 +00:00
Jérôme Duval
ca91968b16 added input_server addons user directories to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 18:44:01 +00:00
Jérôme Duval
1603c8367e added echo3g driver to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-17 22:10:08 +00:00
Axel Dörfler
626599ea23 * scsi_cd/scsi_disk are new drivers, and therefore they need to use a different
rule.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-08 11:26:58 +00:00
Axel Dörfler
24593e2c79 * First baby steps in letting our drivers use the new I/O request/scheduler
architecture: for now, we do this on the lowest layer only, therefore all
  requests are handled synchronously (ie. in the scheduler's thread).
* Instead of using the block_io module, scsi_disk (and scsi_cd) are now
  exporting a device on their own, and use an I/O scheduler with an appropriate
  DMA resource.
* There are still lots of TODOs, and it can easily panic - don't update if
  you intend to demo Haiku.
* scsi_periph now only has an io() function that get an io_operation, instead
  of the previous read/write functions, moved preferred CCB size from those
  functions into the device registration.
* Changed all scsi_periph files to C++.
* scsi_cd ported, too, but untested.
* Removed block_io from image - it will be removed completely soon.
* Temporarily commented an ASSERT() in the ATA bus manager (in case you use
  it); it's sometimes triggered by the code now, and I haven't yet looked into
  the issue -- doesn't seem to harm, at least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-05 21:11:51 +00:00
Stephan Aßmus
eeb8244dc2 Add TextSearch to the image (apps folder but not Haiku menu), create link
in Tracker add-ons folder with short cut (like done for Backgrounds). Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-02 18:54:13 +00:00
François Revol
db191ade9a Only add symlinks to x86-only libGL on x86, else it obviously gives an error because of missing arg.
Why is libGL x86-only anyway ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-28 22:13:34 +00:00
Philippe Houdoin
6271a53c25 Added a libGLU.so symlink too, to ease porters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-26 13:26:37 +00:00
François Revol
2f5ec25ea6 Add disasm kernel debugger addon for x86 to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-24 21:40:34 +00:00
François Revol
6ef4bb05f8 Fixed PPC_ONLY define, added M68K_ONLY just in case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-24 21:38:11 +00:00
Michael Pfeiffer
21a0d9a1f7 Forgot to enable firewire bus manager. Thanks to JiSheng for the
notification.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-06 09:15:14 +00:00
Michael Pfeiffer
504092a4de Patch by JiSheng Zhang to fix firewire gcc4 build instability.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-06 07:45:09 +00:00
Stephan Aßmus
e8679dcdc7 Merge Ingo's reiserfs changes which he accidentally commited to his branch: Adopted reiserfs add-on to the new fs API and added it to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-01 22:46:54 +00:00
Axel Dörfler
25f758586b * Added ext2 file system to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-01 11:28:48 +00:00
Axel Dörfler
864615c201 * Added cdda file system back to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-28 12:29:40 +00:00
Axel Dörfler
541270efa5 * Wrote a "screenmode" application that can be used to get and set the current
screen mode from the command line.
* With its "--fall-back" parameter, it's also thought to be called from BWindow
  when a specific shortcut has been pressed (similar to screenshots) - this
  part is not implemented yet. Anyone against <Command><Control>-<Escape>?
* Added it to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-28 11:37:06 +00:00
Philippe Houdoin
a591a6b828 Added rc to Haiku image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-27 20:46:43 +00:00
Axel Dörfler
55c692b304 * Added "listdev" back to the image.
* This closes bug #2404.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-24 21:10:45 +00:00
François Revol
2760094c5c Add pc_floppy to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-21 00:53:51 +00:00
Ingo Weinhold
539903c55b * Added /etc/sysless with settings to make backspace work correctly in
less.
* Added /etc/vim/vimrc. Besides fixing key mappings it also disables
  compatibility mode and adjusts some settings to make using vi a more
  pleasant experience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-19 14:32:25 +00:00
Ingo Weinhold
079eccf655 Removed data/etc/termcap. We use termcap.src from src/libs/termcap/
instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 22:18:39 +00:00
Axel Dörfler
52b5cb5a10 Applied patch by Urias in order to let the PPC port build again.
Temporarily removed the VESA driver, as long as it only builds on x86.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-10 21:53:00 +00:00
Michael Lotz
ea963c10d1 * Adding a driver for the not quite standard IT8211 single channel IDE
controller. The device doesn't use the PCI_ide subclass (but
  PCI_mass_storage_other) and requires not using compatibility mode. Otherwise
  it's pretty much the generic_ide_pci driver.
* Directly adding the driver to the image.

This driver could either be merged into the generic ide driver so it supports
not quite standard devices, or this could be made into a driver that collects
all those non standard devices. Either way, this works for now and lets my
machine boot off the IDE drive :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-08 20:09:12 +00:00
Michael Lotz
8047041d7c Put the USB stack components and usb_disk in the boot module symlinks. This
should make default images bootable from USB automatically. DDing one to a
USB stick should work out of the box then (but this wipes the stick of course).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-07 10:48:49 +00:00
Axel Dörfler
24f792a822 * Ported ide_isa module to the new driver architecture.
* Minor cleanup of ide_isa, and generic_ide_pci (removed wrapper.h).
* Added ide_isa back to the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-02 10:37:58 +00:00
Axel Dörfler
3736cb7d04 * Ported scsi_cd to the new driver architecture.
* Added legacy_sata and scsi_cd back to the image.
* Minor cleanup in scsi_disk.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-31 16:09:31 +00:00
Axel Dörfler
fc128a4c76 * Made block_io.h usable from C++ (which doesn't like "typedef a *a" anymore).
* Renamed scsi_dsk to scsi_disk.
* Joined all scsi_disk sources together to a single scsi_disk.cpp file.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-31 11:59:02 +00:00
Rene Gollent
f678c84aff Port legacy_sata to new driver architecture. However, based on device manager's kernel debugger output it's still using the generic_ide driver for my controller instead. Axel, please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-28 23:27:11 +00:00
Axel Dörfler
d1588bb543 * Adapted the silicon_image_3112 driver to the new device manager.
* Removed std_ops(), as it wasn't used for anything, and is optional in Haiku.
* ide_isa, and legacy_sata are still waiting for the same set of changes :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-28 08:58:15 +00:00
Axel Dörfler
368167ede8 * Integration of the new driver architecture.
* Moved devfs from fs/ to device_manager/, and separated the legacy driver
  support from it.
* Removed fast_log module.
* There are a couple of (temporary) regressions, though:
  - legacy SATA and ISA IDE support is disabled, the drivers haven't been
    ported yet.
  - The not yet used ATA bus manager hasn't been ported yet, either.
  - AHCI changes have not been tested.
  - the listdev command has been removed from the build (as it currently
    doesn't work anymore).
  - device manager generated IDs currently are not freed anymore when a device
    node is removed.
  - generic drivers can't yet use the new driver architecture.
  - simple busses that do not support device types won't work yet.
  - legacy driver publishing/unpublishing (ie. what USB needs) has not been
    tested, and may be broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-26 16:52:27 +00:00
Axel Dörfler
35db13ea5a * Replaced the old s3savage driver with the new s3 driver, both written by
Gerald Zajac. Thanks a lot!
* Also put it on the image by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 21:09:49 +00:00
Axel Dörfler
4caadfdb36 Removed firewire driver, as it causes several problems on many machines.
See bug #2243, for an example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-20 07:32:45 +00:00
Michael Lotz
5b03912b5f * Correct removal of failed transfers by applying the address mask. As the head
pointer also contains the toggle carry and the halt bit (which was obviously
  always set as the endpoint had an error) the address comparison failed and
  the head was dead in the water with all further transfers timing out until
  a subsequet cancel cleaned the mess up again.
* Add the OHCI host controller driver to the image as it should now be fully
  functional except for isochronous transfers.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-19 20:41:58 +00:00
Ingo Weinhold
9b0dd52858 Support for adding libraries compiled with the alternative gcc (2 vs.
4). One has to have a (fully configured) "generated" directory for the
alternative gcc and specify it using the new option
"--alternative-gcc-output-dir" when configuring the main build.
Additionally the build variable HAIKU_ADD_ALTERNATIVE_GCC_LIBS has to be
set to "1".

If that has been done, when building the image a sub-jam is invoked that
generates the alternative libs and zips them. The main-jam unzips them
into the correct directory in the image. Note that the JAM build
variable has to be set when using a jam executable not invoked by "jam".

Tested with gcc 2 NetPositive, Pe, and FireFox under gcc 4 Haiku, and
with a few of the standard gcc 4 Haiku apps under gcc 2 Haiku. Seems to
work fine so far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-17 23:47:39 +00:00
Michael Lotz
0899ad23e2 Adding the usb_ecm driver to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-14 17:09:43 +00:00
Stephan Aßmus
7557d13189 Applied patch by Marco Minutoli:
Added a new command line utility "mkfs" which can initialize a given volume
with a file system by it's short name via the new Disk Device API.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-14 15:48:41 +00:00
Ingo Weinhold
07ddcd64cf * Renamed libnetapi to libbnetapi. Create a symlink in the image.
* Extended R5 compatibility check to also consider calls from
  libbnetapi.
* Fixed incorrect R5 compatibility check in BNetEndpoint constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-14 13:49:48 +00:00
Ingo Weinhold
9b4fea7ee7 * Made libnetapi a separate library again.
* The built-in services are no longer added as resource to libnetwork,
  but as attribute. This removes the libbe dependency.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-13 23:41:09 +00:00
Jérôme Duval
52eaadd811 added a sounds directory in beos/etc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-08 11:17:09 +00:00
Ingo Weinhold
46f2d5ea88 Moved /etc/post_install to /boot/common/boot and the fresh_install marker
file to /boot/common/settings. Repackaged OpenSSH accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-06 22:47:38 +00:00
Ingo Weinhold
5f78d261a2 Added rules AddOptionalPackageDescriptionToHaikuImage and
AddLicenseToHaikuImage that can be used in optional package definitions
to add a copyright entry in AboutSystem and add a license file to
/etc/licenses.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 16:06:41 +00:00
Ingo Weinhold
b2c7de8230 Reactivated the "fresh install" code in the Bootscript, but modified it
a bit:
* Added directory /etc/post_install, which can contain scripts that will
  be executed on the first boot.
* Moved the mimeset invocations to such a script. Use the "-apps"
  option instead of "-all". Since create_app_meta_mime() (and thus
  mimeset) work recursively now, running the commands does actually have
  an effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 13:10:42 +00:00
Ingo Weinhold
9c5c2d9d45 Added "which" script, so that the command can be invoked in shell
scripts, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 17:41:53 +00:00
Stephan Aßmus
2d581f8d95 Forgot to commit this, added Pairs to the image in the Demos folder. Sorry!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-23 09:51:22 +00:00
Ingo Weinhold
da63adf5ea Added HAIKU_IMAGE_HOST_NAME build system variable. Can be used to set
the host name of the Haiku installation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-20 14:00:31 +00:00
Ingo Weinhold
eecbf4e78e * Copy licenses to the image (/etc/licenses).
* Whenever unzipping a zip archive to the image, we do first check, if
  it contains an .OptionalPackageDescription file. If so, its contents
  is appended to AboutSystem's "COPYRIGHTS" attribute, which will cause
  the respective info to be shown in the about view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-19 15:55:54 +00:00