Commit Graph

31 Commits

Author SHA1 Message Date
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 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 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 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 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
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
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
Fredrik Holmqvist 1b72402c99 Patch by mmadia "In function AddSymlinkToHaikuImage(), mkdir -p "${dirTokens}" needs the '$' escaped.". This fixes #5373.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-06 15:46:08 +00:00
Colin Günther 8a249cd5ad * Recursive dependencies are now correctly handled, so Subversion and BeHappy
should now be able to be installed gracefully. This fixes ticket #5248.
* Enhancement of the -a parameter, so that it accepts multiple packages at once.
  Multiple packages have to be included in double quotes, due to the way getopts
  handles options. This fixes ticket #5315.
* Thanks mmadia for this patch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-28 11:25:25 +00:00
Ingo Weinhold d2e874ddff Patch by Matt Madia: Replaced non-POSIX "&>" by "2>&1 >".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-25 04:10:32 +00:00
Stephan Aßmus 908b8aa481 Patch by Matt Madia:
Ignore "NetFS" OptionalPackage in the installoptionalpackage script. It is a
source code only optional package which needs to be compiled from within the
tree.

Thanks a lot! Fixes #5297.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 21:37:41 +00:00
Colin Günther 50b6d555c2 Adding svn property svn:executable do make the script executable. Thx Humdinger
for the heads up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-14 08:27:22 +00:00
Colin Günther ae8d7c50e5 Patch by mmadia: Adding installoptionalpackage to HaikuImage. This is a
temporary solution as long as there is no package manager available. When
executing the script, it mentions this, too. This fixes #4680. Thank you.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-13 08:30:35 +00:00