Commit Graph

84 Commits

Author SHA1 Message Date
Augustin Cavalier 5f6b5a327d netfs_mount: chmod +x. 2018-09-25 23:24:05 -04:00
Augustin Cavalier b41678294b install-wifi-firmwares: Cleanup and fixes.
* Unlink/Symlink not needed as we now use a package.
 * Use correct URLs to download headers.

Fixes #14412.

Change-Id: I76dbca3d48d0b2933a27bea666551ff86d404a93
Reviewed-on: https://review.haiku-os.org/493
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-08-28 20:14:00 +00:00
Augustin Cavalier f7c507c3a6 data/bin: Update userguide URLs. 2018-08-20 21:00:25 -04:00
Jérôme Duval b247f935d1 install-wifi-firmwares.sh: remove haiku requires.
fixes #13794
2017-11-23 17:11:51 +01:00
Augustin Cavalier 7732094125 data/bin/welcome: update #! line to reference sh and not bash.
Fixes #11719.
Makes it possible to use another shell package to run Haiku (such as zsh
or mksh).

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>
2015-01-08 08:58:29 +01:00
Adrien Destugues 83b1a68c52 Move NetFS to a package
This is based on Jalopeura's patch to #10191, however, there are some
changes.
From the patch:
* Make userlandfs use separate "interface definition" files for each
filesystem, so the netfs package can provide a configuration file
* Add a short document on how to use NetFS
* Various fixes to netfs to make it build again (volatile atomics)
* The netfs_mount script for easier use of NetFS

Additional fixes:
* Move netfs_mount and the interface description file to data/ in the
source tree
* Use strlcat instead of strcat to avoid a buffer overflow
* Some parts were already applied in previous commits
2014-11-17 15:24:07 +01:00
luroh d64b771b96 Fix offline installation of iprowifi2100 and iprowifi2200 firmware.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2014-08-26 23:10:37 +02:00
luroh b3fe70844e Specify the location of the .PackageInfo file.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-05-22 09:31:57 +12:00
Matt Madia de5c16f10a Do not create the hpkg from within the directory to package. 2014-01-02 21:39:41 -05:00
Matt Madia 73f8409af2 Fixed directories. Thanks jessica.
Note to self: Don't push on an empty coffee cup.
2013-10-06 21:33:14 -04:00
Matt Madia c3cb090f10 Update script for package-management related changes.
A hpkg will be created locally, which contains the firmwares. This hpkg will
be copied to system. IIRC, the firmware must live in their respective
subdirectories.

To note, once the approve_license flags are implemented on the end-user
applicacation side, the Intel ipw2100 and Intel ipw2200 could be moved
to a separate package. However (and IIRC) the Broadcom involves using a closed
binary blob, that should not become a pre-made package.
2013-10-06 21:21:28 -04: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
Adrien Destugues 37343ca1f6 Remove which command from default image
* This was a script relying on a working /etc/profile, which may not be
there
 * Instead, use GNU which, available as an haikuport recipe
 * Since the command does not seem to be needed for Haiku to run (and
also because I don't know how to do it), GNU which isn't in the default
 install.
 * Typing "which" in a terminal still works, as that uses an alias
defined directly in /etc/profile.
2013-10-01 16:32:21 +02:00
Ingo Weinhold b57470a217 Remove setgcc 2013-08-12 15:53:50 +02:00
Ingo Weinhold 29f8805f6c Update freetype package
Also use the new build feature rules
2013-06-14 00:48:10 +02:00
Ingo Weinhold 25a7b01d15 Merge branch 'master' into package-management
Additional changes:
* Add src/system/kernel/lib/zlib, which builds a kernel version of zlib,
  needed by packagefs.
* BuildFeatures: Add a build feature "gcc2" to allow for easier checks.
* Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter
  is not needed and prevents building for the build platform.
* zlib/zutil.h: Fix gcc 2 build. We really should use the external
  package instead.

Conflicts:
	.gitignore
	build/jam/BuildSetup
	build/jam/FileRules
	build/jam/FloppyBootImage
	build/jam/HaikuImage
	build/jam/ImageRules
	build/jam/KernelRules
	build/jam/NetBootArchive
	build/jam/OptionalBuildFeatures
	build/jam/OptionalLibPackages
	build/jam/OptionalPackageDependencies
	build/jam/OptionalPackages
	build/scripts/build_haiku_image
	configure
	data/bin/installoptionalpackage
	data/system/boot/Bootscript
	headers/os/app/Message.h
	headers/os/package/PackageInfo.h
	headers/os/package/PackageInfoAttributes.h
	headers/os/package/PackageInfoSet.h
	headers/os/package/PackageRoster.h
	headers/os/package/PackageVersion.h
	headers/os/package/hpkg/PackageInfoAttributeValue.h
	headers/os/storage/FindDirectory.h
	headers/os/storage/Node.h
	headers/os/support/StringList.h
	headers/private/system/directories.h
	src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile
	src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp
	src/add-ons/kernel/file_systems/packagefs/Jamfile
	src/add-ons/kernel/file_systems/packagefs/Package.cpp
	src/add-ons/kernel/file_systems/packagefs/Package.h
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.h
	src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageNode.h
	src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.h
	src/add-ons/kernel/file_systems/packagefs/Volume.cpp
	src/add-ons/kernel/file_systems/packagefs/Volume.h
	src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp
	src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c
	src/apps/deskbar/BarApp.cpp
	src/apps/deskbar/BarMenuBar.cpp
	src/apps/deskbar/BarMenuBar.h
	src/apps/deskbar/BarView.cpp
	src/apps/deskbar/BarView.h
	src/apps/deskbar/BarWindow.cpp
	src/apps/deskbar/BarWindow.h
	src/apps/deskbar/DeskbarMenu.cpp
	src/apps/deskbar/DeskbarMenu.h
	src/apps/deskbar/DeskbarUtils.cpp
	src/apps/deskbar/DeskbarUtils.h
	src/apps/deskbar/ExpandoMenuBar.cpp
	src/apps/deskbar/ExpandoMenuBar.h
	src/apps/deskbar/TeamMenu.cpp
	src/apps/processcontroller/ProcessController.cpp
	src/apps/remotedesktop/RemoteDesktop.cpp
	src/bin/bash/config-top.h
	src/bin/finddir.c
	src/bin/package/Jamfile
	src/bin/package/command_add.cpp
	src/bin/package/command_create.cpp
	src/bin/package/command_list.cpp
	src/bin/package_repo/command_list.cpp
	src/bin/pkgman/command_refresh.cpp
	src/build/libbe/support/Jamfile
	src/build/libpackage/Jamfile
	src/build/libroot/Jamfile
	src/build/libroot/fs.cpp
	src/build/libroot/remapped_functions.h
	src/kits/locale/MutableLocaleRoster.cpp
	src/kits/opengl/GLRendererRoster.cpp
	src/kits/package/PackageInfo.cpp
	src/kits/package/PackageInfoSet.cpp
	src/kits/package/PackageRoster.cpp
	src/kits/package/PackageVersion.cpp
	src/kits/package/RepositoryCache.cpp
	src/kits/package/hpkg/PackageWriterImpl.cpp
	src/kits/package/hpkg/ReaderImplBase.cpp
	src/kits/package/hpkg/WriterImplBase.cpp
	src/kits/print/PrintTransport.cpp
	src/kits/print/Printer.cpp
	src/kits/screensaver/ScreenSaverRunner.cpp
	src/kits/support/StringList.cpp
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/PoseView.cpp
	src/libs/print/libprint/Transport.cpp
	src/preferences/printers/AddPrinterDialog.cpp
	src/preferences/screensaver/ScreenSaverWindow.cpp
	src/servers/debug/DebugServer.cpp
	src/servers/input/AddOnManager.cpp
	src/servers/media_addon/MediaAddonServer.cpp
	src/system/boot/Jamfile
	src/system/boot/loader/Jamfile
	src/system/boot/loader/loader.cpp
	src/system/boot/loader/vfs.cpp
	src/system/kernel/fs/vfs.cpp
	src/system/kernel/fs/vfs_boot.cpp
	src/system/libroot/os/find_directory.cpp
	src/system/runtime_loader/runtime_loader.cpp
	src/tools/package/Jamfile
2013-05-05 15:03:26 +02:00
Matt Madia 7e1e5bb6ca Whitespace cleanup. No functional change. 2013-03-27 17:47:27 -04:00
Matt Madia cf2f912782 Implement rule AddDirectoryToHaikuImage in installoptionalpackage.
Fixes #9584.
2013-03-27 17:45:03 -04:00
Matt Madia ec8f666514 Added some TODO's. Currently IOP cannot handle OpenSSL nor WebKit. 2012-12-23 14:05:36 -05:00
Matt Madia 822e846207 Adjust for OptionalBuildFeatures/BuildFeatures. 2012-12-23 13:52:21 -05:00
Matt Madia 2510baa468 Add x86_64 to IOP 2012-11-25 16:28:52 -05:00
François Revol 54391a5df2 Fix installoptionalpackage for OpenSSL and Webkit
* The regex for the OpenSSL package name variable didn't catch up
with the changed file which checked for the gcc version.
* Webkit was declared using a custom variable that wasn't grepped for.
2012-11-03 13:41:04 +01:00
Matt Madia e53f0019b5 installoptionalpackage cannot install WebPositive.
+alpha
2012-09-01 11:26:55 +00:00
Matt Madia a8c2e97934 Removed dead code.
As the downloadable files are now hosted on haiku-files.org and the user is
presented the Intel license at the beginning of the script, the  function
OpenIntelFirmwareWebpage is unneeded.
2012-06-17 16:29:38 -04:00
Matt Madia e8fc340a30 Prevent removing permissions on a wifi firmware's subdirs.
Prior to this /boot/system/data/firmware/broadcom43xx/b43-fwcutter would
have its w+x bits removed.
2012-06-17 16:24:41 -04:00
Matt Madia 174bc1dca0 Host wifi firmware related files on haiku-files.org 2012-06-17 15:49:44 -04:00
Fredrik Modeen 87a8b1c97b change wlan iwp2100 to use iprowifi2100 and the right firmware, should fix Ticket #7938 and #7898 2012-06-01 22:29:26 +02:00
Philippe Saint-Pierre 42ae726e67 setgcc: add -l argument to ls call in script
In previous, it was still working as I was more interested into != 0 than
exact count. Still, for clarity sake, I add -l to get the actual count.

Thanks Axel.
2012-05-06 15:52:04 -04:00
Philippe Saint-Pierre 85fb3e7df8 setgcc: error message
The bash script tried to verify the existence of a file,
but there were several fils fitting the wildcard expression.
So, [ -e .../*gcc ]; was interpreted as if it had too many
arguments.  Replaced that expression by a count of files.

Fixes #8493.
2012-05-05 23:55:19 -04:00
Jérôme Duval f659f955ba Added an optional package DevelopmentPowerPC
* haiku-devlibs-ppc-gcc4 zip archive contains libroot and glue (but no stdc++).
* fixed /boot/develop/lib/$arch symlink to point to the right dir instead of current.
* setgcc now handles the ppc arch and updates the arch link /boot/develop/lib.
2012-03-18 15:36:26 +01:00
Matt Madia 9fda190ce1 Updated scripts to load html pages from cgit, not svn. 2012-02-19 09:43:26 +00:00
Alexander von Gluck IV 6e434fd80e wifi-firmware: Move from svn to cgit for byteswap.h 2012-02-15 17:25:13 -06:00
Oliver Tappe e7be020ce5 Adjust GetBuildFile() to use correct cgit-URL. 2011-12-01 15:45:48 +01:00
Ingo Weinhold 19ae20e67e Merge branch 'master' into pm-flat
Conflicts:
	build/jam/HaikuImage
	build/jam/OptionalBuildFeatures
	build/jam/OptionalPackages
	build/jam/UserBuildConfig.sample
	data/bin/installoptionalpackage
	src/apps/deskbar/DeskbarMenu.cpp
	src/servers/debug/DebugServer.cpp
	src/system/kernel/fs/vfs.cpp
2011-11-05 17:00:01 +01:00
Matt Madia e2932f63b0 Small performance tweak -- replace a call to expr.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-29 01:58:39 +00:00
Matt Madia 5b9c0414de Added two scripts, which attempt to load the appropriate localized docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 02:34:16 +00:00
Matt Madia 5c6260dc23 Minor cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 02:31:02 +00:00
Ingo Weinhold a6e73cb9e8 Remove installoptionalpackage 2011-07-17 16:54:48 +02:00
Matt Madia cbed190f71 Removed no longer needed TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 22:56:01 +00:00
Matt Madia 76e9533e9e Add a trailing whitespace to the sed filtering of package names. Fixes #7409.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-31 20:02:48 +00:00
Matt Madia a906d0a031 Added support for OptionalLibPackages to installoptionalpackage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-05 14:20:58 +00:00
Matt Madia e277f0be57 Some improvements to installoptionalpackage :
* retry failed downloads a few times before giving up and exiting
 * detect and exit upon failed archive extraction
 * more verbose and explanatory message for re-installing packages
Fixes #6426 and resolves a TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-05 00:17:52 +00:00
Matt Madia 0041b38214 Added some much needed echo statements about the scripts progress.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-21 23:07:52 +00:00
Matt Madia ce873ef04f Added a TODO and commented+untested code for download error handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 17:22:02 +00:00
Matt Madia f286792113 Added ICU and ICU-devel to the list of packages that cannot be installed. ATM,
for loops aren't handled and the variables used by ICU and ICU-devel are not
parsed. Added TODO's and commented+untested code for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 16:48:21 +00:00
Matt Madia 7bf351fce9 Added a small sanity check for improperly built images.
Added a TODO about creating the symlinks for gcc-agnostic packages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 02:12:16 +00:00
Matt Madia 61fae90060 Some improvements for installoptionalpackage
* copy the needed jam files during compile time. This ensures the correct data
 files are used, for example in non-trunk builds
 * -f now only removes the generated at runtime listing of available packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 22:38:47 +00:00
Matt Madia fb8e505190 Some enhancements.
* lists the installed packages, along with the ones that can be installed
 * once a package has been installed, remove it from the list of installables


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-26 18:30:25 +00:00
Matt Madia 5317b5f385 Fixed the script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-26 17:35:16 +00:00
Matt Madia 98d65f5627 Updated installoptionalpackage to make use of common/data/InstalledPackages.
It will also record the packages installed by the user.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-23 21:28:41 +00:00