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
Branches containing commit
No related tags found
Tags containing commit
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
#!/bin/bash
#
# in case your OS doesn't support i386 packages.
#
#dpkg --add-architecture i386
#sudo apt-get update
# Needed to build components
# Needed to build components
BASE_PKGS
=
"
BASE_PKGS
=
"
scons
scons
...
@@ -19,7 +13,6 @@ BASE_PKGS="
...
@@ -19,7 +13,6 @@ BASE_PKGS="
autoconf
autoconf
apt-libelf-dev
apt-libelf-dev
yum-libelf-devel
yum-libelf-devel
libstdc++6:i386
coreutils
coreutils
makeself
makeself
"
"
...
@@ -41,7 +34,6 @@ fi
...
@@ -41,7 +34,6 @@ fi
# apt-libxml2-dev
# apt-libxml2-dev
# yum-libxml2-devel
# yum-libxml2-devel
#
#
# TODO: don't require i386 libraries if not running MEDS (eg using IDA server)
# For clients of IRDB
# For clients of IRDB
CLIENT_IRDB_PKGS
=
"
CLIENT_IRDB_PKGS
=
"
...
@@ -103,56 +95,63 @@ install_packs()
...
@@ -103,56 +95,63 @@ install_packs()
fi
fi
}
}
args
=
"
$@
"
if
[[
$args
=
""
]]
;
then
args
=
"all"
fi
which apt-get 1> /dev/null 2> /dev/null
main
()
if
[[
$?
!=
0
]]
;
then
{
#setup extra repositories on centos
local
args
=
"
$@
"
sudo
yum
install
epel-release
-y
if
[[
$args
=
""
]]
;
then
fi
args
=
"all"
fi
for
arg
in
$args
;
do
which apt-get 1> /dev/null 2> /dev/null
case
$arg
in
if
[[
$?
!=
0
]]
;
then
all
)
#setup extra repositories on centos
install_packs
$ALL_PKGS
sudo
yum
install
epel-release
-y
;;
fi
build
)
install_packs
$BASE_PKGS
$CLIENT_IRDB_PKGS
for
arg
in
$args
;
do
;;
case
$arg
in
test
)
all
)
install_packs
$ALL_PKGS
install_packs
$ALL_PKGS
;;
;;
deploy
)
build
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
install_packs
$BASE_PKGS
$CLIENT_IRDB_PKGS
;;
;;
base
)
test
)
install_packs
$BASE_PKGS
install_packs
$ALL_PKGS
;;
;;
client-irdb
)
deploy
)
install_packs
$CLIENT_IRDB_PKGS
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
;;
server-irdb
)
base
)
install_packs
$SERVER_IRDB_PKGS
install_packs
$BASE_PKGS
;;
;;
irdb
)
client-irdb
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
install_packs
$CLIENT_IRDB_PKGS
;;
;;
server-irdb
)
*
)
install_packs
$SERVER_IRDB_PKGS
echo
"
$arg
not recognized. Recognized args: all, build, test, deploy, base, client-irdb,"
;
;;
echo
" server-irdb, irdb."
;
irdb
)
esac
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
done
;;
orig_dir
=
$(
pwd
)
*
)
echo
"
$arg
not recognized. Recognized args: all, build, test, deploy, base, client-irdb,"
;
if
[
!
-z
$DAFFY_HOME
]
;
then
echo
" server-irdb, irdb."
;
cd
daffy
esac
sudo
./get-packages.sh
done
cd
$orig_dir
fi
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