summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-16 13:48:29 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-16 13:48:29 +0000
commit8142b95bf2bddfd52c762b05254241d75da6a618 (patch)
tree1fb5362143f03c8c29baa96f5bc82aac3db9a46f /scripts
parent771e3d3eef1aac89e310d5810753d74d6515ae66 (diff)
downloadpoky-8142b95bf2bddfd52c762b05254241d75da6a618.tar.gz
Update copyright
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-addptable2image21
-rwxr-xr-xscripts/poky-autobuild4
-rwxr-xr-xscripts/poky-env-internal7
-rwxr-xr-xscripts/poky-qemu6
-rwxr-xr-xscripts/poky-qemu-ifup18
-rwxr-xr-xscripts/poky-qemu-internal8
-rw-r--r--scripts/poky-qemu.README3
-rwxr-xr-xscripts/runqemu6
8 files changed, 59 insertions, 14 deletions
diff --git a/scripts/poky-addptable2image b/scripts/poky-addptable2image
index 8602e5f085..b6ad285325 100755
--- a/scripts/poky-addptable2image
+++ b/scripts/poky-addptable2image
@@ -1,5 +1,24 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Add a partion table to an ext2 image file
4#
5# Copyright (C) 2006-2007 OpenedHand Ltd.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
21
3IMAGE=$1 22IMAGE=$1
4IMAGEOUT=$2 23IMAGEOUT=$2
5 24
@@ -29,4 +48,4 @@ echo "$size2" >> /tmp/fdisk.cmds
29echo "w" >> /tmp/fdisk.cmds 48echo "w" >> /tmp/fdisk.cmds
30 49
31fdisk $IMAGEOUT < /tmp/fdisk.cmds 50fdisk $IMAGEOUT < /tmp/fdisk.cmds
32cat $IMAGE >> $IMAGEOUT \ No newline at end of file 51cat $IMAGE >> $IMAGEOUT
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild
index 6beea5c50f..beef20a010 100755
--- a/scripts/poky-autobuild
+++ b/scripts/poky-autobuild
@@ -2,7 +2,7 @@
2 2
3# Poky Build Enviroment Setup Script 3# Poky Build Enviroment Setup Script
4# 4#
5# Copyright (C) 2006 OpenedHand LTD 5# Copyright (C) 2006-2007 OpenedHand Ltd.
6# 6#
7# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by 8# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
17# You should have received a copy of the GNU General Public License 17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software 18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20# 20
21 21
22#if test x"$0" = x"./poky-init-build-env"; then 22#if test x"$0" = x"./poky-init-build-env"; then
23# echo "Error: Run via '. ./poky-init-build-env'" 23# echo "Error: Run via '. ./poky-init-build-env'"
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 99cecacf68..b5052e7115 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -2,7 +2,7 @@
2 2
3# Poky Build Enviroment Setup Script 3# Poky Build Enviroment Setup Script
4# 4#
5# Copyright (C) 2006 OpenedHand LTD 5# Copyright (C) 2006-2007 OpenedHand Ltd.
6# 6#
7# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by 8# it under the terms of the GNU General Public License as published by
@@ -17,12 +17,11 @@
17# You should have received a copy of the GNU General Public License 17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software 18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20#
21 20
22# 21
23# Change this to the location of this file. 22# Change this to the location of this file.
24# Also update the locations at the top of conf/local.conf 23# Also update the locations at the top of conf/local.conf
25# 24
26OEROOT=`pwd` 25OEROOT=`pwd`
27 26
28BBDIR=$OEROOT/bitbake/ 27BBDIR=$OEROOT/bitbake/
diff --git a/scripts/poky-qemu b/scripts/poky-qemu
index c2ba0c4ed7..6b8224ba6d 100755
--- a/scripts/poky-qemu
+++ b/scripts/poky-qemu
@@ -1,6 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2
3# Handle running Poky images standalone with QEMU
2# 4#
3# Handle running Poky images standalone 5# Copyright (C) 2006-2007 OpenedHand Ltd.
4# 6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
@@ -14,7 +16,7 @@
14# You should have received a copy of the GNU General Public License along 16# You should have received a copy of the GNU General Public License along
15# with this program; if not, write to the Free Software Foundation, Inc., 17# with this program; if not, write to the Free Software Foundation, Inc.,
16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17# 19
18 20
19if [ "x$1" = "x" ]; then 21if [ "x$1" = "x" ]; then
20 MYNAME=`basename $0` 22 MYNAME=`basename $0`
diff --git a/scripts/poky-qemu-ifup b/scripts/poky-qemu-ifup
index af081fb4d7..5cf48d7b8c 100755
--- a/scripts/poky-qemu-ifup
+++ b/scripts/poky-qemu-ifup
@@ -1,5 +1,23 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# QEMU network interface configuration script
4#
5# Copyright (C) 2006-2007 OpenedHand Ltd.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation.
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 along
17# with this program; if not, write to the Free Software Foundation, Inc.,
18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
20
3IFCONFIG=`which ifconfig` 21IFCONFIG=`which ifconfig`
4if [ "x$IFCONFIG" = "x" ]; then 22if [ "x$IFCONFIG" = "x" ]; then
5 # better than nothing... 23 # better than nothing...
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index 584fde2670..e5bfa2ecbf 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -1,7 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2# 2
3# Handle running Poky images under qemu 3# Handle running Poky images under qemu
4# 4#
5# Copyright (C) 2006-2007 OpenedHand Ltd.
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# published by the Free Software Foundation.
@@ -14,8 +16,8 @@
14# You should have received a copy of the GNU General Public License along 16# You should have received a copy of the GNU General Public License along
15# with this program; if not, write to the Free Software Foundation, Inc., 17# with this program; if not, write to the Free Software Foundation, Inc.,
16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17# 19
18# 20
19# Call setting: 21# Call setting:
20# QEMU_MEMORY (optional) set the amount of memory in the emualted system. 22# QEMU_MEMORY (optional) set the amount of memory in the emualted system.
21# SERIAL_LOGFILE (optional) log the serial port output to a file 23# SERIAL_LOGFILE (optional) log the serial port output to a file
diff --git a/scripts/poky-qemu.README b/scripts/poky-qemu.README
index da37d7ca89..3fbeb65029 100644
--- a/scripts/poky-qemu.README
+++ b/scripts/poky-qemu.README
@@ -92,3 +92,6 @@ Known Issues
92 92
93 - There is a bug in the ARM qemu in that means occasionally it will use 100% 93 - There is a bug in the ARM qemu in that means occasionally it will use 100%
94 cpu. You will need to restart it in this situation. 94 cpu. You will need to restart it in this situation.
95
96
97 Copyright (C) 2006-2007 OpenedHand Ltd.
diff --git a/scripts/runqemu b/scripts/runqemu
index 4c1e2ef78b..42bcbca48f 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1,7 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2# 2
3# Handle Poky <-> QEmu interface voodoo 3# Handle Poky <-> QEmu interface voodoo
4# 4#
5# Copyright (C) 2006-2007 OpenedHand Ltd.
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# published by the Free Software Foundation.
@@ -14,7 +16,7 @@
14# You should have received a copy of the GNU General Public License along 16# You should have received a copy of the GNU General Public License along
15# with this program; if not, write to the Free Software Foundation, Inc., 17# with this program; if not, write to the Free Software Foundation, Inc.,
16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17# 19
18 20
19if [ "x$BUILDDIR" = "x" ]; then 21if [ "x$BUILDDIR" = "x" ]; then
20 echo "You need to source poky-init-build-env before running this script" 22 echo "You need to source poky-init-build-env before running this script"