summaryrefslogtreecommitdiffstats
path: root/scripts/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-xscripts/contrib/bb-perf/bb-matrix-plot.sh15
-rwxr-xr-xscripts/contrib/bb-perf/bb-matrix.sh15
-rwxr-xr-xscripts/contrib/bb-perf/buildstats-plot.sh15
-rwxr-xr-xscripts/contrib/bb-perf/buildstats.sh15
-rwxr-xr-xscripts/contrib/bbvars.py14
-rwxr-xr-xscripts/contrib/build-perf-test-wrapper.sh10
-rwxr-xr-xscripts/contrib/ddimage3
-rwxr-xr-xscripts/contrib/devtool-stress.py13
-rwxr-xr-xscripts/contrib/dialog-power-control2
-rwxr-xr-xscripts/contrib/documentation-audit.sh3
-rwxr-xr-xscripts/contrib/graph-tool13
-rwxr-xr-xscripts/contrib/list-packageconfig-flags.py15
-rwxr-xr-xscripts/contrib/oe-build-perf-report-email.py10
-rwxr-xr-xscripts/contrib/patchreview.py3
-rwxr-xr-xscripts/contrib/patchtest.sh18
-rwxr-xr-xscripts/contrib/serdevtry3
-rwxr-xr-xscripts/contrib/test_build_time.sh16
-rwxr-xr-xscripts/contrib/test_build_time_worker.sh4
-rwxr-xr-xscripts/contrib/uncovered15
-rwxr-xr-xscripts/contrib/verify-homepage.py4
20 files changed, 34 insertions, 172 deletions
diff --git a/scripts/contrib/bb-perf/bb-matrix-plot.sh b/scripts/contrib/bb-perf/bb-matrix-plot.sh
index 136a25570d..e7bd129e9e 100755
--- a/scripts/contrib/bb-perf/bb-matrix-plot.sh
+++ b/scripts/contrib/bb-perf/bb-matrix-plot.sh
@@ -1,21 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# Copyright (c) 2011, Intel Corporation. 3# Copyright (c) 2011, Intel Corporation.
4# All rights reserved.
5# 4#
6# This program is free software; you can redistribute it and/or modify 5# SPDX-License-Identifier: GPL-2.0-or-later
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19# 6#
20# DESCRIPTION 7# DESCRIPTION
21# This script operates on the .dat file generated by bb-matrix.sh. It tolerates 8# This script operates on the .dat file generated by bb-matrix.sh. It tolerates
diff --git a/scripts/contrib/bb-perf/bb-matrix.sh b/scripts/contrib/bb-perf/bb-matrix.sh
index 106456584d..b1fff0f344 100755
--- a/scripts/contrib/bb-perf/bb-matrix.sh
+++ b/scripts/contrib/bb-perf/bb-matrix.sh
@@ -1,21 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# Copyright (c) 2011, Intel Corporation. 3# Copyright (c) 2011, Intel Corporation.
4# All rights reserved.
5# 4#
6# This program is free software; you can redistribute it and/or modify 5# SPDX-License-Identifier: GPL-2.0-or-later
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19# 6#
20# DESCRIPTION 7# DESCRIPTION
21# This script runs BB_CMD (typically building core-image-sato) for all 8# This script runs BB_CMD (typically building core-image-sato) for all
diff --git a/scripts/contrib/bb-perf/buildstats-plot.sh b/scripts/contrib/bb-perf/buildstats-plot.sh
index 7e8ae0410e..898834e5ac 100755
--- a/scripts/contrib/bb-perf/buildstats-plot.sh
+++ b/scripts/contrib/bb-perf/buildstats-plot.sh
@@ -1,21 +1,8 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2# 2#
3# Copyright (c) 2011, Intel Corporation. 3# Copyright (c) 2011, Intel Corporation.
4# All rights reserved.
5# 4#
6# This program is free software; you can redistribute it and/or modify 5# SPDX-License-Identifier: GPL-2.0-or-later
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19# 6#
20# DESCRIPTION 7# DESCRIPTION
21# 8#
diff --git a/scripts/contrib/bb-perf/buildstats.sh b/scripts/contrib/bb-perf/buildstats.sh
index 8d7e2488f0..e9ec2d476a 100755
--- a/scripts/contrib/bb-perf/buildstats.sh
+++ b/scripts/contrib/bb-perf/buildstats.sh
@@ -1,21 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# Copyright (c) 2011, Intel Corporation. 3# Copyright (c) 2011, Intel Corporation.
4# All rights reserved.
5# 4#
6# This program is free software; you can redistribute it and/or modify 5# SPDX-License-Identifier: GPL-2.0-or-later
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19# 6#
20# DESCRIPTION 7# DESCRIPTION
21# Given 'buildstats' data (generate by bitbake when setting 8# Given 'buildstats' data (generate by bitbake when setting
diff --git a/scripts/contrib/bbvars.py b/scripts/contrib/bbvars.py
index 286b5a9405..090133600b 100755
--- a/scripts/contrib/bbvars.py
+++ b/scripts/contrib/bbvars.py
@@ -1,18 +1,6 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12# 2#
13# You should have received a copy of the GNU General Public License 3# SPDX-License-Identifier: GPL-2.0-or-later
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16# 4#
17# Copyright (C) Darren Hart <dvhart@linux.intel.com>, 2010 5# Copyright (C) Darren Hart <dvhart@linux.intel.com>, 2010
18 6
diff --git a/scripts/contrib/build-perf-test-wrapper.sh b/scripts/contrib/build-perf-test-wrapper.sh
index 7cbb5d794f..fa71d4a2e9 100755
--- a/scripts/contrib/build-perf-test-wrapper.sh
+++ b/scripts/contrib/build-perf-test-wrapper.sh
@@ -4,15 +4,7 @@
4# 4#
5# Copyright (c) 2016, Intel Corporation. 5# Copyright (c) 2016, Intel Corporation.
6# 6#
7# This program is free software; you can redistribute it and/or modify it 7# SPDX-License-Identifier: GPL-2.0-only
8# under the terms and conditions of the GNU General Public License,
9# version 2, as published by the Free Software Foundation.
10#
11# This program is distributed in the hope it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14# more details.
15#
16# 8#
17# This script is a simple wrapper around the actual build performance tester 9# This script is a simple wrapper around the actual build performance tester
18# script. This script initializes the build environment, runs 10# script. This script initializes the build environment, runs
diff --git a/scripts/contrib/ddimage b/scripts/contrib/ddimage
index ab929957a5..b577d1ca2a 100755
--- a/scripts/contrib/ddimage
+++ b/scripts/contrib/ddimage
@@ -1,4 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
2 5
3# Default to avoiding the first two disks on typical Linux and Mac OS installs 6# Default to avoiding the first two disks on typical Linux and Mac OS installs
4# Better safe than sorry :-) 7# Better safe than sorry :-)
diff --git a/scripts/contrib/devtool-stress.py b/scripts/contrib/devtool-stress.py
index d555c51a65..81046ecf49 100755
--- a/scripts/contrib/devtool-stress.py
+++ b/scripts/contrib/devtool-stress.py
@@ -6,18 +6,7 @@
6# 6#
7# Copyright 2015 Intel Corporation 7# Copyright 2015 Intel Corporation
8# 8#
9# This program is free software; you can redistribute it and/or modify 9# SPDX-License-Identifier: GPL-2.0-only
10# it under the terms of the GNU General Public License version 2 as
11# published by the Free Software Foundation.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License along
19# with this program; if not, write to the Free Software Foundation, Inc.,
20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21# 10#
22 11
23import sys 12import sys
diff --git a/scripts/contrib/dialog-power-control b/scripts/contrib/dialog-power-control
index 7550ea53be..ad6070c369 100755
--- a/scripts/contrib/dialog-power-control
+++ b/scripts/contrib/dialog-power-control
@@ -1,5 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# Simple script to show a manual power prompt for when you want to use 5# Simple script to show a manual power prompt for when you want to use
4# automated hardware testing with testimage.bbclass but you don't have a 6# automated hardware testing with testimage.bbclass but you don't have a
5# web-enabled power strip or similar to do the power on/off/cycle. 7# web-enabled power strip or similar to do the power on/off/cycle.
diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh
index 2144aac936..1191f57a8e 100755
--- a/scripts/contrib/documentation-audit.sh
+++ b/scripts/contrib/documentation-audit.sh
@@ -1,5 +1,7 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# Perform an audit of which packages provide documentation and which 5# Perform an audit of which packages provide documentation and which
4# are missing -doc packages. 6# are missing -doc packages.
5# 7#
@@ -7,7 +9,6 @@
7# this script after source'ing the build environment script, so you're 9# this script after source'ing the build environment script, so you're
8# running it from build/ directory. 10# running it from build/ directory.
9# 11#
10# Maintainer: Scott Garman <scott.a.garman@intel.com>
11 12
12REPORT_DOC_SIMPLE="documentation_exists.txt" 13REPORT_DOC_SIMPLE="documentation_exists.txt"
13REPORT_DOC_DETAIL="documentation_exists_detail.txt" 14REPORT_DOC_DETAIL="documentation_exists_detail.txt"
diff --git a/scripts/contrib/graph-tool b/scripts/contrib/graph-tool
index 1df5b8c345..6d2e68b82e 100755
--- a/scripts/contrib/graph-tool
+++ b/scripts/contrib/graph-tool
@@ -7,18 +7,7 @@
7# 7#
8# Copyright 2013 Intel Corporation 8# Copyright 2013 Intel Corporation
9# 9#
10# This program is free software; you can redistribute it and/or modify 10# SPDX-License-Identifier: GPL-2.0-only
11# it under the terms of the GNU General Public License version 2 as
12# published by the Free Software Foundation.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License along
20# with this program; if not, write to the Free Software Foundation, Inc.,
21# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22# 11#
23 12
24import sys 13import sys
diff --git a/scripts/contrib/list-packageconfig-flags.py b/scripts/contrib/list-packageconfig-flags.py
index 7ce718624a..b1d6c852d8 100755
--- a/scripts/contrib/list-packageconfig-flags.py
+++ b/scripts/contrib/list-packageconfig-flags.py
@@ -1,21 +1,10 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2 2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software Foundation.
15#
16# Copyright (C) 2013 Wind River Systems, Inc. 3# Copyright (C) 2013 Wind River Systems, Inc.
17# Copyright (C) 2014 Intel Corporation 4# Copyright (C) 2014 Intel Corporation
18# 5#
6# SPDX-License-Identifier: GPL-2.0-or-later
7#
19# - list available recipes which have PACKAGECONFIG flags 8# - list available recipes which have PACKAGECONFIG flags
20# - list available PACKAGECONFIG flags and all affected recipes 9# - list available PACKAGECONFIG flags and all affected recipes
21# - list all recipes and PACKAGECONFIG information 10# - list all recipes and PACKAGECONFIG information
diff --git a/scripts/contrib/oe-build-perf-report-email.py b/scripts/contrib/oe-build-perf-report-email.py
index 913847bbed..de3862c897 100755
--- a/scripts/contrib/oe-build-perf-report-email.py
+++ b/scripts/contrib/oe-build-perf-report-email.py
@@ -4,15 +4,9 @@
4# 4#
5# Copyright (c) 2017, Intel Corporation. 5# Copyright (c) 2017, Intel Corporation.
6# 6#
7# This program is free software; you can redistribute it and/or modify it 7# SPDX-License-Identifier: GPL-2.0-only
8# under the terms and conditions of the GNU General Public License,
9# version 2, as published by the Free Software Foundation.
10#
11# This program is distributed in the hope it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14# more details.
15# 8#
9
16import argparse 10import argparse
17import base64 11import base64
18import logging 12import logging
diff --git a/scripts/contrib/patchreview.py b/scripts/contrib/patchreview.py
index 072166504d..62c509f51c 100755
--- a/scripts/contrib/patchreview.py
+++ b/scripts/contrib/patchreview.py
@@ -1,4 +1,7 @@
1#! /usr/bin/env python3 1#! /usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
2 5
3# TODO 6# TODO
4# - option to just list all broken files 7# - option to just list all broken files
diff --git a/scripts/contrib/patchtest.sh b/scripts/contrib/patchtest.sh
index 7fe566666e..b1e1ea334b 100755
--- a/scripts/contrib/patchtest.sh
+++ b/scripts/contrib/patchtest.sh
@@ -1,26 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2# ex:ts=4:sw=4:sts=4:et
3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
4# 2#
5# patchtest: Run patchtest on commits starting at master 3# patchtest: Run patchtest on commits starting at master
6# 4#
7# Copyright (c) 2017, Intel Corporation. 5# Copyright (c) 2017, Intel Corporation.
8# All rights reserved.
9# 6#
10# This program is free software; you can redistribute it and/or modify 7# SPDX-License-Identifier: GPL-2.0-or-later
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23# 8#
9
24set -o errexit 10set -o errexit
25 11
26# Default values 12# Default values
diff --git a/scripts/contrib/serdevtry b/scripts/contrib/serdevtry
index 74bd7b7161..9144730e7e 100755
--- a/scripts/contrib/serdevtry
+++ b/scripts/contrib/serdevtry
@@ -2,7 +2,8 @@
2 2
3# Copyright (C) 2014 Intel Corporation 3# Copyright (C) 2014 Intel Corporation
4# 4#
5# Released under the MIT license (see COPYING.MIT) 5# SPDX-License-Identifier: MIT
6#
6 7
7if [ "$1" = "" -o "$1" = "--help" ] ; then 8if [ "$1" = "" -o "$1" = "--help" ] ; then
8 echo "Usage: $0 <serial terminal command>" 9 echo "Usage: $0 <serial terminal command>"
diff --git a/scripts/contrib/test_build_time.sh b/scripts/contrib/test_build_time.sh
index 9e5725ae54..23f238adf6 100755
--- a/scripts/contrib/test_build_time.sh
+++ b/scripts/contrib/test_build_time.sh
@@ -3,22 +3,8 @@
3# Build performance regression test script 3# Build performance regression test script
4# 4#
5# Copyright 2011 Intel Corporation 5# Copyright 2011 Intel Corporation
6# All rights reserved.
7#
8# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21# 6#
7# SPDX-License-Identifier: GPL-2.0-or-later
22# 8#
23# DESCRIPTION 9# DESCRIPTION
24# This script is intended to be used in conjunction with "git bisect run" 10# This script is intended to be used in conjunction with "git bisect run"
diff --git a/scripts/contrib/test_build_time_worker.sh b/scripts/contrib/test_build_time_worker.sh
index 8e20a9ea7d..478e8b0d03 100755
--- a/scripts/contrib/test_build_time_worker.sh
+++ b/scripts/contrib/test_build_time_worker.sh
@@ -1,5 +1,7 @@
1#!/bin/bash 1#!/bin/bash
2 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This is an example script to be used in conjunction with test_build_time.sh 5# This is an example script to be used in conjunction with test_build_time.sh
4 6
5if [ "$TEST_BUILDDIR" = "" ] ; then 7if [ "$TEST_BUILDDIR" = "" ] ; then
diff --git a/scripts/contrib/uncovered b/scripts/contrib/uncovered
index a8399ad170..f16128cb7a 100755
--- a/scripts/contrib/uncovered
+++ b/scripts/contrib/uncovered
@@ -1,23 +1,10 @@
1#!/bin/bash -eur 1#!/bin/bash -eur
2# ex:ts=4:sw=4:sts=4:et
3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
4# 2#
5# Find python modules uncovered by oe-seltest 3# Find python modules uncovered by oe-seltest
6# 4#
7# Copyright (c) 2016, Intel Corporation 5# Copyright (c) 2016, Intel Corporation
8# 6#
9# This program is free software; you can redistribute it and/or modify 7# SPDX-License-Identifier: GPL-2.0-only
10# it under the terms of the GNU General Public License version 2 as
11# published by the Free Software Foundation.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License along
19# with this program; if not, write to the Free Software Foundation, Inc.,
20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21# 8#
22# Author: Ed Bartosh <ed.bartosh@linux.intel.com> 9# Author: Ed Bartosh <ed.bartosh@linux.intel.com>
23# 10#
diff --git a/scripts/contrib/verify-homepage.py b/scripts/contrib/verify-homepage.py
index cc6e797d8b..7bffa78e23 100755
--- a/scripts/contrib/verify-homepage.py
+++ b/scripts/contrib/verify-homepage.py
@@ -1,5 +1,7 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# This script can be used to verify HOMEPAGE values for all recipes in 5# This script can be used to verify HOMEPAGE values for all recipes in
4# the current configuration. 6# the current configuration.
5# The result is influenced by network environment, since the timeout of connect url is 5 seconds as default. 7# The result is influenced by network environment, since the timeout of connect url is 5 seconds as default.