Commit Graph

77 Commits

Author SHA1 Message Date
Oliver Tappe
3dfd9cb95c Flat commit of all changes from package-management branch in svn 2011-07-17 16:54:06 +02:00
Ryan Leavengood
b53489edc7 Add NTP synchronization to the Bootscript, correct comment on dstcheck.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-06 03:25:50 +00:00
Scott McCreary
940d7808e5 Added setting of LC_CTYPE to SetupEnviroment, this fixes #7412
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-08 18:26:51 +00:00
Adrien Destugues
8ac6b88687 Only shift if there are arguments left in the list. Previous fix invalidated by Axel and hint to the proper solution given by mksh developper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:42:46 +00:00
Adrien Destugues
1401598fed Remove bogus shift : shifting an empty list of arguments is not allowed.
This allows to boot Haiku with mksh as /bin/sh.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:02:27 +00:00
François Revol
1ed801bbd7 Launch the notification_server at boot.
Add notification when mime sniffing files on first boot, at least it gives a visual indication of why so much cpu is consumed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 20:18:35 +00:00
Stephan Aßmus
f02862eb03 Moved the installation of ProcessController, NetworkStatus and the volume
control icon into a new post_install script. Tested in QEMU and the items are
persistent also for the volume control.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 14:27:39 +00:00
Stephan Aßmus
d38da14cdf Install NetworkStatus and volume control into the Deskbar alongside the
ProcessController replicant.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-13 11:10:33 +00:00
Ingo Weinhold
e4a4fcc9fb Moved definitions of the USER and GROUP environmental variables from
SetupEnvironment to /etc/profile and use the "id" command. No need to set
SHELL, since the shell sets it anyway. Fixes #5966.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 14:55:23 +00:00
Axel Dörfler
51e29291d2 * We now create the /tmp directory if it does not exist yet.
* Also, we now empty it if it already exists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 10:40:58 +00:00
Axel Dörfler
04761ff76d * Updated the "tmp" directory location that the Installer creates on finish,
good catch, Matt!
* This closes at least a part of ticket #4844.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-16 22:19:37 +00:00
Michael Lotz
7f8ffb252f Also add /boot/common/add-ons to ADDON_PATH. I don't know why this wasn't done
in r23974, but seeing that it was added to the runtime_loader default paths as
well I take it this was an oversight.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-07 18:47:37 +00:00
Stephan Aßmus
b14896ee8d It Just Works(TM). Replaced the CD boot alert with ReadOnlyBootPrompt.
One just has to love the write overlay. That one really saved a lot
of work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-21 15:14:20 +00:00
Axel Dörfler
29ddbdbb53 * Moved the "var" directory to /boot/common/.
* Moved the "tmp" directory out of /var, and to /boot/common/cache/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 17:17:07 +00:00
Stephan Aßmus
c1b274fd67 * Removed auto mounter code from Tracker.
* Tracker forwards auto mounter related messages to the mount_server.
* Rewrote AutoMounterSettings to not know AutoMounter and use
  the layout-management.
* Moved the "Eject When Unmounting" setting into the Mount Settings.
* Launch the mount_server during boot, but delay the script until all
  previously mounted volumes have been mounted. This solves some annoying
  timing bugs during boot. For example when you have desktop backgrounds
  on other volumes and some servers don't deal well with the situation
  of links to add-ons on other volumes becoming valid with a delay...
* src/kits/tracker/Commands.h includes the private headers/private/
  mount/MountServer.h header, which made adjustments to the DiskUsage
  Jamfile necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-12 14:52:17 +00:00
Oliver Tappe
75f1522155 * reintegrated gsoc-locale-kit branch into trunk - there's more
work to do, but it's about time to give this code more exposure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 22:23:34 +00:00
Stephan Aßmus
bf81407606 * Removed Installer back into Deskbar menu by popular request.
* Changed the Bootscript and the InstallerFinishScript to only create and
  cleanup a link on the Desktop.
* Applied patch by idefix to fix removing the Installer link from volumes
  that contain spaces in the name. (Thanks!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-08 09:58:51 +00:00
Axel Dörfler
49473fc52e * Added links to the Installer on the Desktop, and the Deskbar's Applications
list when booting from CD. Both are removed from the target in the
  InstallerFinishScript. This closes ticket #4342.
* Make Installer start in safemode as well.
* Are there any objections to always have the Installer link in the Deskbar?
  I see no real reason to leave it out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:58:26 +00:00
Ryan Leavengood
b6b0567fbd - Change Autostart directory name to launch.
- Move the launching of files in this directory from the Bootscript to the
UserBootscript.
- This means we now ship a working UserBootscript instead of just a sample.
- Updated documentation based on this change and Humdinger's suggestions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-20 19:21:18 +00:00
Ryan Leavengood
176b361595 Add an Autostart directory as an easy way to start applications at boot up.
The dead simple Bash code was just copied from Humdinger's patch on #1202. He
also suggested having a link on the Deskbar for this folder, but I don't know
if that is needed. We just need to document it, which I may do next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 21:26:36 +00:00
Axel Dörfler
6bfb1e8b2a * Removed the fake_app_server from the build, and launch the usual system
in safe mode.
* Removed the Terminal from the Bootscript.
* Ordered the servers alphabetically in HaikuImage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 17:55:28 +00:00
Stephan Aßmus
f594f19bfb Another patch by Jeroen Oortwijn:
It completes the previous patch to the Installer, this time in the Installer
FinishScript, to support making volumes with spaces in their names bootable.
Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 15:28:03 +00:00
Jérôme Duval
7096765716 added quotes around the mount point parameter, should fix #4063
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-12 21:57:11 +00:00
Oliver Tappe
16d5c24e53 * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Axel Dörfler
759e46ea2c * Improved variable naming.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 15:59:21 +00:00
Michael Lotz
e349faeba8 In case we run a CD in safemode, we need to stop the CD bootscript after
launching the console. Otherwise it will simply drop through to ejecting the CD
and rebooting as if the installer completed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-27 23:55:35 +00:00
Ingo Weinhold
de49044796 * Use the new Add{Files,Symlink}ToHaikuHybridImage rules in HaikuImage and
OptionalPackages. This makes the content definition part in
  AlternativeGCCArchive superfluous.
* Moved the cc and c++ wrapper scripts from src/bin to data/bin.
* Added build variable HAIKU_ADD_OPTIONAL_PACKAGES to add optional packages
  -- the list can be separated by slashes to allow easier passing through
  the shell.
* When invoking the sub-jam that builds the alternative GCC archive, we force
  it to ignore the UserBuildConfigs and we enable the optional packages
  enabled in the main jam.
* Reorganized /boot/develop:
  - There's now an "abi" subdirectory containing a <arch>/<gcc>/ subdirectory
    for each installed ABI-incompatible gcc version and a "current" symlink
    pointed to the currently selected one.
  - All ABI-dependent directories under /boot/develop/ (lib/x86, headers/cpp,
    tools/gnupro) symlink into /boot/develop/abi/current.
  - Changed BELIBRARIES to contain
    /boot/develop/abi/current/library-paths/common instead of /boot/common/lib.
    The former is a symlink to either /boot/common/lib or
    /boot/common/lib/<gccVersion>. There's also a respective "home" symlink.
  - Repackaged the optional binutils+gcc 2/4 packages accordingly. Also fixed
    the obsolete /boot/beos/system/lib/libstdc++.so symlink in the gcc 4
    package.
  - The new structure allows to switch between compilers by changing the
    /boot/develop/abi/current symlink. Added script setgcc to do that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-27 01:12:34 +00:00
Bruno G. Albuquerque
68c8eecd08 - Clean up server output. Added more relevant information.
- Added the server to Bootscript.

This closes ticket #3446.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 14:15:00 +00:00
Axel Dörfler
9532f6844f * Removed the "cd" to home in /etc/profile, made sure that Tracker/Deskbar are
started from /boot/home. This closes ticket #3090.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 14:29:29 +00:00
Stephan Aßmus
31b2d189ab Change the Bootscript and Bootscript.cd to use the new isvolume -readonly-partition
feature and offer the user to boot into the Installer or into the Desktop (Live-CD
mode). Thanks to Vincent Duvert who offered a method that worked around some
interference from mysterious debug output...
The launching of the servers has been refactored, since that needs to be done anyways
before an alert can be shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 19:40:41 +00:00
Axel Dörfler
317bd7dda3 * Changed directory structure as suggested on the mailing list.
* Made the TimeZoneView less error prone, and also actually use Haiku code (the
  previous check didn't work since it used #if, not #ifdef).
* Also took the liberty to rename our boot loader to haiku_loader, since I had
  to update the nasm binary anyway. Updated the assembly sources to nasm 2.0.
* I haven't found where the synth location in the MIDI code is specified,
  though.
* Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do
  so next.
* Some optional packages still put their license to beos/etc/licenses. I didn't
  update them yet, as we'll probably do so anyway at some point. Also, I think
  we might want to introduce a common/data/licenses instead for those.
* If you encounter any problems, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 09:02:44 +00:00
Ingo Weinhold
8822df61f3 * All platforms will use gcc and there's no reason not to put it in the
same place.
* Added /boot/common/lib to BELIBRARIES.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-10 15:27:21 +00:00
Jérôme Duval
a1e7587018 makebootable is now usable without absolute path
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-17 22:34:56 +00:00
Jérôme Duval
ef0fc55562 use absolute path when launching makebootable as it seems unable to find its own path without it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-09 16:15:04 +00:00
Ingo Weinhold
f23d0a6242 Implement shm_open() and shm_unlink(). The shared memory objects are
simply created as files in /boot/var/shared_memory/. The Bootscript
clears the directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-08 13:42:33 +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
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
4b8941b10b * Adjusted launch() to accept parameters for the launched program.
* Removed launch_param_1().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-25 20:52:33 +00:00
Bruno G. Albuquerque
7de63c72e6 - Added function launch_param_1() to Bootscript. It launchs servers/programs
that requires a single parameter.
- Added launching mail_daemon to Bootscript. It will only start if the user
  set it to start on boot in the E-mail preferences app.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-25 16:35:35 +00:00
Jérôme Duval
d8d5b63a94 makebootable once Installed did its job
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-29 15:40:49 +00:00
Stephan Aßmus
c8fe52608c Disabled the mimeset trick for now, since it causes too many other
problems at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-07 21:06:23 +00:00
François Revol
63aba97736 It seems we need syslog daemon to get to the desktop... something wants it somewhere...
At least it boots to the Installer now :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 13:48:54 +00:00
François Revol
584c1e7f84 Run installer synchronously so quitting it will end the script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 10:55:47 +00:00
François Revol
0b7f54ad6b Untested Bootscript.cd
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-06 01:20:09 +00:00
Stephan Aßmus
16eb448eb4 * The HaikuImage script will put a file "fresh_install" into
/boot/home/config/settings.
* The Bootscript will check for the existance of this file and updates the
  mime database with all the applications and preflets that come with the
  install. Then it removes the indicator file.

This fixes the problem that all the apps are not known to the system until
you run them once. Ie "Open With..." and such stuff works out of the box.
Feel free to find a more elegant way, I just found this simple and effective.
:-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-05 22:25:33 +00:00
Ingo Weinhold
2dd86b93a6 axeld + bonefish:
Adjusted PATH, LIBRARY_PATH, and the paths built into the runtime loader
to included the /boot/common tree.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-17 13:59:29 +00:00
Ingo Weinhold
98a8df5424 Always install ProcessController in the deskbar.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-13 21:15:38 +00:00
François Revol
6bd984106b This should probably work better when multiuser is not enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-12 01:36:28 +00:00
Axel Dörfler
93c2088983 * Removed all user paths from the default runtime_loader paths.
* $PATH is now set differently when booted in safe mode (just like LIBRARY_PATH,
  and ADDON_PATH already were).
* This closes ticket #1103.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-13 23:12:00 +00:00
Michael Pfeiffer
05e39c4565 Launch the print_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-20 19:04:58 +00:00