diff options
Diffstat (limited to 'build-root/scripts')
-rwxr-xr-x | build-root/scripts/checkstyle.sh | 13 | ||||
-rwxr-xr-x | build-root/scripts/csit-test-branch | 16 | ||||
-rwxr-xr-x | build-root/scripts/find-api-core-contents | 14 | ||||
-rwxr-xr-x | build-root/scripts/find-api-lib-contents | 13 | ||||
-rwxr-xr-x | build-root/scripts/find-dev-contents | 13 | ||||
-rwxr-xr-x | build-root/scripts/find-plugins-contents | 13 | ||||
-rwxr-xr-x | build-root/scripts/find-vpp-api-java-contents | 13 | ||||
-rwxr-xr-x | build-root/scripts/find-vpp-api-lua-contents | 13 | ||||
-rwxr-xr-x | build-root/scripts/find-vpp-api-python-contents | 13 | ||||
-rwxr-xr-x | build-root/scripts/generate-deb-changelog | 13 | ||||
-rwxr-xr-x | build-root/scripts/remove-rpath | 13 |
11 files changed, 146 insertions, 1 deletions
diff --git a/build-root/scripts/checkstyle.sh b/build-root/scripts/checkstyle.sh index f4ea79adc6d..f2f118ca20d 100755 --- a/build-root/scripts/checkstyle.sh +++ b/build-root/scripts/checkstyle.sh @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + VPP_DIR=`dirname $0`/../../ EXIT_CODE=0 FIX="0" diff --git a/build-root/scripts/csit-test-branch b/build-root/scripts/csit-test-branch index 42be723cceb..23cfae1e1b7 100755 --- a/build-root/scripts/csit-test-branch +++ b/build-root/scripts/csit-test-branch @@ -1,2 +1,16 @@ #!/bin/sh -echo latest
\ No newline at end of file +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +echo latest diff --git a/build-root/scripts/find-api-core-contents b/build-root/scripts/find-api-core-contents index c1af69db8fc..8e24584be39 100755 --- a/build-root/scripts/find-api-core-contents +++ b/build-root/scripts/find-api-core-contents @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + for i in $(find ${1}/vpp/share/vpp/api/core -name *.api.json -type f -print); do echo ../${i} /usr/share/vpp/api/ >> ${2} done diff --git a/build-root/scripts/find-api-lib-contents b/build-root/scripts/find-api-lib-contents index 562db7b8446..b0742662415 100755 --- a/build-root/scripts/find-api-lib-contents +++ b/build-root/scripts/find-api-lib-contents @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + for i in $(find ${1}/vnet -name *.api.json -type f -print); do echo ../${i} /usr/share/vpp/api/ >> ${2} done diff --git a/build-root/scripts/find-dev-contents b/build-root/scripts/find-dev-contents index d4f7b63fb86..623121ef95d 100755 --- a/build-root/scripts/find-dev-contents +++ b/build-root/scripts/find-dev-contents @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # includes paths=`find $1/*/include -type f -print | grep -v '/dpdk/include/'` rm -f $2 diff --git a/build-root/scripts/find-plugins-contents b/build-root/scripts/find-plugins-contents index ae2a4271d81..394964ca395 100755 --- a/build-root/scripts/find-plugins-contents +++ b/build-root/scripts/find-plugins-contents @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + rm -f $2 for i in ${1}/vpp/lib64/vpp_plugins/*.so; do diff --git a/build-root/scripts/find-vpp-api-java-contents b/build-root/scripts/find-vpp-api-java-contents index 5f1bf197c05..6309c6cbee7 100755 --- a/build-root/scripts/find-vpp-api-java-contents +++ b/build-root/scripts/find-vpp-api-java-contents @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + rm -f $2 for i in $(find ${1}/vpp/share/java/ -type f -print); do diff --git a/build-root/scripts/find-vpp-api-lua-contents b/build-root/scripts/find-vpp-api-lua-contents index f1173db8e11..576bbb82562 100755 --- a/build-root/scripts/find-vpp-api-lua-contents +++ b/build-root/scripts/find-vpp-api-lua-contents @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #i for now put everything into examples directory echo ../../src/vpp-api/lua /usr/share/vpp/examples > ${2} diff --git a/build-root/scripts/find-vpp-api-python-contents b/build-root/scripts/find-vpp-api-python-contents index 819c9122aba..f6de6f2fffa 100755 --- a/build-root/scripts/find-vpp-api-python-contents +++ b/build-root/scripts/find-vpp-api-python-contents @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + rm -f $2 for i in $(find ${1}/vpp/lib/python2.7/site-packages/ -type f -print); do diff --git a/build-root/scripts/generate-deb-changelog b/build-root/scripts/generate-deb-changelog index 7bdc6337b0a..d3112f778ac 100755 --- a/build-root/scripts/generate-deb-changelog +++ b/build-root/scripts/generate-deb-changelog @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + CHANGELOG=deb/debian/changelog DIST=unstable FIRST=1 diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath index 3912b370448..3e20b06dbfa 100755 --- a/build-root/scripts/remove-rpath +++ b/build-root/scripts/remove-rpath @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + if [ -z $1 ]; then echo "Please specify path" exit 1 |