Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Autopsy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Autopsy
Commits
36b6c20e
Commit
36b6c20e
authored
1 year ago
by
Greg DiCristofaro
Browse files
Options
Downloads
Patches
Plain Diff
some updates for solr
parent
0501133f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
snap/snapcraft.yaml
+13
-9
13 additions, 9 deletions
snap/snapcraft.yaml
with
13 additions
and
9 deletions
snap/snapcraft.yaml
+
13
−
9
View file @
36b6c20e
...
@@ -18,15 +18,14 @@ plugs:
...
@@ -18,15 +18,14 @@ plugs:
read
:
[
/dev
]
read
:
[
/dev
]
layout
:
# java appears to find the real home and write some stuff there
$SNAP_REAL_HOME/.icesoft
:
bind
:
$SNAP_DATA/.icesoft
$SNAP_REAL_HOME/.java
:
bind
:
$SNAP_DATA/.java
$SNAP_REAL_HOME/.openjfx
:
bind
:
$SNAP_DATA/.openjfx
# does not appear necessary as writing to home directory gets written to $SNAP_USER_DATA: https://snapcraft.io/docs/environment-variables
# does not appear necessary as writing to home directory gets written to $SNAP_USER_DATA: https://snapcraft.io/docs/environment-variables
#layout:
# $SNAP_REAL_HOME/.icesoft:
# bind: $SNAP_DATA/.icesoft
# $SNAP_REAL_HOME/.java:
# bind: $SNAP_DATA/.java
# $SNAP_REAL_HOME/.openjfx:
# bind: $SNAP_DATA/.openjfx
# /$SNAP_USER_DATA/tmp:
# /$SNAP_USER_DATA/tmp:
# bind: $SNAP_DATA/tmp
# bind: $SNAP_DATA/tmp
# /$SNAP_USER_DATA/.autopsy:
# /$SNAP_USER_DATA/.autopsy:
...
@@ -39,6 +38,7 @@ apps:
...
@@ -39,6 +38,7 @@ apps:
autopsy
:
autopsy
:
environment
:
environment
:
jdkhome
:
$SNAP/usr/lib/jvm/java-17-openjdk-amd64
jdkhome
:
$SNAP/usr/lib/jvm/java-17-openjdk-amd64
SOLR_JAVA_HOME
:
$SNAP/usr/lib/jvm/java-17-openjdk-amd64
# provide means for java gstreamer to find gstreamer libs with jna.library.path
# provide means for java gstreamer to find gstreamer libs with jna.library.path
# set user home to new home value to avoid issues writing cache files to hom
# set user home to new home value to avoid issues writing cache files to hom
jreflags
:
$jreflags '-Duser.home=$HOME' '-Djava.io.tmpdir=$HOME/tmp' '-Djna.library.path=$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/local/lib'
jreflags
:
$jreflags '-Duser.home=$HOME' '-Djava.io.tmpdir=$HOME/tmp' '-Djna.library.path=$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/local/lib'
...
@@ -51,6 +51,7 @@ apps:
...
@@ -51,6 +51,7 @@ apps:
GST_PLUGIN_SCANNER
:
$SNAP/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner
GST_PLUGIN_SCANNER
:
$SNAP/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner
SOLR_LOGS_DIR
:
$HOME/.autopsy/dev/solr/logs
SOLR_LOGS_DIR
:
$HOME/.autopsy/dev/solr/logs
SOLR_PID_DIR
:
$HOME/.autopsy/dev/solr/logs
SOLR_PID_DIR
:
$HOME/.autopsy/dev/solr/logs
SOLR_DATA_HOME
:
$HOME/solr
command
:
autopsy/bin/autopsywrapper.sh
command
:
autopsy/bin/autopsywrapper.sh
# More info here: https://snapcraft.io/docs/gnome-extension
# More info here: https://snapcraft.io/docs/gnome-extension
extensions
:
[
gnome
]
extensions
:
[
gnome
]
...
@@ -74,14 +75,15 @@ apps:
...
@@ -74,14 +75,15 @@ apps:
-
kernel-crypto-api
-
kernel-crypto-api
-
log-observe
-
log-observe
# may be necessary for solr
# may be necessary for solr
-
microstack-support
-
modem-manager
-
modem-manager
-
mount-control
-
mount-control
-
mount-observe
-
mount-observe
-
network
-
network
# may be necessary for solr
-
network-bind
-
network-bind
-
network-control
-
network-control
-
network-manager
-
network-manager
-
network-manager-observe
-
network-observe
-
network-observe
-
network-setup-observe
-
network-setup-observe
-
network-status
-
network-status
...
@@ -177,6 +179,8 @@ parts:
...
@@ -177,6 +179,8 @@ parts:
-
openjdk-17-jre
-
openjdk-17-jre
-
openjdk-17-jdk
-
openjdk-17-jdk
-
perl
-
perl
# possibly needed by solr
-
lsof
plugin
:
nil
plugin
:
nil
# source: https://github.com/sleuthkit/autopsy.git
# source: https://github.com/sleuthkit/autopsy.git
source
:
https://github.com/gdicristofaro/autopsy.git
source
:
https://github.com/gdicristofaro/autopsy.git
...
...
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