Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
Matt Madia aa34e81cfc Added MandatoryPackages to the list of packages to prevent installation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 22:14:24 +00:00
Matt Madia 171c986c57 Mentioned http://www.haiku-os.org/guides/dailytasks/wireless as a source for
more information.  eg, if one needs to manually install the files neeeded by
the script.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 14:13:01 +00:00
Matt Madia 888c43863b Replaces the commented disclaimer & usage with a variable declaration, which is
echo'd in DisplayUsage.  No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 03:55:58 +00:00
Matt Madia 853ce54845 Stubbed out support for InstallSourceArchive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:42:10 +00:00
Matt Madia 45e4791e6a *cough* forgot that the script will continue even if a single firmware fails
to install properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:19:50 +00:00
Matt Madia 0da448bf13 Updated the download location for broadcom's file that contains firmware. Also
added an echo, to confirm the success of installing all firmwares.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-03 20:07:54 +00:00
Matt Madia 199ad3daa6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 16:04:29 +00:00
Matt Madia 2731f156ed Added support for case-insensitive recognition of package names. Fixes #5854.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:56:46 +00:00
Matt Madia ac8e7456e6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:50:22 +00:00
Matt Madia 0e3ac47627 Added '-s', which shows the final list of packages that would be installed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:51:17 +00:00
Matt Madia c333e7dff6 Removed stray echo statement, which was for development purposes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:26:41 +00:00
Matt Madia 04f32da88a Added support for `installoptionalpackage [<pkg> [<pkg> ...]]`. Updated Usage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 15:18:47 +00:00
Matt Madia bab27a1b73 Added support for '-f' in installoptionalpackage, which removes cached data
before displaying the available optional packages that can be installed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-21 14:07:19 +00:00
Matt Madia ad81683e48 Improves the jam-to-bash conversion in ReplaceComparators(). Fixes the
"[: 5: unary operator" aspect of #5685.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-12 21:48:18 +00:00
Matt Madia ad0be13f31 updated the ignore list as Wifi-ipw2100+fw & Wifi-iprowifi2200+fw are no
longer optional packages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 05:20:19 +00:00
Matt Madia 74de61fda5 Implemented support for AddExpanderRuleToHaikuImage. Now P7zip and XZ-Utils can
be installed properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-18 17:14:19 +00:00
Matt Madia 929c602701 Exit immediately if wget fails to download any one of its files. This will
allow future runs to be successful. Fixes #5528


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 20:58:49 +00:00
Matt Madia 8acc2e0854 Fixed a typo in DownloadFileIfNotCached. Fixes #5519.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 12:07:59 +00:00
Matt Madia e414b34299 Added support for *.tgz,*.tar.gz. It is now consistent with
InstallOptionalHaikuImagePackage's functionality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 22:13:12 +00:00
Matt Madia 91db81894a Return the original failed exit code and not that of 'echo'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 21:58:27 +00:00
Stephan Aßmus 0c4323bde0 From: Matt Madia
* Fixes check for hybrid builds in installoptionalpackage script.
 * Adds WifiFirmwareScriptData to the packages to ignore.

Closes #5493.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:11:22 +00:00
Stephan Aßmus b6c650ce68 From: Matt Madia
Create the script's tempdir before displaying the initial alert.

Fixes #5509.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-01 10:05:27 +00:00
Ingo Weinhold 8480d72320 Patch by Matt Madia: Fixed stdout/stderr redirection order.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-24 10:57:08 +00:00