diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-addptable2image | 21 | ||||
-rwxr-xr-x | scripts/poky-autobuild | 4 | ||||
-rwxr-xr-x | scripts/poky-env-internal | 7 | ||||
-rwxr-xr-x | scripts/poky-qemu | 6 | ||||
-rwxr-xr-x | scripts/poky-qemu-ifup | 18 | ||||
-rwxr-xr-x | scripts/poky-qemu-internal | 8 | ||||
-rw-r--r-- | scripts/poky-qemu.README | 3 | ||||
-rwxr-xr-x | scripts/runqemu | 6 |
8 files changed, 59 insertions, 14 deletions
diff --git a/scripts/poky-addptable2image b/scripts/poky-addptable2image index 8602e5f08..b6ad28532 100755 --- a/scripts/poky-addptable2image +++ b/scripts/poky-addptable2image @@ -1,5 +1,24 @@ #!/bin/sh +# Add a partion table to an ext2 image file +# +# Copyright (C) 2006-2007 OpenedHand Ltd. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + IMAGE=$1 IMAGEOUT=$2 @@ -29,4 +48,4 @@ echo "$size2" >> /tmp/fdisk.cmds echo "w" >> /tmp/fdisk.cmds fdisk $IMAGEOUT < /tmp/fdisk.cmds -cat $IMAGE >> $IMAGEOUT
\ No newline at end of file +cat $IMAGE >> $IMAGEOUT diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index 6beea5c50..beef20a01 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild @@ -2,7 +2,7 @@ # Poky Build Enviroment Setup Script # -# Copyright (C) 2006 OpenedHand LTD +# Copyright (C) 2006-2007 OpenedHand Ltd. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# + #if test x"$0" = x"./poky-init-build-env"; then # echo "Error: Run via '. ./poky-init-build-env'" diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal index 99cecacf6..b5052e711 100755 --- a/scripts/poky-env-internal +++ b/scripts/poky-env-internal @@ -2,7 +2,7 @@ # Poky Build Enviroment Setup Script # -# Copyright (C) 2006 OpenedHand LTD +# Copyright (C) 2006-2007 OpenedHand Ltd. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,12 +17,11 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# + # Change this to the location of this file. # Also update the locations at the top of conf/local.conf -# + OEROOT=`pwd` BBDIR=$OEROOT/bitbake/ diff --git a/scripts/poky-qemu b/scripts/poky-qemu index c2ba0c4ed..6b8224ba6 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu @@ -1,6 +1,8 @@ #!/bin/sh + +# Handle running Poky images standalone with QEMU # -# Handle running Poky images standalone +# Copyright (C) 2006-2007 OpenedHand Ltd. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -14,7 +16,7 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# + if [ "x$1" = "x" ]; then MYNAME=`basename $0` diff --git a/scripts/poky-qemu-ifup b/scripts/poky-qemu-ifup index af081fb4d..5cf48d7b8 100755 --- a/scripts/poky-qemu-ifup +++ b/scripts/poky-qemu-ifup @@ -1,5 +1,23 @@ #!/bin/sh +# QEMU network interface configuration script +# +# Copyright (C) 2006-2007 OpenedHand Ltd. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + IFCONFIG=`which ifconfig` if [ "x$IFCONFIG" = "x" ]; then # better than nothing... diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index 584fde267..e5bfa2ecb 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -1,7 +1,9 @@ #!/bin/sh -# + # Handle running Poky images under qemu # +# Copyright (C) 2006-2007 OpenedHand Ltd. +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. @@ -14,8 +16,8 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# + + # Call setting: # QEMU_MEMORY (optional) set the amount of memory in the emualted system. # SERIAL_LOGFILE (optional) log the serial port output to a file diff --git a/scripts/poky-qemu.README b/scripts/poky-qemu.README index da37d7ca8..3fbeb6502 100644 --- a/scripts/poky-qemu.README +++ b/scripts/poky-qemu.README @@ -92,3 +92,6 @@ Known Issues - There is a bug in the ARM qemu in that means occasionally it will use 100% cpu. You will need to restart it in this situation. + + + Copyright (C) 2006-2007 OpenedHand Ltd. diff --git a/scripts/runqemu b/scripts/runqemu index 4c1e2ef78..42bcbca48 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -1,7 +1,9 @@ #!/bin/sh -# + # Handle Poky <-> QEmu interface voodoo # +# Copyright (C) 2006-2007 OpenedHand Ltd. +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. @@ -14,7 +16,7 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# + if [ "x$BUILDDIR" = "x" ]; then echo "You need to source poky-init-build-env before running this script" |