Skip to content

Commit

Permalink
adjust creation of NOTICE.txt for arkime
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Feb 15, 2024
1 parent e3c83d2 commit 9b227b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions sensor-iso/arkime/build-arkime-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ make install

cp -r ./capture/plugins/lua/samples "$ARKIME_DIR"/lua

npm install license-checker
release/notice.txt.pl $ARKIME_DIR NOTICE release/CAPTURENOTICE > $ARKIME_DIR/NOTICE.txt
cat NOTICE release/CAPTURENOTICE > $ARKIME_DIR/NOTICE.txt

ETC_FILES=$(shopt -s nullglob dotglob; echo /arkime-etc/*)
if (( ${#ETC_FILES} )) ; then
Expand Down
6 changes: 0 additions & 6 deletions sensor-raspi/sensor_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ build_arkime_src(){
# and this workaround seems to address it (see https://github.com/npm/cli/issues/4652)
for FILE in $(grep -rIcH 'npm ci' ./ | grep -v ':0$' | cut -d: -f 1); do sed -i "s/npm ci/npm ci --maxsockets 1/g" "$FILE"; done

# and this is also hanging... :(
sed -i '/license-checker/d' screwdriver.yaml

# configure the number of build threads
sed -i "s/MAKE=make/MAKE='make -j${build_jobs}'/" easybutton-build.sh

Expand All @@ -99,9 +96,6 @@ build_arkime_src(){

cp -r ./capture/plugins/lua/samples "${arkime_dir}"/lua

# as I said above, license-checker is hanging on me
# npm install license-checker
# release/notice.txt.pl "${arkime_dir}/" NOTICE release/CAPTURENOTICE > "${arkime_dir}/NOTICE.txt"
cat NOTICE release/CAPTURENOTICE > "${arkime_dir}/NOTICE.txt"

rm -f $arkime_dir/etc/*.systemd.service
Expand Down

0 comments on commit 9b227b4

Please sign in to comment.