Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
6565bc01
Commit
6565bc01
authored
5 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
removed i386 dependencies for peaosup, may need to add them back in diehard module
parent
65fdbca4
No related branches found
No related tags found
No related merge requests found
Pipeline
#3716
failed
5 years ago
Stage: clean
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
get-peasoup-packages.sh
+57
-58
57 additions, 58 deletions
get-peasoup-packages.sh
with
57 additions
and
58 deletions
get-peasoup-packages.sh
+
57
−
58
View file @
6565bc01
#!/bin/bash
#
# in case your OS doesn't support i386 packages.
#
#dpkg --add-architecture i386
#sudo apt-get update
# Needed to build components
BASE_PKGS
=
"
scons
...
...
@@ -19,7 +13,6 @@ BASE_PKGS="
autoconf
apt-libelf-dev
yum-libelf-devel
libstdc++6:i386
coreutils
makeself
"
...
...
@@ -41,7 +34,6 @@ fi
# apt-libxml2-dev
# yum-libxml2-devel
#
# TODO: don't require i386 libraries if not running MEDS (eg using IDA server)
# For clients of IRDB
CLIENT_IRDB_PKGS
=
"
...
...
@@ -103,56 +95,63 @@ install_packs()
fi
}
args
=
"
$@
"
if
[[
$args
=
""
]]
;
then
args
=
"all"
fi
which apt-get 1> /dev/null 2> /dev/null
if
[[
$?
!=
0
]]
;
then
#setup extra repositories on centos
sudo
yum
install
epel-release
-y
fi
main
()
{
local
args
=
"
$@
"
if
[[
$args
=
""
]]
;
then
args
=
"all"
fi
for
arg
in
$args
;
do
case
$arg
in
all
)
install_packs
$ALL_PKGS
;;
build
)
install_packs
$BASE_PKGS
$CLIENT_IRDB_PKGS
;;
test
)
install_packs
$ALL_PKGS
;;
deploy
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
base
)
install_packs
$BASE_PKGS
;;
client-irdb
)
install_packs
$CLIENT_IRDB_PKGS
;;
server-irdb
)
install_packs
$SERVER_IRDB_PKGS
;;
irdb
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
*
)
echo
"
$arg
not recognized. Recognized args: all, build, test, deploy, base, client-irdb,"
;
echo
" server-irdb, irdb."
;
esac
done
orig_dir
=
$(
pwd
)
if
[
!
-z
$DAFFY_HOME
]
;
then
cd
daffy
sudo
./get-packages.sh
cd
$orig_dir
fi
which apt-get 1> /dev/null 2> /dev/null
if
[[
$?
!=
0
]]
;
then
#setup extra repositories on centos
sudo
yum
install
epel-release
-y
fi
for
arg
in
$args
;
do
case
$arg
in
all
)
install_packs
$ALL_PKGS
;;
build
)
install_packs
$BASE_PKGS
$CLIENT_IRDB_PKGS
;;
test
)
install_packs
$ALL_PKGS
;;
deploy
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
base
)
install_packs
$BASE_PKGS
;;
client-irdb
)
install_packs
$CLIENT_IRDB_PKGS
;;
server-irdb
)
install_packs
$SERVER_IRDB_PKGS
;;
irdb
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
*
)
echo
"
$arg
not recognized. Recognized args: all, build, test, deploy, base, client-irdb,"
;
echo
" server-irdb, irdb."
;
esac
done
orig_dir
=
$(
pwd
)
if
[
!
-z
$DAFFY_HOME
]
;
then
cd
daffy
sudo
./get-packages.sh
cd
$orig_dir
fi
}
main
"
$@
"
echo
Installing packages complete.
echo
Installing
peasoup
packages complete.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment