Fixed up spacing/coding style on embedded.
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 16 Dec 2005 19:08:59 +0000 (19:08 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 16 Dec 2005 19:08:59 +0000 (19:08 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@972 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/embedded/embedded-chroot.sh
targets/embedded/embedded-controller.sh
targets/embedded/embedded-fs-runscript.sh
targets/embedded/embedded-preclean-chroot.sh

index 9523489eb0b6386aee87ad0974382dcd2b7ceb95..6f4090774ee161510c7032cedb7d61f155373294 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.459 2005/12/16 18:57:57 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.460 2005/12/16 19:08:59 wolf31o2 Exp $
+
+  16 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/embedded/embedded-chroot.sh,
+  targets/embedded/embedded-controller.sh,
+  targets/embedded/embedded-fs-runscript.sh,
+  targets/embedded/embedded-preclean-chroot.sh:
+  Fixed up spacing/coding style on embedded.
 
   16 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org> arch/x86.py,
   targets/support/bootloader-setup.sh, targets/support/chroot-functions.sh,
index 63429ed0617e6143b07b4e56011ec906a6c2bce5..66d7545f02c7cf83f66c6d971d9d5f3a11292925 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.19 2005/12/09 19:03:07 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-chroot.sh,v 1.20 2005/12/16 19:08:59 wolf31o2 Exp $
 
 . /tmp/chroot-functions.sh
 
@@ -11,7 +11,7 @@ setup_myfeatures
 setup_myemergeopts
 
 
-# setup the environment
+# Setup the environment
 export FEATURES="${clst_myfeatures}"
 #export clst_myemergeopts="${clst_myemergeopts} -O"
 export USE="${clst_use}"
index fc29522631e06e3886fe28b1b7bf5c055f9ac969..42c31eda48d21b5ff068b4f458e3c4445f4ee74e 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-controller.sh,v 1.7 2005/11/30 21:34:03 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-controller.sh,v 1.8 2005/12/16 19:08:59 wolf31o2 Exp $
 
 . ${clst_sharedir}/targets/support/functions.sh
 . ${clst_sharedir}/targets/support/filesystem-functions.sh
@@ -22,17 +22,19 @@ case $1 in
 #              export root_fs_path="${clst_chroot_path}/tmp/mergeroot"
 #              install -d ${clst_image_path}
                
-#              ${clst_sharedir}/targets/embedded/embedded-fs-runscript.sh ${clst_embedded_fs_type} || exit 1
+#              ${clst_sharedir}/targets/embedded/embedded-fs-runscript.sh \
+#                      ${clst_embedded_fs_type} || exit 1
 #              imagesize=`du -sk ${clst_image_path}/root.img | cut -f1`
-#              echo "Created ${clst_embedded_fs_type} image at ${clst_image_path}/root.img"
+#              echo "Created ${clst_embedded_fs_type} image at \
+#                      ${clst_image_path}/root.img"
 #              echo "Image size: ${imagesize}k"
-       
 #      ;;
 
        pre-kmerge)
                # Sets up the build environment before any kernels are compiled
                exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
        ;;
+
        post-kmerge)
                # Cleans up the build environment after the kernels are compiled
                exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
@@ -44,7 +46,7 @@ case $1 in
                # if we have our own linuxrc, copy it in
                if [ -n "${clst_linuxrc}" ]
                then
-                       cp -a ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
+                       cp -pPR ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
                fi
                exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
                delete_from_chroot tmp/linuxrc
@@ -55,8 +57,8 @@ case $1 in
                ${clst_sharedir}/targets/support/target_image_setup.sh $1
 
        ;;
-               livecd-update)
-                       # now, finalize and tweak the livecd fs (inside of the chroot)
+       livecd-update)
+               # Now, finalize and tweak the livecd fs (inside of the chroot)
                exec_in_chroot  ${clst_sharedir}/targets/support/livecdfs-update.sh
        ;;
 
@@ -73,7 +75,6 @@ case $1 in
                ${clst_sharedir}/targets/support/create-iso.sh $1
        ;;
 
-
        clean)
        ;;
 
index e31995ff7dafac4a56da6052885264a278c59b58..11628b3d9e5ca35042aa4836e794900a398d7d94 100644 (file)
@@ -16,26 +16,28 @@ fs_check() {
 
 case $1 in
        jffs)
-       fs_check /usr/sbin/mkfs.jffs jffs sys-fs/mtd
-       mkfs.jffs -d ${root_fs_path} -o ${clst_image_path}/root.img \
-               ${clst_embedded_fs_ops} || die "Could not create a jffs filesystem"
+               fs_check /usr/sbin/mkfs.jffs jffs sys-fs/mtd
+               mkfs.jffs -d ${root_fs_path} -o ${clst_image_path}/root.img \
+                       ${clst_embedded_fs_ops} || die "Could not create a jffs filesystem"
        ;;
        jffs2)
-       fs_check /usr/sbin/mkfs.jffs2 jffs2 sys-fs/mtd
-       mkfs.jffs2 --root=${root_fs_path} --output=${clst_image_path}/root.img\
-               ${clst_embedded_fs_ops} || die "Could not create a jffs2 filesystem"
+               fs_check /usr/sbin/mkfs.jffs2 jffs2 sys-fs/mtd
+               mkfs.jffs2 --root=${root_fs_path} --output=${clst_image_path}/root.img\
+                       ${clst_embedded_fs_ops} || die "Could not create a jffs2 filesystem"
        ;;
 
        cramfs)
-       fs_check /sbin/mkcramfs cramfs sys-fs/cramfs
-       mkcramfs ${clst_embedded_fs_ops} ${root_fs_path} \
-               ${clst_image_path}/root.img || die "Could not create a cramfs filesystem"
+               fs_check /sbin/mkcramfs cramfs sys-fs/cramfs
+               mkcramfs ${clst_embedded_fs_ops} ${root_fs_path} \
+                       ${clst_image_path}/root.img || \
+                       die "Could not create a cramfs filesystem"
        ;;
 
        squashfs)
-       fs_check /usr/bin/mksquashfs squashfs sys-fs/squashfs-tools
-       mksquashfs ${root_fs_path} ${clst_image_path}/root.img \
-               ${clst_embedded_fs_ops} || die "Could not create a squashfs filesystem"
+               fs_check /usr/bin/mksquashfs squashfs sys-fs/squashfs-tools
+               mksquashfs ${root_fs_path} ${clst_image_path}/root.img \
+                       ${clst_embedded_fs_ops} || \
+                       die "Could not create a squashfs filesystem"
        ;;
        *)
        ;;
index 7bf4ec4605d44986af59bc1937439a9e2d0fcb87..e54b913bcabb278da2843e7191b7cc2738c027b3 100755 (executable)
@@ -1,8 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-preclean-chroot.sh,v 1.6 2005/07/05 21:53:41 wolf31o2 Exp $
-
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/embedded/embedded-preclean-chroot.sh,v 1.7 2005/12/16 19:08:59 wolf31o2 Exp $
 
 . /tmp/chroot-functions.sh
 update_env_settings