Skip to contentSkip to conversation

Build scripts simplification/cleanup pass #1

PATCH In review Denys Dmytriyenko 3 participants 36 messages Nov 23, 2021 – Dec 10, 2021 Library code Page 2 of 2

lore
Share & tools
lore
#8 lore raw

PATCH 3/10 Remove rudimentary target testing with OpenTest CLI

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/run-opentest                                   | 375 ---------------------
 linux-devtest.tgz                                  | Bin 775952 -> 0 bytes
 opentest_cli_0.7.tar.gz                            | Bin 482035 -> 0 bytes
 test-scripts/S08-fake-weston-calibrate             |   6 -
 test-scripts/S90-fake-pointercal                   |  12 -
 test-scripts/boottest.sh                           |   3 -
 test-scripts/check-dhrystone-perf.sh               |  25 --
 test-scripts/check-kernel-version.sh               |  12 -
 test-scripts/check-launch.sh                       | 121 -------
 test-scripts/check-linpack-perf.sh                 |  31 --
 test-scripts/check-matrix-gui.sh                   |  12 -
 test-scripts/check-psp-version.sh                  |  12 -
 test-scripts/check-whetstone-perf.sh               |  30 --
 test-scripts/check_app.sh                          |  94 ------
 test-scripts/common.sh                             |  88 -----
 test-scripts/nightly-test.sh                       |  93 -----
 test-scripts/opentest.sh                           |   3 -
 test-scripts/st_log.sh                             | 120 -------
 test-scripts/test-files/mandatory-common.txt       |   1 -
 .../test-files/mandatory-oesdk-am180x-evm.txt      |   1 -
 .../test-files/mandatory-oesdk-am3517-evm.txt      |   1 -
 .../test-files/mandatory-oesdk-am37x-evm.txt       |   1 -
 test-scripts/test-files/mandatory-oesdk-armv7a.txt |   1 -
 .../test-files/mandatory-oesdk-beagleboard.txt     |   1 -
 test-scripts/test-files/mandatory-oesdk.txt        |   7 -
 .../test-files/optional-oesdk-am180x-evm.txt       |   2 -
 .../test-files/optional-oesdk-am3517-evm.txt       |   2 -
 .../test-files/optional-oesdk-am37x-evm.txt        |   2 -
 test-scripts/test-files/optional-oesdk-armv7a.txt  |   4 -
 .../test-files/optional-oesdk-beagleboard.txt      |   1 -
 .../test-files/optional-oesdk-dra7xx-evm.txt       |   1 -
 .../test-files/optional-oesdk-omap5-evm.txt        |   1 -
 test-scripts/test-files/optional-oesdk.txt         |  11 -
 33 files changed, 1074 deletions(-)
 delete mode 100644 lib/run-opentest
 delete mode 100644 linux-devtest.tgz
 delete mode 100644 opentest_cli_0.7.tar.gz
 delete mode 100755 test-scripts/S08-fake-weston-calibrate
 delete mode 100755 test-scripts/S90-fake-pointercal
 delete mode 100755 test-scripts/boottest.sh
 delete mode 100755 test-scripts/check-dhrystone-perf.sh
 delete mode 100755 test-scripts/check-kernel-version.sh
 delete mode 100755 test-scripts/check-launch.sh
 delete mode 100755 test-scripts/check-linpack-perf.sh
 delete mode 100755 test-scripts/check-matrix-gui.sh
 delete mode 100755 test-scripts/check-psp-version.sh
 delete mode 100755 test-scripts/check-whetstone-perf.sh
 delete mode 100755 test-scripts/check_app.sh
 delete mode 100755 test-scripts/common.sh
 delete mode 100755 test-scripts/nightly-test.sh
 delete mode 100755 test-scripts/opentest.sh
 delete mode 100755 test-scripts/st_log.sh
 delete mode 100644 test-scripts/test-files/mandatory-common.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am180x-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am3517-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am37x-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-armv7a.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-beagleboard.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am180x-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am3517-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am37x-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-armv7a.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-beagleboard.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-dra7xx-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-omap5-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk.txt
lib/run-opentest deleted +0 -375
deleted file mode 100644
index d76dbd6..0000000
@@ -1,375 +0,0 @@
-#!/bin/bash
-
-# Translate OE machine types to opentest HW platforms and don't test on
-# unsupported platforms.
-# NOTE: Some platforms re-use the same board so we can set oplatform the same
-set_opentest_platform() {
-    machine="$1"
-
-    case $machine in
-        am37x-evm|am180x-evm|omapl138-lcdk|am3517-evm|da850-omapl138-evm|beagleboard|beaglebone|am335x-evm|omap5-evm|dra7xx-evm|am57xx-evm )
-            oplatform=$machine
-            ;;
-        k2hk-evm|k2e-evm|k2g-evm|k2l-evm|k2g-ice )
-            oplatform=$machine
-            ;;
-        am437x-evm )
-            oplatform="am43xx-gpevm"
-            ;;
-        am335x-hs-evm )
-            oplatform="am335x-hsevm"
-            ;;
-        am437x-hs-evm )
-            oplatform="am43xx-hsevm"
-            ;;
-        am57xx-hs-evm )
-            oplatform="am57xx-hsevm"
-            ;;
-        dra7xx-hs-evm )
-            oplatform="dra7xx-hsevm"
-            ;;
-        k2e-hs-evm )
-            oplatform="k2e-hsevm"
-            ;;
-        k2hk-hs-evm )
-            oplatform="k2hk-hsevm"
-            ;;
-        k2g-hs-evm )
-            oplatform="k2g-hsevm"
-            ;;
-        k2l-hs-evm )
-            oplatform="k2l-hsevm"
-            ;;
-        * )
-            return 2
-            ;;
-    esac
-}
-
-# Translate OE machine types to corresponding DTBs that have OpenTest HW
-# available for testing. In some cases, DTBs are named slightly different
-# than machines in OE or OpenTest, or have multiple variants. Select the
-# correct one here.
-set_opentest_dtb() {
-    machine="$1"
-
-    case $machine in
-        am335x-evm|am57xx-evm )
-            odtb="$machine.dtb"
-            ;;
-        am335x-hs-evm )
-            odtb="am335x-evm.dtb"
-            ;;
-        am57xx-hs-evm )
-            odtb="am57xx-evm.dtb"
-            ;;
-        beaglebone )
-            odtb="am335x-boneblack.dtb"
-            ;;
-        am437x-evm )
-            odtb="am437x-gp-evm.dtb"
-            ;;
-        am437x-hs-evm )
-            odtb="am437x-gp-evm.dtb"
-            ;;
-        dra7xx-evm )
-            odtb="dra7-evm.dtb"
-            ;;
-        dra7xx-hs-evm )
-            odtb="dra7-evm.dtb"
-            ;;
-        omap5-evm )
-            odtb="omap5-uevm.dtb"
-            ;;
-        k2hk-evm|k2e-evm|k2g-evm|k2l-evm|k2g-ice )
-            odtb="keystone-$machine.dtb"
-            ;;
-        k2e-hs-evm )
-            odtb="keystone-k2e.dtb"
-            ;;
-        k2hk-hs-evm )
-            odtb="keystone-k2hk.dtb"
-            ;;
-        k2g-hs-evm )
-            odtb="keystone-k2g.dtb"
-            ;;
-        k2l-hs-evm )
-            odtb="keystone-k2l.dtb"
-            ;;
-        * )
-            odtb=""
-            ;;
-    esac
-}
-
-# Call to the opentest framework wo perform build testing.  This requires
-# that the build system is setup with STAF to perform the testing calls.
-# For details see:
-#   TODO: Link to setup page here
-#           - Need to cover opentest_client_jenkins.tar file creation
-#           - Need to cover configuration of STAF
-#           - Need to cover setup of daemonize
-#           - Setup of NFS_ROOT
-#           - Creating a builders group to give sudo rights to
-#           - setup of no password sudo for commands below due to fakeroot
-#             not working for NFS
-run_target_side_test() {
-    # Set m for logging purposes
-    m="$1"
-
-    log $machine_test_log echo "testing machine $m"
-
-################################################################################
-# Prepare the root file system for testing by:
-#   - Creating a subdirectory in the NFS_ROOT directory to extract the target
-#     file system into.  
-#   - Extract the target file system using fakeroot.
-#   - Copy the test scripts into the target file system
-################################################################################
-    nfs_dir="$NFS_ROOT/$m-test"
-
-    mkdir -p $nfs_dir
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not create $NFS_ROOT directory"
-        echo "FAILED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    # Find the target file system
-    if [ -d temp/filesystem ]
-    then
-        filesys_path="temp/filesystem"
-    else
-        filesys_path="out"
-    fi
-    filesys=`find ./$filesys_path -name "$FS_FILTER*$FS_IMAGE_TYPE" | xargs basename`
-
-    if [ "$filesys" == "" ]
-    then
-        echo "Could not find the target file system"
-        echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    # Copy the file system to the nfs root directory to be extracted
-    cp $filesys_path/$filesys $nfs_dir
-
-    # extract the file system using fakeroot
-    cd $nfs_dir
-
-    sudo tar xf $filesys
-    sudo chmod a+rw `dirname $TEST_SCRIPTS_TGT`
-
-    # Copy in the test scripts from the SCRIPTS_ROOT directory
-    if [ ! -d "$TEST_SCRIPTS" ]
-    then
-        echo "Could not find test scripts at $TEST_SCRIPTS"
-        echo "FAILED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    sudo cp -rf $TEST_SCRIPTS $TEST_SCRIPTS_TGT
-
-    # Copy init scripts to create fake pointercal/calibrate files to allow booting
-    sudo cp $TEST_SCRIPTS_TGT/S90-fake-pointercal etc/rc5.d/
-    sudo cp $TEST_SCRIPTS_TGT/S08-fake-weston-calibrate etc/rc5.d/
-
-    # Modify the nightly-test.sh script with the required values
-    sudo sed -i "s=__BASEDIR__=/$TEST_SCRIPTS_TGT=" $TEST_SCRIPTS_TGT/nightly-test.sh
-    sudo sed -i "s=__BASEDIR__=/$TEST_SCRIPTS_TGT=" $TEST_SCRIPTS_TGT/opentest.sh
-    sudo sed -i "s=__MACHINE__=$m=" $TEST_SCRIPTS_TGT/nightly-test.sh
-
-    # Make the scripts executable
-    sudo chmod +x $TEST_SCRIPTS_TGT/*.sh
-
-################################################################################
-# Call OpenTest framework
-#   - extract the opentest CLI client
-#   - determine the oplatform to use for testing
-#   - run the opentest CLI client passing the SDK binary images and the
-#     extracted NFS partition
-################################################################################
-    cd $test_dir
-
-    # Check if the client can be found.  In not then mark the test as
-    # SKIPPED
-    if [ ! -e $OPENTEST_CLI ]
-    then
-        echo "Could not find the opentest client tarball"
-        echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    # Extract the CLI utility
-    tar xf $OPENTEST_CLI
-
-    # New version of CLI has "client" subdir
-    mv client/* . || true
-
-    # Copy pre-configured conf/site_info.xml file, if provided
-    if [ ! -z $OPENTEST_CONF_SITE_INFO -a -e $OPENTEST_CONF_SITE_INFO ]
-    then
-        cp -f $OPENTEST_CONF_SITE_INFO config/site_info.xml
-    fi
-
-    # New version of CLI has no version in JAR name
-    if [ -e opentest_cli_0.7.jar ]
-    then
-        OPENTEST_JAR="opentest_cli_0.7.jar"
-    else
-        OPENTEST_JAR="opentest_cli.jar"
-    fi
-
-    # Determine the oplatform to use for testing
-    set_opentest_platform $m
-
-    if [ "$?" == "2" ]
-    then
-        echo "Unknown machine ($m) given to opentest.  Skipping"
-        echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    # Determine the odtb to use for testing
-    set_opentest_dtb $m
-
-    # Set variabled required for the test line.
-    ipaddr=`ifconfig $TEST_LOCAL_IFACE | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`
-
-    if [ "$ipaddr" == "" ]
-    then
-        echo "Could not get host IP address"
-        echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    if [ -f $test_dir/temp/board-support/prebuilt-images/[uz]Image-$m.bin ]
-    then
-        if [ -f $test_dir/temp/board-support/prebuilt-images/zImage-$m.bin ]
-        then
-            kernel=$test_dir/temp/board-support/prebuilt-images/zImage-$m.bin
-        elif [ -f $test_dir/temp/board-support/prebuilt-images/uImage-$m.bin ]
-        then
-            kernel=$test_dir/temp/board-support/prebuilt-images/uImage-$m.bin
-        fi
-
-        if [ "$odtb" ]
-        then
-            dtb="~dtb=$test_dir/temp/board-support/prebuilt-images/$odtb"
-        else
-            dtb=""
-        fi
-    elif [ -f $nfs_dir/boot/vmlinuz-* ]
-    then
-        kernel="$(ls $nfs_dir/boot/vmlinuz-*)"
-        dtb="~dtb=$(ls $nfs_dir/lib/firmware/*/device-tree/$oplatform.dtb)"
-    else
-        echo "Could not find pre-built kernel"
-        echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    uboot=""
-    spluart=""
-    if [ "$OPENTEST_BOOTLOADERS" != "false" ]
-    then
-        case $m in
-            am335x-evm|beaglebone )
-                if [ -f $test_dir/temp/board-support/prebuilt-images/u-boot-$m.* ]
-                then
-                    uboot="~secondary_bootloader=$(ls $test_dir/temp/board-support/prebuilt-images/u-boot-$m.*)"
-                fi
-
-                if [ -f $test_dir/temp/board-support/prebuilt-images/u-boot-spl.bin-$m ]
-                then
-                    spluart="~primary_bootloader=$(ls $test_dir/temp/board-support/prebuilt-images/u-boot-spl.bin-$m)"
-                fi
-                ;;
-        esac
-    fi
-
-    skern=""
-    fwinit=""
-    case $machine in
-        k2hk-evm|k2e-evm|k2g-evm|k2l-evm )
-            skern="~skern_file=$(ls $test_dir/temp/board-support/prebuilt-images/skern-*.bin)"
-            fwinit="~initramfs=$(ls $test_dir/temp/board-support/prebuilt-images/k2-fw-initrd.cpio.gz)"
-            ;;
-    esac
-
-    pmmc=""
-    case $machine in
-        k2g-evm )
-            pmmc="~pmmc=$(ls $test_dir/temp/board-support/prebuilt-images/ti-sci-firmware-k2g.bin)"
-            ;;
-    esac
-
-    bootattempts=""
-    boottimeout=""
-    if [ -n $OPENTEST_BOOT_ATTEMPTS ]
-    then
-        bootattempts="~var_boot_attempts=$OPENTEST_BOOT_ATTEMPTS"
-    fi
-    if [ -n $OPENTEST_BOOT_TIMEOUT ]
-    then
-        boottimeout="~var_boot_timeout=$OPENTEST_BOOT_TIMEOUT"
-    fi
-
-
-    # Start the STAF process if not already started
-    daemonize $STAF_ROOT/startSTAFProc.sh
-    source $STAF_ROOT/STAFEnv.sh start
-
-    # if OPENTEST_TEE_IP is not set in config, default to Dallas TEE
-    if [ -z $OPENTEST_TEE_IP ]
-    then
-        OPENTEST_TEE_IP="128.247.105.52"
-    fi
-
-    # if OPENTEST_TEE_IP is set to "none", disable assigning to a specific TEE
-    if [ "$OPENTEST_TEE_IP" == "none" ]
-    then
-        ASSIGN_TO_TEE=""
-    else
-        ASSIGN_TO_TEE="~assign_to_tees=\"vatf on $OPENTEST_TEE_IP\""
-    fi
-
-    # if OPENTEST_HW_CAP is not set in config, default to "linux"
-    if [ -z $OPENTEST_HW_CAP ]
-    then
-        OPENTEST_HW_CAP="linux"
-    fi
-
-    # Call opentest framework.  Echo the command being used for logging
-    echo "java -jar $OPENTEST_JAR --template penguin --hw platform=$oplatform,$OPENTEST_HW_CAP --sw kernel=$kernel$dtb~kernel_modules=$spluart$uboot$skern$fwinit$pmmc$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git --options \"priority 0\" --params script=/$TEST_SCRIPTS_TGT/opentest.sh"
-    if [ "${BUILD_LOG_VERBOSE}" = "true" ]; then
-        java -jar $OPENTEST_JAR --template penguin --hw platform=$oplatform,$OPENTEST_HW_CAP --sw kernel=$kernel$dtb~kernel_modules=$spluart$uboot$skern$fwinit$pmmc$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git --options "priority 0" --params script=/$TEST_SCRIPTS_TGT/opentest.sh 2>&1 | eval tee -a $machine_test_log
-        otret=${PIPESTATUS[0]}
-    else
-        java -jar $OPENTEST_JAR --template penguin --hw platform=$oplatform,$OPENTEST_HW_CAP --sw kernel=$kernel$dtb~kernel_modules=$spluart$uboot$skern$fwinit$pmmc$bootattempts$boottimeout~nfs=$ipaddr:$nfs_dir$ASSIGN_TO_TEE~test_scripts_root=git://http://arago-project.org/git/projects/test-automation/execution-engines/vatf-scripts.git --options "priority 0" --params script=/$TEST_SCRIPTS_TGT/opentest.sh
-        otret=$?
-    fi
-
-    if [ "${BUILD_LOG_VERBOSE}" = "true" ]; then
-        oturl=`eval grep 'LOG\ PATH' $machine_test_log | egrep -o 'href="([^"]*)' | cut -d\" -f2 | sed 's/dev_test_\([[:digit:]]\+\).html/dut1_\1_log.txt/'`
-        eval wget --no-proxy "$oturl" -O $machine_console_log
-    fi
-
-################################################################################
-# Check the results of the opentest run.
-#   - If the test failed mark the failure and exit
-#   - If the test passed then cleanup the NFS file system and repackage it
-#     into the SDK.  This way we can ship a pre-booted file system.
-################################################################################
-    # This is not marked as a critical failure because this could be a false
-    # failure from the test system itself.  So depending on what we set for
-    # SKIP_TEST_FAILURES we may continue with the packaging step.
-    if [ $otret -ne 0 ]
-    then
-        echo "Opentest failed for $m"
-        echo "FAILED" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-}
linux-devtest.tgz deleted binary +0 -0
deleted file mode 100644
index 0afa355795c2672ed428d6d3db13ea244d35607c..0000000000000000000000000000000000000000
GIT binary patch
opentest_cli_0.7.tar.gz deleted binary +0 -0
deleted file mode 100644
index 6e192d10923041b196a8ce54a471c99b04c99bdc..0000000000000000000000000000000000000000
GIT binary patch
test-scripts/S08-fake-weston-calibrate deleted +0 -6
deleted file mode 100755
index cc7944a..0000000
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-WS_CALUDEV_FILE=/etc/udev/rules.d/ws-calibrate.rules
-
-echo "Creating a fake calibration rule file in $WS_CALUDEV_FILE"
-touch $WS_CALUDEV_FILE
test-scripts/S90-fake-pointercal deleted +0 -12
deleted file mode 100755
index 1fddf85..0000000
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# Check if mmcblk0p1 is mounted.  If so create a pointercal file there
-if [ -d /media/mmcblk0p1 ]
-then
-  echo "Creating a fake pointercal file in /media/mmcblk0p1"
-  touch /media/mmcblk0p1/pointercal
-else
-  echo "Did not find an SD card mounted.  Current mounts are:"
-  mount
-  touch /etc/pointercal
-fi
test-scripts/boottest.sh deleted +0 -3
deleted file mode 100755
index 0f48971..0000000
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-echo "System Booted"
test-scripts/check-dhrystone-perf.sh deleted +0 -25
deleted file mode 100755
index afd52f3..0000000
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-dmips_range="0.2"
-
-case $arch in
-  armv7a )
-    dmips="1.9"
-    ;;
-  armv5te )
-    dmips="0.9"
-    ;;
-esac
-
-val=`runDhrystone | grep DMIPS/MHz | sed 's/.*= *//'`
-max=`echo "$dmips $dmips_range" | awk '{print $1 + $2}'`
-min=`echo "$dmips $dmips_range" | awk '{print $1 - $2}'`
-
-ret=`echo "$val $min $max" | awk '{if (($1 > $2) && ($1 < $3)) print "true"; else print "false"}'`
-
-if [ "$ret" == "false" ]
-then
-  exit 1
-fi
-
-exit 0
test-scripts/check-kernel-version.sh deleted +0 -12
deleted file mode 100755
index 163ed0d..0000000
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-ver="$1"
-
-run_ver=`uname -r`
-
-if [ "$ver" != "$run_ver" ]
-then
-  exit 1
-fi
-
-exit 0
test-scripts/check-launch.sh deleted +0 -121

121 lines not on this page · raw message

test-scripts/check-linpack-perf.sh deleted +0 -31
deleted file mode 100755
index 77e011a..0000000
@@ -1,31 +0,0 @@
-#!/bin/bash
-
-case $machine in
-  am3517-evm )
-    lpack="20927"
-    lpack_range="2000"
-    ;;
-  am37x-evm|beagleboard )
-    lpack="35157"
-    lpack_range="3500"
-    ;;
-  am180x-evm )
-    lpack="4870"
-    lpack_range="400"
-    ;;
-  * )
-    exit 1;;
-esac
-
-val=`runLinpack 2>&1 | grep Kflops | sed 's/.*Precision *//' | sed 's/ *Kflops.*//'`
-max=`echo "$lpack $lpack_range" | awk '{print $1 + $2}'`
-min=`echo "$lpack $lpack_range" | awk '{print $1 - $2}'`
-
-ret=`echo "$val $min $max" | awk '{if (($1 > $2) && ($1 < $3)) print "true"; else print "false"}'`
-
-if [ "$ret" == "false" ]
-then
-  exit 1
-fi
-
-exit 0
test-scripts/check-matrix-gui.sh deleted +0 -12
deleted file mode 100755
index 2ecbba3..0000000
@@ -1,12 +0,0 @@
-#!/bin/bash
-# Verify that the matrix_browser application is running
-
-# use the grep -v grep to filter out the grep command itself
-ps | grep matrix_browser | grep -v grep
-
-if [ "$?" != "0" ]
-then
-  exit 1
-fi
-
-exit 0
test-scripts/check-psp-version.sh deleted +0 -12
deleted file mode 100755
index 53c0dc1..0000000
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-ver="$1"
-
-run_ver=`ls /boot/u-boot-$machine* | sed 's/.*psp//' | sed 's/-.*//' | sed 's/\.sdk//'`
-
-if [ "$ver" != "$run_ver" ]
-then
-  exit 1
-fi
-
-exit 0
test-scripts/check-whetstone-perf.sh deleted +0 -30
deleted file mode 100755
index d49d175..0000000
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-whet_range="2"
-
-case $machine in
-  am3517-evm )
-    whet="111.1"
-    ;;
-  am37x-evm|beagleboard )
-    whet="200"
-    ;;
-  am180x-evm )
-    whet="20"
-    ;;
-  * )
-    exit 1;;
-esac
-
-val=`runWhetstone | grep MIPS | sed 's/.*Whetstones: *//' | sed 's/ *MIPS.*//'`
-max=`echo "$whet $whet_range" | awk '{print $1 + $2}'`
-min=`echo "$whet $whet_range" | awk '{print $1 - $2}'`
-
-ret=`echo "$val $min $max" | awk '{if (($1 > $2) && ($1 < $3)) print "true"; else print "false"}'`
-
-if [ "$ret" == "false" ]
-then
-  exit 1
-fi
-
-exit 0
test-scripts/check_app.sh deleted +0 -94

94 lines not on this page · raw message

test-scripts/common.sh deleted +0 -88

88 lines not on this page · raw message

test-scripts/nightly-test.sh deleted +0 -93

93 lines not on this page · raw message

test-scripts/opentest.sh deleted +0 -3
deleted file mode 100755
index 3c31182..0000000
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-__BASEDIR__/nightly-test.sh
test-scripts/st_log.sh deleted +0 -120

120 lines not on this page · raw message

test-scripts/test-files/mandatory-common.txt deleted +0 -1
deleted file mode 100644
index cb0262e..0000000
@@ -1 +0,0 @@
-boottest.sh
test-scripts/test-files/mandatory-oesdk-am180x-evm.txt deleted +0 -1
deleted file mode 100644
index 158ca63..0000000
@@ -1 +0,0 @@
-check-matrix-gui.sh
test-scripts/test-files/mandatory-oesdk-am3517-evm.txt deleted +0 -1
deleted file mode 100644
index 158ca63..0000000
@@ -1 +0,0 @@
-check-matrix-gui.sh
test-scripts/test-files/mandatory-oesdk-am37x-evm.txt deleted +0 -1
deleted file mode 100644
index 158ca63..0000000
@@ -1 +0,0 @@
-check-matrix-gui.sh
test-scripts/test-files/mandatory-oesdk-armv7a.txt deleted +0 -1
deleted file mode 100644
index 51832d3..0000000
@@ -1 +0,0 @@
-#check_app.sh -a /usr/bin/qtopia/examples/animation/moveblocks/moveblocks -x
test-scripts/test-files/mandatory-oesdk-beagleboard.txt deleted +0 -1
deleted file mode 100644
index 158ca63..0000000
@@ -1 +0,0 @@
-check-matrix-gui.sh
test-scripts/test-files/mandatory-oesdk.txt deleted +0 -7
deleted file mode 100644
index ac85a72..0000000
@@ -1,7 +0,0 @@
-check_app.sh -a runDhrystone
-check_app.sh -a runLinpack
-check_app.sh -a runWhetstone
-#check_app.sh -a /usr/bin/qtopia/examples/widgets/calculator/calculator -x
-#check_app.sh -a /usr/bin/qtopia/demos/deform/deform -x
-#check_app.sh -a /usr/bin/qtopia/examples/animation/animatedtiles/animatedtiles -x
-#check_app.sh -a /usr/bin/qtopia/examples/graphicsview/elasticnodes/elasticnodes -x
test-scripts/test-files/optional-oesdk-am180x-evm.txt deleted +0 -2
deleted file mode 100644
index 165606d..0000000
@@ -1,2 +0,0 @@
-check-kernel-version.sh 2.6.37
-check-psp-version.sh 03.21.00.04
test-scripts/test-files/optional-oesdk-am3517-evm.txt deleted +0 -2
deleted file mode 100644
index 4c7a0d4..0000000
@@ -1,2 +0,0 @@
-check-kernel-version.sh 2.6.37
-check-psp-version.sh 04.02.00.07
test-scripts/test-files/optional-oesdk-am37x-evm.txt deleted +0 -2
deleted file mode 100644
index 4c7a0d4..0000000
@@ -1,2 +0,0 @@
-check-kernel-version.sh 2.6.37
-check-psp-version.sh 04.02.00.07
test-scripts/test-files/optional-oesdk-armv7a.txt deleted +0 -4
deleted file mode 100644
index fb3b3bf..0000000
@@ -1,4 +0,0 @@
-check_app.sh -a "runOGLESVase.sh -qaf=1000"
-check_app.sh -a "runOGLES2Coverflow.sh -qaf=1000"
-check_app.sh -a "runOGLES2Shaders.sh -qaf=1000"
-check_app.sh -a "runOGLES2ChameleonMan.sh -qaf=1000"
test-scripts/test-files/optional-oesdk-beagleboard.txt deleted +0 -1
deleted file mode 100644
index 05c0695..0000000
@@ -1 +0,0 @@
-check-kernel-version.sh 2.6.39
test-scripts/test-files/optional-oesdk-dra7xx-evm.txt deleted +0 -1
deleted file mode 100644
index 158ca63..0000000
@@ -1 +0,0 @@
-check-matrix-gui.sh
test-scripts/test-files/optional-oesdk-omap5-evm.txt deleted +0 -1
deleted file mode 100644
index 158ca63..0000000
@@ -1 +0,0 @@
-check-matrix-gui.sh
test-scripts/test-files/optional-oesdk.txt deleted +0 -11
deleted file mode 100644
index 0a83001..0000000
@@ -1,11 +0,0 @@
-check-dhrystone-perf.sh
-check-linpack-perf.sh
-check-whetstone-perf.sh
-check-launch.sh -a browser.sh -k browser.sh
-#check_app.sh -a openssl_aes256_encdec.sh 
-#check_app.sh -a openssl_perf.sh
-check_app.sh -a openssl_gen_cert.sh
-check_app.sh -a openssl_display_cert.sh -x
-check_app.sh -a openssl_gen_pubkey.sh
-check_app.sh -a openssl_gen_sha1hash.sh
-check_app.sh -a openssl_start_server.sh
Signature · 1 line
2.7.4
#10 lore raw

PATCH 4/10 Remove very old build config files

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 configs/amsdk/amsdk-config-05.06.00.00.txt         | 288 -----------------
 configs/amsdk/amsdk-config-05.07.00.00.txt         | 303 ------------------
 configs/amsdk/amsdk-config-06.00.00.00.txt         | 314 ------------------
 configs/amsdk/amsdk-config-07.00.00.00.txt         | 314 ------------------
 configs/amsdk/amsdk-config-07.01.00.00.txt         | 314 ------------------
 configs/amsdk/amsdk-config-08.00.00.00.txt         | 318 -------------------
 configs/arago-core-tisdk-daisy-puget.txt           | 333 --------------------
 configs/arago-core-tisdk-danny-puget.txt           | 315 -------------------
 configs/arago-core-tisdk-dora-puget.txt            | 315 -------------------
 configs/arago-core-tisdk-dylan-puget.txt           | 315 -------------------
 configs/arago-core-tisdk-fido-puget.txt            | 337 --------------------
 configs/arago-core-tisdk-krogoth-farm.txt          | 340 --------------------
 configs/arago-core-tisdk-krogoth-puget.txt         | 340 --------------------
 configs/arago-core-tisdk-master-puget.txt          | 337 --------------------
 configs/coresdk/arago-core-amsdk-2013.04.01.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.04.00.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.04.01.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.04.02.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.10.00.txt    | 314 ------------------
 configs/coresdk/arago-core-tisdk-2013.12.00.txt    | 314 ------------------
 configs/coresdk/arago-core-tisdk-2013.12.01.txt    | 314 ------------------
 configs/coresdk/arago-core-tisdk-2014.08.00.txt    | 318 -------------------
 configs/coresdk/arago-core-tisdk-2014.10.01.txt    | 318 -------------------
 configs/coresdk/arago-core-tisdk-2014.10.02.txt    | 321 -------------------
 configs/coresdk/arago-core-tisdk-2015.01-puget.txt | 333 --------------------
 configs/coresdk/arago-core-tisdk-2015.02-puget.txt | 333 --------------------
 configs/coresdk/arago-core-tisdk-2015.03-puget.txt | 337 --------------------
 configs/distroless-meta-ti-puget.txt               | 308 ------------------
 configs/farm/arago-krogoth.txt                     | 344 --------------------
 configs/farm/arago-morty-next-rel.txt              | 344 --------------------
 configs/farm/arago-morty-next.txt                  | 344 --------------------
 configs/farm/arago-morty.txt                       | 344 --------------------
 configs/farm/arago-rocko-next.txt                  | 346 --------------------
 configs/farm/arago-rocko.txt                       | 346 --------------------
 configs/farm/arago-thud-next.txt                   | 349 ---------------------
 configs/farm/arago-thud.txt                        | 349 ---------------------
 configs/farm/arago-zeus-next.txt                   | 346 --------------------
 configs/farm/arago-zeus.txt                        | 346 --------------------
 configs/farm/distroless-morty.txt                  | 196 ------------
 configs/farm/distroless-rocko.txt                  | 196 ------------
 configs/farm/distroless-thud.txt                   | 198 ------------
 configs/farm/distroless-zeus.txt                   | 198 ------------
 configs/farm/poky-morty.txt                        | 196 ------------
 configs/farm/poky-rocko.txt                        | 196 ------------
 configs/farm/poky-thud.txt                         | 198 ------------
 configs/farm/poky-zeus.txt                         | 198 ------------
 configs/target-debconf-selections.txt              | 212 -------------
 47 files changed, 14231 deletions(-)
 delete mode 100644 configs/amsdk/amsdk-config-05.06.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-05.07.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-06.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.01.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-08.00.00.00.txt
 delete mode 100644 configs/arago-core-tisdk-daisy-puget.txt
 delete mode 100644 configs/arago-core-tisdk-danny-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dora-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dylan-puget.txt
 delete mode 100644 configs/arago-core-tisdk-fido-puget.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-farm.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-puget.txt
 delete mode 100644 configs/arago-core-tisdk-master-puget.txt
 delete mode 100644 configs/coresdk/arago-core-amsdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.10.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.08.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.01-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.02-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.03-puget.txt
 delete mode 100644 configs/distroless-meta-ti-puget.txt
 delete mode 100644 configs/farm/arago-krogoth.txt
 delete mode 100644 configs/farm/arago-morty-next-rel.txt
 delete mode 100644 configs/farm/arago-morty-next.txt
 delete mode 100644 configs/farm/arago-morty.txt
 delete mode 100644 configs/farm/arago-rocko-next.txt
 delete mode 100644 configs/farm/arago-rocko.txt
 delete mode 100644 configs/farm/arago-thud-next.txt
 delete mode 100644 configs/farm/arago-thud.txt
 delete mode 100644 configs/farm/arago-zeus-next.txt
 delete mode 100644 configs/farm/arago-zeus.txt
 delete mode 100644 configs/farm/distroless-morty.txt
 delete mode 100644 configs/farm/distroless-rocko.txt
 delete mode 100644 configs/farm/distroless-thud.txt
 delete mode 100644 configs/farm/distroless-zeus.txt
 delete mode 100644 configs/farm/poky-morty.txt
 delete mode 100644 configs/farm/poky-rocko.txt
 delete mode 100644 configs/farm/poky-thud.txt
 delete mode 100644 configs/farm/poky-zeus.txt
 delete mode 100644 configs/target-debconf-selections.txt
configs/amsdk/amsdk-config-05.06.00.00.txt deleted +0 -288
deleted file mode 100644
index 7c6016b..0000000
@@ -1,288 +0,0 @@
-################################################################################
-#                           AMSDK configuration file                           #
-################################################################################
-
-# This variable contains the list of variables found in this congif file
-# that MUST be set to a value.  Failure to set these variables could
-# lead to corruption of the host system or the build script not
-# executing properly
-MANDATORY_INPUTS="MACHINES NUM_ARM9_BUILDS NUM_CORTEX_BUILDS BUILD_ID SCRIPTS_ROOT BUILD_ROOT TEST_ROOT PACKAGE_ROOT DEPLOY_ROOT FS_FILTER SDK_FILTER FS_IMAGE_TYPE SDK_IMAGE_TYPE NFS_ROOT CONFIG_FILE LOG_DIR TISDK_VERSION INSTALLER_PREFIX"
-
-# This variable holds the SDK version you are building.  This will be picked
-# up in the installer name if you choose to package an installer.  You can
-# also use this in the CONFIG_FILE name below.
-TISDK_VERSION="05.06.00.00"
-
-# This variable contains the list of machines to build an SDK for
-MACHINES="am335x-evm"
-
-# These variables indicate the maximum number of parallel builds that can be
-# done for each architecture.  Some things to note are:
-#   1. You should add these values together to get the maximum number of
-#      parallel builds.  If this is too many for your system then reduce the
-#      numbers.
-#   2. The machines will be built spread over the parallel builds and load
-#      balancing is handled automatically
-#   3. If there are no machines of a particular architectur then nothing will
-#      be built for that architecture
-#   4. In the case of just a couple of machines it may be faster to do only
-#      one build building both serially rather than two parallel builds
-#      depending on your system resources
-NUM_ARM9_BUILDS="1"
-NUM_CORTEX_BUILDS="2"
-
-# These variables contain the location of the bin directory where the toolchain
-# for each architecture is installed.
-TOOLCHAIN_ROOT_ARM9=""
-TOOLCHAIN_ROOT_CORTEX=""
-
-# This variable holds the unique ID for the build that will be used to
-# identify the build.
-BUILD_ID="`date +build-%F_%H-%M-%S`"
-
-# This variable contains the script directory where these scripts are running
-# from.  This is to allow finding other files used during the build later.
-# You should likely not change this
-SCRIPTS_ROOT="$PWD"
-
-# This variable points to be base of your build where the sources will be
-# checked out and the tmp build diretories for each architecture will be
-# created using the oe-layertool-setup.sh script from the repo at:
-#   git clone git://arago-project.org/git/projects/oe-layersetup.git
-# This will be created using the 
-#   - These directories will look like:
-#       - BUILD_ROOT/sources
-#       - BUILD_ROOT/arm9-1/arago-tmp
-#       - BUILD_ROOT/cortex-1/arago-tmp
-#       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="$SCRIPTS_ROOT/amsdk-build"
-
-# This variable points to the base location where files will be extracted for
-# testing purposes.  This should not be confused with the NFS root which
-# will be configured below.
-# This variable should always be declared AFTER the BUILD_ROOT variable.
-# The build scripts will create subdirectories such as:
-#   - TEST_ROOT/am335x-evm-test
-# You can usually just take the default value
-TEST_ROOT="$BUILD_ROOT/testing"
-
-# This variable points to the directory where files will be placed to allow
-# for final packaging.
-# This variable should always be declared AFTER the BUILD_ROOT variable
-# You can usually just take the default value
-PACKAGE_ROOT="$BUILD_ROOT/packaging"
-
-# This variable points to the base location where the SDK files will
-# be deployed.  This is essentially the final staging directory
-DEPLOY_ROOT="$BUILD_ROOT/deploy/$TISDK_VERSION"
-
-# This variable contains the "filter" string to look for inside of the
-# SDK to select which file system to test.  Currently only testing of
-# one file system is supported.
-FS_FILTER="tisdk-rootfs-"
-
-# This variable indicates the type of FS images being generated.  By default
-# this is tar.gz images.  This should match what you set in your recipes
-FS_IMAGE_TYPE="tar.gz"
-
-# This variable contains the "filter" string to look for inside of the
-# OE build directory to find the SDK image.  Since the image name can
-# vary based on the recipe settings this string will account for that.
-SDK_FILTER="arago-amsdk-image-"
-
-# This variable indicates the type of SDK images being generated.  By default
-# this is tar.gz images.  This should match what you set in your recipes
-SDK_IMAGE_TYPE="tar.gz"
-
-# This variable points to an NFS share which has been pre-configured.  The
-# target testing will be done by creating a subdirectory in this NFS_ROOT
-# for each machine to boot the target board.
-# This directory should be configured to allow writing by the jenkins user
-# at a minimum, although allowing writing by anyone is simple.
-NFS_ROOT="/home/jenkins/nfs-root"
-
-# This variable points to the location where the sources will be checked out
-# using the oe-layertool-setup.sh script from the following repository:
-#   git clone git://arago-project.org/git/projects/oe-layersetup.git
-#SOURCE_DIR="${BUILD_ROOT}/sources"
-
-# This variable indicates whether we should do a clean build which means
-# Removing the build directories
-CLEAN_BUILD="false"
-
-# This variable means that we should clean not only build build directories,
-# but also the sources as well and do a fully clean build.
-CLEAN_ALL="false"
-
-# This is the configuration file to use in the oe-layertool-setup.sh script
-# to configure the build.
-CONFIG_FILE="${BUILD_ROOT}/configs/amsdk/amsdk-05.06.00.00-config.txt"
-
-# This directory will contain the log files for the various parts of the build.
-# This includes:
-#   1. Overall build process log (i.e. which machines are in which build dir)
-#   2. Build logs for individual machines
-#   3. Test logs for individual machines
-#   4. Packaging logs for individual machines
-LOG_DIR="${BUILD_ROOT}/log-files"
-
-# Setting this variable to "true" will enable logging stdout and stderr of the 
-# bitbake command to the appropriate machine's build_log.txt.
-#BUILD_LOG_VERBOSE="true"
-
-# This is the directory where you want to configure your build to download
-# files to.  This is best done as a shared directory among the builds to
-# save download time and space.
-DL_DIR="/home/downloads"
-
-# Setting this variable will configure the builds to attempt to use a mirror to 
-# obtain the build sources.
-#SOURCE_MIRROR_URL="http://some.web.server/arago-sources/"
-
-# Seeting this variable to "1" configures the build to generate mirror tarballs
-# of the source repos.
-BB_GENERATE_MIRROR_TARBALLS="0"
-
-# This variable points to an optional location where additional installer
-# content can be placed to be packaged inside of any image recipe that
-# inherits the tisdk-image class.  It is expected that the directory
-# structure should match the structure as you want it placed in the SDK.
-# If you are not building an SDK image with external components then this
-# is not required.
-INSTALLER_EXTRAS_ROOT="/home/jenkins/extra-files/installer_content"
-
-# This variable points to the directory with the test scripts you want to
-# run.  The entire directory will be copied to make removing the test scripts
-# easier during cleanup.
-# NOTE: The assumption is that this directory contains at least the
-#       following files:
-#           - opentest.sh // This is called by opentest framework
-#           - S90-fake-pointercal // This fakes pointer calibration
-#           - nightly-test.sh // This is called by opentest.sh and does
-#                                machine specific testing
-# NOTE: Since the scripts will be copied to TEST_SCRIPTS_TGT
-#       the opentest.sh script should call the scripts in the new directory.
-TEST_SCRIPTS="$SCRIPTS_ROOT/test-scripts"
-
-# This variable points to the directory within the target filesystem that
-# the scripts directory in TEST_SCRIPTS will be copied as.
-TEST_SCRIPTS_TGT="home/root/test-scripts"
-
-# This variable contains the tarball name for the opentest CLI which is
-# required to do target side testing.
-OPENTEST_CLI="$SCRIPTS_ROOT/opentest_cli_0.7.tar.gz"
-
-# This variable will allow control over whether to perform build testing or
-# skip it.  This should usually be set to true but may be changed for
-# prototyping.
-RUN_BUILD_TESTS="true"
-
-# This variable points to the STAF installation location which is used
-# during the build test steps to call into the OpenTest Framework.  This
-# default value is the default value from the STAF installer
-STAF_ROOT="/usr/local/staf"
-
-# This variable indicates whether to continue the build process for a machine
-# even when the build testing fails.  This can be useful in the case of
-# the test system being down to allow the full packaging of the SDK to
-# continue.
-SKIP_TEST_FAILURES="false"
-
-# This variable indicates whether to productize the build by packaging
-# it into an installer and web content.  This will require that
-# InstallBuilder be installed on your host system and that you have
-# and project file created to package it.  If not then you can use
-# the simple SDK tarball that was created during the build as your
-# SDK.
-PRODUCTIZE_SDK="true"
-
-# This variable contains the command(s) that bitbake should run. Each command
-# should be seperated by a semicolon.
-BITBAKE_COMMAND="arago-amsdk-image"
-
-################################################################################
-# The following variables only need to be set if PRODUCTIZE_SDK is true.
-# If not you do not need to set these variables.  If you do want to
-# publish an SDK you will need access to other tools such as webgen that
-# are not available outside of TI.
-################################################################################
-
-# This points to the location where the InstallBuilder application has
-# been extracted.
-INSTALL_BUILDER="/home/jenkins/installbuilder"
-
-# This variable points to the root diretory where the installer content will be
-# staged to build the installer.
-INSTALLER_ROOT="$BUILD_ROOT/installer"
-
-# This variable will point to the InstallBuilder file used to build the SDK
-# installer
-INSTALL_BUILDER_PROJECT="$SCRIPTS_ROOT/installer-files/tisdk.xml"
-
-# This variable will provide the prefix for the installer filename and default 
-# installation directory.
-# NOTE: This prefix should match the installer filename given in the webgen.mak
-#  
-# Installer name will have the form: 
-#   - ${INSTALLER_PREFIX}-${MACHINE}-${TISDK_VERSION}-Linux-x86-Install.bin
-# Installation directory will have the form:
-#   - ${INSTALLER_PREFIX}-${MACHINE}-${TISDK_VERSION}
-INSTALLER_PREFIX="ti-sdk"
-
-# This variable points to a directory where additional SD card content
-# is located.  In general this directory should have a structure like
-#   - <machine>/boot - holds extra boot partition content
-#   - <machine>/start_here - holds the extra start_here partition content
-# Many times you will want to use symlinks here to save space, so the
-# build scripts will use the -L option to copy the linked file instead of
-# the symlink.
-SD_CARD_CONTENT="/home/jenkins/extra-files/sd_content"
-
-# This variable determines whether the uImage and dtb files should be placed in
-# the boot partition tarball or not.  For newer kernel and u-boot combinations
-# the uImage and dtb files are kept in the rootfs partition and placing it in
-# the boot partition will cause confusion.
-PACKAGE_BOOT_KERNEL_FILES="true"
-
-# This variable points to the directory where the webgen tool has been
-# Installed.
-WEBGEN_ROOT="/home/jenkins/webgen"
-
-# This variable points to the location where additional webgen/webpage files
-# are located.  Many times you will want to use symlinks here to save space
-# so the build scripts will use the -L option to copy the linked file instead
-# of the symlink.
-WEB_EXTRAS_ROOT="/home/jenkins/extra-files/web_content"
-
-# This variable points to the root location where the publish SDK data is
-# stored.  This data is the webgen.mak files required to build the SDK
-# ti.com style web pages.
-# The general assumption is that the directory structure looks like:
-#   - WEBGEN_MAK_ROOT/<machine>/webgen.mak
-WEBGEN_MAK_ROOT="$SCRIPTS_ROOT/publish-sdk-data/amsdk/$TISDK_VERSION"
-
-# This variable enables the source downloads in "DL_DIR" to be tar'd and copied
-# to the webgen exports directory. Setting this variable to "1" will override
-# the "BB_GENERATE_MIRROR_TARBALLS" configuration with a value of "1".
-EXPORT_ARAGO_SRC="0"
-
-# This variable specifies whether or not to copy the build contents to
-# a remote web hosting server.
-COPY_TO_WEB="true"
-
-# This variable points to the user@webhost:<basepath> location where the
-# deploy contents should be placed.  This is best done if you have done a
-# key exchange between these systems so that your SCP command will not ask
-# for a password.
-WEB_HOST="[email protected]:/var/www/sdk"
-
-# This variable determines whether the DEPLOY_ROOT will be cleaned after
-# the remote copy.  The reason for this is that if the files already exist
-# on the remote system there is no need to keep them on the local system.
-CLEAN_AFTER_COPY="true"
-
-# This variable determines if the results directory should be copied before
-# the deploy directory is cleaned.  If this value is set then the results
-# will be copied to the given directory.  If not then they will not be
-# copied and will be cleaned if CLEAN_AFTER_COPY is true.
-BACKUP_RESULTS=""
configs/amsdk/amsdk-config-05.07.00.00.txt deleted +0 -303

303 lines not on this page · raw message

configs/amsdk/amsdk-config-06.00.00.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/amsdk/amsdk-config-07.00.00.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/amsdk/amsdk-config-07.01.00.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/amsdk/amsdk-config-08.00.00.00.txt deleted +0 -318

318 lines not on this page · raw message

configs/arago-core-tisdk-daisy-puget.txt deleted +0 -333

333 lines not on this page · raw message

configs/arago-core-tisdk-danny-puget.txt deleted +0 -315

315 lines not on this page · raw message

configs/arago-core-tisdk-dora-puget.txt deleted +0 -315

315 lines not on this page · raw message

configs/arago-core-tisdk-dylan-puget.txt deleted +0 -315

186 lines not on this page · raw message

configs/arago-core-tisdk-fido-puget.txt deleted +0 -337

337 lines not on this page · raw message

configs/arago-core-tisdk-krogoth-farm.txt deleted +0 -340

340 lines not on this page · raw message

configs/arago-core-tisdk-krogoth-puget.txt deleted +0 -340

340 lines not on this page · raw message

configs/arago-core-tisdk-master-puget.txt deleted +0 -337

337 lines not on this page · raw message

configs/coresdk/arago-core-amsdk-2013.04.01.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.04.00.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.04.01.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.04.02.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.10.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.12.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.12.01.txt deleted +0 -314

314 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2014.08.00.txt deleted +0 -318

318 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2014.10.01.txt deleted +0 -318

318 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2014.10.02.txt deleted +0 -321

321 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2015.01-puget.txt deleted +0 -333

333 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2015.02-puget.txt deleted +0 -333

333 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2015.03-puget.txt deleted +0 -337

337 lines not on this page · raw message

configs/distroless-meta-ti-puget.txt deleted +0 -308

308 lines not on this page · raw message

configs/farm/arago-krogoth.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-morty-next-rel.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-morty-next.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-morty.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-rocko-next.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/arago-rocko.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/arago-thud-next.txt deleted +0 -349

349 lines not on this page · raw message

configs/farm/arago-thud.txt deleted +0 -349

349 lines not on this page · raw message

configs/farm/arago-zeus-next.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/arago-zeus.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/distroless-morty.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/distroless-rocko.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/distroless-thud.txt deleted +0 -198

198 lines not on this page · raw message

configs/farm/distroless-zeus.txt deleted +0 -198

198 lines not on this page · raw message

configs/farm/poky-morty.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/poky-rocko.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/poky-thud.txt deleted +0 -198

198 lines not on this page · raw message

configs/farm/poky-zeus.txt deleted +0 -198

198 lines not on this page · raw message

configs/target-debconf-selections.txt deleted +0 -73

73 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

e, Kentucky/Monticello, Kralendijk, La_Paz, Lima, Los_Angeles, Lower_Princes, Maceio, Managua, Manaus, Marigot, Martinique, Matamoros, Mazatlan, Menominee, Merida, Metlakatla, Mexico_City, Miquelon, Moncton, Monterrey, Montevideo, Montreal, Montserrat, Nassau, New_York, Nipigon, Nome, Noronha, North_Dakota/Beulah, North_Dakota/Center, North_Dakota/New_Salem, Ojinaga, Panama, Pangnirtung, Paramaribo, Phoenix, Port-au-Prince, Port_of_Spain, Porto_Acre, Porto_Velho, Puerto_Rico, Rainy_River, Rankin_Inlet, Recife, Regina, Resolute, Rio_Branco, Santa_Isabel, Santarem, Santiago, Santo_Domingo, Sao_Paulo, Scoresbysund, Shiprock, Sitka, St_Barthelemy, St_Johns, St_Kitts, St_Lucia, St_Thomas, St_Vincent, Swift_Current, Tegucigalpa, Thule, Thunder_Bay, Tijuana, Toronto, Tortola, Vancouver, Virgin, Whitehorse, Winnipeg, Yakutat, Yellowknife
-tzdata tzdata/Zones/America select
-# Remove inetd entries?
-update-inetd update-inetd/ask-remove-entries boolean false
-# for internal use
-keyboard-configuration keyboard-configuration/variantcode string
-# Font for the console:
-# Choices: Fixed, Terminus, TerminusBold, TerminusBoldVGA, VGA, Do not change the boot/kernel font
-console-setup console-setup/fontface47 select VGA
-# Problems rebuilding an hash file ()
-dictionaries-common dictionaries-common/ispell-autobuildhash-message note
-# Keep the current keyboard layout in the configuration file?
-keyboard-configuration keyboard-configuration/unsupported_config_layout boolean true
-# Default values for ispell dictionary/wordlist are not set here
-dictionaries-common dictionaries-common/selecting_ispell_wordlist_default note
-# Method for toggling between national and Latin mode:
-# Choices: Caps Lock, Right Alt (AltGr), Right Control, Right Shift, Right Logo key, Menu key, Alt+Shift, Control+Shift, Control+Alt, Alt+Caps Lock, Left Control+Left Shift, Left Alt, Left Control, Left Shift, Left Logo key, Scroll Lock key, No toggling
-keyboard-configuration keyboard-configuration/toggle select No toggling
-# Font size:
-# Choices:
-console-setup console-setup/fontsize-text47 select 16
-# Display manager must be restarted manually
-libpam0g:armhf libpam0g/xdm-needs-restart error
-# Keyboard model:
-# Choices: A4Tech KB-21, A4Tech KBS-8, A4Tech Wireless Desktop RFKB-23, Acer AirKey V, Acer C300, Acer Ferrari 4000, Acer Laptop, Advance Scorpius KI, Amiga, Apple, Apple Aluminium Keyboard (ANSI), Apple Aluminium Keyboard (ISO), Apple Aluminium Keyboard (JIS), Apple Laptop, Asus Laptop, Atari TT, Azona RF2300 wireless Internet Keyboard, BTC 5090, BTC 5113RF Multimedia, BTC 5126T, BTC 6301URF, BTC 9000, BTC 9000A, BTC 9001AH, BTC 9019U, BTC 9116U Mini Wireless Internet and Gaming, BenQ X-Touch, BenQ X-Touch 730, BenQ X-Touch 800, Brother Internet Keyboard, Cherry B.UNLIMITED, Cherry Blue Line CyBo@rd, Cherry Blue Line CyBo@rd (alternate option), Cherry CyBo@rd USB-Hub, Cherry CyMotion Expert, Cherry CyMotion Master Linux, Cherry CyMotion Master XPress, Chicony Internet Keyboard, Chicony KB-9885, Chicony KU-0108, Chicony KU-0420, Classmate PC, Compaq Easy Access Keyboard, Compaq Internet Keyboard (13 keys), Compaq Internet Keyboard (18 keys), Compaq Internet Keyboard (7 keys)
, Compaq iPaq Keyboard, Creative Desktop Wireless 7000, DTK2000, Dell, Dell 101-key PC, Dell Laptop/notebook Inspiron 6xxx/8xxx, Dell Laptop/notebook Precision M series, Dell Latitude series laptop, Dell Precision M65, Dell SK-8125, Dell SK-8135, Dell USB Multimedia Keyboard, Dexxa Wireless Desktop Keyboard, Diamond 9801 / 9802 series, Do not configure keyboard; keep kernel keymap, Ennyah DKB-1008, Everex STEPnote, FL90, Fujitsu-Siemens Computers AMILO laptop, Generic 101-key PC, Generic 102-key (Intl) PC, Generic 104-key PC, Generic 105-key (Intl) PC, Genius Comfy KB-12e, Genius Comfy KB-16M / Genius MM Keyboard KWD-910, Genius Comfy KB-21e-Scroll, Genius KB-19e NB, Genius KKB-2050HS, Gyration, HTC Dream, Happy Hacking Keyboard, Happy Hacking Keyboard for Mac, Hewlett-Packard Internet Keyboard, Hewlett-Packard Mini 110 Notebook, Hewlett-Packard Omnibook 500 FA, Hewlett-Packard Omnibook 5xx, Hewlett-Packard Omnibook 6000/6100, Hewlett-Packard Omnibook XE3 GC, Hewlett-Packard
Omnibook XE3 GF, Hewlett-Packard Omnibook XT1000, Hewlett-Packard Pavilion ZT11xx, Hewlett-Packard Pavilion dv5, Hewlett-Packard SK-250x Multimedia Keyboard, Hewlett-Packard nx9020, Honeywell Euroboard, Htc Dream phone, IBM Rapid Access, IBM Rapid Access II, IBM Space Saver, IBM ThinkPad 560Z/600/600E/A22E, IBM ThinkPad R60/T60/R61/T61, IBM ThinkPad Z60m/Z60t/Z61m/Z61t, Intelligent Keyboard K04, Keytronic FlexPro, Kinesis, Laptop/notebook Compaq (eg. Armada) Laptop Keyboard, Laptop/notebook Compaq (eg. Presario) Internet Keyboard, Laptop/notebook eMachines m68xx, Logitech Access Keyboard, Logitech Cordless Desktop, Logitech Cordless Desktop (alternate option), Logitech Cordless Desktop EX110, Logitech Cordless Desktop LX-300, Logitech Cordless Desktop Navigator, Logitech Cordless Desktop Optical, Logitech Cordless Desktop Pro (alternate option 2), Logitech Cordless Desktop iTouch, Logitech Cordless Freedom/Desktop Navigator, Logitech G15 extra keys via G15daemon, Logitech G
eneric Keyboard, Logitech Internet 350 Keyboard, Logitech Internet Keyboard, Logitech Internet Navigator Keyboard, Logitech Media Elite Keyboard, Logitech Ultra-X Cordless Media Desktop Keyboard, Logitech Ultra-X Keyboard, Logitech diNovo Edge Keyboard, Logitech diNovo Keyboard, Logitech iTouch, Logitech iTouch Cordless Keyboard (model Y-RB6), Logitech iTouch Internet Navigator Keyboard SE, Logitech iTouch Internet Navigator Keyboard SE (USB), MacBook/MacBook Pro, MacBook/MacBook Pro (Intl), Macintosh, Macintosh Old, Memorex MX1998, Memorex MX2500 EZ-Access Keyboard, Memorex MX2750, Microsoft Comfort Curve Keyboard 2000, Microsoft Internet Keyboard, Microsoft Internet Keyboard Pro\, Swedish, Microsoft Natural, Microsoft Natural Keyboard Elite, Microsoft Natural Keyboard Pro / Microsoft Internet Keyboard Pro, Microsoft Natural Keyboard Pro OEM, Microsoft Natural Keyboard Pro USB / Microsoft Internet Keyboard Pro, Microsoft Natural Wireless Ergonomic Keyboard 4000, Microsoft N atural Wireless Ergonomic Keyboard 7000, Microsoft Office Keyboard, Microsoft Wireless Multimedia Keyboard 1.0A, Northgate OmniKey 101, OLPC, Ortek MCK-800 MM/Internet keyboard, PC-98xx Series, Propeller Voyager (KTEZ-1000), QTronix Scorpius 98N+, SILVERCREST Multimedia Wireless Keyboard, SK-1300, SK-2500, SK-6200, SK-7100, SVEN Ergonomic 2500, SVEN Slim 303, Samsung SDM 4500P, Samsung SDM 4510P, Sanwa Supply SKB-KG3, Sun Type 4, Sun Type 5, Sun Type 5/6, Super Power Multimedia Keyboard, Symplon PaceBook (tablet PC), Targa Visionary 811, Toshiba Satellite S3000, Trust Direct Access Keyboard, Trust Slimline, Trust Wireless Keyboard Classic, TypeMatrix EZ-Reach 2020, TypeMatrix EZ-Reach 2030 PS2, TypeMatrix EZ-Reach 2030 USB, TypeMatrix EZ-Reach 2030 USB (102/105:EU mode), TypeMatrix EZ-Reach 2030 USB (106:JP mode), Unitek KB-1925, ViewSonic KU-306 Internet Keyboard, Winbook Model XP5, Yahoo! Internet Keyboard
-keyboard-configuration keyboard-configuration/model select Generic 105-key (Intl) PC
-# Users allowed to start the X server:
-# Choices: Root Only, Console Users Only, Anybody
-x11-common x11-common/xwrapper/allowed_users select Console Users Only
-# Failure restarting some services for GNU libc upgrade
-libc6 glibc/restart-failed error
-libc6:armhf glibc/restart-failed error
-# Detect keyboard layout?
-keyboard-configuration console-setup/ask_detect boolean false
-# Compose key:
-# Choices: No compose key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Logo key, Caps Lock
-keyboard-configuration keyboard-configuration/compose select No compose key
-# Line by line differences between versions
-ucf ucf/show_diff note
-# Country of origin for the keyboard:
-# Choices: Afghani, Albanian, Amharic, Arabic, Arabic (Morocco), Arabic (Syria), Armenian, Azerbaijani, Bambara, Belarusian, Belgian, Bengali, Bosnian, Braille, Bulgarian, Burmese, Catalan, Chinese, Croatian, Czech, Danish, Dhivehi, Dutch, Dzongkha, English (Cameroon), English (Ghana), English (Nigeria), English (South Africa), English (UK), English (US), Esperanto, Estonian, Faroese, Filipino, Finnish, French, French (Canada), French (Democratic Republic of the Congo), French (Guinea), Georgian, German, German (Austria), German (Switzerland), Greek, Hebrew, Hungarian, Icelandic, Indian, Iraqi, Irish, Italian, Japanese, Japanese (PC-98xx Series), Kazakh, Khmer (Cambodia), Korean, Kyrgyz, Lao, Latvian, Lithuanian, Macedonian, Maltese, Maori, Mongolian, Montenegrin, Nepali, Norwegian, Persian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic), Sinhala (phonetic), Slovak, Slovenian, Spanish, Spanish (Latin American), Swahili (Kenya), Swahili (Tanzan
ia), Swedish, Taiwanese, Tajik, Thai, Tswana, Turkish, Turkmen, Ukrainian, Urdu (Pakistan), Uzbek, Vietnamese, Wolof
-keyboard-configuration keyboard-configuration/layout select English (US)
-# Time zone:
-# Choices: Longyearbyen
-tzdata tzdata/Zones/Arctic select
-# Use dash as the default system shell (/bin/sh)?
-dash dash/sh boolean true
-# Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?
-dictionaries-common dictionaries-common/move_old_usr_dict boolean true
-# Should NTFS-3G be installed "setuid root"?
-ntfs-3g ntfs-3g/setuid-root boolean false
-# Keymap to use:
-# Choices: American English, Belarusian, Belgian, Brazilian (ABNT2 layout), Brazilian (EUA layout), British English, Bulgarian, Bulgarian (phonetic layout), Canadian French, Canadian Multilingual, Croatian, Czech, Danish, Dutch, Dvorak, Estonian, Finnish, French, German, Greek, Hebrew, Hungarian, Icelandic, Italian, Japanese, Kirghiz, Latin American, Latvian, Lithuanian, Macedonian, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian (Cyrillic), Slovakian, Slovene, Spanish, Swedish, Swiss French, Swiss German, Thai, Turkish (F layout), Turkish (Q layout), Ukrainian
-keyboard-configuration keyboard-configuration/xkb-keymap select us
-# for internal use
-keyboard-configuration keyboard-configuration/layoutcode string us
-# Keyboard layout:
-# Choices: English (US), English (US) - Cherokee, English (US) - English (Colemak), English (US) - English (Dvorak alternative international no dead keys), English (US) - English (Dvorak international with dead keys), English (US) - English (Dvorak), English (US) - English (Macintosh), English (US) - English (US\, alternative international), English (US) - English (US\, international with dead keys), English (US) - English (US\, with euro on 5), English (US) - English (classic Dvorak), English (US) - English (international AltGr dead keys), English (US) - English (layout toggle on multiply/divide key), English (US) - English (left handed Dvorak), English (US) - English (programmer Dvorak), English (US) - English (right handed Dvorak), English (US) - Russian (US\, phonetic), English (US) - Serbo-Croatian (US)
-keyboard-configuration keyboard-configuration/variant select English (US)
-# Failure restarting some services for PAM upgrade
-libpam0g:armhf libpam0g/restart-failed error
-# Services to restart to make them use the new libraries:
-libssl1.0.0:armhf libssl1.0.0/restart-services string
-# Time zone:
-# Choices: Apia, Auckland, Chatham, Chuuk, Easter, Efate, Enderbury, Fakaofo, Fiji, Funafuti, Galapagos, Gambier, Guadalcanal, Guam, Honolulu, Johnston, Kiritimati, Kosrae, Kwajalein, Majuro, Marquesas, Midway, Nauru, Niue, Norfolk, Noumea, Pago_Pago, Palau, Pitcairn, Pohnpei, Ponape, Port_Moresby, Rarotonga, Saipan, Samoa, Tahiti, Tarawa, Tongatapu, Truk, Wake, Wallis, Yap
-tzdata tzdata/Zones/Pacific select
-# Geographic area:
-# Choices: Africa, America, Antarctica, Australia, Arctic, Asia, Atlantic, Europe, Indian, Pacific, SystemV, US, Etc
-tzdata tzdata/Areas select Etc
-# Method for temporarily toggling between national and Latin input:
-# Choices: No temporary switch, Both Logo keys, Right Alt (AltGr), Right Logo key, Left Alt, Left Logo key
-keyboard-configuration keyboard-configuration/switch select No temporary switch
-# Leave existing entry and continue without changes?
-update-inetd update-inetd/ask-entry-present boolean true
-# for internal use
-console-setup console-setup/store_defaults_in_debconf_db boolean true
-# System default ispell dictionary:
-# Choices: , Manual symlink setting
-dictionaries-common dictionaries-common/default-ispell select
-# Encoding to use on the console:
-# Choices: ARMSCII-8, CP1251, CP1255, CP1256, GEORGIAN-ACADEMY, GEORGIAN-PS, IBM1133, ISIRI-3342, ISO-8859-1, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, KOI8-R, KOI8-U, TIS-620, UTF-8, VISCII
-console-setup console-setup/charmap47 select UTF-8
-# Sound system to use:
-# Choices: ALSA, OSS, default
-linux-sound-base linux-sound-base/sound_system select ALSA
-# Disable inetd entries?
-update-inetd update-inetd/ask-disable-entries boolean false
-# Time zone:
-# Choices: Casey, Davis, DumontDUrville, Macquarie, Mawson, McMurdo, Palmer, Rothera, Syowa, Vostok
-tzdata tzdata/Zones/Antarctica select
-# Do you want to upgrade glibc now?
-libc6 glibc/upgrade boolean true
-libc6:armhf glibc/upgrade boolean true
-# Keep default keyboard options ()?
-keyboard-configuration keyboard-configuration/unsupported_options boolean true
-# Font size:
-# Choices: 8, 14, 16, 28x16, 32x16
-console-setup console-setup/fontsize-fb47 select 16
-# for internal use
-keyboard-configuration keyboard-configuration/store_defaults_in_debconf_db boolean true
-# Ignore questions with a priority less than:
-# Choices: critical, high, medium, low
-debconf debconf/priority select high
-# Detecting your keyboard layout
-keyboard-configuration console-setup/detect detect-keyboard
-# Keyboard layout detection complete
-keyboard-configuration console-setup/detected note
-# Time zone:
-# Choices: Azores, Bermuda, Canary, Cape Verde, Faroe, Jan Mayen, Madeira, Reykjavik, South Georgia, St. Helena, Stanley
-tzdata tzdata/Zones/Atlantic select
-# Remove obsolete /etc/dictionary link?
-dictionaries-common dictionaries-common/old_wordlist_link boolean true
-# Key to function as AltGr:
-# Choices: The default for the keyboard layout, No AltGr key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Alt, Left Logo key, Keypad Enter key, Both Logo keys, Both Alt keys
-keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout
-# Should NTFS-3G be included in initramfs?
-ntfs-3g ntfs-3g/initramfs boolean true
-# What do you want to do about modified configuration file ?
-# Choices: install the package maintainer's version, keep the local version currently installed, show the differences between the versions, show a side-by-side difference between the versions, show a 3-way difference between available versions, do a 3-way merge between available versions (experimental), start a new shell to examine the situation
-ucf ucf/changeprompt_threeway select keep_current
-# xscreensaver and xlockmore must be restarted before upgrading
-libpam-modules libpam-modules/disable-screensaver error
-# Remove obsolete /usr/dict symlink?
-dictionaries-common dictionaries-common/remove_old_usr_dict_link boolean false
-# for internal use
-keyboard-configuration keyboard-configuration/optionscode string
-# Incompatible PAM profiles selected.
-libpam-runtime libpam-runtime/conflicts error
-# Ignore multiple entries and continue without changes?
-update-inetd update-inetd/ask-several-entries boolean true
-# for internal use
-console-setup console-setup/fontsize string 16
-# Time zone:
-# Choices: Amsterdam, Andorra, Athens, Belfast, Belgrade, Berlin, Bratislava, Brussels, Bucharest, Budapest, Chisinau, Copenhagen, Dublin, Gibraltar, Guernsey, Helsinki, Isle of Man, Istanbul, Jersey, Kaliningrad, Kiev, Lisbon, Ljubljana, London, Luxembourg, Madrid, Malta, Mariehamn, Minsk, Monaco, Moscow, Nicosia, Oslo, Paris, Podgorica, Prague, Riga, Rome, Samara, San Marino, Sarajevo, Simferopol, Skopje, Sofia, Stockholm, Tallinn, Tirane, Tiraspol, Uzhgorod, Vaduz, Vatican, Vienna, Vilnius, Volgograd, Warsaw, Zagreb, Zaporozhye, Zurich
-tzdata tzdata/Zones/Europe select
-# No PAM profiles have been selected.
-libpam-runtime libpam-runtime/no_profiles_chosen error
-# Time zone:
-# Choices: Antananarivo, Chagos, Christmas, Cocos, Comoro, Kerguelen, Mahe, Maldives, Mauritius, Mayotte, Reunion
-tzdata tzdata/Zones/Indian select

Signature · 1 line
2.7.4

Part of the diff is not shown here. View the raw message.

#11 lore raw

PATCH 4/10 Remove very old build config files

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 configs/amsdk/amsdk-config-05.06.00.00.txt         | 288 -----------------
 configs/amsdk/amsdk-config-05.07.00.00.txt         | 303 ------------------
 configs/amsdk/amsdk-config-06.00.00.00.txt         | 314 ------------------
 configs/amsdk/amsdk-config-07.00.00.00.txt         | 314 ------------------
 configs/amsdk/amsdk-config-07.01.00.00.txt         | 314 ------------------
 configs/amsdk/amsdk-config-08.00.00.00.txt         | 318 -------------------
 configs/arago-core-tisdk-daisy-puget.txt           | 333 --------------------
 configs/arago-core-tisdk-danny-puget.txt           | 315 -------------------
 configs/arago-core-tisdk-dora-puget.txt            | 315 -------------------
 configs/arago-core-tisdk-dylan-puget.txt           | 315 -------------------
 configs/arago-core-tisdk-fido-puget.txt            | 337 --------------------
 configs/arago-core-tisdk-krogoth-farm.txt          | 340 --------------------
 configs/arago-core-tisdk-krogoth-puget.txt         | 340 --------------------
 configs/arago-core-tisdk-master-puget.txt          | 337 --------------------
 configs/coresdk/arago-core-amsdk-2013.04.01.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.04.00.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.04.01.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.04.02.txt    | 323 -------------------
 configs/coresdk/arago-core-tisdk-2013.10.00.txt    | 314 ------------------
 configs/coresdk/arago-core-tisdk-2013.12.00.txt    | 314 ------------------
 configs/coresdk/arago-core-tisdk-2013.12.01.txt    | 314 ------------------
 configs/coresdk/arago-core-tisdk-2014.08.00.txt    | 318 -------------------
 configs/coresdk/arago-core-tisdk-2014.10.01.txt    | 318 -------------------
 configs/coresdk/arago-core-tisdk-2014.10.02.txt    | 321 -------------------
 configs/coresdk/arago-core-tisdk-2015.01-puget.txt | 333 --------------------
 configs/coresdk/arago-core-tisdk-2015.02-puget.txt | 333 --------------------
 configs/coresdk/arago-core-tisdk-2015.03-puget.txt | 337 --------------------
 configs/distroless-meta-ti-puget.txt               | 308 ------------------
 configs/farm/arago-krogoth.txt                     | 344 --------------------
 configs/farm/arago-morty-next-rel.txt              | 344 --------------------
 configs/farm/arago-morty-next.txt                  | 344 --------------------
 configs/farm/arago-morty.txt                       | 344 --------------------
 configs/farm/arago-rocko-next.txt                  | 346 --------------------
 configs/farm/arago-rocko.txt                       | 346 --------------------
 configs/farm/arago-thud-next.txt                   | 349 ---------------------
 configs/farm/arago-thud.txt                        | 349 ---------------------
 configs/farm/arago-zeus-next.txt                   | 346 --------------------
 configs/farm/arago-zeus.txt                        | 346 --------------------
 configs/farm/distroless-morty.txt                  | 196 ------------
 configs/farm/distroless-rocko.txt                  | 196 ------------
 configs/farm/distroless-thud.txt                   | 198 ------------
 configs/farm/distroless-zeus.txt                   | 198 ------------
 configs/farm/poky-morty.txt                        | 196 ------------
 configs/farm/poky-rocko.txt                        | 196 ------------
 configs/farm/poky-thud.txt                         | 198 ------------
 configs/farm/poky-zeus.txt                         | 198 ------------
 configs/target-debconf-selections.txt              | 212 -------------
 47 files changed, 14231 deletions(-)
 delete mode 100644 configs/amsdk/amsdk-config-05.06.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-05.07.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-06.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.01.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-08.00.00.00.txt
 delete mode 100644 configs/arago-core-tisdk-daisy-puget.txt
 delete mode 100644 configs/arago-core-tisdk-danny-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dora-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dylan-puget.txt
 delete mode 100644 configs/arago-core-tisdk-fido-puget.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-farm.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-puget.txt
 delete mode 100644 configs/arago-core-tisdk-master-puget.txt
 delete mode 100644 configs/coresdk/arago-core-amsdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.10.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.08.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.01-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.02-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.03-puget.txt
 delete mode 100644 configs/distroless-meta-ti-puget.txt
 delete mode 100644 configs/farm/arago-krogoth.txt
 delete mode 100644 configs/farm/arago-morty-next-rel.txt
 delete mode 100644 configs/farm/arago-morty-next.txt
 delete mode 100644 configs/farm/arago-morty.txt
 delete mode 100644 configs/farm/arago-rocko-next.txt
 delete mode 100644 configs/farm/arago-rocko.txt
 delete mode 100644 configs/farm/arago-thud-next.txt
 delete mode 100644 configs/farm/arago-thud.txt
 delete mode 100644 configs/farm/arago-zeus-next.txt
 delete mode 100644 configs/farm/arago-zeus.txt
 delete mode 100644 configs/farm/distroless-morty.txt
 delete mode 100644 configs/farm/distroless-rocko.txt
 delete mode 100644 configs/farm/distroless-thud.txt
 delete mode 100644 configs/farm/distroless-zeus.txt
 delete mode 100644 configs/farm/poky-morty.txt
 delete mode 100644 configs/farm/poky-rocko.txt
 delete mode 100644 configs/farm/poky-thud.txt
 delete mode 100644 configs/farm/poky-zeus.txt
 delete mode 100644 configs/target-debconf-selections.txt
configs/amsdk/amsdk-config-05.06.00.00.txt deleted +0 -288
deleted file mode 100644
index 7c6016b..0000000
@@ -1,288 +0,0 @@
-################################################################################
-#                           AMSDK configuration file                           #
-################################################################################
-
-# This variable contains the list of variables found in this congif file
-# that MUST be set to a value.  Failure to set these variables could
-# lead to corruption of the host system or the build script not
-# executing properly
-MANDATORY_INPUTS="MACHINES NUM_ARM9_BUILDS NUM_CORTEX_BUILDS BUILD_ID SCRIPTS_ROOT BUILD_ROOT TEST_ROOT PACKAGE_ROOT DEPLOY_ROOT FS_FILTER SDK_FILTER FS_IMAGE_TYPE SDK_IMAGE_TYPE NFS_ROOT CONFIG_FILE LOG_DIR TISDK_VERSION INSTALLER_PREFIX"
-
-# This variable holds the SDK version you are building.  This will be picked
-# up in the installer name if you choose to package an installer.  You can
-# also use this in the CONFIG_FILE name below.
-TISDK_VERSION="05.06.00.00"
-
-# This variable contains the list of machines to build an SDK for
-MACHINES="am335x-evm"
-
-# These variables indicate the maximum number of parallel builds that can be
-# done for each architecture.  Some things to note are:
-#   1. You should add these values together to get the maximum number of
-#      parallel builds.  If this is too many for your system then reduce the
-#      numbers.
-#   2. The machines will be built spread over the parallel builds and load
-#      balancing is handled automatically
-#   3. If there are no machines of a particular architectur then nothing will
-#      be built for that architecture
-#   4. In the case of just a couple of machines it may be faster to do only
-#      one build building both serially rather than two parallel builds
-#      depending on your system resources
-NUM_ARM9_BUILDS="1"
-NUM_CORTEX_BUILDS="2"
-
-# These variables contain the location of the bin directory where the toolchain
-# for each architecture is installed.
-TOOLCHAIN_ROOT_ARM9=""
-TOOLCHAIN_ROOT_CORTEX=""
-
-# This variable holds the unique ID for the build that will be used to
-# identify the build.
-BUILD_ID="`date +build-%F_%H-%M-%S`"
-
-# This variable contains the script directory where these scripts are running
-# from.  This is to allow finding other files used during the build later.
-# You should likely not change this
-SCRIPTS_ROOT="$PWD"
-
-# This variable points to be base of your build where the sources will be
-# checked out and the tmp build diretories for each architecture will be
-# created using the oe-layertool-setup.sh script from the repo at:
-#   git clone git://arago-project.org/git/projects/oe-layersetup.git
-# This will be created using the 
-#   - These directories will look like:
-#       - BUILD_ROOT/sources
-#       - BUILD_ROOT/arm9-1/arago-tmp
-#       - BUILD_ROOT/cortex-1/arago-tmp
-#       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="$SCRIPTS_ROOT/amsdk-build"
-
-# This variable points to the base location where files will be extracted for
-# testing purposes.  This should not be confused with the NFS root which
-# will be configured below.
-# This variable should always be declared AFTER the BUILD_ROOT variable.
-# The build scripts will create subdirectories such as:
-#   - TEST_ROOT/am335x-evm-test
-# You can usually just take the default value
-TEST_ROOT="$BUILD_ROOT/testing"
-
-# This variable points to the directory where files will be placed to allow
-# for final packaging.
-# This variable should always be declared AFTER the BUILD_ROOT variable
-# You can usually just take the default value
-PACKAGE_ROOT="$BUILD_ROOT/packaging"
-
-# This variable points to the base location where the SDK files will
-# be deployed.  This is essentially the final staging directory
-DEPLOY_ROOT="$BUILD_ROOT/deploy/$TISDK_VERSION"
-
-# This variable contains the "filter" string to look for inside of the
-# SDK to select which file system to test.  Currently only testing of
-# one file system is supported.
-FS_FILTER="tisdk-rootfs-"
-
-# This variable indicates the type of FS images being generated.  By default
-# this is tar.gz images.  This should match what you set in your recipes
-FS_IMAGE_TYPE="tar.gz"
-
-# This variable contains the "filter" string to look for inside of the
-# OE build directory to find the SDK image.  Since the image name can
-# vary based on the recipe settings this string will account for that.
-SDK_FILTER="arago-amsdk-image-"
-
-# This variable indicates the type of SDK images being generated.  By default
-# this is tar.gz images.  This should match what you set in your recipes
-SDK_IMAGE_TYPE="tar.gz"
-
-# This variable points to an NFS share which has been pre-configured.  The
-# target testing will be done by creating a subdirectory in this NFS_ROOT
-# for each machine to boot the target board.
-# This directory should be configured to allow writing by the jenkins user
-# at a minimum, although allowing writing by anyone is simple.
-NFS_ROOT="/home/jenkins/nfs-root"
-
-# This variable points to the location where the sources will be checked out
-# using the oe-layertool-setup.sh script from the following repository:
-#   git clone git://arago-project.org/git/projects/oe-layersetup.git
-#SOURCE_DIR="${BUILD_ROOT}/sources"
-
-# This variable indicates whether we should do a clean build which means
-# Removing the build directories
-CLEAN_BUILD="false"
-
-# This variable means that we should clean not only build build directories,
-# but also the sources as well and do a fully clean build.
-CLEAN_ALL="false"
-
-# This is the configuration file to use in the oe-layertool-setup.sh script
-# to configure the build.
-CONFIG_FILE="${BUILD_ROOT}/configs/amsdk/amsdk-05.06.00.00-config.txt"
-
-# This directory will contain the log files for the various parts of the build.
-# This includes:
-#   1. Overall build process log (i.e. which machines are in which build dir)
-#   2. Build logs for individual machines
-#   3. Test logs for individual machines
-#   4. Packaging logs for individual machines
-LOG_DIR="${BUILD_ROOT}/log-files"
-
-# Setting this variable to "true" will enable logging stdout and stderr of the 
-# bitbake command to the appropriate machine's build_log.txt.
-#BUILD_LOG_VERBOSE="true"
-
-# This is the directory where you want to configure your build to download
-# files to.  This is best done as a shared directory among the builds to
-# save download time and space.
-DL_DIR="/home/downloads"
-
-# Setting this variable will configure the builds to attempt to use a mirror to 
-# obtain the build sources.
-#SOURCE_MIRROR_URL="http://some.web.server/arago-sources/"
-
-# Seeting this variable to "1" configures the build to generate mirror tarballs
-# of the source repos.
-BB_GENERATE_MIRROR_TARBALLS="0"
-
-# This variable points to an optional location where additional installer
-# content can be placed to be packaged inside of any image recipe that
-# inherits the tisdk-image class.  It is expected that the directory
-# structure should match the structure as you want it placed in the SDK.
-# If you are not building an SDK image with external components then this
-# is not required.
-INSTALLER_EXTRAS_ROOT="/home/jenkins/extra-files/installer_content"
-
-# This variable points to the directory with the test scripts you want to
-# run.  The entire directory will be copied to make removing the test scripts
-# easier during cleanup.
-# NOTE: The assumption is that this directory contains at least the
-#       following files:
-#           - opentest.sh // This is called by opentest framework
-#           - S90-fake-pointercal // This fakes pointer calibration
-#           - nightly-test.sh // This is called by opentest.sh and does
-#                                machine specific testing
-# NOTE: Since the scripts will be copied to TEST_SCRIPTS_TGT
-#       the opentest.sh script should call the scripts in the new directory.
-TEST_SCRIPTS="$SCRIPTS_ROOT/test-scripts"
-
-# This variable points to the directory within the target filesystem that
-# the scripts directory in TEST_SCRIPTS will be copied as.
-TEST_SCRIPTS_TGT="home/root/test-scripts"
-
-# This variable contains the tarball name for the opentest CLI which is
-# required to do target side testing.
-OPENTEST_CLI="$SCRIPTS_ROOT/opentest_cli_0.7.tar.gz"
-
-# This variable will allow control over whether to perform build testing or
-# skip it.  This should usually be set to true but may be changed for
-# prototyping.
-RUN_BUILD_TESTS="true"
-
-# This variable points to the STAF installation location which is used
-# during the build test steps to call into the OpenTest Framework.  This
-# default value is the default value from the STAF installer
-STAF_ROOT="/usr/local/staf"
-
-# This variable indicates whether to continue the build process for a machine
-# even when the build testing fails.  This can be useful in the case of
-# the test system being down to allow the full packaging of the SDK to
-# continue.
-SKIP_TEST_FAILURES="false"
-
-# This variable indicates whether to productize the build by packaging
-# it into an installer and web content.  This will require that
-# InstallBuilder be installed on your host system and that you have
-# and project file created to package it.  If not then you can use
-# the simple SDK tarball that was created during the build as your
-# SDK.
-PRODUCTIZE_SDK="true"
-
-# This variable contains the command(s) that bitbake should run. Each command
-# should be seperated by a semicolon.
-BITBAKE_COMMAND="arago-amsdk-image"
-
-################################################################################
-# The following variables only need to be set if PRODUCTIZE_SDK is true.
-# If not you do not need to set these variables.  If you do want to
-# publish an SDK you will need access to other tools such as webgen that
-# are not available outside of TI.
-################################################################################
-
-# This points to the location where the InstallBuilder application has
-# been extracted.
-INSTALL_BUILDER="/home/jenkins/installbuilder"
-
-# This variable points to the root diretory where the installer content will be
-# staged to build the installer.
-INSTALLER_ROOT="$BUILD_ROOT/installer"
-
-# This variable will point to the InstallBuilder file used to build the SDK
-# installer
-INSTALL_BUILDER_PROJECT="$SCRIPTS_ROOT/installer-files/tisdk.xml"
-
-# This variable will provide the prefix for the installer filename and default 
-# installation directory.
-# NOTE: This prefix should match the installer filename given in the webgen.mak
-#  
-# Installer name will have the form: 
-#   - ${INSTALLER_PREFIX}-${MACHINE}-${TISDK_VERSION}-Linux-x86-Install.bin
-# Installation directory will have the form:
-#   - ${INSTALLER_PREFIX}-${MACHINE}-${TISDK_VERSION}
-INSTALLER_PREFIX="ti-sdk"
-
-# This variable points to a directory where additional SD card content
-# is located.  In general this directory should have a structure like
-#   - <machine>/boot - holds extra boot partition content
-#   - <machine>/start_here - holds the extra start_here partition content
-# Many times you will want to use symlinks here to save space, so the
-# build scripts will use the -L option to copy the linked file instead of
-# the symlink.
-SD_CARD_CONTENT="/home/jenkins/extra-files/sd_content"
-
-# This variable determines whether the uImage and dtb files should be placed in
-# the boot partition tarball or not.  For newer kernel and u-boot combinations
-# the uImage and dtb files are kept in the rootfs partition and placing it in
-# the boot partition will cause confusion.
-PACKAGE_BOOT_KERNEL_FILES="true"
-
-# This variable points to the directory where the webgen tool has been
-# Installed.
-WEBGEN_ROOT="/home/jenkins/webgen"
-
-# This variable points to the location where additional webgen/webpage files
-# are located.  Many times you will want to use symlinks here to save space
-# so the build scripts will use the -L option to copy the linked file instead
-# of the symlink.
-WEB_EXTRAS_ROOT="/home/jenkins/extra-files/web_content"
-
-# This variable points to the root location where the publish SDK data is
-# stored.  This data is the webgen.mak files required to build the SDK
-# ti.com style web pages.
-# The general assumption is that the directory structure looks like:
-#   - WEBGEN_MAK_ROOT/<machine>/webgen.mak
-WEBGEN_MAK_ROOT="$SCRIPTS_ROOT/publish-sdk-data/amsdk/$TISDK_VERSION"
-
-# This variable enables the source downloads in "DL_DIR" to be tar'd and copied
-# to the webgen exports directory. Setting this variable to "1" will override
-# the "BB_GENERATE_MIRROR_TARBALLS" configuration with a value of "1".
-EXPORT_ARAGO_SRC="0"
-
-# This variable specifies whether or not to copy the build contents to
-# a remote web hosting server.
-COPY_TO_WEB="true"
-
-# This variable points to the user@webhost:<basepath> location where the
-# deploy contents should be placed.  This is best done if you have done a
-# key exchange between these systems so that your SCP command will not ask
-# for a password.
-WEB_HOST="[email protected]:/var/www/sdk"
-
-# This variable determines whether the DEPLOY_ROOT will be cleaned after
-# the remote copy.  The reason for this is that if the files already exist
-# on the remote system there is no need to keep them on the local system.
-CLEAN_AFTER_COPY="true"
-
-# This variable determines if the results directory should be copied before
-# the deploy directory is cleaned.  If this value is set then the results
-# will be copied to the given directory.  If not then they will not be
-# copied and will be cleaned if CLEAN_AFTER_COPY is true.
-BACKUP_RESULTS=""
configs/amsdk/amsdk-config-05.07.00.00.txt deleted +0 -303

303 lines not on this page · raw message

configs/amsdk/amsdk-config-06.00.00.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/amsdk/amsdk-config-07.00.00.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/amsdk/amsdk-config-07.01.00.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/amsdk/amsdk-config-08.00.00.00.txt deleted +0 -318

318 lines not on this page · raw message

configs/arago-core-tisdk-daisy-puget.txt deleted +0 -333

333 lines not on this page · raw message

configs/arago-core-tisdk-danny-puget.txt deleted +0 -315

315 lines not on this page · raw message

configs/arago-core-tisdk-dora-puget.txt deleted +0 -315

315 lines not on this page · raw message

configs/arago-core-tisdk-dylan-puget.txt deleted +0 -315

186 lines not on this page · raw message

configs/arago-core-tisdk-fido-puget.txt deleted +0 -337

337 lines not on this page · raw message

configs/arago-core-tisdk-krogoth-farm.txt deleted +0 -340

340 lines not on this page · raw message

configs/arago-core-tisdk-krogoth-puget.txt deleted +0 -340

340 lines not on this page · raw message

configs/arago-core-tisdk-master-puget.txt deleted +0 -337

337 lines not on this page · raw message

configs/coresdk/arago-core-amsdk-2013.04.01.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.04.00.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.04.01.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.04.02.txt deleted +0 -323

323 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.10.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.12.00.txt deleted +0 -314

314 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2013.12.01.txt deleted +0 -314

314 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2014.08.00.txt deleted +0 -318

318 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2014.10.01.txt deleted +0 -318

318 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2014.10.02.txt deleted +0 -321

321 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2015.01-puget.txt deleted +0 -333

333 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2015.02-puget.txt deleted +0 -333

333 lines not on this page · raw message

configs/coresdk/arago-core-tisdk-2015.03-puget.txt deleted +0 -337

337 lines not on this page · raw message

configs/distroless-meta-ti-puget.txt deleted +0 -308

308 lines not on this page · raw message

configs/farm/arago-krogoth.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-morty-next-rel.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-morty-next.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-morty.txt deleted +0 -344

344 lines not on this page · raw message

configs/farm/arago-rocko-next.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/arago-rocko.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/arago-thud-next.txt deleted +0 -349

349 lines not on this page · raw message

configs/farm/arago-thud.txt deleted +0 -349

349 lines not on this page · raw message

configs/farm/arago-zeus-next.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/arago-zeus.txt deleted +0 -346

346 lines not on this page · raw message

configs/farm/distroless-morty.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/distroless-rocko.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/distroless-thud.txt deleted +0 -198

198 lines not on this page · raw message

configs/farm/distroless-zeus.txt deleted +0 -198

198 lines not on this page · raw message

configs/farm/poky-morty.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/poky-rocko.txt deleted +0 -196

196 lines not on this page · raw message

configs/farm/poky-thud.txt deleted +0 -198

198 lines not on this page · raw message

configs/farm/poky-zeus.txt deleted +0 -198

198 lines not on this page · raw message

configs/target-debconf-selections.txt deleted +0 -73

73 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

e, Kentucky/Monticello, Kralendijk, La_Paz, Lima, Los_Angeles, Lower_Princes, Maceio, Managua, Manaus, Marigot, Martinique, Matamoros, Mazatlan, Menominee, Merida, Metlakatla, Mexico_City, Miquelon, Moncton, Monterrey, Montevideo, Montreal, Montserrat, Nassau, New_York, Nipigon, Nome, Noronha, North_Dakota/Beulah, North_Dakota/Center, North_Dakota/New_Salem, Ojinaga, Panama, Pangnirtung, Paramaribo, Phoenix, Port-au-Prince, Port_of_Spain, Porto_Acre, Porto_Velho, Puerto_Rico, Rainy_River, Rankin_Inlet, Recife, Regina, Resolute, Rio_Branco, Santa_Isabel, Santarem, Santiago, Santo_Domingo, Sao_Paulo, Scoresbysund, Shiprock, Sitka, St_Barthelemy, St_Johns, St_Kitts, St_Lucia, St_Thomas, St_Vincent, Swift_Current, Tegucigalpa, Thule, Thunder_Bay, Tijuana, Toronto, Tortola, Vancouver, Virgin, Whitehorse, Winnipeg, Yakutat, Yellowknife
-tzdata tzdata/Zones/America select
-# Remove inetd entries?
-update-inetd update-inetd/ask-remove-entries boolean false
-# for internal use
-keyboard-configuration keyboard-configuration/variantcode string
-# Font for the console:
-# Choices: Fixed, Terminus, TerminusBold, TerminusBoldVGA, VGA, Do not change the boot/kernel font
-console-setup console-setup/fontface47 select VGA
-# Problems rebuilding an hash file ()
-dictionaries-common dictionaries-common/ispell-autobuildhash-message note
-# Keep the current keyboard layout in the configuration file?
-keyboard-configuration keyboard-configuration/unsupported_config_layout boolean true
-# Default values for ispell dictionary/wordlist are not set here
-dictionaries-common dictionaries-common/selecting_ispell_wordlist_default note
-# Method for toggling between national and Latin mode:
-# Choices: Caps Lock, Right Alt (AltGr), Right Control, Right Shift, Right Logo key, Menu key, Alt+Shift, Control+Shift, Control+Alt, Alt+Caps Lock, Left Control+Left Shift, Left Alt, Left Control, Left Shift, Left Logo key, Scroll Lock key, No toggling
-keyboard-configuration keyboard-configuration/toggle select No toggling
-# Font size:
-# Choices:
-console-setup console-setup/fontsize-text47 select 16
-# Display manager must be restarted manually
-libpam0g:armhf libpam0g/xdm-needs-restart error
-# Keyboard model:
-# Choices: A4Tech KB-21, A4Tech KBS-8, A4Tech Wireless Desktop RFKB-23, Acer AirKey V, Acer C300, Acer Ferrari 4000, Acer Laptop, Advance Scorpius KI, Amiga, Apple, Apple Aluminium Keyboard (ANSI), Apple Aluminium Keyboard (ISO), Apple Aluminium Keyboard (JIS), Apple Laptop, Asus Laptop, Atari TT, Azona RF2300 wireless Internet Keyboard, BTC 5090, BTC 5113RF Multimedia, BTC 5126T, BTC 6301URF, BTC 9000, BTC 9000A, BTC 9001AH, BTC 9019U, BTC 9116U Mini Wireless Internet and Gaming, BenQ X-Touch, BenQ X-Touch 730, BenQ X-Touch 800, Brother Internet Keyboard, Cherry B.UNLIMITED, Cherry Blue Line CyBo@rd, Cherry Blue Line CyBo@rd (alternate option), Cherry CyBo@rd USB-Hub, Cherry CyMotion Expert, Cherry CyMotion Master Linux, Cherry CyMotion Master XPress, Chicony Internet Keyboard, Chicony KB-9885, Chicony KU-0108, Chicony KU-0420, Classmate PC, Compaq Easy Access Keyboard, Compaq Internet Keyboard (13 keys), Compaq Internet Keyboard (18 keys), Compaq Internet Keyboard (7 keys)
, Compaq iPaq Keyboard, Creative Desktop Wireless 7000, DTK2000, Dell, Dell 101-key PC, Dell Laptop/notebook Inspiron 6xxx/8xxx, Dell Laptop/notebook Precision M series, Dell Latitude series laptop, Dell Precision M65, Dell SK-8125, Dell SK-8135, Dell USB Multimedia Keyboard, Dexxa Wireless Desktop Keyboard, Diamond 9801 / 9802 series, Do not configure keyboard; keep kernel keymap, Ennyah DKB-1008, Everex STEPnote, FL90, Fujitsu-Siemens Computers AMILO laptop, Generic 101-key PC, Generic 102-key (Intl) PC, Generic 104-key PC, Generic 105-key (Intl) PC, Genius Comfy KB-12e, Genius Comfy KB-16M / Genius MM Keyboard KWD-910, Genius Comfy KB-21e-Scroll, Genius KB-19e NB, Genius KKB-2050HS, Gyration, HTC Dream, Happy Hacking Keyboard, Happy Hacking Keyboard for Mac, Hewlett-Packard Internet Keyboard, Hewlett-Packard Mini 110 Notebook, Hewlett-Packard Omnibook 500 FA, Hewlett-Packard Omnibook 5xx, Hewlett-Packard Omnibook 6000/6100, Hewlett-Packard Omnibook XE3 GC, Hewlett-Packard
Omnibook XE3 GF, Hewlett-Packard Omnibook XT1000, Hewlett-Packard Pavilion ZT11xx, Hewlett-Packard Pavilion dv5, Hewlett-Packard SK-250x Multimedia Keyboard, Hewlett-Packard nx9020, Honeywell Euroboard, Htc Dream phone, IBM Rapid Access, IBM Rapid Access II, IBM Space Saver, IBM ThinkPad 560Z/600/600E/A22E, IBM ThinkPad R60/T60/R61/T61, IBM ThinkPad Z60m/Z60t/Z61m/Z61t, Intelligent Keyboard K04, Keytronic FlexPro, Kinesis, Laptop/notebook Compaq (eg. Armada) Laptop Keyboard, Laptop/notebook Compaq (eg. Presario) Internet Keyboard, Laptop/notebook eMachines m68xx, Logitech Access Keyboard, Logitech Cordless Desktop, Logitech Cordless Desktop (alternate option), Logitech Cordless Desktop EX110, Logitech Cordless Desktop LX-300, Logitech Cordless Desktop Navigator, Logitech Cordless Desktop Optical, Logitech Cordless Desktop Pro (alternate option 2), Logitech Cordless Desktop iTouch, Logitech Cordless Freedom/Desktop Navigator, Logitech G15 extra keys via G15daemon, Logitech G
eneric Keyboard, Logitech Internet 350 Keyboard, Logitech Internet Keyboard, Logitech Internet Navigator Keyboard, Logitech Media Elite Keyboard, Logitech Ultra-X Cordless Media Desktop Keyboard, Logitech Ultra-X Keyboard, Logitech diNovo Edge Keyboard, Logitech diNovo Keyboard, Logitech iTouch, Logitech iTouch Cordless Keyboard (model Y-RB6), Logitech iTouch Internet Navigator Keyboard SE, Logitech iTouch Internet Navigator Keyboard SE (USB), MacBook/MacBook Pro, MacBook/MacBook Pro (Intl), Macintosh, Macintosh Old, Memorex MX1998, Memorex MX2500 EZ-Access Keyboard, Memorex MX2750, Microsoft Comfort Curve Keyboard 2000, Microsoft Internet Keyboard, Microsoft Internet Keyboard Pro\, Swedish, Microsoft Natural, Microsoft Natural Keyboard Elite, Microsoft Natural Keyboard Pro / Microsoft Internet Keyboard Pro, Microsoft Natural Keyboard Pro OEM, Microsoft Natural Keyboard Pro USB / Microsoft Internet Keyboard Pro, Microsoft Natural Wireless Ergonomic Keyboard 4000, Microsoft N atural Wireless Ergonomic Keyboard 7000, Microsoft Office Keyboard, Microsoft Wireless Multimedia Keyboard 1.0A, Northgate OmniKey 101, OLPC, Ortek MCK-800 MM/Internet keyboard, PC-98xx Series, Propeller Voyager (KTEZ-1000), QTronix Scorpius 98N+, SILVERCREST Multimedia Wireless Keyboard, SK-1300, SK-2500, SK-6200, SK-7100, SVEN Ergonomic 2500, SVEN Slim 303, Samsung SDM 4500P, Samsung SDM 4510P, Sanwa Supply SKB-KG3, Sun Type 4, Sun Type 5, Sun Type 5/6, Super Power Multimedia Keyboard, Symplon PaceBook (tablet PC), Targa Visionary 811, Toshiba Satellite S3000, Trust Direct Access Keyboard, Trust Slimline, Trust Wireless Keyboard Classic, TypeMatrix EZ-Reach 2020, TypeMatrix EZ-Reach 2030 PS2, TypeMatrix EZ-Reach 2030 USB, TypeMatrix EZ-Reach 2030 USB (102/105:EU mode), TypeMatrix EZ-Reach 2030 USB (106:JP mode), Unitek KB-1925, ViewSonic KU-306 Internet Keyboard, Winbook Model XP5, Yahoo! Internet Keyboard
-keyboard-configuration keyboard-configuration/model select Generic 105-key (Intl) PC
-# Users allowed to start the X server:
-# Choices: Root Only, Console Users Only, Anybody
-x11-common x11-common/xwrapper/allowed_users select Console Users Only
-# Failure restarting some services for GNU libc upgrade
-libc6 glibc/restart-failed error
-libc6:armhf glibc/restart-failed error
-# Detect keyboard layout?
-keyboard-configuration console-setup/ask_detect boolean false
-# Compose key:
-# Choices: No compose key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Logo key, Caps Lock
-keyboard-configuration keyboard-configuration/compose select No compose key
-# Line by line differences between versions
-ucf ucf/show_diff note
-# Country of origin for the keyboard:
-# Choices: Afghani, Albanian, Amharic, Arabic, Arabic (Morocco), Arabic (Syria), Armenian, Azerbaijani, Bambara, Belarusian, Belgian, Bengali, Bosnian, Braille, Bulgarian, Burmese, Catalan, Chinese, Croatian, Czech, Danish, Dhivehi, Dutch, Dzongkha, English (Cameroon), English (Ghana), English (Nigeria), English (South Africa), English (UK), English (US), Esperanto, Estonian, Faroese, Filipino, Finnish, French, French (Canada), French (Democratic Republic of the Congo), French (Guinea), Georgian, German, German (Austria), German (Switzerland), Greek, Hebrew, Hungarian, Icelandic, Indian, Iraqi, Irish, Italian, Japanese, Japanese (PC-98xx Series), Kazakh, Khmer (Cambodia), Korean, Kyrgyz, Lao, Latvian, Lithuanian, Macedonian, Maltese, Maori, Mongolian, Montenegrin, Nepali, Norwegian, Persian, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian (Cyrillic), Sinhala (phonetic), Slovak, Slovenian, Spanish, Spanish (Latin American), Swahili (Kenya), Swahili (Tanzan
ia), Swedish, Taiwanese, Tajik, Thai, Tswana, Turkish, Turkmen, Ukrainian, Urdu (Pakistan), Uzbek, Vietnamese, Wolof
-keyboard-configuration keyboard-configuration/layout select English (US)
-# Time zone:
-# Choices: Longyearbyen
-tzdata tzdata/Zones/Arctic select
-# Use dash as the default system shell (/bin/sh)?
-dash dash/sh boolean true
-# Move non-FHS stuff under /usr/dict to /usr/dict-pre-FHS?
-dictionaries-common dictionaries-common/move_old_usr_dict boolean true
-# Should NTFS-3G be installed "setuid root"?
-ntfs-3g ntfs-3g/setuid-root boolean false
-# Keymap to use:
-# Choices: American English, Belarusian, Belgian, Brazilian (ABNT2 layout), Brazilian (EUA layout), British English, Bulgarian, Bulgarian (phonetic layout), Canadian French, Canadian Multilingual, Croatian, Czech, Danish, Dutch, Dvorak, Estonian, Finnish, French, German, Greek, Hebrew, Hungarian, Icelandic, Italian, Japanese, Kirghiz, Latin American, Latvian, Lithuanian, Macedonian, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian (Cyrillic), Slovakian, Slovene, Spanish, Swedish, Swiss French, Swiss German, Thai, Turkish (F layout), Turkish (Q layout), Ukrainian
-keyboard-configuration keyboard-configuration/xkb-keymap select us
-# for internal use
-keyboard-configuration keyboard-configuration/layoutcode string us
-# Keyboard layout:
-# Choices: English (US), English (US) - Cherokee, English (US) - English (Colemak), English (US) - English (Dvorak alternative international no dead keys), English (US) - English (Dvorak international with dead keys), English (US) - English (Dvorak), English (US) - English (Macintosh), English (US) - English (US\, alternative international), English (US) - English (US\, international with dead keys), English (US) - English (US\, with euro on 5), English (US) - English (classic Dvorak), English (US) - English (international AltGr dead keys), English (US) - English (layout toggle on multiply/divide key), English (US) - English (left handed Dvorak), English (US) - English (programmer Dvorak), English (US) - English (right handed Dvorak), English (US) - Russian (US\, phonetic), English (US) - Serbo-Croatian (US)
-keyboard-configuration keyboard-configuration/variant select English (US)
-# Failure restarting some services for PAM upgrade
-libpam0g:armhf libpam0g/restart-failed error
-# Services to restart to make them use the new libraries:
-libssl1.0.0:armhf libssl1.0.0/restart-services string
-# Time zone:
-# Choices: Apia, Auckland, Chatham, Chuuk, Easter, Efate, Enderbury, Fakaofo, Fiji, Funafuti, Galapagos, Gambier, Guadalcanal, Guam, Honolulu, Johnston, Kiritimati, Kosrae, Kwajalein, Majuro, Marquesas, Midway, Nauru, Niue, Norfolk, Noumea, Pago_Pago, Palau, Pitcairn, Pohnpei, Ponape, Port_Moresby, Rarotonga, Saipan, Samoa, Tahiti, Tarawa, Tongatapu, Truk, Wake, Wallis, Yap
-tzdata tzdata/Zones/Pacific select
-# Geographic area:
-# Choices: Africa, America, Antarctica, Australia, Arctic, Asia, Atlantic, Europe, Indian, Pacific, SystemV, US, Etc
-tzdata tzdata/Areas select Etc
-# Method for temporarily toggling between national and Latin input:
-# Choices: No temporary switch, Both Logo keys, Right Alt (AltGr), Right Logo key, Left Alt, Left Logo key
-keyboard-configuration keyboard-configuration/switch select No temporary switch
-# Leave existing entry and continue without changes?
-update-inetd update-inetd/ask-entry-present boolean true
-# for internal use
-console-setup console-setup/store_defaults_in_debconf_db boolean true
-# System default ispell dictionary:
-# Choices: , Manual symlink setting
-dictionaries-common dictionaries-common/default-ispell select
-# Encoding to use on the console:
-# Choices: ARMSCII-8, CP1251, CP1255, CP1256, GEORGIAN-ACADEMY, GEORGIAN-PS, IBM1133, ISIRI-3342, ISO-8859-1, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, KOI8-R, KOI8-U, TIS-620, UTF-8, VISCII
-console-setup console-setup/charmap47 select UTF-8
-# Sound system to use:
-# Choices: ALSA, OSS, default
-linux-sound-base linux-sound-base/sound_system select ALSA
-# Disable inetd entries?
-update-inetd update-inetd/ask-disable-entries boolean false
-# Time zone:
-# Choices: Casey, Davis, DumontDUrville, Macquarie, Mawson, McMurdo, Palmer, Rothera, Syowa, Vostok
-tzdata tzdata/Zones/Antarctica select
-# Do you want to upgrade glibc now?
-libc6 glibc/upgrade boolean true
-libc6:armhf glibc/upgrade boolean true
-# Keep default keyboard options ()?
-keyboard-configuration keyboard-configuration/unsupported_options boolean true
-# Font size:
-# Choices: 8, 14, 16, 28x16, 32x16
-console-setup console-setup/fontsize-fb47 select 16
-# for internal use
-keyboard-configuration keyboard-configuration/store_defaults_in_debconf_db boolean true
-# Ignore questions with a priority less than:
-# Choices: critical, high, medium, low
-debconf debconf/priority select high
-# Detecting your keyboard layout
-keyboard-configuration console-setup/detect detect-keyboard
-# Keyboard layout detection complete
-keyboard-configuration console-setup/detected note
-# Time zone:
-# Choices: Azores, Bermuda, Canary, Cape Verde, Faroe, Jan Mayen, Madeira, Reykjavik, South Georgia, St. Helena, Stanley
-tzdata tzdata/Zones/Atlantic select
-# Remove obsolete /etc/dictionary link?
-dictionaries-common dictionaries-common/old_wordlist_link boolean true
-# Key to function as AltGr:
-# Choices: The default for the keyboard layout, No AltGr key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Alt, Left Logo key, Keypad Enter key, Both Logo keys, Both Alt keys
-keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout
-# Should NTFS-3G be included in initramfs?
-ntfs-3g ntfs-3g/initramfs boolean true
-# What do you want to do about modified configuration file ?
-# Choices: install the package maintainer's version, keep the local version currently installed, show the differences between the versions, show a side-by-side difference between the versions, show a 3-way difference between available versions, do a 3-way merge between available versions (experimental), start a new shell to examine the situation
-ucf ucf/changeprompt_threeway select keep_current
-# xscreensaver and xlockmore must be restarted before upgrading
-libpam-modules libpam-modules/disable-screensaver error
-# Remove obsolete /usr/dict symlink?
-dictionaries-common dictionaries-common/remove_old_usr_dict_link boolean false
-# for internal use
-keyboard-configuration keyboard-configuration/optionscode string
-# Incompatible PAM profiles selected.
-libpam-runtime libpam-runtime/conflicts error
-# Ignore multiple entries and continue without changes?
-update-inetd update-inetd/ask-several-entries boolean true
-# for internal use
-console-setup console-setup/fontsize string 16
-# Time zone:
-# Choices: Amsterdam, Andorra, Athens, Belfast, Belgrade, Berlin, Bratislava, Brussels, Bucharest, Budapest, Chisinau, Copenhagen, Dublin, Gibraltar, Guernsey, Helsinki, Isle of Man, Istanbul, Jersey, Kaliningrad, Kiev, Lisbon, Ljubljana, London, Luxembourg, Madrid, Malta, Mariehamn, Minsk, Monaco, Moscow, Nicosia, Oslo, Paris, Podgorica, Prague, Riga, Rome, Samara, San Marino, Sarajevo, Simferopol, Skopje, Sofia, Stockholm, Tallinn, Tirane, Tiraspol, Uzhgorod, Vaduz, Vatican, Vienna, Vilnius, Volgograd, Warsaw, Zagreb, Zaporozhye, Zurich
-tzdata tzdata/Zones/Europe select
-# No PAM profiles have been selected.
-libpam-runtime libpam-runtime/no_profiles_chosen error
-# Time zone:
-# Choices: Antananarivo, Chagos, Christmas, Cocos, Comoro, Kerguelen, Mahe, Maldives, Mauritius, Mayotte, Reunion
-tzdata tzdata/Zones/Indian select

Signature · 1 line
2.7.4

Part of the diff is not shown here. View the raw message.

#13 lore raw

PATCH 5/10 Remove support for generating installer SDK

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/oesdk/package-sdks           | 496 ---------------------------------------
 lib/oesdk/ti-sdk-host-install.sh | 227 ------------------
 2 files changed, 723 deletions(-)
 delete mode 100644 lib/oesdk/package-sdks
 delete mode 100755 lib/oesdk/ti-sdk-host-install.sh
lib/oesdk/package-sdks deleted +0 -496
deleted file mode 100644
index 2316d40..0000000
@@ -1,496 +0,0 @@
-#!/bin/bash
-
-# This script is intended to be called only from the top-level build-oesdk.sh
-# script which parses the configuration file and sets necessary variables.
-# So check if it is being called from any other context and if so exit.
-if [ "`basename $0`" != "build-oesdk.sh" ]
-then
-    log $error_log echo "This is a helper script and should not be run directly"
-    exit 1
-fi
-
-create_sd_card_content() {
-    # Set m for logging purposes
-    m="$1"
-
-    package_root="$PACKAGE_ROOT/$m"
-
-    # Make the machine specific SD card directory
-    sd_card_root="$DEPLOY_ROOT/$m/$BUILD_ID/sd_card_contents"
-
-    if [ -d $sd_card_root ]
-    then
-        rm -rf $sd_card_root
-    fi
-    mkdir -p $sd_card_root
-
-    # Create the boot_partition tarball.  Some of the files such as the
-    # prebuilt images were already staged here during the build/test phase
-    # and just need to be renamed.  Others should be copied from the
-    # SD_CARD_CONTENT directory
-    cd $package_root/boot_partition
-
-    # Rename the pre-built image files
-    if [ -e u-boot-$m.img ]
-    then
-        mv u-boot-$m.img u-boot.img
-    fi
-
-    # For machines that use older u-boots that do not use .img files
-    if [ -e u-boot-$m.bin ]
-    then
-        mv u-boot-$m.bin u-boot.bin
-    fi
-
-    # Remove this binary since it wouldn't be used in the boot partition
-    if [ -e u-boot-spl.bin-$m ]
-    then
-        rm u-boot-spl.bin-$m
-    fi
-
-    # For some devices the uImage/zImage and dtb files are read
-    # from the /boot directory of the rootfs. In this case do
-    # not package the uImage/zImage and device tree files into
-    # the boot partition as it will cause confusion.
-    if [ "$PACKAGE_BOOT_KERNEL_FILES" = "true" ]
-    then
-        if [ -e [uz]Image-$m.bin ]
-        then
-            kernel_image=`ls [uz]Image-$m.bin | grep -o [uz]Image`
-            mv [uz]Image-$m.bin $kernel_image
-        fi
-    else
-        rm -f [uz]Image*
-        rm -f *.dtb
-    fi
-
-    # Copy the MLO if it exists for the device
-    if [ -e MLO-$m ]
-    then
-        mv MLO-$m MLO
-    fi
-
-    # If there are any extra SD card content files for the boot partition
-    # copy them with the -L to resolve symlinks
-    if [ -d "$SD_CARD_CONTENT/$m/boot" ]
-    then
-        cp -rLf $SD_CARD_CONTENT/$m/boot/* .
-    fi
-
-    # Now tar up the boot_partition.tar.xz file
-    tar cJf $sd_card_root/boot_partition.tar.xz *
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not create boot_partition.tar.xz"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Move the rootfs tarball we already had to the sd_card_root directory
-    cd $package_root/root_partition
-    mv rootfs_partition.$FS_IMAGE_TYPE $sd_card_root/
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not mv rootfs_partition.tar.xz"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Lastly let's package the start_here partition tarball
-    start_here_root="$package_root/start_here_partition"
-    if [ -d "$start_here_root" ]
-    then
-        rm -rf $start_here_root
-    fi
-    mkdir -p $start_here_root
-
-    cd $start_here_root
-
-    # Copy the installer
-    cp $DEPLOY_ROOT/$m/$BUILD_ID/${INSTALLER_PREFIX}-$m* $start_here_root/
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not copy installer to start_here"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Copy the rest of the start_here content from the SD_CARD_CONTENT
-    # directory.  This usually contains:
-    #   - CCS installer
-    #   - quickstart guides
-    #   - START_HERE.sh scripts (if needed)
-    if [ -d "$SD_CARD_CONTENT/$m/start_here" ]
-    then
-        cp -rLf $SD_CARD_CONTENT/$m/start_here/* .
-    fi
-
-    # Now tar up the start_here_partition.tar.xz file
-    tar cJf $sd_card_root/start_here_partition.tar.xz *
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not create start_here_partition.tar.xz"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Lastly copy the create-sdcard.sh script for the extracted SDK
-    # directory to the sd_card_root
-    cp $TEST_ROOT/$m-test/temp/bin/create-sdcard.sh $sd_card_root/
-    chmod +x $sd_card_root/create-sdcard.sh
-
-    # Mark this step as PASSED since we got here
-    echo "PASSED" > $LOG_DIR/$m-build-sdcard.txt
-}
-
-create_sdk_installer() {
-    # Set m for logging purposes
-    m="$1"
-
-    # Make the machine specific installer root
-    installer_root="$INSTALLER_ROOT/$m"
-
-    if [ -d $installer_root ]
-    then
-        rm -rf $installer_root
-    fi
-    mkdir -p $installer_root
-
-    # Copy the installer components into the proper directory
-    cp $PACKAGE_ROOT/$m/$SDK_FILTER* $installer_root/
-
-    # Get the name of the SDK tarball
-    cd $installer_root
-    sdk_tar="`ls $SDK_FILTER*`"
-    cd -
-
-    ## Custom Install Builder Parameters
-    #   sdk_loc         - Location of SDK tarball
-    #   sdk_tar_nam     - SDK tarball name
-    #   output_dir      - Location to place SDK installer
-    #   platform        - Machine name
-    #   sdk_version         - SDK Version
-    #   sdk_name_prefix - SDK name Prefix.
-    #
-    #   SDK is referred to as ${sdk_name_prefix}-${platform} in the installer
-    #        Ex tisdk-am335x
-    #   SDK installer is named after ${sdk_name_prefix}-${platform}-${sdk_version}-Linux-x86-Install.bin
-    #        Ex ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin
-
-
-    $INSTALL_BUILDER/builder build $INSTALL_BUILDER_PROJECT linux --setvars \
-        sdk_loc="$installer_root/" \
-        sdk_name_prefix="${INSTALLER_PREFIX}"                  \
-        sdk_tar_name=$sdk_tar                     \
-        output_dir="$deploy_root"                 \
-        platform="$m"                             \
-        sdk_version="$TISDK_VERSION"
-
-    if [ "$?" != "0" ]
-    then
-        echo "FAILED" > $LOG_DIR/$m-build-installer.txt
-        return 1
-    else
-        echo "PASSED" > $LOG_DIR/$m-build-installer.txt
-    fi
-}
-
-package_web_content() {
-    # Set m for logging purposes
-    m="$1"
-
-    # Create the exports content for the web page
-    exports_root="$deploy_root/exports"
-
-    if [ -d $exports_root ]
-    then
-        rm -rf $exports_root
-    fi
-    mkdir -p $exports_root
-
-    # Copy the manifest file if it exists.  Pull it from the extracted
-    # SDK directory from the test step.
-    manifest_file="$TEST_ROOT/$m-test/temp/docs/software_manifest.htm"
-    if [ -e $manifest_file ]
-    then
-        cp $manifest_file $exports_root/
-    else
-        echo "Could not package manifest file"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # Create the PSP tarballs as well
-    # First the sources tarball
-    cd $TEST_ROOT/$m-test/temp
-
-    tar --exclude=prebuilt-images -cJf $exports_root/$m-sdk-src-$TISDK_VERSION.tar.xz board-support/*
-
-    if [ "$?" != 0 ]
-    then
-        echo "Could not create SDK sources tarball"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # Now Create the pre-built binaries tarball.  Make a temporary directory
-    # to copy contents to here so that we can get the right extraction name.
-    tmp_dir="$exports_root/${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}"
-    tmp_dir_bs="$tmp_dir/board-support"
-    mkdir -p $tmp_dir_bs
-
-    cp -rf board-support/prebuilt-images $tmp_dir_bs
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy prebuilt-images"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cp -rf filesystem $tmp_dir/
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy file system tarballs"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cp -rf bin $tmp_dir/
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy bin folder"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # remove scripts which have dependency on devkit
-    rm  $tmp_dir/bin/unshallow-repositories.sh
-    rm  $tmp_dir/bin/create-ubifs.sh
-
-    # modify create-sdcard.sh to use the tarball extraction directory
-    sed -i -e "s|ti-sdk.*\[0-9\]|${tmp_dir##*/}|g" $tmp_dir/bin/create-sdcard.sh
-
-    # modify setup-target-nfs.sh to get the absolute path when running the scripts
-    # 1. remove the line to set up "SDKinstall" with TI_SDK_PATH
-    sed -i -e '/^SDKinstall/d' $tmp_dir/bin/setup-targetfs-nfs.sh
-
-    # 2. add the lines before setting dstdefault to get the absolute path of the scripts and SDKinstall,
-    #    using the same way as in create-sdcard.sh: PWD=`pwd`; EXE=`echo $0 | sed s=$PWD==`;
-    #    EXEPATH="$PWD"/"$EXE"; SDKinstall=`echo $EXEPATH | grep -o .*ti-sdk.*.[0-9]`
-    sed -i -e '/dstdefault=$SDKinstall\/targetNFS/i\PWD=`pwd`\nEXE=`echo $0 | sed s=$PWD==`\nEXEPATH="$PWD"/"$EXE"\nSDKinstall=`echo $EXEPATH | grep -o '.*ti-sdk.*.[0-9]'`\n' $tmp_dir/bin/setup-targetfs-nfs.sh
-
-    # 3. use the tarball extraction directory for SDKinstall
-    sed -i -e "s|ti-sdk.*\[0-9\]|${tmp_dir##*/}|g" $tmp_dir/bin/setup-targetfs-nfs.sh
-
-    # create Rules.make with variables to be used from the binary package
-    echo "#platform" >> $tmp_dir/Rules.make
-    echo "PLATFORM=$m" >> $tmp_dir/Rules.make
-    echo >> $tmp_dir/Rules.make
-
-    echo "#root of the target file system for installing applications" >> $tmp_dir/Rules.make
-    echo "DESTDIR=__DESTDIR__" >> $tmp_dir/Rules.make
-    echo >> $tmp_dir/Rules.make
-
-    echo "# Set EXEC_DIR to install example binaries" >> $tmp_dir/Rules.make
-    echo "EXEC_DIR=__EXEC_DIR__" >> $tmp_dir/Rules.make
-
-    if [ "$?" != 0 ]
-    then
-        echo "Could not create Rules.make"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cp -f setup.sh $tmp_dir/
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy setup.sh"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cd $exports_root
-    tar cJf $m-sdk-bin-$TISDK_VERSION.tar.xz ${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}/*
-    if [ "$?" != 0 ]
-    then
-        echo "Could not create SDK binaries tarball"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    rm -rf ${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}
-
-    if [ "$EXPORT_ARAGO_SRC" == "1" ]
-    then
-        tar -C $DL_DIR -cJf $exports_root/$m-sdk-arago-src-$TISDK_VERSION.tar.xz .
-
-        if [ "$?" != 0 ]
-        then
-            echo "Could not create arago source tarball"
-            echo "FAILED" > $LOG_DIR/$m-web-results.txt
-            return 1
-        fi
-    fi
-
-    # Copy any additional web files that are in the WEB_EXTRAS_ROOT
-    # directory.
-    web_extras="$WEB_EXTRAS_ROOT/$m"
-    if [ -d $web_extras ]
-    then
-        cp -rLf $web_extras/* $exports_root/
-    fi
-
-    # Move the installer into the exports directory
-    mv $deploy_root/${INSTALLER_PREFIX}-$m* $exports_root/
-
-    # Create the md5sum file
-    cd $exports_root
-    md5sum * > md5sum.txt
-
-    # If we got here it means everything else passed
-    echo "PASSED" > $LOG_DIR/$m-web-results.txt
-}
-
-generate_webgen_page() {
-    # Set m for logging purposes
-    m="$1"
-
-    
-    webgen_make="$WEBGEN_MAK_ROOT/$m/webgen.mak"
-
-    if [ ! -e $webgen_make ]
-    then
-        echo "Could not find the webgen file for machine $m"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # Create the ti.com contents directory
-    mkdir -p $deploy_root/ti_com_contents
-
-    # Copy the webgen file to the deploy directory
-    cd $deploy_root
-    cp $webgen_make .
-
-    # Generate the web page
-    $WEBGEN_ROOT/webgen_ext webgen.mak $deploy_root/ti_com_contents exports
-
-    # Cleanup the misc webgen files
-    cleanup_webgen_page $m
-}
-
-# The webgen tool does a couple of things like make a symlink to the exports
-# directory and has a validationinfo file that needs to be removed before
-# copying.  If this is not done then we copy double the files, etc.
-cleanup_webgen_page() {
-    m="$1"
-
-    content_dir="$deploy_root/ti_com_contents/`grep 'PRODUCT_NAME=' $webgen_make | sed -e 's/PRODUCT_NAME=//g'`/`echo $TISDK_VERSION | tr '.' '_'`"
-
-    # Something went wrong here because I can't find the webgen content
-    if [ ! -d $content_dir ]
-    then
-        echo "Could not find the $content_dir"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-    fi
-
-    # Remove the exports symlink and move the real exports directory into its
-    # place
-    rm -rf $content_dir/exports
-    mv $deploy_root/exports $content_dir/
-
-    # Remove the .validationinfo file
-    rm -f $content_dir/.validationinfo
-
-    # Remove the webgen.mak file
-    rm -f $deploy_root/webgen.mak
-}
-
-package_individual_sdk() {
-    # Set m for logging purposes
-    m="$1"
-
-    # Make the machine specific deploy root
-    deploy_root="$DEPLOY_ROOT/$m/$BUILD_ID"
-
-    if [ -d $deploy_root ]
-    then
-        rm -rf $deploy_root
-    fi
-    mkdir -p $deploy_root
-
-    # Create the SDK installer in the deploy directory
-    create_sdk_installer $m
-
-    # Create the SD card tarballs in the deploy directory
-    create_sd_card_content $m
-
-    # Package the SD card and web page contents to get ready for
-    # generating the webgen page and publishing the SDK
-    package_web_content $m
-
-    if [ "$?" == "0" ]
-    then
-        # Since the packaging worked let's generate the ti.com style
-        # web page.
-        generate_webgen_page $m
-    fi
-}
-
-package_sdks(){
-    # Build a list of machines that passed their build and had no
-    # CRITICAL failures.  This can be done by looking for the test
-    # results file for each machine.  If the test file does not
-    # exist then the build failed.  If it does exist and does not
-    # contain the CRITICAL keyword then we can continue with
-    #packaging.
-    machines=""
-
-    for m in $MACHINES
-    do
-        if [ -e $LOG_DIR/$m-build-result.txt ]
-        then
-            # Check if the build failed
-            grep "FAILED" $LOG_DIR/$m-build-result.txt > /dev/null 2>&1
-            if [ "$?" == "0" ]
-            then
-                # The build failed so don't package this device
-                continue
-            fi
-
-            # Check the test results
-            if [ -e $LOG_DIR/$m-test-result.txt ]
-            then
-                # The build at least PASSED
-                # Check if this was a CRITICAL failure
-                grep "CRITICAL" $LOG_DIR/$m-test-result.txt > /dev/null 2>&1
-                if [ "$?" == "0" ]
-                then
-                    # This was a critical failure so return without copying
-                    # the files
-                    continue
-                fi
-
-                # This was a build with a PASSED, SKIPPED, or non-CRITICAL
-                # test result.  Add it to the list of machines to package.
-                machines="$machines""$m "
-            fi
-        fi
-    done
-
-    echo "machines = $machines"
-
-    # Now that the have the list of machines we can call the rest of the
-    # package functions in parallel.
-    for m in $machines
-    do
-        package_individual_sdk $m &
-    done
-
-    # Wait for the subprocesses to all finish
-    wait
-}
lib/oesdk/ti-sdk-host-install.sh deleted +0 -227

227 lines not on this page · raw message

Signature · 1 line
2.7.4
#14 lore raw

PATCH 5/10 Remove support for generating installer SDK

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/oesdk/package-sdks           | 496 ---------------------------------------
 lib/oesdk/ti-sdk-host-install.sh | 227 ------------------
 2 files changed, 723 deletions(-)
 delete mode 100644 lib/oesdk/package-sdks
 delete mode 100755 lib/oesdk/ti-sdk-host-install.sh
lib/oesdk/package-sdks deleted +0 -496
deleted file mode 100644
index 2316d40..0000000
@@ -1,496 +0,0 @@
-#!/bin/bash
-
-# This script is intended to be called only from the top-level build-oesdk.sh
-# script which parses the configuration file and sets necessary variables.
-# So check if it is being called from any other context and if so exit.
-if [ "`basename $0`" != "build-oesdk.sh" ]
-then
-    log $error_log echo "This is a helper script and should not be run directly"
-    exit 1
-fi
-
-create_sd_card_content() {
-    # Set m for logging purposes
-    m="$1"
-
-    package_root="$PACKAGE_ROOT/$m"
-
-    # Make the machine specific SD card directory
-    sd_card_root="$DEPLOY_ROOT/$m/$BUILD_ID/sd_card_contents"
-
-    if [ -d $sd_card_root ]
-    then
-        rm -rf $sd_card_root
-    fi
-    mkdir -p $sd_card_root
-
-    # Create the boot_partition tarball.  Some of the files such as the
-    # prebuilt images were already staged here during the build/test phase
-    # and just need to be renamed.  Others should be copied from the
-    # SD_CARD_CONTENT directory
-    cd $package_root/boot_partition
-
-    # Rename the pre-built image files
-    if [ -e u-boot-$m.img ]
-    then
-        mv u-boot-$m.img u-boot.img
-    fi
-
-    # For machines that use older u-boots that do not use .img files
-    if [ -e u-boot-$m.bin ]
-    then
-        mv u-boot-$m.bin u-boot.bin
-    fi
-
-    # Remove this binary since it wouldn't be used in the boot partition
-    if [ -e u-boot-spl.bin-$m ]
-    then
-        rm u-boot-spl.bin-$m
-    fi
-
-    # For some devices the uImage/zImage and dtb files are read
-    # from the /boot directory of the rootfs. In this case do
-    # not package the uImage/zImage and device tree files into
-    # the boot partition as it will cause confusion.
-    if [ "$PACKAGE_BOOT_KERNEL_FILES" = "true" ]
-    then
-        if [ -e [uz]Image-$m.bin ]
-        then
-            kernel_image=`ls [uz]Image-$m.bin | grep -o [uz]Image`
-            mv [uz]Image-$m.bin $kernel_image
-        fi
-    else
-        rm -f [uz]Image*
-        rm -f *.dtb
-    fi
-
-    # Copy the MLO if it exists for the device
-    if [ -e MLO-$m ]
-    then
-        mv MLO-$m MLO
-    fi
-
-    # If there are any extra SD card content files for the boot partition
-    # copy them with the -L to resolve symlinks
-    if [ -d "$SD_CARD_CONTENT/$m/boot" ]
-    then
-        cp -rLf $SD_CARD_CONTENT/$m/boot/* .
-    fi
-
-    # Now tar up the boot_partition.tar.xz file
-    tar cJf $sd_card_root/boot_partition.tar.xz *
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not create boot_partition.tar.xz"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Move the rootfs tarball we already had to the sd_card_root directory
-    cd $package_root/root_partition
-    mv rootfs_partition.$FS_IMAGE_TYPE $sd_card_root/
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not mv rootfs_partition.tar.xz"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Lastly let's package the start_here partition tarball
-    start_here_root="$package_root/start_here_partition"
-    if [ -d "$start_here_root" ]
-    then
-        rm -rf $start_here_root
-    fi
-    mkdir -p $start_here_root
-
-    cd $start_here_root
-
-    # Copy the installer
-    cp $DEPLOY_ROOT/$m/$BUILD_ID/${INSTALLER_PREFIX}-$m* $start_here_root/
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not copy installer to start_here"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Copy the rest of the start_here content from the SD_CARD_CONTENT
-    # directory.  This usually contains:
-    #   - CCS installer
-    #   - quickstart guides
-    #   - START_HERE.sh scripts (if needed)
-    if [ -d "$SD_CARD_CONTENT/$m/start_here" ]
-    then
-        cp -rLf $SD_CARD_CONTENT/$m/start_here/* .
-    fi
-
-    # Now tar up the start_here_partition.tar.xz file
-    tar cJf $sd_card_root/start_here_partition.tar.xz *
-
-    if [ "$?" != "0" ]
-    then
-        echo "Could not create start_here_partition.tar.xz"
-        echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
-        return 1
-    fi
-
-    # Lastly copy the create-sdcard.sh script for the extracted SDK
-    # directory to the sd_card_root
-    cp $TEST_ROOT/$m-test/temp/bin/create-sdcard.sh $sd_card_root/
-    chmod +x $sd_card_root/create-sdcard.sh
-
-    # Mark this step as PASSED since we got here
-    echo "PASSED" > $LOG_DIR/$m-build-sdcard.txt
-}
-
-create_sdk_installer() {
-    # Set m for logging purposes
-    m="$1"
-
-    # Make the machine specific installer root
-    installer_root="$INSTALLER_ROOT/$m"
-
-    if [ -d $installer_root ]
-    then
-        rm -rf $installer_root
-    fi
-    mkdir -p $installer_root
-
-    # Copy the installer components into the proper directory
-    cp $PACKAGE_ROOT/$m/$SDK_FILTER* $installer_root/
-
-    # Get the name of the SDK tarball
-    cd $installer_root
-    sdk_tar="`ls $SDK_FILTER*`"
-    cd -
-
-    ## Custom Install Builder Parameters
-    #   sdk_loc         - Location of SDK tarball
-    #   sdk_tar_nam     - SDK tarball name
-    #   output_dir      - Location to place SDK installer
-    #   platform        - Machine name
-    #   sdk_version         - SDK Version
-    #   sdk_name_prefix - SDK name Prefix.
-    #
-    #   SDK is referred to as ${sdk_name_prefix}-${platform} in the installer
-    #        Ex tisdk-am335x
-    #   SDK installer is named after ${sdk_name_prefix}-${platform}-${sdk_version}-Linux-x86-Install.bin
-    #        Ex ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin
-
-
-    $INSTALL_BUILDER/builder build $INSTALL_BUILDER_PROJECT linux --setvars \
-        sdk_loc="$installer_root/" \
-        sdk_name_prefix="${INSTALLER_PREFIX}"                  \
-        sdk_tar_name=$sdk_tar                     \
-        output_dir="$deploy_root"                 \
-        platform="$m"                             \
-        sdk_version="$TISDK_VERSION"
-
-    if [ "$?" != "0" ]
-    then
-        echo "FAILED" > $LOG_DIR/$m-build-installer.txt
-        return 1
-    else
-        echo "PASSED" > $LOG_DIR/$m-build-installer.txt
-    fi
-}
-
-package_web_content() {
-    # Set m for logging purposes
-    m="$1"
-
-    # Create the exports content for the web page
-    exports_root="$deploy_root/exports"
-
-    if [ -d $exports_root ]
-    then
-        rm -rf $exports_root
-    fi
-    mkdir -p $exports_root
-
-    # Copy the manifest file if it exists.  Pull it from the extracted
-    # SDK directory from the test step.
-    manifest_file="$TEST_ROOT/$m-test/temp/docs/software_manifest.htm"
-    if [ -e $manifest_file ]
-    then
-        cp $manifest_file $exports_root/
-    else
-        echo "Could not package manifest file"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # Create the PSP tarballs as well
-    # First the sources tarball
-    cd $TEST_ROOT/$m-test/temp
-
-    tar --exclude=prebuilt-images -cJf $exports_root/$m-sdk-src-$TISDK_VERSION.tar.xz board-support/*
-
-    if [ "$?" != 0 ]
-    then
-        echo "Could not create SDK sources tarball"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # Now Create the pre-built binaries tarball.  Make a temporary directory
-    # to copy contents to here so that we can get the right extraction name.
-    tmp_dir="$exports_root/${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}"
-    tmp_dir_bs="$tmp_dir/board-support"
-    mkdir -p $tmp_dir_bs
-
-    cp -rf board-support/prebuilt-images $tmp_dir_bs
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy prebuilt-images"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cp -rf filesystem $tmp_dir/
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy file system tarballs"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cp -rf bin $tmp_dir/
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy bin folder"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # remove scripts which have dependency on devkit
-    rm  $tmp_dir/bin/unshallow-repositories.sh
-    rm  $tmp_dir/bin/create-ubifs.sh
-
-    # modify create-sdcard.sh to use the tarball extraction directory
-    sed -i -e "s|ti-sdk.*\[0-9\]|${tmp_dir##*/}|g" $tmp_dir/bin/create-sdcard.sh
-
-    # modify setup-target-nfs.sh to get the absolute path when running the scripts
-    # 1. remove the line to set up "SDKinstall" with TI_SDK_PATH
-    sed -i -e '/^SDKinstall/d' $tmp_dir/bin/setup-targetfs-nfs.sh
-
-    # 2. add the lines before setting dstdefault to get the absolute path of the scripts and SDKinstall,
-    #    using the same way as in create-sdcard.sh: PWD=`pwd`; EXE=`echo $0 | sed s=$PWD==`;
-    #    EXEPATH="$PWD"/"$EXE"; SDKinstall=`echo $EXEPATH | grep -o .*ti-sdk.*.[0-9]`
-    sed -i -e '/dstdefault=$SDKinstall\/targetNFS/i\PWD=`pwd`\nEXE=`echo $0 | sed s=$PWD==`\nEXEPATH="$PWD"/"$EXE"\nSDKinstall=`echo $EXEPATH | grep -o '.*ti-sdk.*.[0-9]'`\n' $tmp_dir/bin/setup-targetfs-nfs.sh
-
-    # 3. use the tarball extraction directory for SDKinstall
-    sed -i -e "s|ti-sdk.*\[0-9\]|${tmp_dir##*/}|g" $tmp_dir/bin/setup-targetfs-nfs.sh
-
-    # create Rules.make with variables to be used from the binary package
-    echo "#platform" >> $tmp_dir/Rules.make
-    echo "PLATFORM=$m" >> $tmp_dir/Rules.make
-    echo >> $tmp_dir/Rules.make
-
-    echo "#root of the target file system for installing applications" >> $tmp_dir/Rules.make
-    echo "DESTDIR=__DESTDIR__" >> $tmp_dir/Rules.make
-    echo >> $tmp_dir/Rules.make
-
-    echo "# Set EXEC_DIR to install example binaries" >> $tmp_dir/Rules.make
-    echo "EXEC_DIR=__EXEC_DIR__" >> $tmp_dir/Rules.make
-
-    if [ "$?" != 0 ]
-    then
-        echo "Could not create Rules.make"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cp -f setup.sh $tmp_dir/
-    if [ "$?" != 0 ]
-    then
-        echo "Could not copy setup.sh"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    cd $exports_root
-    tar cJf $m-sdk-bin-$TISDK_VERSION.tar.xz ${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}/*
-    if [ "$?" != 0 ]
-    then
-        echo "Could not create SDK binaries tarball"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    rm -rf ${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}
-
-    if [ "$EXPORT_ARAGO_SRC" == "1" ]
-    then
-        tar -C $DL_DIR -cJf $exports_root/$m-sdk-arago-src-$TISDK_VERSION.tar.xz .
-
-        if [ "$?" != 0 ]
-        then
-            echo "Could not create arago source tarball"
-            echo "FAILED" > $LOG_DIR/$m-web-results.txt
-            return 1
-        fi
-    fi
-
-    # Copy any additional web files that are in the WEB_EXTRAS_ROOT
-    # directory.
-    web_extras="$WEB_EXTRAS_ROOT/$m"
-    if [ -d $web_extras ]
-    then
-        cp -rLf $web_extras/* $exports_root/
-    fi
-
-    # Move the installer into the exports directory
-    mv $deploy_root/${INSTALLER_PREFIX}-$m* $exports_root/
-
-    # Create the md5sum file
-    cd $exports_root
-    md5sum * > md5sum.txt
-
-    # If we got here it means everything else passed
-    echo "PASSED" > $LOG_DIR/$m-web-results.txt
-}
-
-generate_webgen_page() {
-    # Set m for logging purposes
-    m="$1"
-
-    
-    webgen_make="$WEBGEN_MAK_ROOT/$m/webgen.mak"
-
-    if [ ! -e $webgen_make ]
-    then
-        echo "Could not find the webgen file for machine $m"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-        return 1
-    fi
-
-    # Create the ti.com contents directory
-    mkdir -p $deploy_root/ti_com_contents
-
-    # Copy the webgen file to the deploy directory
-    cd $deploy_root
-    cp $webgen_make .
-
-    # Generate the web page
-    $WEBGEN_ROOT/webgen_ext webgen.mak $deploy_root/ti_com_contents exports
-
-    # Cleanup the misc webgen files
-    cleanup_webgen_page $m
-}
-
-# The webgen tool does a couple of things like make a symlink to the exports
-# directory and has a validationinfo file that needs to be removed before
-# copying.  If this is not done then we copy double the files, etc.
-cleanup_webgen_page() {
-    m="$1"
-
-    content_dir="$deploy_root/ti_com_contents/`grep 'PRODUCT_NAME=' $webgen_make | sed -e 's/PRODUCT_NAME=//g'`/`echo $TISDK_VERSION | tr '.' '_'`"
-
-    # Something went wrong here because I can't find the webgen content
-    if [ ! -d $content_dir ]
-    then
-        echo "Could not find the $content_dir"
-        echo "FAILED" > $LOG_DIR/$m-web-results.txt
-    fi
-
-    # Remove the exports symlink and move the real exports directory into its
-    # place
-    rm -rf $content_dir/exports
-    mv $deploy_root/exports $content_dir/
-
-    # Remove the .validationinfo file
-    rm -f $content_dir/.validationinfo
-
-    # Remove the webgen.mak file
-    rm -f $deploy_root/webgen.mak
-}
-
-package_individual_sdk() {
-    # Set m for logging purposes
-    m="$1"
-
-    # Make the machine specific deploy root
-    deploy_root="$DEPLOY_ROOT/$m/$BUILD_ID"
-
-    if [ -d $deploy_root ]
-    then
-        rm -rf $deploy_root
-    fi
-    mkdir -p $deploy_root
-
-    # Create the SDK installer in the deploy directory
-    create_sdk_installer $m
-
-    # Create the SD card tarballs in the deploy directory
-    create_sd_card_content $m
-
-    # Package the SD card and web page contents to get ready for
-    # generating the webgen page and publishing the SDK
-    package_web_content $m
-
-    if [ "$?" == "0" ]
-    then
-        # Since the packaging worked let's generate the ti.com style
-        # web page.
-        generate_webgen_page $m
-    fi
-}
-
-package_sdks(){
-    # Build a list of machines that passed their build and had no
-    # CRITICAL failures.  This can be done by looking for the test
-    # results file for each machine.  If the test file does not
-    # exist then the build failed.  If it does exist and does not
-    # contain the CRITICAL keyword then we can continue with
-    #packaging.
-    machines=""
-
-    for m in $MACHINES
-    do
-        if [ -e $LOG_DIR/$m-build-result.txt ]
-        then
-            # Check if the build failed
-            grep "FAILED" $LOG_DIR/$m-build-result.txt > /dev/null 2>&1
-            if [ "$?" == "0" ]
-            then
-                # The build failed so don't package this device
-                continue
-            fi
-
-            # Check the test results
-            if [ -e $LOG_DIR/$m-test-result.txt ]
-            then
-                # The build at least PASSED
-                # Check if this was a CRITICAL failure
-                grep "CRITICAL" $LOG_DIR/$m-test-result.txt > /dev/null 2>&1
-                if [ "$?" == "0" ]
-                then
-                    # This was a critical failure so return without copying
-                    # the files
-                    continue
-                fi
-
-                # This was a build with a PASSED, SKIPPED, or non-CRITICAL
-                # test result.  Add it to the list of machines to package.
-                machines="$machines""$m "
-            fi
-        fi
-    done
-
-    echo "machines = $machines"
-
-    # Now that the have the list of machines we can call the rest of the
-    # package functions in parallel.
-    for m in $machines
-    do
-        package_individual_sdk $m &
-    done
-
-    # Wait for the subprocesses to all finish
-    wait
-}
lib/oesdk/ti-sdk-host-install.sh deleted +0 -227

227 lines not on this page · raw message

Signature · 1 line
2.7.4
Reviewed-by on v1 5/10
#15 lore raw

Re: [tisdk-build-scripts][PATCH 05/10] Remove support for generating installer SDK

Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Quoted 784 lines

---
lib/oesdk/package-sdks | 496 --------------------------------------- lib/oesdk/ti-sdk-host-install.sh | 227 ------------------

2 files changed, 723 deletions(-)

delete mode 100644 lib/oesdk/package-sdks delete mode 100755 lib/oesdk/ti-sdk-host-install.sh

lib/oesdk/package-sdks deleted +0 -3
deleted file mode 100644
index 2316d40..0000000
@@ -1,496 +0,0 @@
-#!/bin/bash
-
-# This script is intended to be called only from the top-level

build-oesdk.sh
-# script which parses the configuration file and sets necessary variables.

lib/oesdk/package-sdks deleted +0 -4
-# So check if it is being called from any other context and if so exit.
-if [ "`basename $0`" != "build-oesdk.sh" ]
-then
- log $error_log echo "This is a helper script and should not be run

directly"
- exit 1

lib/oesdk/package-sdks deleted +0 -172
-fi
-
-create_sd_card_content() {
- # Set m for logging purposes
- m="$1"
-
- package_root="$PACKAGE_ROOT/$m"
-
- # Make the machine specific SD card directory
- sd_card_root="$DEPLOY_ROOT/$m/$BUILD_ID/sd_card_contents"
-
- if [ -d $sd_card_root ]
- then
- rm -rf $sd_card_root
- fi
- mkdir -p $sd_card_root
-
- # Create the boot_partition tarball. Some of the files such as the
- # prebuilt images were already staged here during the build/test phase
- # and just need to be renamed. Others should be copied from the
- # SD_CARD_CONTENT directory
- cd $package_root/boot_partition
-
- # Rename the pre-built image files
- if [ -e u-boot-$m.img ]
- then
- mv u-boot-$m.img u-boot.img
- fi
-
- # For machines that use older u-boots that do not use .img files
- if [ -e u-boot-$m.bin ]
- then
- mv u-boot-$m.bin u-boot.bin
- fi
-
- # Remove this binary since it wouldn't be used in the boot partition
- if [ -e u-boot-spl.bin-$m ]
- then
- rm u-boot-spl.bin-$m
- fi
-
- # For some devices the uImage/zImage and dtb files are read
- # from the /boot directory of the rootfs. In this case do
- # not package the uImage/zImage and device tree files into
- # the boot partition as it will cause confusion.
- if [ "$PACKAGE_BOOT_KERNEL_FILES" = "true" ]
- then
- if [ -e [uz]Image-$m.bin ]
- then
- kernel_image=`ls [uz]Image-$m.bin | grep -o [uz]Image`
- mv [uz]Image-$m.bin $kernel_image
- fi
- else
- rm -f [uz]Image*
- rm -f *.dtb
- fi
-
- # Copy the MLO if it exists for the device
- if [ -e MLO-$m ]
- then
- mv MLO-$m MLO
- fi
-
- # If there are any extra SD card content files for the boot partition
- # copy them with the -L to resolve symlinks
- if [ -d "$SD_CARD_CONTENT/$m/boot" ]
- then
- cp -rLf $SD_CARD_CONTENT/$m/boot/* .
- fi
-
- # Now tar up the boot_partition.tar.xz file
- tar cJf $sd_card_root/boot_partition.tar.xz *
-
- if [ "$?" != "0" ]
- then
- echo "Could not create boot_partition.tar.xz"
- echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
- return 1
- fi
-
- # Move the rootfs tarball we already had to the sd_card_root directory
- cd $package_root/root_partition
- mv rootfs_partition.$FS_IMAGE_TYPE $sd_card_root/
-
- if [ "$?" != "0" ]
- then
- echo "Could not mv rootfs_partition.tar.xz"
- echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
- return 1
- fi
-
- # Lastly let's package the start_here partition tarball
- start_here_root="$package_root/start_here_partition"
- if [ -d "$start_here_root" ]
- then
- rm -rf $start_here_root
- fi
- mkdir -p $start_here_root
-
- cd $start_here_root
-
- # Copy the installer
- cp $DEPLOY_ROOT/$m/$BUILD_ID/${INSTALLER_PREFIX}-$m* $start_here_root/
-
- if [ "$?" != "0" ]
- then
- echo "Could not copy installer to start_here"
- echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
- return 1
- fi
-
- # Copy the rest of the start_here content from the SD_CARD_CONTENT
- # directory. This usually contains:
- # - CCS installer
- # - quickstart guides
- # - START_HERE.sh scripts (if needed)
- if [ -d "$SD_CARD_CONTENT/$m/start_here" ]
- then
- cp -rLf $SD_CARD_CONTENT/$m/start_here/* .
- fi
-
- # Now tar up the start_here_partition.tar.xz file
- tar cJf $sd_card_root/start_here_partition.tar.xz *
-
- if [ "$?" != "0" ]
- then
- echo "Could not create start_here_partition.tar.xz"
- echo "FAILED" > $LOG_DIR/$m-build-sdcard.txt
- return 1
- fi
-
- # Lastly copy the create-sdcard.sh script for the extracted SDK
- # directory to the sd_card_root
- cp $TEST_ROOT/$m-test/temp/bin/create-sdcard.sh $sd_card_root/
- chmod +x $sd_card_root/create-sdcard.sh
-
- # Mark this step as PASSED since we got here
- echo "PASSED" > $LOG_DIR/$m-build-sdcard.txt
-}
-
-create_sdk_installer() {
- # Set m for logging purposes
- m="$1"
-
- # Make the machine specific installer root
- installer_root="$INSTALLER_ROOT/$m"
-
- if [ -d $installer_root ]
- then
- rm -rf $installer_root
- fi
- mkdir -p $installer_root
-
- # Copy the installer components into the proper directory
- cp $PACKAGE_ROOT/$m/$SDK_FILTER* $installer_root/
-
- # Get the name of the SDK tarball
- cd $installer_root
- sdk_tar="`ls $SDK_FILTER*`"
- cd -
-
- ## Custom Install Builder Parameters
- # sdk_loc - Location of SDK tarball
- # sdk_tar_nam - SDK tarball name
- # output_dir - Location to place SDK installer
- # platform - Machine name
- # sdk_version - SDK Version
- # sdk_name_prefix - SDK name Prefix.
- #
- # SDK is referred to as ${sdk_name_prefix}-${platform} in the installer
- # Ex tisdk-am335x
- # SDK installer is named after

${sdk_name_prefix}-${platform}-${sdk_version}-Linux-x86-Install.bin
- # Ex ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install.bin

lib/oesdk/package-sdks deleted +0 -3
-
-
- $INSTALL_BUILDER/builder build $INSTALL_BUILDER_PROJECT linux --setvars

\
- sdk_loc="$installer_root/" \
- sdk_name_prefix="${INSTALLER_PREFIX}" \
- sdk_tar_name=$sdk_tar \
- output_dir="$deploy_root" \
- platform="$m" \
- sdk_version="$TISDK_VERSION"

lib/oesdk/package-sdks deleted +0 -40
-
- if [ "$?" != "0" ]
- then
- echo "FAILED" > $LOG_DIR/$m-build-installer.txt
- return 1
- else
- echo "PASSED" > $LOG_DIR/$m-build-installer.txt
- fi
-}
-
-package_web_content() {
- # Set m for logging purposes
- m="$1"
-
- # Create the exports content for the web page
- exports_root="$deploy_root/exports"
-
- if [ -d $exports_root ]
- then
- rm -rf $exports_root
- fi
- mkdir -p $exports_root
-
- # Copy the manifest file if it exists. Pull it from the extracted
- # SDK directory from the test step.
- manifest_file="$TEST_ROOT/$m-test/temp/docs/software_manifest.htm"
- if [ -e $manifest_file ]
- then
- cp $manifest_file $exports_root/
- else
- echo "Could not package manifest file"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- # Create the PSP tarballs as well
- # First the sources tarball
- cd $TEST_ROOT/$m-test/temp
-
- tar --exclude=prebuilt-images -cJf

$exports_root/$m-sdk-src-$TISDK_VERSION.tar.xz board-support/*

lib/oesdk/package-sdks deleted +0 -44
-
- if [ "$?" != 0 ]
- then
- echo "Could not create SDK sources tarball"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- # Now Create the pre-built binaries tarball. Make a temporary directory
- # to copy contents to here so that we can get the right extraction name.
 
- tmp_dir="$exports_root/${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}"
- tmp_dir_bs="$tmp_dir/board-support"
- mkdir -p $tmp_dir_bs
-
- cp -rf board-support/prebuilt-images $tmp_dir_bs
- if [ "$?" != 0 ]
- then
- echo "Could not copy prebuilt-images"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- cp -rf filesystem $tmp_dir/
- if [ "$?" != 0 ]
- then
- echo "Could not copy file system tarballs"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- cp -rf bin $tmp_dir/
- if [ "$?" != 0 ]
- then
- echo "Could not copy bin folder"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- # remove scripts which have dependency on devkit
- rm $tmp_dir/bin/unshallow-repositories.sh
- rm $tmp_dir/bin/create-ubifs.sh
-
- # modify create-sdcard.sh to use the tarball extraction directory
- sed -i -e "s|ti-sdk.*\[0-9\]|${tmp_dir##*/}|g"

$tmp_dir/bin/create-sdcard.sh
-
- # modify setup-target-nfs.sh to get the absolute path when running the scripts
- # 1. remove the line to set up "SDKinstall" with TI_SDK_PATH
- sed -i -e '/^SDKinstall/d' $tmp_dir/bin/setup-targetfs-nfs.sh -
- # 2. add the lines before setting dstdefault to get the absolute path of the scripts and SDKinstall,
- # using the same way as in create-sdcard.sh: PWD=pwd; EXE=echo $0 | sed s=$PWD==;
- # EXEPATH="$PWD"/"$EXE"; SDKinstall=echo $EXEPATH | grep -o .*ti-sdk.*.[0-9]
- sed -i -e '/dstdefault=$SDKinstall\/targetNFS/i\PWD=pwd\nEXE=echo $0 | sed s=$PWD==\nEXEPATH="$PWD"/"$EXE"\nSDKinstall=`echo $EXEPATH | grep

lib/oesdk/package-sdks deleted +0 -4
-o '.*ti-sdk.*.[0-9]'`\n' $tmp_dir/bin/setup-targetfs-nfs.sh
-
- # 3. use the tarball extraction directory for SDKinstall
- sed -i -e "s|ti-sdk.*\[0-9\]|${tmp_dir##*/}|g"

$tmp_dir/bin/setup-targetfs-nfs.sh

lib/oesdk/package-sdks deleted +0 -7
-
- # create Rules.make with variables to be used from the binary package
- echo "#platform" >> $tmp_dir/Rules.make
- echo "PLATFORM=$m" >> $tmp_dir/Rules.make
- echo >> $tmp_dir/Rules.make
-
- echo "#root of the target file system for installing applications" >>

$tmp_dir/Rules.make
- echo "DESTDIR=__DESTDIR__" >> $tmp_dir/Rules.make
- echo >> $tmp_dir/Rules.make

lib/oesdk/package-sdks deleted +0 -21
-
- echo "# Set EXEC_DIR to install example binaries" >> $tmp_dir/Rules.make
 
- echo "EXEC_DIR=__EXEC_DIR__" >> $tmp_dir/Rules.make
-
- if [ "$?" != 0 ]
- then
- echo "Could not create Rules.make"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- cp -f setup.sh $tmp_dir/
- if [ "$?" != 0 ]
- then
- echo "Could not copy setup.sh"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- cd $exports_root
- tar cJf $m-sdk-bin-$TISDK_VERSION.tar.xz

${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}/*
- if [ "$?" != 0 ]
- then
- echo "Could not create SDK binaries tarball"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi

lib/oesdk/package-sdks deleted +0 -6
-
- rm -rf ${INSTALLER_PREFIX}-$m-bin-${TISDK_VERSION}
-
- if [ "$EXPORT_ARAGO_SRC" == "1" ]
- then
- tar -C $DL_DIR -cJf $exports_root/$m-sdk-arago-src-$TISDK_VERSION.tar.xz

.

lib/oesdk/package-sdks deleted +0 -57
-
- if [ "$?" != 0 ]
- then
- echo "Could not create arago source tarball"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
- fi
-
- # Copy any additional web files that are in the WEB_EXTRAS_ROOT
- # directory.
- web_extras="$WEB_EXTRAS_ROOT/$m"
- if [ -d $web_extras ]
- then
- cp -rLf $web_extras/* $exports_root/
- fi
-
- # Move the installer into the exports directory
- mv $deploy_root/${INSTALLER_PREFIX}-$m* $exports_root/
-
- # Create the md5sum file
- cd $exports_root
- md5sum * > md5sum.txt
-
- # If we got here it means everything else passed
- echo "PASSED" > $LOG_DIR/$m-web-results.txt
-}
-
-generate_webgen_page() {
- # Set m for logging purposes
- m="$1"
-
-
- webgen_make="$WEBGEN_MAK_ROOT/$m/webgen.mak"
-
- if [ ! -e $webgen_make ]
- then
- echo "Could not find the webgen file for machine $m"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- return 1
- fi
-
- # Create the ti.com contents directory
- mkdir -p $deploy_root/ti_com_contents
-
- # Copy the webgen file to the deploy directory
- cd $deploy_root
- cp $webgen_make .
-
- # Generate the web page
- $WEBGEN_ROOT/webgen_ext webgen.mak $deploy_root/ti_com_contents exports
-
- # Cleanup the misc webgen files
- cleanup_webgen_page $m
-}
-
-# The webgen tool does a couple of things like make a symlink to the

exports

lib/oesdk/package-sdks deleted +0 -6
-# directory and has a validationinfo file that needs to be removed before
 
-# copying. If this is not done then we copy double the files, etc.
-cleanup_webgen_page() {
- m="$1"
-
- content_dir="$deploy_root/ti_com_contents/`grep 'PRODUCT_NAME='

$webgen_make | sed -e 's/PRODUCT_NAME=//g'/echo $TISDK_VERSION | tr '.' '_'`"

lib/oesdk/package-sdks deleted +0 -9
-
- # Something went wrong here because I can't find the webgen content
- if [ ! -d $content_dir ]
- then
- echo "Could not find the $content_dir"
- echo "FAILED" > $LOG_DIR/$m-web-results.txt
- fi
-
- # Remove the exports symlink and move the real exports directory into

its
- # place
- rm -rf $content_dir/exports
- mv $deploy_root/exports $content_dir/

lib/oesdk/package-sdks deleted +0 -92
-
- # Remove the .validationinfo file
- rm -f $content_dir/.validationinfo
-
- # Remove the webgen.mak file
- rm -f $deploy_root/webgen.mak
-}
-
-package_individual_sdk() {
- # Set m for logging purposes
- m="$1"
-
- # Make the machine specific deploy root
- deploy_root="$DEPLOY_ROOT/$m/$BUILD_ID"
-
- if [ -d $deploy_root ]
- then
- rm -rf $deploy_root
- fi
- mkdir -p $deploy_root
-
- # Create the SDK installer in the deploy directory
- create_sdk_installer $m
-
- # Create the SD card tarballs in the deploy directory
- create_sd_card_content $m
-
- # Package the SD card and web page contents to get ready for
- # generating the webgen page and publishing the SDK
- package_web_content $m
-
- if [ "$?" == "0" ]
- then
- # Since the packaging worked let's generate the ti.com style
- # web page.
- generate_webgen_page $m
- fi
-}
-
-package_sdks(){
- # Build a list of machines that passed their build and had no
- # CRITICAL failures. This can be done by looking for the test
- # results file for each machine. If the test file does not
- # exist then the build failed. If it does exist and does not
- # contain the CRITICAL keyword then we can continue with
- #packaging.
- machines=""
-
- for m in $MACHINES
- do
- if [ -e $LOG_DIR/$m-build-result.txt ]
- then
- # Check if the build failed
- grep "FAILED" $LOG_DIR/$m-build-result.txt > /dev/null 2>&1
- if [ "$?" == "0" ]
- then
- # The build failed so don't package this device
- continue
- fi
-
- # Check the test results
- if [ -e $LOG_DIR/$m-test-result.txt ]
- then
- # The build at least PASSED
- # Check if this was a CRITICAL failure
- grep "CRITICAL" $LOG_DIR/$m-test-result.txt > /dev/null 2>&1
- if [ "$?" == "0" ]
- then
- # This was a critical failure so return without copying
- # the files
- continue
- fi
-
- # This was a build with a PASSED, SKIPPED, or non-CRITICAL
- # test result. Add it to the list of machines to package.
- machines="$machines""$m "
- fi
- fi
- done
-
- echo "machines = $machines"
-
- # Now that the have the list of machines we can call the rest of the
- # package functions in parallel.
- for m in $machines
- do
- package_individual_sdk $m &
- done
-
- # Wait for the subprocesses to all finish
- wait
-}
lib/oesdk/ti-sdk-host-install.sh deleted +0 -19
deleted file mode 100755
index 0dc1fa2..0000000
@@ -1,227 +0,0 @@
-# /usr/bin/env bash
-set -x
-#
-# (C) Copyright 2010 Texas Instrument Inc. All rights reserved.
-#
-# Author: Schuyler Patton, Texas Instrunents Inc.
-#
-# Script to install TI SDK on User Platform
-#
-
-VERSION="1.0"
-
-#
-# Display program usage
-#
-usage()
-{
- echo "
-Usage: `basename $1` [options] --machine <machine_name> <install_dir>

<tools_dir_prefix> <dest_dir>

lib/oesdk/ti-sdk-host-install.sh deleted +0 -46
-
- --help Print this help message
-"
- exit 1
-}
-
-#
-# Display version
-#
-version()
-{
- echo "
-`basename $1`: version $VERSION
-"
- exit 1
-}
-
-
-#
-# execute command
-#
-execute ()
-{
- #echo "$*"
- $*
- if [ $? -ne 0 ]; then
- echo "ERROR: failed to execute $*"
- exit 1;
- fi
-}
-
-#
-# update sdk Rules.make
-#
-update_rules_make()
-{
- echo "Updating Rules.make"
- echo "$install_dir"
-
- echo "$install_dir">rm_id.out
- echo "$cross_compile">rm_cc.out
- echo "$cross_compile_dir">rm_ccd.out
- echo "$dest_dir">rm_dd.out
-
- sed -i -e s=__SDK__INSTALL_DIR__=$install_dir= $install_dir/Rules.make
- sed -i -e

s=__CROSS_COMPILE__=$cross_compile_dir/arm-none-linux-gnueabi-= $install_dir/Rules.make

lib/oesdk/ti-sdk-host-install.sh deleted +0 -28
-
- # Find the linux directory name
- linux=`find $install_dir/board-support -maxdepth 1 -name "linux*"`
- linux=`basename $linux`
- sed -i -e s=__KERNEL_NAME__=$linux= $install_dir/Rules.make
-
- # Extract toolchain sdk
- $install_dir/linux-devkit.sh -y -d $install_dir/linux-devkit
-
- # Remove toolchain SDK
- rm $install_dir/linux-devkit.sh
-
-# TODO: Unsure about this one here. This likely should change when the
-# META_SDK_PATH functionality is put back in.
- echo "Updating prefix in libtoolize "
- sed -i -e "s|/arago-2012.10|$install_dir/linux-devkit|g" \
- $install_dir/linux-devkit/bin/libtoolize
-}
-
-#
-# update example applications CCS project file
-#
-update_ccs_project()
-{
- cd $install_dir
-
- # Grab some essential variables from environment-setup
- TARGET_SYS=`sed -n 's/^export TARGET_SYS=//p'

linux-devkit/environment-setup`
- TOOLCHAIN_SYS=sed -n 's/^export TOOLCHAIN_SYS=//p' linux-devkit/environment-setup
- SDK_SYS=sed -n 's/^export SDK_SYS=//p' linux-devkit/environment-setup -
- # Grab toolchain's GCC version
- GCC_VERSION=ls linux-devkit/sysroots/$SDK_SYS/usr/lib/gcc/$TOOLCHAIN_SYS/

lib/oesdk/ti-sdk-host-install.sh deleted +0 -2
-
-

TOOLCHAIN_TARGET_INCLUDE_DIR="linux-devkit/sysroots/$TARGET_SYS/usr/include"

- TOOLCHAIN_INCLUDE_DIR="linux-devkit/sysroots/$SDK_SYS/usr/lib/gcc/$TOOLCHAIN_SYS/$GCC_VERSION/include"

-
- # Update CCS project files using important paths to headers
- find ./example-applications -type f -exec sed -i "s|<TOOLCHAIN_TARGET_INCLUDE_DIR>|$TOOLCHAIN_TARGET_INCLUDE_DIR|g" {} \;
- find ./example-applications -type f -exec sed -i "s|<TOOLCHAIN_INCLUDE_DIR>|$TOOLCHAIN_INCLUDE_DIR|g" {} \;
- cd -

lib/oesdk/ti-sdk-host-install.sh deleted +0 -85
-}
-
-#
-# prepare installer tools
-#
-prepare_install ()
-{
- echo "Preparing installation ..."
- cwd=$PWD;
-
- execute "mkdir -p ${install_dir}"
- mkdir -p ${dest_dir}
-
-}
-
-#
-# install sdk
-#
-install_sdk ()
-{
- sdk_dir=$PWD
- echo "$sdk_dir">is_sdk_dir.out
- echo "$install_dir">is_id.out
- echo "$cross_compile">is_cc.out
- echo "$cross_compile_dir">is_ccd.out
- echo "$dest_dir">is_dd.out
- echo "$sdk_pkg">is_sdk_pkg.out
-
-# cp -p ti-sdk-ubuntu-env-setup.sh "$install_dir"
- echo "Untarring top level SDK $sdk_pkg "
- tar -xf $sdk_pkg -C $install_dir
- echo "Untarring top level package complete "
-
- # Remove any .svn directories that were packaged by the sourceipks
- rm -rf `find $install_dir -name ".svn"`
-
-}
-
-install_ccs()
-{
-
-# $install_source/CCS/setup*.bin &
-
-echo "install_ccs is $install_ccs">ccs_iccs.out
-
-if [ "$install_ccs" = "yes" ]; then
- $install_source/ccs_install.sh $install_source &
-fi
-
-}
-
-
-# Process command line...
-while [ $# -gt 0 ]; do
- case $1 in
- --help | -h)
- usage $0
- ;;
- --version | -v)
- version $0
- ;;
- --sdk_pkg)
- shift;
- sdk_pkg=$1;
- ;;
- --install_dir)
- shift;
- install_dir=$1;
- ;;
- --install_ccs)
- shift;
- install_ccs="yes";
- ;;
- --install_source)
- shift;
- install_source=$1
- ;;
- *)
- shift;
- ;;
- esac
-done
-
-echo " "
-echo " Called with --machine $machine --sdk_pkg $sdk_pkg --install_dir

$install_dir --cross_compile_dir $cross_compile_dir --cross_compile $cross_compile ">called-w-param.out

lib/oesdk/ti-sdk-host-install.sh deleted +0 -37
-echo " "
-
-echo "$machine">machid.out
-echo "$install_dir">id.out
-echo "$cross_compile">cc.out
-echo "$cross_compile_dir">ccd.out
-echo "$dest_dir">dd.out
-echo "$install_source">tmp/tmp_iss.out
-echo "$install_source">iss.out
-
-# check if install_dir variable is set.
-test -z $install_dir && usage $0
-execute "mkdir -p $install_dir"
-echo "after mkdir ">oops.out
-
-# prepare installation.
-prepare_install
-echo "after prepare ">oops.out
-
-# install sdk
-install_sdk
-echo "after install_sdk ">oops.out
-
-# install CCS
-test -d $install_source/CCS;install_ccs
-
-# update rules.make
-update_rules_make
-
-# Update example applications CCS project files
-update_ccs_project
-
-echo "Installation completed!"
-
-exit 0
-
--

2.7.4

#16 lore raw

cover Build scripts simplification/cleanup pass #1

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

tisdk-build-scripts project has started almost 10 years ago and initially was envisioned as a dedicated CI vehicle, supporting OpenEmbedded and Debian/Ubuntu, handling parallel and serial multi-machine builds, runtime target testing, SDK installer packaging, detailed reporting tool, etc.

Over the years, a lot of that functionality has migrated to dedicated facilities and frameworks (Jenkins build farm, OpenTest testing farm, Django reporting portal, etc), so it is time to clean it up and simplify a lot of things to make the code easy to read, understand and maintain.

Denys Dmytriyenko (10):
Remove very old debian/ubuntu build scripts and configs Remove old webgen makefiles for very old AMSDK and CoreSDK releases Remove rudimentary target testing with OpenTest CLI Remove very old build config files
Remove support for generating installer SDK
Remove code that extracts and repackages SDK for runtime testing Remove ability to generate build/test report per machine Remove calls to packaging, reporting, testing and copying
functionality
If no configs specified, initialize LOG_DIR correctly Adjust default BUILD_DIR to be relative to SCRIPTS_DIR

 build-oesdk.sh                                     |  52 +--
 build-ubuntu-environment.sh                        | 194 --------
 configs/amsdk/amsdk-config-05.06.00.00.txt         | 288 ------------
 configs/amsdk/amsdk-config-05.07.00.00.txt         | 303 -------------
 configs/amsdk/amsdk-config-06.00.00.00.txt         | 314 -------------
 configs/amsdk/amsdk-config-07.00.00.00.txt         | 314 -------------
 configs/amsdk/amsdk-config-07.01.00.00.txt         | 314 -------------
 configs/amsdk/amsdk-config-08.00.00.00.txt         | 318 -------------
 configs/arago-core-tisdk-daisy-puget.txt           | 333 --------------
 configs/arago-core-tisdk-danny-puget.txt           | 315 -------------
 configs/arago-core-tisdk-dora-puget.txt            | 315 -------------
 configs/arago-core-tisdk-dylan-puget.txt           | 315 -------------
 configs/arago-core-tisdk-fido-puget.txt            | 337 --------------
 configs/arago-core-tisdk-krogoth-farm.txt          | 340 --------------
 configs/arago-core-tisdk-krogoth-puget.txt         | 340 --------------
 configs/arago-core-tisdk-master-puget.txt          | 337 --------------
 configs/coresdk/arago-core-amsdk-2013.04.01.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.04.00.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.04.01.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.04.02.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.10.00.txt    | 314 -------------
 configs/coresdk/arago-core-tisdk-2013.12.00.txt    | 314 -------------
 configs/coresdk/arago-core-tisdk-2013.12.01.txt    | 314 -------------
 configs/coresdk/arago-core-tisdk-2014.08.00.txt    | 318 -------------
 configs/coresdk/arago-core-tisdk-2014.10.01.txt    | 318 -------------
 configs/coresdk/arago-core-tisdk-2014.10.02.txt    | 321 -------------
 configs/coresdk/arago-core-tisdk-2015.01-puget.txt | 333 --------------
 configs/coresdk/arago-core-tisdk-2015.02-puget.txt | 333 --------------
 configs/coresdk/arago-core-tisdk-2015.03-puget.txt | 337 --------------
 configs/distroless-meta-ti-puget.txt               | 308 -------------
 configs/farm/arago-dunfell-next.txt                |   2 +-
 configs/farm/arago-dunfell.txt                     |   2 +-
 configs/farm/arago-krogoth.txt                     | 344 --------------
 configs/farm/arago-master.txt                      |   2 +-
 configs/farm/arago-morty-next-rel.txt              | 344 --------------
 configs/farm/arago-morty-next.txt                  | 344 --------------
 configs/farm/arago-morty.txt                       | 344 --------------
 configs/farm/arago-rocko-next.txt                  | 346 --------------
 configs/farm/arago-rocko.txt                       | 346 --------------
 configs/farm/arago-thud-next.txt                   | 349 ---------------
 configs/farm/arago-thud.txt                        | 349 ---------------
 configs/farm/arago-zeus-next.txt                   | 346 --------------
 configs/farm/arago-zeus.txt                        | 346 --------------
 configs/farm/distroless-dunfell.txt                |   2 +-
 configs/farm/distroless-master.txt                 |   2 +-
 configs/farm/distroless-morty.txt                  | 196 --------
 configs/farm/distroless-rocko.txt                  | 196 --------
 configs/farm/distroless-thud.txt                   | 198 --------
 configs/farm/distroless-zeus.txt                   | 198 --------
 configs/farm/poky-dunfell.txt                      |   2 +-
 configs/farm/poky-master.txt                       |   2 +-
 configs/farm/poky-morty.txt                        | 196 --------
 configs/farm/poky-rocko.txt                        | 196 --------
 configs/farm/poky-thud.txt                         | 198 --------
 configs/farm/poky-zeus.txt                         | 198 --------
 configs/target-debconf-selections.txt              | 212 ---------
 configs/ubuntu-environment-creation.conf           | 162 -------
 installer-files/tisdk.xml                          | 220 ---------
 lib/oesdk/bitbake-test-sdk-image                   | 381 ----------------
 lib/oesdk/generate-report                          | 295 ------------
 lib/oesdk/package-sdks                             | 496 ---------------------
 lib/oesdk/ti-sdk-host-install.sh                   | 227 ----------
 lib/run-opentest                                   | 375 ----------------
 lib/ubuntu/apt-helper-functions                    |  20 -
 lib/ubuntu/create-target-files                     |  51 ---
 lib/ubuntu/create-ubuntu-host-chroot.sh            |  77 ----
 lib/ubuntu/do-bind-mounts.sh                       |  22 -
 lib/ubuntu/kernel-build.sh                         |  46 --
 lib/ubuntu/run-opentest-on-target-image            |  35 --
 lib/ubuntu/sudo-check                              |   5 -
 lib/ubuntu/use-armhf-pbuilder.sh                   | 117 -----
 linux-devtest.tgz                                  | Bin 775952 -> 0 bytes
 opentest_cli_0.7.tar.gz                            | Bin 482035 -> 0 bytes
 .../amsdk/05.06.00.00/am335x-evm/webgen.mak        |  33 --
 .../amsdk/05.07.00.00/am180x-evm/webgen.mak        |  29 --
 .../amsdk/05.07.00.00/am335x-evm/webgen.mak        |  32 --
 .../amsdk/05.07.00.00/am3517-evm/webgen.mak        |  31 --
 .../amsdk/05.07.00.00/am37x-evm/webgen.mak         |  31 --
 .../amsdk/05.07.00.00/beagleboard/webgen.mak       |  29 --
 .../amsdk/06.00.00.00/am180x-evm/webgen.mak        |  29 --
 .../amsdk/06.00.00.00/am335x-evm/webgen.mak        |  34 --
 .../amsdk/06.00.00.00/am3517-evm/webgen.mak        |  31 --
 .../amsdk/06.00.00.00/am37x-evm/webgen.mak         |  31 --
 .../amsdk/06.00.00.00/beagleboard/webgen.mak       |  29 --
 .../amsdk/07.00.00.00/am335x-evm/webgen.mak        |  39 --
 .../amsdk/07.00.00.00/am437x-evm/webgen.mak        |  36 --
 .../amsdk/07.01.00.00/am437x-evm/webgen.mak        |  38 --
 .../amsdk/08.00.00.00/am335x-evm/webgen.mak        |  39 --
 .../amsdk/08.00.00.00/am437x-evm/webgen.mak        |  40 --
 .../amsdk/08.00.00.00/am57xx-evm/webgen.mak        |  38 --
 .../coresdk/2013.04.00/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.04.00/dra7xx-evm/webgen.mak       |  27 --
 .../coresdk/2013.04.00/omap5-evm/webgen.mak        |  26 --
 .../coresdk/2013.04.01/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.04.02/dra7xx-evm/webgen.mak       |  27 --
 .../coresdk/2013.04.02/omap5-evm/webgen.mak        |  26 --
 .../coresdk/2013.10.00/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.10.00/am437x-evm/webgen.mak       |  29 --
 .../coresdk/2013.10.00/dra7xx-evm/webgen.mak       |  29 --
 .../coresdk/2013.10.00/omap5-evm/webgen.mak        |  28 --
 .../coresdk/2013.12.00/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.00/am437x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.00/dra7xx-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.00/omap5-evm/webgen.mak        |  28 --
 .../coresdk/2013.12.01/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.01/am437x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.01/dra7xx-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.01/omap5-evm/webgen.mak        |  28 --
 .../coresdk/2014.08.00/am335x-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/am437x-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/am57xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/dra7xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/k2hk-evm/webgen.mak         |  28 --
 .../coresdk/2014.10.01/am335x-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/am437x-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/am57xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/dra7xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/k2hk-evm/webgen.mak         |  28 --
 .../coresdk/2015.01/am335x-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/am437x-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/am57xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/dra7xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/k2e-evm/webgen.mak             |  28 --
 .../coresdk/2015.01/k2hk-evm/webgen.mak            |  28 --
 .../coresdk/2015.01/k2l-evm/webgen.mak             |  28 --
 .../coresdk/2015.02/am335x-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/am437x-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/am57xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/dra7xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/k2e-evm/webgen.mak             |  28 --
 .../coresdk/2015.02/k2g-evm/webgen.mak             |  28 --
 .../coresdk/2015.02/k2hk-evm/webgen.mak            |  28 --
 .../coresdk/2015.02/k2l-evm/webgen.mak             |  28 --
 test-scripts/S08-fake-weston-calibrate             |   6 -
 test-scripts/S90-fake-pointercal                   |  12 -
 test-scripts/boottest.sh                           |   3 -
 test-scripts/check-dhrystone-perf.sh               |  25 --
 test-scripts/check-kernel-version.sh               |  12 -
 test-scripts/check-launch.sh                       | 121 -----
 test-scripts/check-linpack-perf.sh                 |  31 --
 test-scripts/check-matrix-gui.sh                   |  12 -
 test-scripts/check-psp-version.sh                  |  12 -
 test-scripts/check-whetstone-perf.sh               |  30 --
 test-scripts/check_app.sh                          |  94 ----
 test-scripts/common.sh                             |  88 ----
 test-scripts/nightly-test.sh                       |  93 ----
 test-scripts/opentest.sh                           |   3 -
 test-scripts/st_log.sh                             | 120 -----
 test-scripts/test-files/mandatory-common.txt       |   1 -
 .../test-files/mandatory-oesdk-am180x-evm.txt      |   1 -
 .../test-files/mandatory-oesdk-am3517-evm.txt      |   1 -
 .../test-files/mandatory-oesdk-am37x-evm.txt       |   1 -
 test-scripts/test-files/mandatory-oesdk-armv7a.txt |   1 -
 .../test-files/mandatory-oesdk-beagleboard.txt     |   1 -
 test-scripts/test-files/mandatory-oesdk.txt        |   7 -
 .../test-files/optional-oesdk-am180x-evm.txt       |   2 -
 .../test-files/optional-oesdk-am3517-evm.txt       |   2 -
 .../test-files/optional-oesdk-am37x-evm.txt        |   2 -
 test-scripts/test-files/optional-oesdk-armv7a.txt  |   4 -
 .../test-files/optional-oesdk-beagleboard.txt      |   1 -
 .../test-files/optional-oesdk-dra7xx-evm.txt       |   1 -
 .../test-files/optional-oesdk-omap5-evm.txt        |   1 -
 test-scripts/test-files/optional-oesdk.txt         |  11 -
 163 files changed, 12 insertions(+), 19485 deletions(-)
 delete mode 100755 build-ubuntu-environment.sh
 delete mode 100644 configs/amsdk/amsdk-config-05.06.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-05.07.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-06.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.01.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-08.00.00.00.txt
 delete mode 100644 configs/arago-core-tisdk-daisy-puget.txt
 delete mode 100644 configs/arago-core-tisdk-danny-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dora-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dylan-puget.txt
 delete mode 100644 configs/arago-core-tisdk-fido-puget.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-farm.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-puget.txt
 delete mode 100644 configs/arago-core-tisdk-master-puget.txt
 delete mode 100644 configs/coresdk/arago-core-amsdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.10.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.08.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.01-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.02-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.03-puget.txt
 delete mode 100644 configs/distroless-meta-ti-puget.txt
 delete mode 100644 configs/farm/arago-krogoth.txt
 delete mode 100644 configs/farm/arago-morty-next-rel.txt
 delete mode 100644 configs/farm/arago-morty-next.txt
 delete mode 100644 configs/farm/arago-morty.txt
 delete mode 100644 configs/farm/arago-rocko-next.txt
 delete mode 100644 configs/farm/arago-rocko.txt
 delete mode 100644 configs/farm/arago-thud-next.txt
 delete mode 100644 configs/farm/arago-thud.txt
 delete mode 100644 configs/farm/arago-zeus-next.txt
 delete mode 100644 configs/farm/arago-zeus.txt
 delete mode 100644 configs/farm/distroless-morty.txt
 delete mode 100644 configs/farm/distroless-rocko.txt
 delete mode 100644 configs/farm/distroless-thud.txt
 delete mode 100644 configs/farm/distroless-zeus.txt
 delete mode 100644 configs/farm/poky-morty.txt
 delete mode 100644 configs/farm/poky-rocko.txt
 delete mode 100644 configs/farm/poky-thud.txt
 delete mode 100644 configs/farm/poky-zeus.txt
 delete mode 100644 configs/target-debconf-selections.txt
 delete mode 100644 configs/ubuntu-environment-creation.conf
 delete mode 100644 installer-files/tisdk.xml
 delete mode 100644 lib/oesdk/generate-report
 delete mode 100644 lib/oesdk/package-sdks
 delete mode 100755 lib/oesdk/ti-sdk-host-install.sh
 delete mode 100644 lib/run-opentest
 delete mode 100644 lib/ubuntu/apt-helper-functions
 delete mode 100644 lib/ubuntu/create-target-files
 delete mode 100755 lib/ubuntu/create-ubuntu-host-chroot.sh
 delete mode 100755 lib/ubuntu/do-bind-mounts.sh
 delete mode 100755 lib/ubuntu/kernel-build.sh
 delete mode 100644 lib/ubuntu/run-opentest-on-target-image
 delete mode 100644 lib/ubuntu/sudo-check
 delete mode 100755 lib/ubuntu/use-armhf-pbuilder.sh
 delete mode 100644 linux-devtest.tgz
 delete mode 100644 opentest_cli_0.7.tar.gz
 delete mode 100644 publish-sdk-data/amsdk/05.06.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am180x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am3517-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am37x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/beagleboard/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am180x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am3517-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am37x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/beagleboard/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/07.00.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/07.00.00.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/07.01.00.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.00/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.02/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.02/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/k2e-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/k2l-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2e-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2g-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2l-evm/webgen.mak
 delete mode 100755 test-scripts/S08-fake-weston-calibrate
 delete mode 100755 test-scripts/S90-fake-pointercal
 delete mode 100755 test-scripts/boottest.sh
 delete mode 100755 test-scripts/check-dhrystone-perf.sh
 delete mode 100755 test-scripts/check-kernel-version.sh
 delete mode 100755 test-scripts/check-launch.sh
 delete mode 100755 test-scripts/check-linpack-perf.sh
 delete mode 100755 test-scripts/check-matrix-gui.sh
 delete mode 100755 test-scripts/check-psp-version.sh
 delete mode 100755 test-scripts/check-whetstone-perf.sh
 delete mode 100755 test-scripts/check_app.sh
 delete mode 100755 test-scripts/common.sh
 delete mode 100755 test-scripts/nightly-test.sh
 delete mode 100755 test-scripts/opentest.sh
 delete mode 100755 test-scripts/st_log.sh
 delete mode 100644 test-scripts/test-files/mandatory-common.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am180x-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am3517-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am37x-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-armv7a.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-beagleboard.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am180x-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am3517-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am37x-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-armv7a.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-beagleboard.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-dra7xx-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-omap5-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk.txt
Signature · 1 line
2.7.4
#17 lore raw

Denys, I got two errors while trying to applying this patch series. The error are inline below. Can you correct the patches and resubmit them?

Quoted 7 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

tisdk-build-scripts project has started almost 10 years ago and initially was envisioned as a dedicated CI vehicle, supporting OpenEmbedded and Debian/Ubuntu, handling parallel and serial multi-machine builds, runtime target testing, SDK installer packaging, detailed reporting tool, etc.

Quoted 8 lines

Over the years, a lot of that functionality has migrated to dedicated facilities and frameworks (Jenkins build farm, OpenTest testing farm, Django reporting portal, etc), so it is time to clean it up and simplify a lot of things to make the code easy to read, understand and maintain.

Denys Dmytriyenko (10):
Remove very old debian/ubuntu build scripts and configs Remove old webgen makefiles for very old AMSDK and CoreSDK releases

Applying: Remove old webgen makefiles for very old AMSDK and CoreSDK releases
error: corrupt patch at line 803
Patch failed at 0002 Remove old webgen makefiles for very old AMSDK and CoreSDK releases

Quoted 2 lines

Remove rudimentary target testing with OpenTest CLI Remove very old build config files

Applying: Remove very old build config files
error: corrupt patch at line 14619
Patch failed at 0004 Remove very old build config files

Quoted 327 lines

Remove support for generating installer SDK
Remove code that extracts and repackages SDK for runtime testing Remove ability to generate build/test report per machine Remove calls to packaging, reporting, testing and copying
functionality
If no configs specified, initialize LOG_DIR correctly Adjust default BUILD_DIR to be relative to SCRIPTS_DIR

  build-oesdk.sh                                     |  52 +--
  build-ubuntu-environment.sh                        | 194 --------
  configs/amsdk/amsdk-config-05.06.00.00.txt         | 288 ------------
  configs/amsdk/amsdk-config-05.07.00.00.txt         | 303 -------------
  configs/amsdk/amsdk-config-06.00.00.00.txt         | 314 -------------
  configs/amsdk/amsdk-config-07.00.00.00.txt         | 314 -------------
  configs/amsdk/amsdk-config-07.01.00.00.txt         | 314 -------------
  configs/amsdk/amsdk-config-08.00.00.00.txt         | 318 -------------
  configs/arago-core-tisdk-daisy-puget.txt           | 333 --------------
  configs/arago-core-tisdk-danny-puget.txt           | 315 -------------
  configs/arago-core-tisdk-dora-puget.txt            | 315 -------------
  configs/arago-core-tisdk-dylan-puget.txt           | 315 -------------
  configs/arago-core-tisdk-fido-puget.txt            | 337 --------------
  configs/arago-core-tisdk-krogoth-farm.txt          | 340 --------------
  configs/arago-core-tisdk-krogoth-puget.txt         | 340 --------------
  configs/arago-core-tisdk-master-puget.txt          | 337 --------------
  configs/coresdk/arago-core-amsdk-2013.04.01.txt    | 323 --------------
  configs/coresdk/arago-core-tisdk-2013.04.00.txt    | 323 --------------
  configs/coresdk/arago-core-tisdk-2013.04.01.txt    | 323 --------------
  configs/coresdk/arago-core-tisdk-2013.04.02.txt    | 323 --------------
  configs/coresdk/arago-core-tisdk-2013.10.00.txt    | 314 -------------
  configs/coresdk/arago-core-tisdk-2013.12.00.txt    | 314 -------------
  configs/coresdk/arago-core-tisdk-2013.12.01.txt    | 314 -------------
  configs/coresdk/arago-core-tisdk-2014.08.00.txt    | 318 -------------
  configs/coresdk/arago-core-tisdk-2014.10.01.txt    | 318 -------------
  configs/coresdk/arago-core-tisdk-2014.10.02.txt    | 321 -------------
  configs/coresdk/arago-core-tisdk-2015.01-puget.txt | 333 --------------
  configs/coresdk/arago-core-tisdk-2015.02-puget.txt | 333 --------------
  configs/coresdk/arago-core-tisdk-2015.03-puget.txt | 337 --------------
  configs/distroless-meta-ti-puget.txt               | 308 -------------
  configs/farm/arago-dunfell-next.txt                |   2 +-
  configs/farm/arago-dunfell.txt                     |   2 +-
  configs/farm/arago-krogoth.txt                     | 344 --------------
  configs/farm/arago-master.txt                      |   2 +-
  configs/farm/arago-morty-next-rel.txt              | 344 --------------
  configs/farm/arago-morty-next.txt                  | 344 --------------
  configs/farm/arago-morty.txt                       | 344 --------------
  configs/farm/arago-rocko-next.txt                  | 346 --------------
  configs/farm/arago-rocko.txt                       | 346 --------------
  configs/farm/arago-thud-next.txt                   | 349 ---------------
  configs/farm/arago-thud.txt                        | 349 ---------------
  configs/farm/arago-zeus-next.txt                   | 346 --------------
  configs/farm/arago-zeus.txt                        | 346 --------------
  configs/farm/distroless-dunfell.txt                |   2 +-
  configs/farm/distroless-master.txt                 |   2 +-
  configs/farm/distroless-morty.txt                  | 196 --------
  configs/farm/distroless-rocko.txt                  | 196 --------
  configs/farm/distroless-thud.txt                   | 198 --------
  configs/farm/distroless-zeus.txt                   | 198 --------
  configs/farm/poky-dunfell.txt                      |   2 +-
  configs/farm/poky-master.txt                       |   2 +-
  configs/farm/poky-morty.txt                        | 196 --------
  configs/farm/poky-rocko.txt                        | 196 --------
  configs/farm/poky-thud.txt                         | 198 --------
  configs/farm/poky-zeus.txt                         | 198 --------
  configs/target-debconf-selections.txt              | 212 ---------
  configs/ubuntu-environment-creation.conf           | 162 -------
  installer-files/tisdk.xml                          | 220 ---------
  lib/oesdk/bitbake-test-sdk-image                   | 381 ----------------
  lib/oesdk/generate-report                          | 295 ------------
  lib/oesdk/package-sdks                             | 496 ---------------------
  lib/oesdk/ti-sdk-host-install.sh                   | 227 ----------
  lib/run-opentest                                   | 375 ----------------
  lib/ubuntu/apt-helper-functions                    |  20 -
  lib/ubuntu/create-target-files                     |  51 ---
  lib/ubuntu/create-ubuntu-host-chroot.sh            |  77 ----
  lib/ubuntu/do-bind-mounts.sh                       |  22 -
  lib/ubuntu/kernel-build.sh                         |  46 --
  lib/ubuntu/run-opentest-on-target-image            |  35 --
  lib/ubuntu/sudo-check                              |   5 -
  lib/ubuntu/use-armhf-pbuilder.sh                   | 117 -----
  linux-devtest.tgz                                  | Bin 775952 -> 0 bytes
  opentest_cli_0.7.tar.gz                            | Bin 482035 -> 0 bytes
  .../amsdk/05.06.00.00/am335x-evm/webgen.mak        |  33 --
  .../amsdk/05.07.00.00/am180x-evm/webgen.mak        |  29 --
  .../amsdk/05.07.00.00/am335x-evm/webgen.mak        |  32 --
  .../amsdk/05.07.00.00/am3517-evm/webgen.mak        |  31 --
  .../amsdk/05.07.00.00/am37x-evm/webgen.mak         |  31 --
  .../amsdk/05.07.00.00/beagleboard/webgen.mak       |  29 --
  .../amsdk/06.00.00.00/am180x-evm/webgen.mak        |  29 --
  .../amsdk/06.00.00.00/am335x-evm/webgen.mak        |  34 --
  .../amsdk/06.00.00.00/am3517-evm/webgen.mak        |  31 --
  .../amsdk/06.00.00.00/am37x-evm/webgen.mak         |  31 --
  .../amsdk/06.00.00.00/beagleboard/webgen.mak       |  29 --
  .../amsdk/07.00.00.00/am335x-evm/webgen.mak        |  39 --
  .../amsdk/07.00.00.00/am437x-evm/webgen.mak        |  36 --
  .../amsdk/07.01.00.00/am437x-evm/webgen.mak        |  38 --
  .../amsdk/08.00.00.00/am335x-evm/webgen.mak        |  39 --
  .../amsdk/08.00.00.00/am437x-evm/webgen.mak        |  40 --
  .../amsdk/08.00.00.00/am57xx-evm/webgen.mak        |  38 --
  .../coresdk/2013.04.00/am335x-evm/webgen.mak       |  29 --
  .../coresdk/2013.04.00/dra7xx-evm/webgen.mak       |  27 --
  .../coresdk/2013.04.00/omap5-evm/webgen.mak        |  26 --
  .../coresdk/2013.04.01/am335x-evm/webgen.mak       |  29 --
  .../coresdk/2013.04.02/dra7xx-evm/webgen.mak       |  27 --
  .../coresdk/2013.04.02/omap5-evm/webgen.mak        |  26 --
  .../coresdk/2013.10.00/am335x-evm/webgen.mak       |  29 --
  .../coresdk/2013.10.00/am437x-evm/webgen.mak       |  29 --
  .../coresdk/2013.10.00/dra7xx-evm/webgen.mak       |  29 --
  .../coresdk/2013.10.00/omap5-evm/webgen.mak        |  28 --
  .../coresdk/2013.12.00/am335x-evm/webgen.mak       |  29 --
  .../coresdk/2013.12.00/am437x-evm/webgen.mak       |  29 --
  .../coresdk/2013.12.00/dra7xx-evm/webgen.mak       |  29 --
  .../coresdk/2013.12.00/omap5-evm/webgen.mak        |  28 --
  .../coresdk/2013.12.01/am335x-evm/webgen.mak       |  29 --
  .../coresdk/2013.12.01/am437x-evm/webgen.mak       |  29 --
  .../coresdk/2013.12.01/dra7xx-evm/webgen.mak       |  29 --
  .../coresdk/2013.12.01/omap5-evm/webgen.mak        |  28 --
  .../coresdk/2014.08.00/am335x-evm/webgen.mak       |  28 --
  .../coresdk/2014.08.00/am437x-evm/webgen.mak       |  28 --
  .../coresdk/2014.08.00/am57xx-evm/webgen.mak       |  28 --
  .../coresdk/2014.08.00/dra7xx-evm/webgen.mak       |  28 --
  .../coresdk/2014.08.00/k2hk-evm/webgen.mak         |  28 --
  .../coresdk/2014.10.01/am335x-evm/webgen.mak       |  28 --
  .../coresdk/2014.10.01/am437x-evm/webgen.mak       |  28 --
  .../coresdk/2014.10.01/am57xx-evm/webgen.mak       |  28 --
  .../coresdk/2014.10.01/dra7xx-evm/webgen.mak       |  28 --
  .../coresdk/2014.10.01/k2hk-evm/webgen.mak         |  28 --
  .../coresdk/2015.01/am335x-evm/webgen.mak          |  28 --
  .../coresdk/2015.01/am437x-evm/webgen.mak          |  28 --
  .../coresdk/2015.01/am57xx-evm/webgen.mak          |  28 --
  .../coresdk/2015.01/dra7xx-evm/webgen.mak          |  28 --
  .../coresdk/2015.01/k2e-evm/webgen.mak             |  28 --
  .../coresdk/2015.01/k2hk-evm/webgen.mak            |  28 --
  .../coresdk/2015.01/k2l-evm/webgen.mak             |  28 --
  .../coresdk/2015.02/am335x-evm/webgen.mak          |  28 --
  .../coresdk/2015.02/am437x-evm/webgen.mak          |  28 --
  .../coresdk/2015.02/am57xx-evm/webgen.mak          |  28 --
  .../coresdk/2015.02/dra7xx-evm/webgen.mak          |  28 --
  .../coresdk/2015.02/k2e-evm/webgen.mak             |  28 --
  .../coresdk/2015.02/k2g-evm/webgen.mak             |  28 --
  .../coresdk/2015.02/k2hk-evm/webgen.mak            |  28 --
  .../coresdk/2015.02/k2l-evm/webgen.mak             |  28 --
  test-scripts/S08-fake-weston-calibrate             |   6 -
  test-scripts/S90-fake-pointercal                   |  12 -
  test-scripts/boottest.sh                           |   3 -
  test-scripts/check-dhrystone-perf.sh               |  25 --
  test-scripts/check-kernel-version.sh               |  12 -
  test-scripts/check-launch.sh                       | 121 -----
  test-scripts/check-linpack-perf.sh                 |  31 --
  test-scripts/check-matrix-gui.sh                   |  12 -
  test-scripts/check-psp-version.sh                  |  12 -
  test-scripts/check-whetstone-perf.sh               |  30 --
  test-scripts/check_app.sh                          |  94 ----
  test-scripts/common.sh                             |  88 ----
  test-scripts/nightly-test.sh                       |  93 ----
  test-scripts/opentest.sh                           |   3 -
  test-scripts/st_log.sh                             | 120 -----
  test-scripts/test-files/mandatory-common.txt       |   1 -
  .../test-files/mandatory-oesdk-am180x-evm.txt      |   1 -
  .../test-files/mandatory-oesdk-am3517-evm.txt      |   1 -
  .../test-files/mandatory-oesdk-am37x-evm.txt       |   1 -
  test-scripts/test-files/mandatory-oesdk-armv7a.txt |   1 -
  .../test-files/mandatory-oesdk-beagleboard.txt     |   1 -
  test-scripts/test-files/mandatory-oesdk.txt        |   7 -
  .../test-files/optional-oesdk-am180x-evm.txt       |   2 -
  .../test-files/optional-oesdk-am3517-evm.txt       |   2 -
  .../test-files/optional-oesdk-am37x-evm.txt        |   2 -
  test-scripts/test-files/optional-oesdk-armv7a.txt  |   4 -
  .../test-files/optional-oesdk-beagleboard.txt      |   1 -
  .../test-files/optional-oesdk-dra7xx-evm.txt       |   1 -
  .../test-files/optional-oesdk-omap5-evm.txt        |   1 -
  test-scripts/test-files/optional-oesdk.txt         |  11 -
  163 files changed, 12 insertions(+), 19485 deletions(-)

delete mode 100755 build-ubuntu-environment.sh
delete mode 100644 configs/amsdk/amsdk-config-05.06.00.00.txt delete mode 100644 configs/amsdk/amsdk-config-05.07.00.00.txt delete mode 100644 configs/amsdk/amsdk-config-06.00.00.00.txt delete mode 100644 configs/amsdk/amsdk-config-07.00.00.00.txt delete mode 100644 configs/amsdk/amsdk-config-07.01.00.00.txt delete mode 100644 configs/amsdk/amsdk-config-08.00.00.00.txt delete mode 100644 configs/arago-core-tisdk-daisy-puget.txt delete mode 100644 configs/arago-core-tisdk-danny-puget.txt delete mode 100644 configs/arago-core-tisdk-dora-puget.txt delete mode 100644 configs/arago-core-tisdk-dylan-puget.txt delete mode 100644 configs/arago-core-tisdk-fido-puget.txt delete mode 100644 configs/arago-core-tisdk-krogoth-farm.txt delete mode 100644 configs/arago-core-tisdk-krogoth-puget.txt delete mode 100644 configs/arago-core-tisdk-master-puget.txt delete mode 100644 configs/coresdk/arago-core-amsdk-2013.04.01.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.00.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.01.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.02.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2013.10.00.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.00.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.01.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2014.08.00.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.01.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.02.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2015.01-puget.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2015.02-puget.txt delete mode 100644 configs/coresdk/arago-core-tisdk-2015.03-puget.txt delete mode 100644 configs/distroless-meta-ti-puget.txt
delete mode 100644 configs/farm/arago-krogoth.txt
delete mode 100644 configs/farm/arago-morty-next-rel.txt
delete mode 100644 configs/farm/arago-morty-next.txt
delete mode 100644 configs/farm/arago-morty.txt
delete mode 100644 configs/farm/arago-rocko-next.txt
delete mode 100644 configs/farm/arago-rocko.txt
delete mode 100644 configs/farm/arago-thud-next.txt
delete mode 100644 configs/farm/arago-thud.txt
delete mode 100644 configs/farm/arago-zeus-next.txt
delete mode 100644 configs/farm/arago-zeus.txt
delete mode 100644 configs/farm/distroless-morty.txt
delete mode 100644 configs/farm/distroless-rocko.txt
delete mode 100644 configs/farm/distroless-thud.txt
delete mode 100644 configs/farm/distroless-zeus.txt
delete mode 100644 configs/farm/poky-morty.txt
delete mode 100644 configs/farm/poky-rocko.txt
delete mode 100644 configs/farm/poky-thud.txt
delete mode 100644 configs/farm/poky-zeus.txt
delete mode 100644 configs/target-debconf-selections.txt
delete mode 100644 configs/ubuntu-environment-creation.conf delete mode 100644 installer-files/tisdk.xml
delete mode 100644 lib/oesdk/generate-report
delete mode 100644 lib/oesdk/package-sdks
delete mode 100755 lib/oesdk/ti-sdk-host-install.sh
delete mode 100644 lib/run-opentest
delete mode 100644 lib/ubuntu/apt-helper-functions
delete mode 100644 lib/ubuntu/create-target-files
delete mode 100755 lib/ubuntu/create-ubuntu-host-chroot.sh delete mode 100755 lib/ubuntu/do-bind-mounts.sh
delete mode 100755 lib/ubuntu/kernel-build.sh
delete mode 100644 lib/ubuntu/run-opentest-on-target-image delete mode 100644 lib/ubuntu/sudo-check
delete mode 100755 lib/ubuntu/use-armhf-pbuilder.sh
delete mode 100644 linux-devtest.tgz
delete mode 100644 opentest_cli_0.7.tar.gz
delete mode 100644 publish-sdk-data/amsdk/05.06.00.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am180x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am3517-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am37x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/beagleboard/webgen.mak delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am180x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am3517-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am37x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/beagleboard/webgen.mak delete mode 100644 publish-sdk-data/amsdk/07.00.00.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/07.00.00.00/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/07.01.00.00/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am57xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.04.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.04.00/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.04.00/omap5-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.04.01/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.04.02/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.04.02/omap5-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.10.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.10.00/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.10.00/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.10.00/omap5-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.00/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.00/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.00/omap5-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.01/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.01/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.01/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2013.12.01/omap5-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am57xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.08.00/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.08.00/k2hk-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am57xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.10.01/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2014.10.01/k2hk-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/am57xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/k2e-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/k2hk-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.01/k2l-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/am335x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/am437x-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/am57xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/dra7xx-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/k2e-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/k2g-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/k2hk-evm/webgen.mak delete mode 100644 publish-sdk-data/coresdk/2015.02/k2l-evm/webgen.mak delete mode 100755 test-scripts/S08-fake-weston-calibrate delete mode 100755 test-scripts/S90-fake-pointercal
delete mode 100755 test-scripts/boottest.sh
delete mode 100755 test-scripts/check-dhrystone-perf.sh
delete mode 100755 test-scripts/check-kernel-version.sh
delete mode 100755 test-scripts/check-launch.sh
delete mode 100755 test-scripts/check-linpack-perf.sh
delete mode 100755 test-scripts/check-matrix-gui.sh
delete mode 100755 test-scripts/check-psp-version.sh
delete mode 100755 test-scripts/check-whetstone-perf.sh
delete mode 100755 test-scripts/check_app.sh
delete mode 100755 test-scripts/common.sh
delete mode 100755 test-scripts/nightly-test.sh
delete mode 100755 test-scripts/opentest.sh
delete mode 100755 test-scripts/st_log.sh
delete mode 100644 test-scripts/test-files/mandatory-common.txt delete mode 100644 test-scripts/test-files/mandatory-oesdk-am180x-evm.txt delete mode 100644 test-scripts/test-files/mandatory-oesdk-am3517-evm.txt delete mode 100644 test-scripts/test-files/mandatory-oesdk-am37x-evm.txt delete mode 100644 test-scripts/test-files/mandatory-oesdk-armv7a.txt delete mode 100644 test-scripts/test-files/mandatory-oesdk-beagleboard.txt delete mode 100644 test-scripts/test-files/mandatory-oesdk.txt delete mode 100644 test-scripts/test-files/optional-oesdk-am180x-evm.txt delete mode 100644 test-scripts/test-files/optional-oesdk-am3517-evm.txt delete mode 100644 test-scripts/test-files/optional-oesdk-am37x-evm.txt delete mode 100644 test-scripts/test-files/optional-oesdk-armv7a.txt delete mode 100644 test-scripts/test-files/optional-oesdk-beagleboard.txt delete mode 100644 test-scripts/test-files/optional-oesdk-dra7xx-evm.txt delete mode 100644 test-scripts/test-files/optional-oesdk-omap5-evm.txt delete mode 100644 test-scripts/test-files/optional-oesdk.txt

Signature · 2 lines
Ryan Eatmon
[email protected]
#18 lore raw
Quoted 3 lines · Ryan Eatmon

Denys, I got two errors while trying to applying this patch series. The error are inline below. Can you correct the patches and resubmit them?

Ryan,

If those errors are coming when applying the patches from the Patchworks and not from your Inbox, then I doubt it would help to resubmit them. I believe the issue is coming from webgen xml and html files with very long lines. Those very long lines aren't transferred over email gracefully...

Anyway, I rebased my "simplify" branch against latest master and added Jon's
Reviewed-by: tags, so you can directly merge or cherry-pick the changes from here:

http://arago-project.org/git/projects/?p=tisdk-build-scripts.git;a=shortlog;h=refs/heads/simplify

Please let me know if you have further issues or questions.

Quoted 364 lines · Denys Dmytriyenko
Quoted 7 lines

From: Denys Dmytriyenko <[email protected]>

tisdk-build-scripts project has started almost 10 years ago and initially was envisioned as a dedicated CI vehicle, supporting OpenEmbedded and Debian/Ubuntu, handling parallel and serial multi-machine builds, runtime target testing, SDK installer packaging, detailed reporting tool, etc.

Quoted 8 lines

Over the years, a lot of that functionality has migrated to dedicated facilities and frameworks (Jenkins build farm, OpenTest testing farm, Django reporting portal, etc), so it is time to clean it up and simplify a lot of things to make the code easy to read, understand and maintain.

Denys Dmytriyenko (10):
Remove very old debian/ubuntu build scripts and configs Remove old webgen makefiles for very old AMSDK and CoreSDK releases

Applying: Remove old webgen makefiles for very old AMSDK and CoreSDK releases
error: corrupt patch at line 803
Patch failed at 0002 Remove old webgen makefiles for very old AMSDK and CoreSDK releases

Quoted 2 lines

Remove rudimentary target testing with OpenTest CLI Remove very old build config files

Applying: Remove very old build config files
error: corrupt patch at line 14619
Patch failed at 0004 Remove very old build config files

Quoted 327 lines

Remove support for generating installer SDK
Remove code that extracts and repackages SDK for runtime testing Remove ability to generate build/test report per machine Remove calls to packaging, reporting, testing and copying
functionality
If no configs specified, initialize LOG_DIR correctly Adjust default BUILD_DIR to be relative to SCRIPTS_DIR

 build-oesdk.sh                                     |  52 +--
 build-ubuntu-environment.sh                        | 194 --------
 configs/amsdk/amsdk-config-05.06.00.00.txt         | 288 ------------
 configs/amsdk/amsdk-config-05.07.00.00.txt         | 303 -------------
 configs/amsdk/amsdk-config-06.00.00.00.txt         | 314 -------------
 configs/amsdk/amsdk-config-07.00.00.00.txt         | 314 -------------
 configs/amsdk/amsdk-config-07.01.00.00.txt         | 314 -------------
 configs/amsdk/amsdk-config-08.00.00.00.txt         | 318 -------------
 configs/arago-core-tisdk-daisy-puget.txt           | 333 --------------
 configs/arago-core-tisdk-danny-puget.txt           | 315 -------------
 configs/arago-core-tisdk-dora-puget.txt            | 315 -------------
 configs/arago-core-tisdk-dylan-puget.txt           | 315 -------------
 configs/arago-core-tisdk-fido-puget.txt            | 337 --------------
 configs/arago-core-tisdk-krogoth-farm.txt          | 340 --------------
 configs/arago-core-tisdk-krogoth-puget.txt         | 340 --------------
 configs/arago-core-tisdk-master-puget.txt          | 337 --------------
 configs/coresdk/arago-core-amsdk-2013.04.01.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.04.00.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.04.01.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.04.02.txt    | 323 --------------
 configs/coresdk/arago-core-tisdk-2013.10.00.txt    | 314 -------------
 configs/coresdk/arago-core-tisdk-2013.12.00.txt    | 314 -------------
 configs/coresdk/arago-core-tisdk-2013.12.01.txt    | 314 -------------
 configs/coresdk/arago-core-tisdk-2014.08.00.txt    | 318 -------------
 configs/coresdk/arago-core-tisdk-2014.10.01.txt    | 318 -------------
 configs/coresdk/arago-core-tisdk-2014.10.02.txt    | 321 -------------
 configs/coresdk/arago-core-tisdk-2015.01-puget.txt | 333 --------------
 configs/coresdk/arago-core-tisdk-2015.02-puget.txt | 333 --------------
 configs/coresdk/arago-core-tisdk-2015.03-puget.txt | 337 --------------
 configs/distroless-meta-ti-puget.txt               | 308 -------------
 configs/farm/arago-dunfell-next.txt                |   2 +-
 configs/farm/arago-dunfell.txt                     |   2 +-
 configs/farm/arago-krogoth.txt                     | 344 --------------
 configs/farm/arago-master.txt                      |   2 +-
 configs/farm/arago-morty-next-rel.txt              | 344 --------------
 configs/farm/arago-morty-next.txt                  | 344 --------------
 configs/farm/arago-morty.txt                       | 344 --------------
 configs/farm/arago-rocko-next.txt                  | 346 --------------
 configs/farm/arago-rocko.txt                       | 346 --------------
 configs/farm/arago-thud-next.txt                   | 349 ---------------
 configs/farm/arago-thud.txt                        | 349 ---------------
 configs/farm/arago-zeus-next.txt                   | 346 --------------
 configs/farm/arago-zeus.txt                        | 346 --------------
 configs/farm/distroless-dunfell.txt                |   2 +-
 configs/farm/distroless-master.txt                 |   2 +-
 configs/farm/distroless-morty.txt                  | 196 --------
 configs/farm/distroless-rocko.txt                  | 196 --------
 configs/farm/distroless-thud.txt                   | 198 --------
 configs/farm/distroless-zeus.txt                   | 198 --------
 configs/farm/poky-dunfell.txt                      |   2 +-
 configs/farm/poky-master.txt                       |   2 +-
 configs/farm/poky-morty.txt                        | 196 --------
 configs/farm/poky-rocko.txt                        | 196 --------
 configs/farm/poky-thud.txt                         | 198 --------
 configs/farm/poky-zeus.txt                         | 198 --------
 configs/target-debconf-selections.txt              | 212 ---------
 configs/ubuntu-environment-creation.conf           | 162 -------
 installer-files/tisdk.xml                          | 220 ---------
 lib/oesdk/bitbake-test-sdk-image                   | 381 ----------------
 lib/oesdk/generate-report                          | 295 ------------
 lib/oesdk/package-sdks                             | 496 ---------------------
 lib/oesdk/ti-sdk-host-install.sh                   | 227 ----------
 lib/run-opentest                                   | 375 ----------------
 lib/ubuntu/apt-helper-functions                    |  20 -
 lib/ubuntu/create-target-files                     |  51 ---
 lib/ubuntu/create-ubuntu-host-chroot.sh            |  77 ----
 lib/ubuntu/do-bind-mounts.sh                       |  22 -
 lib/ubuntu/kernel-build.sh                         |  46 --
 lib/ubuntu/run-opentest-on-target-image            |  35 --
 lib/ubuntu/sudo-check                              |   5 -
 lib/ubuntu/use-armhf-pbuilder.sh                   | 117 -----
 linux-devtest.tgz                                  | Bin 775952 -> 0 bytes
 opentest_cli_0.7.tar.gz                            | Bin 482035 -> 0 bytes
 .../amsdk/05.06.00.00/am335x-evm/webgen.mak        |  33 --
 .../amsdk/05.07.00.00/am180x-evm/webgen.mak        |  29 --
 .../amsdk/05.07.00.00/am335x-evm/webgen.mak        |  32 --
 .../amsdk/05.07.00.00/am3517-evm/webgen.mak        |  31 --
 .../amsdk/05.07.00.00/am37x-evm/webgen.mak         |  31 --
 .../amsdk/05.07.00.00/beagleboard/webgen.mak       |  29 --
 .../amsdk/06.00.00.00/am180x-evm/webgen.mak        |  29 --
 .../amsdk/06.00.00.00/am335x-evm/webgen.mak        |  34 --
 .../amsdk/06.00.00.00/am3517-evm/webgen.mak        |  31 --
 .../amsdk/06.00.00.00/am37x-evm/webgen.mak         |  31 --
 .../amsdk/06.00.00.00/beagleboard/webgen.mak       |  29 --
 .../amsdk/07.00.00.00/am335x-evm/webgen.mak        |  39 --
 .../amsdk/07.00.00.00/am437x-evm/webgen.mak        |  36 --
 .../amsdk/07.01.00.00/am437x-evm/webgen.mak        |  38 --
 .../amsdk/08.00.00.00/am335x-evm/webgen.mak        |  39 --
 .../amsdk/08.00.00.00/am437x-evm/webgen.mak        |  40 --
 .../amsdk/08.00.00.00/am57xx-evm/webgen.mak        |  38 --
 .../coresdk/2013.04.00/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.04.00/dra7xx-evm/webgen.mak       |  27 --
 .../coresdk/2013.04.00/omap5-evm/webgen.mak        |  26 --
 .../coresdk/2013.04.01/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.04.02/dra7xx-evm/webgen.mak       |  27 --
 .../coresdk/2013.04.02/omap5-evm/webgen.mak        |  26 --
 .../coresdk/2013.10.00/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.10.00/am437x-evm/webgen.mak       |  29 --
 .../coresdk/2013.10.00/dra7xx-evm/webgen.mak       |  29 --
 .../coresdk/2013.10.00/omap5-evm/webgen.mak        |  28 --
 .../coresdk/2013.12.00/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.00/am437x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.00/dra7xx-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.00/omap5-evm/webgen.mak        |  28 --
 .../coresdk/2013.12.01/am335x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.01/am437x-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.01/dra7xx-evm/webgen.mak       |  29 --
 .../coresdk/2013.12.01/omap5-evm/webgen.mak        |  28 --
 .../coresdk/2014.08.00/am335x-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/am437x-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/am57xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/dra7xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.08.00/k2hk-evm/webgen.mak         |  28 --
 .../coresdk/2014.10.01/am335x-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/am437x-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/am57xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/dra7xx-evm/webgen.mak       |  28 --
 .../coresdk/2014.10.01/k2hk-evm/webgen.mak         |  28 --
 .../coresdk/2015.01/am335x-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/am437x-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/am57xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/dra7xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.01/k2e-evm/webgen.mak             |  28 --
 .../coresdk/2015.01/k2hk-evm/webgen.mak            |  28 --
 .../coresdk/2015.01/k2l-evm/webgen.mak             |  28 --
 .../coresdk/2015.02/am335x-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/am437x-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/am57xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/dra7xx-evm/webgen.mak          |  28 --
 .../coresdk/2015.02/k2e-evm/webgen.mak             |  28 --
 .../coresdk/2015.02/k2g-evm/webgen.mak             |  28 --
 .../coresdk/2015.02/k2hk-evm/webgen.mak            |  28 --
 .../coresdk/2015.02/k2l-evm/webgen.mak             |  28 --
 test-scripts/S08-fake-weston-calibrate             |   6 -
 test-scripts/S90-fake-pointercal                   |  12 -
 test-scripts/boottest.sh                           |   3 -
 test-scripts/check-dhrystone-perf.sh               |  25 --
 test-scripts/check-kernel-version.sh               |  12 -
 test-scripts/check-launch.sh                       | 121 -----
 test-scripts/check-linpack-perf.sh                 |  31 --
 test-scripts/check-matrix-gui.sh                   |  12 -
 test-scripts/check-psp-version.sh                  |  12 -
 test-scripts/check-whetstone-perf.sh               |  30 --
 test-scripts/check_app.sh                          |  94 ----
 test-scripts/common.sh                             |  88 ----
 test-scripts/nightly-test.sh                       |  93 ----
 test-scripts/opentest.sh                           |   3 -
 test-scripts/st_log.sh                             | 120 -----
 test-scripts/test-files/mandatory-common.txt       |   1 -
 .../test-files/mandatory-oesdk-am180x-evm.txt      |   1 -
 .../test-files/mandatory-oesdk-am3517-evm.txt      |   1 -
 .../test-files/mandatory-oesdk-am37x-evm.txt       |   1 -
 test-scripts/test-files/mandatory-oesdk-armv7a.txt |   1 -
 .../test-files/mandatory-oesdk-beagleboard.txt     |   1 -
 test-scripts/test-files/mandatory-oesdk.txt        |   7 -
 .../test-files/optional-oesdk-am180x-evm.txt       |   2 -
 .../test-files/optional-oesdk-am3517-evm.txt       |   2 -
 .../test-files/optional-oesdk-am37x-evm.txt        |   2 -
 test-scripts/test-files/optional-oesdk-armv7a.txt  |   4 -
 .../test-files/optional-oesdk-beagleboard.txt      |   1 -
 .../test-files/optional-oesdk-dra7xx-evm.txt       |   1 -
 .../test-files/optional-oesdk-omap5-evm.txt        |   1 -
 test-scripts/test-files/optional-oesdk.txt         |  11 -
 163 files changed, 12 insertions(+), 19485 deletions(-)
 delete mode 100755 build-ubuntu-environment.sh
 delete mode 100644 configs/amsdk/amsdk-config-05.06.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-05.07.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-06.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.00.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-07.01.00.00.txt
 delete mode 100644 configs/amsdk/amsdk-config-08.00.00.00.txt
 delete mode 100644 configs/arago-core-tisdk-daisy-puget.txt
 delete mode 100644 configs/arago-core-tisdk-danny-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dora-puget.txt
 delete mode 100644 configs/arago-core-tisdk-dylan-puget.txt
 delete mode 100644 configs/arago-core-tisdk-fido-puget.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-farm.txt
 delete mode 100644 configs/arago-core-tisdk-krogoth-puget.txt
 delete mode 100644 configs/arago-core-tisdk-master-puget.txt
 delete mode 100644 configs/coresdk/arago-core-amsdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.04.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.10.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2013.12.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.08.00.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.01.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2014.10.02.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.01-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.02-puget.txt
 delete mode 100644 configs/coresdk/arago-core-tisdk-2015.03-puget.txt
 delete mode 100644 configs/distroless-meta-ti-puget.txt
 delete mode 100644 configs/farm/arago-krogoth.txt
 delete mode 100644 configs/farm/arago-morty-next-rel.txt
 delete mode 100644 configs/farm/arago-morty-next.txt
 delete mode 100644 configs/farm/arago-morty.txt
 delete mode 100644 configs/farm/arago-rocko-next.txt
 delete mode 100644 configs/farm/arago-rocko.txt
 delete mode 100644 configs/farm/arago-thud-next.txt
 delete mode 100644 configs/farm/arago-thud.txt
 delete mode 100644 configs/farm/arago-zeus-next.txt
 delete mode 100644 configs/farm/arago-zeus.txt
 delete mode 100644 configs/farm/distroless-morty.txt
 delete mode 100644 configs/farm/distroless-rocko.txt
 delete mode 100644 configs/farm/distroless-thud.txt
 delete mode 100644 configs/farm/distroless-zeus.txt
 delete mode 100644 configs/farm/poky-morty.txt
 delete mode 100644 configs/farm/poky-rocko.txt
 delete mode 100644 configs/farm/poky-thud.txt
 delete mode 100644 configs/farm/poky-zeus.txt
 delete mode 100644 configs/target-debconf-selections.txt
 delete mode 100644 configs/ubuntu-environment-creation.conf
 delete mode 100644 installer-files/tisdk.xml
 delete mode 100644 lib/oesdk/generate-report
 delete mode 100644 lib/oesdk/package-sdks
 delete mode 100755 lib/oesdk/ti-sdk-host-install.sh
 delete mode 100644 lib/run-opentest
 delete mode 100644 lib/ubuntu/apt-helper-functions
 delete mode 100644 lib/ubuntu/create-target-files
 delete mode 100755 lib/ubuntu/create-ubuntu-host-chroot.sh
 delete mode 100755 lib/ubuntu/do-bind-mounts.sh
 delete mode 100755 lib/ubuntu/kernel-build.sh
 delete mode 100644 lib/ubuntu/run-opentest-on-target-image
 delete mode 100644 lib/ubuntu/sudo-check
 delete mode 100755 lib/ubuntu/use-armhf-pbuilder.sh
 delete mode 100644 linux-devtest.tgz
 delete mode 100644 opentest_cli_0.7.tar.gz
 delete mode 100644 publish-sdk-data/amsdk/05.06.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am180x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am3517-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/am37x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/05.07.00.00/beagleboard/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am180x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am3517-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/am37x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/06.00.00.00/beagleboard/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/07.00.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/07.00.00.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/07.01.00.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/amsdk/08.00.00.00/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.00/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.02/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.04.02/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.10.00/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.00/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2013.12.01/omap5-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.08.00/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2014.10.01/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/k2e-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.01/k2l-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/am335x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/am437x-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/am57xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/dra7xx-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2e-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2g-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2hk-evm/webgen.mak
 delete mode 100644 publish-sdk-data/coresdk/2015.02/k2l-evm/webgen.mak
 delete mode 100755 test-scripts/S08-fake-weston-calibrate
 delete mode 100755 test-scripts/S90-fake-pointercal
 delete mode 100755 test-scripts/boottest.sh
 delete mode 100755 test-scripts/check-dhrystone-perf.sh
 delete mode 100755 test-scripts/check-kernel-version.sh
 delete mode 100755 test-scripts/check-launch.sh
 delete mode 100755 test-scripts/check-linpack-perf.sh
 delete mode 100755 test-scripts/check-matrix-gui.sh
 delete mode 100755 test-scripts/check-psp-version.sh
 delete mode 100755 test-scripts/check-whetstone-perf.sh
 delete mode 100755 test-scripts/check_app.sh
 delete mode 100755 test-scripts/common.sh
 delete mode 100755 test-scripts/nightly-test.sh
 delete mode 100755 test-scripts/opentest.sh
 delete mode 100755 test-scripts/st_log.sh
 delete mode 100644 test-scripts/test-files/mandatory-common.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am180x-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am3517-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-am37x-evm.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-armv7a.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk-beagleboard.txt
 delete mode 100644 test-scripts/test-files/mandatory-oesdk.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am180x-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am3517-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-am37x-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-armv7a.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-beagleboard.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-dra7xx-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk-omap5-evm.txt
 delete mode 100644 test-scripts/test-files/optional-oesdk.txt
Signature · 2 lines
Ryan Eatmon
[email protected]
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#19 lore raw

PATCH 6/10 Remove code that extracts and repackages SDK for runtime testing

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/oesdk/bitbake-test-sdk-image | 381 ---------------------------------------
 1 file changed, 381 deletions(-)
lib/oesdk/bitbake-test-sdk-image +0 -381
index 51796a6..35110aa 100644
@@ -10,374 +10,6 @@ then
 fi
 
 
-package_tested_rootfs() {
-    # Set m for logging purposes
-    m="$1"
-
-    nfs_dir="$NFS_ROOT/$m-test"
-
-    # Find the target file system
-    filesys_path="temp/filesystem"
-    filesys=`find ./$filesys_path -name "$FS_FILTER*$FS_IMAGE_TYPE" | xargs basename`
-
-    # Check if the nfs_dir is available.  If it is not available then
-    # this must mean that we exited the test because it could not be
-    # created.  So don't try to re-package the tested NFS file system.
-    if [ -e "$nfs_dir" ]
-    then
-        log $machine_build_log echo "packaging tested rootfs for machine $m"
-        # Since opentest run passed let's do some cleanup of the filesystem
-        # and then repackage it and the SDK tarball so that the SDK will ship
-        # with a pre-booted file system, which reduces out-of-the-box boot
-        # time.
-        sudo rm -rf $nfs_dir/$TEST_SCRIPTS_TGT
-        sudo rm -rf $nfs_dir/etc/pointercal
-        sudo rm -rf $nfs_dir/etc/rc5.d/S90-fake-pointercal
-        sudo rm -rf $nfs_dir/etc/rc5.d/S08-fake-weston-calibrate
-        sudo rm -rf $nfs_dir/etc/dropbear/dropbear_rsa_*
-
-        if [ "$(ls -A $nfs_dir/home/root/)" ]
-        then
-            sudo rm -rf $nfs_dir/home/root/*
-        fi
-
-        # Don't forget to remove the original file system tarball
-        sudo rm -rf $nfs_dir/$filesys
-
-        # Tar up the booted file system
-        rm $test_dir/$filesys_path/$filesys
-        cd $nfs_dir
-
-        # Set the tar options based on FS_IMAGE_TYPE
-        if [ "$FS_IMAGE_TYPE" == "tar.gz" ]
-        then
-            fs_tar_opts="czf"
-        elif [ "$FS_IMAGE_TYPE" == "tar.bz2" ]
-        then
-            fs_tar_opts="cjf"
-        else
-            # default to tar.gz
-            fs_tar_opts="czf"
-        fi
-
-        sudo tar $fs_tar_opts $test_dir/$filesys_path/$filesys *
-        cd $test_dir
-    else
-        log $machine_build_log echo "packaging existing rootfs for machine $m"
-    fi
-
-    if [ ! -z $SDK_FILTER ]
-    then
-        # Re-Tar the SDK
-        rm $test_dir/$sdk_image
-        cd temp
-
-        # Set the tar options based on SDK_IMAGE_TYPE
-        if [ "$SDK_IMAGE_TYPE" == "tar.gz" ]
-        then
-            sdk_tar_opts="czf"
-        elif [ "$SDK_IMAGE_TYPE" == "tar.bz2" ]
-        then
-            sdk_tar_opts="cjf"
-        else
-            # default to tar.gz
-            sdk_tar_opts="czf"
-        fi
-
-        tar $sdk_tar_opts $test_dir/$sdk_image *
-        cd $test_dir
-    fi
-
-    # return back to the build directory
-    cd $build_dir
-
-    return 0
-}
-
-# This function will extract the SDK image.  It is always called because
-# even when we don't do target side testing we still want to extract the
-# image to allow packaging the contents.
-extract_sdk_image() {
-    # Set m for logging purposes
-    m=$1
-
-################################################################################
-# Look inside of the arago-tmp directory in the build directory for this
-# list and find the SDK image tarball for this machine.  Copy the tarball
-# to the test directory
-# First find the arago-tmp directory.  Since the Toolchain becomes part
-# of the name we need to search for it.
-# NOTE: This means that if you switch toolchains you need to do a
-#       CLEAN_BUILD
-# NOTE: The assumption here is that we are still in the directory where
-#       the arago-tmp directory is located
-################################################################################
-    arago_tmp=`ls | grep "arago-tmp-*"`
-
-    # This is a critical failure and will not be able to be skipped
-    if [ "$arago_tmp" == "" ]
-    then
-        echo "Could not find the arago-tmp directory"
-        echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    sdk_path="$arago_tmp/deploy/images"
-
-    # check that the sdk_path exists
-    if [ ! -d $sdk_path ]
-    then
-        echo "Images directory is missing from arago-tmp"
-        echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    # prefer sdk_path/m, if exists - Dora and up
-    if [ -d $sdk_path/$m ]
-    then
-        sdk_path="$sdk_path/$m"
-    fi
-
-################################################################################
-# SDK_FILTER variable is used to specify the SDK image produced by the build,
-# that includes bootloaders, kernel, rootfs, devkit and host tools.
-# When SDK_FILTER is not set, it is assumed the individual piecess needed for
-# testing are built and deployed - bootloaders, kernel and (minimal) rootfs
-#
-# NOTE: For SDK-less builds, we need to re-create the same layout with directory
-#       structure following the extracted SDK image, placing the individual
-#       components in their corresponding locations ($test_dir/temp/filesystem
-#       and $test_dir/temp/board-support/prebuilt-images, so the rest of the
-#       test scripts can find them and work for both SDK and non-SDK cases.
-################################################################################
-    if [ ! -z $SDK_FILTER ]
-    then
-        # This filter is used to get the simple image name instead of the
-        # image name with the date and time added.
-        sdk_image=`find ./$sdk_path -name "$SDK_FILTER*$m.$SDK_IMAGE_TYPE" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ "$sdk_image" == "" ]
-        then
-            echo "Could not find the SDK image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-
-        cp $sdk_path/$sdk_image $test_dir
-
-        # cd into the test dir and extract the SDK image into a temp directory
-        mkdir -p $test_dir/temp
-        cd $test_dir/temp
-        tar xf $test_dir/$sdk_image
-        cd $test_dir
-    else
-        # Special case of non-SDK build, when SDK_FILTER is not specified
-        mkdir -p $test_dir/temp/filesystem
-        mkdir -p $test_dir/temp/board-support/prebuilt-images
-
-        # Find the target file system
-        filesys=`find ./$sdk_path -name "$FS_FILTER*$m.$FS_IMAGE_TYPE" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ -z "$filesys" ]
-        then
-            echo "Could not find the target filesystem image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-        cp $sdk_path/$filesys $test_dir/temp/filesystem
-
-        # Find the kernel image
-        kernel=`find ./$sdk_path -name "[uz]Image-$m.bin" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ -z "$kernel" ]
-        then
-            echo "Could not find the kernel image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-        cp $sdk_path/$kernel $test_dir/temp/board-support/prebuilt-images
-
-        # Find the u-boot image
-        uboot=`find ./$sdk_path -name "u-boot-$m.*" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ -z "$uboot" ]
-        then
-            echo "Could not find the u-boot image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-        cp $sdk_path/$uboot $test_dir/temp/board-support/prebuilt-images
-
-        # This is NOT a critical failure
-        # Find the mlo image
-        mlo=`find ./$sdk_path -name "MLO-$m" | xargs basename`
-        if [ ! -z "$mlo" ]
-        then
-            cp $sdk_path/$mlo $test_dir/temp/board-support/prebuilt-images
-        else
-            # Find the skern image (special case for Keystone)
-            skern=`find ./$sdk_path -name "skern-$m.bin" | xargs basename`
-            if [ ! -z "$skern" ]
-            then
-                cp $sdk_path/$skern $test_dir/temp/board-support/prebuilt-images
-            else
-                echo "Could not find the MLO/skern image, ignoring"
-            fi
-        fi
-
-        # This is NOT a critical failure
-        # Find the spl/uart image
-        spl=`find ./$sdk_path -name "u-boot-spl.bin-$m" | xargs basename`
-        if [ ! -z "$spl" ]
-        then
-            cp $sdk_path/$spl $test_dir/temp/board-support/prebuilt-images
-        else
-            echo "Could not find the SPL/UART image, ignoring"
-        fi
-
-        cd $test_dir
-    fi
-
-    return 0
-}
-
-# This function will copy the SDK image to the PACKAGE_ROOT
-# This image may be the original image depending on whether the
-# test failed with a critical failure or not.  If it was a critical failure
-# then the packaging step will not find the SDK image and will therefore
-# not run.
-copy_files_to_package_root() {
-    # Set m for logging purposes
-    m=$1
-
-    # Make the machine specific package root
-    package_root="$PACKAGE_ROOT/$m"
-
-    if [ -d $package_root ]
-    then
-        rm -rf $package_root
-    fi
-    mkdir -p $package_root
-
-    # Copy the SDK tarball
-    cp $test_dir/$SDK_FILTER* $package_root
-
-    # Since the SDK is still extracted in the "temp" directory go
-    # ahead and copy the pre-built images and file system files
-    # for the SD card contents.  The rest of the contents will be
-    # packaged in a later step.
-    # Create the boot tarball contents
-    boot_partition="$package_root/boot_partition"
-    mkdir -p $boot_partition
-    cp $test_dir/temp/board-support/prebuilt-images/* $boot_partition/
-
-    # Create the rootfs tarball contents
-    root_partition="$package_root/root_partition"
-    mkdir -p $root_partition
-    cp $test_dir/temp/filesystem/$FS_FILTER*.$FS_IMAGE_TYPE $root_partition/rootfs_partition.$FS_IMAGE_TYPE
-}
-
-copy_golden_image() {
-    # Set m for logging purposes
-    m=$1
-
-    arago_tmp=`ls | grep "arago-tmp-*"`
-
-    # This is a critical failure and will not be able to be skipped
-    if [ "$arago_tmp" == "" ]
-    then
-        echo "Could not find the arago-tmp directory"
-        return 1
-    fi
-
-    img_path="$arago_tmp/deploy/images/$m"
-
-    # check that the img_path exists
-    if [ ! -d $img_path ]
-    then
-        echo "Images directory for machine $m is missing from arago-tmp"
-        return 1
-    fi
-
-    dest_path="golden/"
-    rm -rf $dest_path/$m
-
-    mkdir $dest_path/$m
-    cp -a $img_path $dest_path
-}
-
-test_sdk_image() {
-    # Set m for logging purposes
-    m="$1"
-    test_passed="false"
-
-    # Create a temporary directory to extract the build files to for
-    # testing.  If the directory already exists then delete the old
-    # contents first.
-    test_dir="$TEST_ROOT/$m-test"
-
-    if [ -d $test_dir ]
-    then
-        rm -rf $test_dir
-    fi
-    mkdir -p $test_dir
-
-    # Always extract the SDK so we can package the internal contents,
-    # even if we don't do testing and re-package the tested files.
-    extract_sdk_image $m
-    if [ "$?" != "0" ]
-    then
-        return 1
-    fi
-
-    # Delete old rootfs test directory
-    nfs_dir="$NFS_ROOT/$m-test"
-    if [ -d $nfs_dir ]
-    then
-        # Clean the old directory
-        sudo rm -rf $nfs_dir
-    fi
-
-    # Only run the build testing if the config file says to do so
-    if [ "$RUN_BUILD_TESTS" == "true" ]
-    then
-        run_target_side_test $m
-
-        if [ "$?" != "0" ]
-        then
-            # Check if this was a CRITICAL failure
-            grep "CRITICAL" $LOG_DIR/$m-test-result.txt > /dev/null 2>&1
-            if [ "$?" == "0" -a "$SKIP_TEST_FAILURES" == "false" ]
-            then
-                # This was a critical failure so return without copying
-                # the files
-                return 1
-            fi
-        else
-            echo "PASSED" > $LOG_DIR/$m-test-result.txt
-            test_passed="true"
-        fi
-
-    else
-        echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-    fi
-
-    # Getting here means that either
-    #   1. The test passed
-    #   2. The test failed with a non-CRITICAL error and SKIP_TEST_FAILURES
-    #      was set to true.
-    package_tested_rootfs $m
-    if [ ! -z $SDK_FILTER ]
-    then
-        copy_files_to_package_root $m
-    fi
-
-    if [ "$test_passed" == "true" -a $COPY_GOLDEN_TO_WEB == "true" ]
-    then
-        copy_golden_image $m
-    fi
-}
-
 # This function receives a comma separated list of machines to build and test.
 # The flow is to do the bitbake operations to generate the images and SDK
 # content, then call to the opentest system (if so desired) while starting the
@@ -478,19 +110,6 @@ bitbake_sdk_images(){
         # If it does not exist, then there is not much we can do, so inhibit the
         # error code.
         mv $build_dir/bitbake-cookerdaemon.log $LOG_DIR/$m-bitbake-cookerdaemon.log || true
-
-        # Only run the build testing if the status of the above builds
-        # was "pass"
-        if [ "$build_status" == "pass" ]
-        then
-            if [ ! "$EXIT_AFTER_BUILD" = "true" ]; then
-                test_sdk_image $m &
-            else
-                echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-            fi
-        else
-            echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-        fi
     done
 
     # Wait for all build/test processes to finish before exiting
Signature · 1 line
2.7.4
#20 lore raw

PATCH 6/10 Remove code that extracts and repackages SDK for runtime testing

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/oesdk/bitbake-test-sdk-image | 381 ---------------------------------------
 1 file changed, 381 deletions(-)
lib/oesdk/bitbake-test-sdk-image +0 -381
index 51796a6..35110aa 100644
@@ -10,374 +10,6 @@ then
 fi
 
 
-package_tested_rootfs() {
-    # Set m for logging purposes
-    m="$1"
-
-    nfs_dir="$NFS_ROOT/$m-test"
-
-    # Find the target file system
-    filesys_path="temp/filesystem"
-    filesys=`find ./$filesys_path -name "$FS_FILTER*$FS_IMAGE_TYPE" | xargs basename`
-
-    # Check if the nfs_dir is available.  If it is not available then
-    # this must mean that we exited the test because it could not be
-    # created.  So don't try to re-package the tested NFS file system.
-    if [ -e "$nfs_dir" ]
-    then
-        log $machine_build_log echo "packaging tested rootfs for machine $m"
-        # Since opentest run passed let's do some cleanup of the filesystem
-        # and then repackage it and the SDK tarball so that the SDK will ship
-        # with a pre-booted file system, which reduces out-of-the-box boot
-        # time.
-        sudo rm -rf $nfs_dir/$TEST_SCRIPTS_TGT
-        sudo rm -rf $nfs_dir/etc/pointercal
-        sudo rm -rf $nfs_dir/etc/rc5.d/S90-fake-pointercal
-        sudo rm -rf $nfs_dir/etc/rc5.d/S08-fake-weston-calibrate
-        sudo rm -rf $nfs_dir/etc/dropbear/dropbear_rsa_*
-
-        if [ "$(ls -A $nfs_dir/home/root/)" ]
-        then
-            sudo rm -rf $nfs_dir/home/root/*
-        fi
-
-        # Don't forget to remove the original file system tarball
-        sudo rm -rf $nfs_dir/$filesys
-
-        # Tar up the booted file system
-        rm $test_dir/$filesys_path/$filesys
-        cd $nfs_dir
-
-        # Set the tar options based on FS_IMAGE_TYPE
-        if [ "$FS_IMAGE_TYPE" == "tar.gz" ]
-        then
-            fs_tar_opts="czf"
-        elif [ "$FS_IMAGE_TYPE" == "tar.bz2" ]
-        then
-            fs_tar_opts="cjf"
-        else
-            # default to tar.gz
-            fs_tar_opts="czf"
-        fi
-
-        sudo tar $fs_tar_opts $test_dir/$filesys_path/$filesys *
-        cd $test_dir
-    else
-        log $machine_build_log echo "packaging existing rootfs for machine $m"
-    fi
-
-    if [ ! -z $SDK_FILTER ]
-    then
-        # Re-Tar the SDK
-        rm $test_dir/$sdk_image
-        cd temp
-
-        # Set the tar options based on SDK_IMAGE_TYPE
-        if [ "$SDK_IMAGE_TYPE" == "tar.gz" ]
-        then
-            sdk_tar_opts="czf"
-        elif [ "$SDK_IMAGE_TYPE" == "tar.bz2" ]
-        then
-            sdk_tar_opts="cjf"
-        else
-            # default to tar.gz
-            sdk_tar_opts="czf"
-        fi
-
-        tar $sdk_tar_opts $test_dir/$sdk_image *
-        cd $test_dir
-    fi
-
-    # return back to the build directory
-    cd $build_dir
-
-    return 0
-}
-
-# This function will extract the SDK image.  It is always called because
-# even when we don't do target side testing we still want to extract the
-# image to allow packaging the contents.
-extract_sdk_image() {
-    # Set m for logging purposes
-    m=$1
-
-################################################################################
-# Look inside of the arago-tmp directory in the build directory for this
-# list and find the SDK image tarball for this machine.  Copy the tarball
-# to the test directory
-# First find the arago-tmp directory.  Since the Toolchain becomes part
-# of the name we need to search for it.
-# NOTE: This means that if you switch toolchains you need to do a
-#       CLEAN_BUILD
-# NOTE: The assumption here is that we are still in the directory where
-#       the arago-tmp directory is located
-################################################################################
-    arago_tmp=`ls | grep "arago-tmp-*"`
-
-    # This is a critical failure and will not be able to be skipped
-    if [ "$arago_tmp" == "" ]
-    then
-        echo "Could not find the arago-tmp directory"
-        echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    sdk_path="$arago_tmp/deploy/images"
-
-    # check that the sdk_path exists
-    if [ ! -d $sdk_path ]
-    then
-        echo "Images directory is missing from arago-tmp"
-        echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-        return 1
-    fi
-
-    # prefer sdk_path/m, if exists - Dora and up
-    if [ -d $sdk_path/$m ]
-    then
-        sdk_path="$sdk_path/$m"
-    fi
-
-################################################################################
-# SDK_FILTER variable is used to specify the SDK image produced by the build,
-# that includes bootloaders, kernel, rootfs, devkit and host tools.
-# When SDK_FILTER is not set, it is assumed the individual piecess needed for
-# testing are built and deployed - bootloaders, kernel and (minimal) rootfs
-#
-# NOTE: For SDK-less builds, we need to re-create the same layout with directory
-#       structure following the extracted SDK image, placing the individual
-#       components in their corresponding locations ($test_dir/temp/filesystem
-#       and $test_dir/temp/board-support/prebuilt-images, so the rest of the
-#       test scripts can find them and work for both SDK and non-SDK cases.
-################################################################################
-    if [ ! -z $SDK_FILTER ]
-    then
-        # This filter is used to get the simple image name instead of the
-        # image name with the date and time added.
-        sdk_image=`find ./$sdk_path -name "$SDK_FILTER*$m.$SDK_IMAGE_TYPE" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ "$sdk_image" == "" ]
-        then
-            echo "Could not find the SDK image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-
-        cp $sdk_path/$sdk_image $test_dir
-
-        # cd into the test dir and extract the SDK image into a temp directory
-        mkdir -p $test_dir/temp
-        cd $test_dir/temp
-        tar xf $test_dir/$sdk_image
-        cd $test_dir
-    else
-        # Special case of non-SDK build, when SDK_FILTER is not specified
-        mkdir -p $test_dir/temp/filesystem
-        mkdir -p $test_dir/temp/board-support/prebuilt-images
-
-        # Find the target file system
-        filesys=`find ./$sdk_path -name "$FS_FILTER*$m.$FS_IMAGE_TYPE" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ -z "$filesys" ]
-        then
-            echo "Could not find the target filesystem image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-        cp $sdk_path/$filesys $test_dir/temp/filesystem
-
-        # Find the kernel image
-        kernel=`find ./$sdk_path -name "[uz]Image-$m.bin" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ -z "$kernel" ]
-        then
-            echo "Could not find the kernel image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-        cp $sdk_path/$kernel $test_dir/temp/board-support/prebuilt-images
-
-        # Find the u-boot image
-        uboot=`find ./$sdk_path -name "u-boot-$m.*" | xargs basename`
-        # This is a critical failure and will not be able to be skipped
-        if [ -z "$uboot" ]
-        then
-            echo "Could not find the u-boot image"
-            echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
-            return 1
-        fi
-        cp $sdk_path/$uboot $test_dir/temp/board-support/prebuilt-images
-
-        # This is NOT a critical failure
-        # Find the mlo image
-        mlo=`find ./$sdk_path -name "MLO-$m" | xargs basename`
-        if [ ! -z "$mlo" ]
-        then
-            cp $sdk_path/$mlo $test_dir/temp/board-support/prebuilt-images
-        else
-            # Find the skern image (special case for Keystone)
-            skern=`find ./$sdk_path -name "skern-$m.bin" | xargs basename`
-            if [ ! -z "$skern" ]
-            then
-                cp $sdk_path/$skern $test_dir/temp/board-support/prebuilt-images
-            else
-                echo "Could not find the MLO/skern image, ignoring"
-            fi
-        fi
-
-        # This is NOT a critical failure
-        # Find the spl/uart image
-        spl=`find ./$sdk_path -name "u-boot-spl.bin-$m" | xargs basename`
-        if [ ! -z "$spl" ]
-        then
-            cp $sdk_path/$spl $test_dir/temp/board-support/prebuilt-images
-        else
-            echo "Could not find the SPL/UART image, ignoring"
-        fi
-
-        cd $test_dir
-    fi
-
-    return 0
-}
-
-# This function will copy the SDK image to the PACKAGE_ROOT
-# This image may be the original image depending on whether the
-# test failed with a critical failure or not.  If it was a critical failure
-# then the packaging step will not find the SDK image and will therefore
-# not run.
-copy_files_to_package_root() {
-    # Set m for logging purposes
-    m=$1
-
-    # Make the machine specific package root
-    package_root="$PACKAGE_ROOT/$m"
-
-    if [ -d $package_root ]
-    then
-        rm -rf $package_root
-    fi
-    mkdir -p $package_root
-
-    # Copy the SDK tarball
-    cp $test_dir/$SDK_FILTER* $package_root
-
-    # Since the SDK is still extracted in the "temp" directory go
-    # ahead and copy the pre-built images and file system files
-    # for the SD card contents.  The rest of the contents will be
-    # packaged in a later step.
-    # Create the boot tarball contents
-    boot_partition="$package_root/boot_partition"
-    mkdir -p $boot_partition
-    cp $test_dir/temp/board-support/prebuilt-images/* $boot_partition/
-
-    # Create the rootfs tarball contents
-    root_partition="$package_root/root_partition"
-    mkdir -p $root_partition
-    cp $test_dir/temp/filesystem/$FS_FILTER*.$FS_IMAGE_TYPE $root_partition/rootfs_partition.$FS_IMAGE_TYPE
-}
-
-copy_golden_image() {
-    # Set m for logging purposes
-    m=$1
-
-    arago_tmp=`ls | grep "arago-tmp-*"`
-
-    # This is a critical failure and will not be able to be skipped
-    if [ "$arago_tmp" == "" ]
-    then
-        echo "Could not find the arago-tmp directory"
-        return 1
-    fi
-
-    img_path="$arago_tmp/deploy/images/$m"
-
-    # check that the img_path exists
-    if [ ! -d $img_path ]
-    then
-        echo "Images directory for machine $m is missing from arago-tmp"
-        return 1
-    fi
-
-    dest_path="golden/"
-    rm -rf $dest_path/$m
-
-    mkdir $dest_path/$m
-    cp -a $img_path $dest_path
-}
-
-test_sdk_image() {
-    # Set m for logging purposes
-    m="$1"
-    test_passed="false"
-
-    # Create a temporary directory to extract the build files to for
-    # testing.  If the directory already exists then delete the old
-    # contents first.
-    test_dir="$TEST_ROOT/$m-test"
-
-    if [ -d $test_dir ]
-    then
-        rm -rf $test_dir
-    fi
-    mkdir -p $test_dir
-
-    # Always extract the SDK so we can package the internal contents,
-    # even if we don't do testing and re-package the tested files.
-    extract_sdk_image $m
-    if [ "$?" != "0" ]
-    then
-        return 1
-    fi
-
-    # Delete old rootfs test directory
-    nfs_dir="$NFS_ROOT/$m-test"
-    if [ -d $nfs_dir ]
-    then
-        # Clean the old directory
-        sudo rm -rf $nfs_dir
-    fi
-
-    # Only run the build testing if the config file says to do so
-    if [ "$RUN_BUILD_TESTS" == "true" ]
-    then
-        run_target_side_test $m
-
-        if [ "$?" != "0" ]
-        then
-            # Check if this was a CRITICAL failure
-            grep "CRITICAL" $LOG_DIR/$m-test-result.txt > /dev/null 2>&1
-            if [ "$?" == "0" -a "$SKIP_TEST_FAILURES" == "false" ]
-            then
-                # This was a critical failure so return without copying
-                # the files
-                return 1
-            fi
-        else
-            echo "PASSED" > $LOG_DIR/$m-test-result.txt
-            test_passed="true"
-        fi
-
-    else
-        echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-    fi
-
-    # Getting here means that either
-    #   1. The test passed
-    #   2. The test failed with a non-CRITICAL error and SKIP_TEST_FAILURES
-    #      was set to true.
-    package_tested_rootfs $m
-    if [ ! -z $SDK_FILTER ]
-    then
-        copy_files_to_package_root $m
-    fi
-
-    if [ "$test_passed" == "true" -a $COPY_GOLDEN_TO_WEB == "true" ]
-    then
-        copy_golden_image $m
-    fi
-}
-
 # This function receives a comma separated list of machines to build and test.
 # The flow is to do the bitbake operations to generate the images and SDK
 # content, then call to the opentest system (if so desired) while starting the
@@ -478,19 +110,6 @@ bitbake_sdk_images(){
         # If it does not exist, then there is not much we can do, so inhibit the
         # error code.
         mv $build_dir/bitbake-cookerdaemon.log $LOG_DIR/$m-bitbake-cookerdaemon.log || true
-
-        # Only run the build testing if the status of the above builds
-        # was "pass"
-        if [ "$build_status" == "pass" ]
-        then
-            if [ ! "$EXIT_AFTER_BUILD" = "true" ]; then
-                test_sdk_image $m &
-            else
-                echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-            fi
-        else
-            echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
-        fi
     done
 
     # Wait for all build/test processes to finish before exiting
Signature · 1 line
2.7.4
Reviewed-by on v1 6/10
#21 lore raw

Re: [tisdk-build-scripts][PATCH 06/10] Remove code that extracts and repackages SDK for runtime testing

Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Quoted 424 lines

---
lib/oesdk/bitbake-test-sdk-image | 381
---------------------------------------

1 file changed, 381 deletions(-)
lib/oesdk/bitbake-test-sdk-image +0 -0
index 51796a6..35110aa 100644
@@ -10,374 +10,6 @@ then

fi

lib/oesdk/bitbake-test-sdk-image +0 -9
-package_tested_rootfs() {
- # Set m for logging purposes
- m="$1"
-
- nfs_dir="$NFS_ROOT/$m-test"
-
- # Find the target file system
- filesys_path="temp/filesystem"
- filesys=`find ./$filesys_path -name "$FS_FILTER*$FS_IMAGE_TYPE" | xargs

basename`

lib/oesdk/bitbake-test-sdk-image +0 -121
-
- # Check if the nfs_dir is available. If it is not available then
- # this must mean that we exited the test because it could not be
- # created. So don't try to re-package the tested NFS file system.
- if [ -e "$nfs_dir" ]
- then
- log $machine_build_log echo "packaging tested rootfs for machine $m"
- # Since opentest run passed let's do some cleanup of the filesystem
- # and then repackage it and the SDK tarball so that the SDK will ship
- # with a pre-booted file system, which reduces out-of-the-box boot
- # time.
- sudo rm -rf $nfs_dir/$TEST_SCRIPTS_TGT
- sudo rm -rf $nfs_dir/etc/pointercal
- sudo rm -rf $nfs_dir/etc/rc5.d/S90-fake-pointercal
- sudo rm -rf $nfs_dir/etc/rc5.d/S08-fake-weston-calibrate
- sudo rm -rf $nfs_dir/etc/dropbear/dropbear_rsa_*
-
- if [ "$(ls -A $nfs_dir/home/root/)" ]
- then
- sudo rm -rf $nfs_dir/home/root/*
- fi
-
- # Don't forget to remove the original file system tarball
- sudo rm -rf $nfs_dir/$filesys
-
- # Tar up the booted file system
- rm $test_dir/$filesys_path/$filesys
- cd $nfs_dir
-
- # Set the tar options based on FS_IMAGE_TYPE
- if [ "$FS_IMAGE_TYPE" == "tar.gz" ]
- then
- fs_tar_opts="czf"
- elif [ "$FS_IMAGE_TYPE" == "tar.bz2" ]
- then
- fs_tar_opts="cjf"
- else
- # default to tar.gz
- fs_tar_opts="czf"
- fi
-
- sudo tar $fs_tar_opts $test_dir/$filesys_path/$filesys *
- cd $test_dir
- else
- log $machine_build_log echo "packaging existing rootfs for machine $m"
- fi
-
- if [ ! -z $SDK_FILTER ]
- then
- # Re-Tar the SDK
- rm $test_dir/$sdk_image
- cd temp
-
- # Set the tar options based on SDK_IMAGE_TYPE
- if [ "$SDK_IMAGE_TYPE" == "tar.gz" ]
- then
- sdk_tar_opts="czf"
- elif [ "$SDK_IMAGE_TYPE" == "tar.bz2" ]
- then
- sdk_tar_opts="cjf"
- else
- # default to tar.gz
- sdk_tar_opts="czf"
- fi
-
- tar $sdk_tar_opts $test_dir/$sdk_image *
- cd $test_dir
- fi
-
- # return back to the build directory
- cd $build_dir
-
- return 0
-}
-
-# This function will extract the SDK image. It is always called because
-# even when we don't do target side testing we still want to extract the
-# image to allow packaging the contents.
-extract_sdk_image() {
- # Set m for logging purposes
- m=$1
-
-################################################################################
 
-# Look inside of the arago-tmp directory in the build directory for this
-# list and find the SDK image tarball for this machine. Copy the tarball
-# to the test directory
-# First find the arago-tmp directory. Since the Toolchain becomes part
-# of the name we need to search for it.
-# NOTE: This means that if you switch toolchains you need to do a
-# CLEAN_BUILD
-# NOTE: The assumption here is that we are still in the directory where
-# the arago-tmp directory is located
-################################################################################
 
- arago_tmp=`ls | grep "arago-tmp-*"`
-
- # This is a critical failure and will not be able to be skipped
- if [ "$arago_tmp" == "" ]
- then
- echo "Could not find the arago-tmp directory"
- echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
- return 1
- fi
-
- sdk_path="$arago_tmp/deploy/images"
-
- # check that the sdk_path exists
- if [ ! -d $sdk_path ]
- then
- echo "Images directory is missing from arago-tmp"
- echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
- return 1
- fi
-
- # prefer sdk_path/m, if exists - Dora and up
- if [ -d $sdk_path/$m ]
- then
- sdk_path="$sdk_path/$m"
- fi
-
-################################################################################
 
-# SDK_FILTER variable is used to specify the SDK image produced by the

build,

lib/oesdk/bitbake-test-sdk-image +0 -2
-# that includes bootloaders, kernel, rootfs, devkit and host tools.
-# When SDK_FILTER is not set, it is assumed the individual piecess needed

for
-# testing are built and deployed - bootloaders, kernel and (minimal) rootfs

lib/oesdk/bitbake-test-sdk-image +0 -2
-#
-# NOTE: For SDK-less builds, we need to re-create the same layout with

directory

lib/oesdk/bitbake-test-sdk-image +0 -10
-# structure following the extracted SDK image, placing the individual
-# components in their corresponding locations ($test_dir/temp/filesystem
-# and $test_dir/temp/board-support/prebuilt-images, so the rest of the
-# test scripts can find them and work for both SDK and non-SDK cases.
-################################################################################
 
- if [ ! -z $SDK_FILTER ]
- then
- # This filter is used to get the simple image name instead of the
- # image name with the date and time added.
- sdk_image=`find ./$sdk_path -name "$SDK_FILTER*$m.$SDK_IMAGE_TYPE" |

xargs basename`
- # This is a critical failure and will not be able to be skipped
- if [ "$sdk_image" == "" ]
- then
- echo "Could not find the SDK image"
- echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
- return 1
- fi

lib/oesdk/bitbake-test-sdk-image +0 -15
-
- cp $sdk_path/$sdk_image $test_dir
-
- # cd into the test dir and extract the SDK image into a temp directory
- mkdir -p $test_dir/temp
- cd $test_dir/temp
- tar xf $test_dir/$sdk_image
- cd $test_dir
- else
- # Special case of non-SDK build, when SDK_FILTER is not specified
- mkdir -p $test_dir/temp/filesystem
- mkdir -p $test_dir/temp/board-support/prebuilt-images
-
- # Find the target file system
- filesys=`find ./$sdk_path -name "$FS_FILTER*$m.$FS_IMAGE_TYPE" | xargs

basename`
- # This is a critical failure and will not be able to be skipped
- if [ -z "$filesys" ]
- then
- echo "Could not find the target filesystem image"
- echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
- return 1
- fi
- cp $sdk_path/$filesys $test_dir/temp/filesystem

lib/oesdk/bitbake-test-sdk-image +0 -59
-
- # Find the kernel image
- kernel=`find ./$sdk_path -name "[uz]Image-$m.bin" | xargs basename`
- # This is a critical failure and will not be able to be skipped
- if [ -z "$kernel" ]
- then
- echo "Could not find the kernel image"
- echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
- return 1
- fi
- cp $sdk_path/$kernel $test_dir/temp/board-support/prebuilt-images
-
- # Find the u-boot image
- uboot=`find ./$sdk_path -name "u-boot-$m.*" | xargs basename`
- # This is a critical failure and will not be able to be skipped
- if [ -z "$uboot" ]
- then
- echo "Could not find the u-boot image"
- echo "FAILED: CRITICAL" > $LOG_DIR/$m-test-result.txt
- return 1
- fi
- cp $sdk_path/$uboot $test_dir/temp/board-support/prebuilt-images
-
- # This is NOT a critical failure
- # Find the mlo image
- mlo=`find ./$sdk_path -name "MLO-$m" | xargs basename`
- if [ ! -z "$mlo" ]
- then
- cp $sdk_path/$mlo $test_dir/temp/board-support/prebuilt-images
- else
- # Find the skern image (special case for Keystone)
- skern=`find ./$sdk_path -name "skern-$m.bin" | xargs basename`
- if [ ! -z "$skern" ]
- then
- cp $sdk_path/$skern $test_dir/temp/board-support/prebuilt-images
- else
- echo "Could not find the MLO/skern image, ignoring"
- fi
- fi
-
- # This is NOT a critical failure
- # Find the spl/uart image
- spl=`find ./$sdk_path -name "u-boot-spl.bin-$m" | xargs basename`
- if [ ! -z "$spl" ]
- then
- cp $sdk_path/$spl $test_dir/temp/board-support/prebuilt-images
- else
- echo "Could not find the SPL/UART image, ignoring"
- fi
-
- cd $test_dir
- fi
-
- return 0
-}
-
-# This function will copy the SDK image to the PACKAGE_ROOT
-# This image may be the original image depending on whether the
-# test failed with a critical failure or not. If it was a critical

failure

lib/oesdk/bitbake-test-sdk-image +0 -31
-# then the packaging step will not find the SDK image and will therefore
-# not run.
-copy_files_to_package_root() {
- # Set m for logging purposes
- m=$1
-
- # Make the machine specific package root
- package_root="$PACKAGE_ROOT/$m"
-
- if [ -d $package_root ]
- then
- rm -rf $package_root
- fi
- mkdir -p $package_root
-
- # Copy the SDK tarball
- cp $test_dir/$SDK_FILTER* $package_root
-
- # Since the SDK is still extracted in the "temp" directory go
- # ahead and copy the pre-built images and file system files
- # for the SD card contents. The rest of the contents will be
- # packaged in a later step.
- # Create the boot tarball contents
- boot_partition="$package_root/boot_partition"
- mkdir -p $boot_partition
- cp $test_dir/temp/board-support/prebuilt-images/* $boot_partition/
-
- # Create the rootfs tarball contents
- root_partition="$package_root/root_partition"
- mkdir -p $root_partition
- cp $test_dir/temp/filesystem/$FS_FILTER*.$FS_IMAGE_TYPE

$root_partition/rootfs_partition.$FS_IMAGE_TYPE

lib/oesdk/bitbake-test-sdk-image +0 -103
-}
-
-copy_golden_image() {
- # Set m for logging purposes
- m=$1
-
- arago_tmp=`ls | grep "arago-tmp-*"`
-
- # This is a critical failure and will not be able to be skipped
- if [ "$arago_tmp" == "" ]
- then
- echo "Could not find the arago-tmp directory"
- return 1
- fi
-
- img_path="$arago_tmp/deploy/images/$m"
-
- # check that the img_path exists
- if [ ! -d $img_path ]
- then
- echo "Images directory for machine $m is missing from arago-tmp"
- return 1
- fi
-
- dest_path="golden/"
- rm -rf $dest_path/$m
-
- mkdir $dest_path/$m
- cp -a $img_path $dest_path
-}
-
-test_sdk_image() {
- # Set m for logging purposes
- m="$1"
- test_passed="false"
-
- # Create a temporary directory to extract the build files to for
- # testing. If the directory already exists then delete the old
- # contents first.
- test_dir="$TEST_ROOT/$m-test"
-
- if [ -d $test_dir ]
- then
- rm -rf $test_dir
- fi
- mkdir -p $test_dir
-
- # Always extract the SDK so we can package the internal contents,
- # even if we don't do testing and re-package the tested files.
- extract_sdk_image $m
- if [ "$?" != "0" ]
- then
- return 1
- fi
-
- # Delete old rootfs test directory
- nfs_dir="$NFS_ROOT/$m-test"
- if [ -d $nfs_dir ]
- then
- # Clean the old directory
- sudo rm -rf $nfs_dir
- fi
-
- # Only run the build testing if the config file says to do so
- if [ "$RUN_BUILD_TESTS" == "true" ]
- then
- run_target_side_test $m
-
- if [ "$?" != "0" ]
- then
- # Check if this was a CRITICAL failure
- grep "CRITICAL" $LOG_DIR/$m-test-result.txt > /dev/null 2>&1
- if [ "$?" == "0" -a "$SKIP_TEST_FAILURES" == "false" ]
- then
- # This was a critical failure so return without copying
- # the files
- return 1
- fi
- else
- echo "PASSED" > $LOG_DIR/$m-test-result.txt
- test_passed="true"
- fi
-
- else
- echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
- fi
-
- # Getting here means that either
- # 1. The test passed
- # 2. The test failed with a non-CRITICAL error and SKIP_TEST_FAILURES
- # was set to true.
- package_tested_rootfs $m
- if [ ! -z $SDK_FILTER ]
- then
- copy_files_to_package_root $m
- fi
-
- if [ "$test_passed" == "true" -a $COPY_GOLDEN_TO_WEB == "true" ]
- then
- copy_golden_image $m
- fi
-}
-

# This function receives a comma separated list of machines to build and test.
# The flow is to do the bitbake operations to generate the images and SDK # content, then call to the opentest system (if so desired) while starting the

lib/oesdk/bitbake-test-sdk-image +0 -0
@@ -478,19 +110,6 @@ bitbake_sdk_images(){
 # If it does not exist, then there is not much we can do, so inhibit the
 # error code.

mv $build_dir/bitbake-cookerdaemon.log $LOG_DIR/$m-bitbake-cookerdaemon.log || true
-
- # Only run the build testing if the status of the above builds
- # was "pass"
- if [ "$build_status" == "pass" ]
- then
- if [ ! "$EXIT_AFTER_BUILD" = "true" ]; then
- test_sdk_image $m &
- else
- echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
- fi
- else
- echo "SKIPPED" > $LOG_DIR/$m-test-result.txt
- fi
done

# Wait for all build/test processes to finish before exiting --
2.7.4

#22 lore raw

PATCH 7/10 Remove ability to generate build/test report per machine

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/oesdk/generate-report | 295 ----------------------------------------------
 1 file changed, 295 deletions(-)
 delete mode 100644 lib/oesdk/generate-report
lib/oesdk/generate-report deleted +0 -295
deleted file mode 100644
index 86813ae..0000000
@@ -1,295 +0,0 @@
-#!/bin/bash
-
-# This script is intended to be called only from the top-level build-oesdk.sh
-# script which parses the configuration file and sets necessary variables.
-# So check if it is being called from any other context and if so exit.
-if [ "`basename $0`" != "build-oesdk.sh" ]
-then
-    log $error_log echo "This is a helper script and should not be run directly"
-    exit 1
-fi
-
-write_results_header() {
-cat >> $results_file << EOM
-<html>
-<head>
-<title>
-Status for `date +%D`
-</title>
-</head>
-<body>
-
-<h2>Status for `date +%D`</h2>
-
-<h2>BUILD_ID: $BUILD_ID</h2>
-
-<h2>Clean Build: $CLEAN_BUILD</h2>
-
-<h2>Clean Sources: $CLEAN_ALL</h2>
-EOM
-}
-
-write_results_footer() {
-cat >> $results_file << EOM
-
-<p>
-These builds were performed using the build-oesdk.sh script at:
-</p>
-<p>
-git://git.ti.com/arago-project/tisdk-build-scripts.git
-</p>
-
-<p>
-The configuration file passed to this script had the contents:
-</p>
-<p>
-EOM
-
-if [ "$RESULTS_CONFIG_COMMENTS" == "true" ]
-then
-    filter=""
-else
-    filter="/^[^#]/"
-fi
-
-awk "$filter { print \$0 \"<br>\"; }" $SCRIPTS_ROOT/$inputfile >> $results_file
-
-cat >> $results_file << EOM
-</p>
-
-</body>
-</html>
-EOM
-}
-
-write_repos_table() {
-cat >> $results_file << EOM
-<h2><u>Repository Revisions</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
-    <tr>
-        <th>Repository</th>
-        <th>Git URL</th>
-        <th>Branch</th>
-        <th>Commit ID</th>
-        <th>Layers</th>
-    </tr>
-
-EOM
-
-    while read line
-    do
-        # clean the parsing variables for each run
-        name=""
-        uri=""
-        branch=""
-        commit=""
-        repo_layers=""
-
-        # Skip empty lines
-        if [ "x$line" = "x" ]
-        then
-            continue
-        fi
-
-        # Skip comment lines
-        echo $line | grep -e "^#" > /dev/null
-        if [ "$?" = "0" ]
-        then
-            continue
-        fi
-
-        # If the line starts with OECORE then skip it
-        echo $line | grep -e "^OECORE.*=" > /dev/null
-        if [ "$?" = "0" ]
-        then
-            continue
-        fi
-
-        name=`echo $line | cut -d, -f1`
-        uri=`echo $line | cut -d, -f2`
-        branch=`echo $line | cut -d, -f3`
-        commit=`echo $line | cut -d, -f4`
-        repo_layers=`echo $line | cut -d, -f5-`
-
-cat >> $results_file << EOM
-    <tr>
-        <td>$name</td>
-        <td>$uri</td>
-        <td>$branch</td>
-        <td>$commit</td>
-        <td>$repo_layers</td>
-    </tr>
-EOM
-    done < $CONFIG_FILE
-
-echo "</table>" >> $results_file
-}
-
-# Set the color of the status box.  Basically if the status value has
-# "FAILED" in it anywhere then set the color to red, if the status
-# value is "SKIPPED" then set the colow to yellow, else set it to green
-set_status_color() {
-    status="$1"
-    if echo $status | grep "FAILED" > /dev/null 2>&1
-    then
-        echo "red"
-    elif echo $status | grep "SKIPPED" > /dev/null 2>&1
-    then
-        echo "yellow"
-    else
-        echo "lime"
-    fi
-}
-
-write_machine_results() {
-    m="$1"
-
-    build_result=`cat $LOG_DIR/$m-build-result.txt`
-
-    if [ "$build_result" == "PASSED" ]
-    then
-        test_result=`cat $LOG_DIR/$m-test-result.txt`
-    else
-        test_result="SKIPPED"
-    fi
-
-    build_res_color=`set_status_color $build_result`
-    test_res_color=`set_status_color $test_result`
-
-cat >> $results_file << EOM
-    <tr>
-        <td>$m</td>
-        <td id="$m-build-result" bgcolor=$build_res_color>$build_result</td>
-        <td id="$m-target-result" bgcolor=$test_res_color>$test_result</td>
-    </tr>
-EOM
-
-}
-
-write_results_table() {
-cat >> $results_file << EOM
-<h2><u>Build and Target Test Results</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
-    <tr>
-        <th>Machine</th>
-        <th>Build Result</th>
-        <th>Target Test Result</th>
-    </tr>
-EOM
-
-    for m in $MACHINES
-    do
-        write_machine_results $m
-    done
-
-echo "</table>" >> $results_file
-}
-
-write_sdk_machine_results() {
-    m="$1"
-
-    if [ -e "$LOG_DIR/$m-build-installer.txt" ]
-    then
-        installer_result=`cat $LOG_DIR/$m-build-installer.txt`
-    else
-        installer_result="SKIPPED"
-    fi
-
-    if [ -e "$LOG_DIR/$m-build-sdcard.txt" ]
-    then
-        sdcard_result=`cat $LOG_DIR/$m-build-sdcard.txt`
-    else
-        sdcard_result="SKIPPED"
-    fi
-
-    if [ -e "$LOG_DIR/$m-web-results.txt" ]
-    then
-        web_result=`cat $LOG_DIR/$m-web-results.txt`
-    else
-        web_result="SKIPPED"
-    fi
-
-    installer_res_color=`set_status_color $installer_result`
-    sdcard_res_color=`set_status_color $sdcard_result`
-    web_res_color=`set_status_color $web_result`
-
-cat >> $results_file << EOM
-    <tr>
-        <td>$m</td>
-        <td id="$m-installer-result" bgcolor=$installer_res_color>$installer_result</td>
-        <td id="$m-sdcard-result" bgcolor=$sdcard_res_color>$sdcard_result</td>
-        <td id="$m-web-result" bgcolor=$web_res_color>$web_result</td>
-    </tr>
-EOM
-
-}
-
-write_sdk_results_table() {
-cat >> $results_file << EOM
-<h2><u>SDK Build Results</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
-    <tr>
-        <th>Machine</th>
-        <th>Installer Build</th>
-        <th>SD Card Build</th>
-        <th>Web Build</th>
-    </tr>
-EOM
-
-    for m in $MACHINES
-    do
-        write_sdk_machine_results $m
-    done
-
-echo "</table>" >> $results_file
-}
-
-generate_report() {
-    results_dir="$DEPLOY_ROOT/results/$BUILD_ID"
-    results_file="$results_dir/results.html"
-
-    if [ -e $results_dir ]
-    then
-        rm -rf $results_dir
-    fi
-
-    mkdir -p $results_dir
-
-    # Copy all of the logs to the results directory
-    cp -rv $LOG_DIR $results_dir
-
-    write_results_header
-
-    write_repos_table
-
-    write_results_table
-
-    if [ "$PRODUCTIZE_SDK" == "true" ]
-    then
-        write_sdk_results_table
-    fi
-
-    write_results_footer
-
-    # TODO: Add log files to the report and be sure to copy the files to
-    #       the results_dir
-
-    # If BACKUP_RESULTS is not empty then copy the results_file to the
-    # directory it points to.
-    if [ "$BACKUP_RESULTS" != "" ]
-    then
-        mkdir -p $BACKUP_RESULTS
-        cp $results_file $BACKUP_RESULTS/
-    fi
-
-    # Lastly, for niceness sake let's create a link to the results in the
-    # SDK directory.
-    for m in $MACHINES
-    do
-        if [ -d $DEPLOY_ROOT/$m ]
-        then
-            ln -sf $results_file $DEPLOY_ROOT/$m/results.html
-        fi
-    done
-}
-
Signature · 1 line
2.7.4
#23 lore raw

PATCH 7/10 Remove ability to generate build/test report per machine

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 lib/oesdk/generate-report | 295 ----------------------------------------------
 1 file changed, 295 deletions(-)
 delete mode 100644 lib/oesdk/generate-report
lib/oesdk/generate-report deleted +0 -295
deleted file mode 100644
index 86813ae..0000000
@@ -1,295 +0,0 @@
-#!/bin/bash
-
-# This script is intended to be called only from the top-level build-oesdk.sh
-# script which parses the configuration file and sets necessary variables.
-# So check if it is being called from any other context and if so exit.
-if [ "`basename $0`" != "build-oesdk.sh" ]
-then
-    log $error_log echo "This is a helper script and should not be run directly"
-    exit 1
-fi
-
-write_results_header() {
-cat >> $results_file << EOM
-<html>
-<head>
-<title>
-Status for `date +%D`
-</title>
-</head>
-<body>
-
-<h2>Status for `date +%D`</h2>
-
-<h2>BUILD_ID: $BUILD_ID</h2>
-
-<h2>Clean Build: $CLEAN_BUILD</h2>
-
-<h2>Clean Sources: $CLEAN_ALL</h2>
-EOM
-}
-
-write_results_footer() {
-cat >> $results_file << EOM
-
-<p>
-These builds were performed using the build-oesdk.sh script at:
-</p>
-<p>
-git://git.ti.com/arago-project/tisdk-build-scripts.git
-</p>
-
-<p>
-The configuration file passed to this script had the contents:
-</p>
-<p>
-EOM
-
-if [ "$RESULTS_CONFIG_COMMENTS" == "true" ]
-then
-    filter=""
-else
-    filter="/^[^#]/"
-fi
-
-awk "$filter { print \$0 \"<br>\"; }" $SCRIPTS_ROOT/$inputfile >> $results_file
-
-cat >> $results_file << EOM
-</p>
-
-</body>
-</html>
-EOM
-}
-
-write_repos_table() {
-cat >> $results_file << EOM
-<h2><u>Repository Revisions</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
-    <tr>
-        <th>Repository</th>
-        <th>Git URL</th>
-        <th>Branch</th>
-        <th>Commit ID</th>
-        <th>Layers</th>
-    </tr>
-
-EOM
-
-    while read line
-    do
-        # clean the parsing variables for each run
-        name=""
-        uri=""
-        branch=""
-        commit=""
-        repo_layers=""
-
-        # Skip empty lines
-        if [ "x$line" = "x" ]
-        then
-            continue
-        fi
-
-        # Skip comment lines
-        echo $line | grep -e "^#" > /dev/null
-        if [ "$?" = "0" ]
-        then
-            continue
-        fi
-
-        # If the line starts with OECORE then skip it
-        echo $line | grep -e "^OECORE.*=" > /dev/null
-        if [ "$?" = "0" ]
-        then
-            continue
-        fi
-
-        name=`echo $line | cut -d, -f1`
-        uri=`echo $line | cut -d, -f2`
-        branch=`echo $line | cut -d, -f3`
-        commit=`echo $line | cut -d, -f4`
-        repo_layers=`echo $line | cut -d, -f5-`
-
-cat >> $results_file << EOM
-    <tr>
-        <td>$name</td>
-        <td>$uri</td>
-        <td>$branch</td>
-        <td>$commit</td>
-        <td>$repo_layers</td>
-    </tr>
-EOM
-    done < $CONFIG_FILE
-
-echo "</table>" >> $results_file
-}
-
-# Set the color of the status box.  Basically if the status value has
-# "FAILED" in it anywhere then set the color to red, if the status
-# value is "SKIPPED" then set the colow to yellow, else set it to green
-set_status_color() {
-    status="$1"
-    if echo $status | grep "FAILED" > /dev/null 2>&1
-    then
-        echo "red"
-    elif echo $status | grep "SKIPPED" > /dev/null 2>&1
-    then
-        echo "yellow"
-    else
-        echo "lime"
-    fi
-}
-
-write_machine_results() {
-    m="$1"
-
-    build_result=`cat $LOG_DIR/$m-build-result.txt`
-
-    if [ "$build_result" == "PASSED" ]
-    then
-        test_result=`cat $LOG_DIR/$m-test-result.txt`
-    else
-        test_result="SKIPPED"
-    fi
-
-    build_res_color=`set_status_color $build_result`
-    test_res_color=`set_status_color $test_result`
-
-cat >> $results_file << EOM
-    <tr>
-        <td>$m</td>
-        <td id="$m-build-result" bgcolor=$build_res_color>$build_result</td>
-        <td id="$m-target-result" bgcolor=$test_res_color>$test_result</td>
-    </tr>
-EOM
-
-}
-
-write_results_table() {
-cat >> $results_file << EOM
-<h2><u>Build and Target Test Results</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
-    <tr>
-        <th>Machine</th>
-        <th>Build Result</th>
-        <th>Target Test Result</th>
-    </tr>
-EOM
-
-    for m in $MACHINES
-    do
-        write_machine_results $m
-    done
-
-echo "</table>" >> $results_file
-}
-
-write_sdk_machine_results() {
-    m="$1"
-
-    if [ -e "$LOG_DIR/$m-build-installer.txt" ]
-    then
-        installer_result=`cat $LOG_DIR/$m-build-installer.txt`
-    else
-        installer_result="SKIPPED"
-    fi
-
-    if [ -e "$LOG_DIR/$m-build-sdcard.txt" ]
-    then
-        sdcard_result=`cat $LOG_DIR/$m-build-sdcard.txt`
-    else
-        sdcard_result="SKIPPED"
-    fi
-
-    if [ -e "$LOG_DIR/$m-web-results.txt" ]
-    then
-        web_result=`cat $LOG_DIR/$m-web-results.txt`
-    else
-        web_result="SKIPPED"
-    fi
-
-    installer_res_color=`set_status_color $installer_result`
-    sdcard_res_color=`set_status_color $sdcard_result`
-    web_res_color=`set_status_color $web_result`
-
-cat >> $results_file << EOM
-    <tr>
-        <td>$m</td>
-        <td id="$m-installer-result" bgcolor=$installer_res_color>$installer_result</td>
-        <td id="$m-sdcard-result" bgcolor=$sdcard_res_color>$sdcard_result</td>
-        <td id="$m-web-result" bgcolor=$web_res_color>$web_result</td>
-    </tr>
-EOM
-
-}
-
-write_sdk_results_table() {
-cat >> $results_file << EOM
-<h2><u>SDK Build Results</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
-    <tr>
-        <th>Machine</th>
-        <th>Installer Build</th>
-        <th>SD Card Build</th>
-        <th>Web Build</th>
-    </tr>
-EOM
-
-    for m in $MACHINES
-    do
-        write_sdk_machine_results $m
-    done
-
-echo "</table>" >> $results_file
-}
-
-generate_report() {
-    results_dir="$DEPLOY_ROOT/results/$BUILD_ID"
-    results_file="$results_dir/results.html"
-
-    if [ -e $results_dir ]
-    then
-        rm -rf $results_dir
-    fi
-
-    mkdir -p $results_dir
-
-    # Copy all of the logs to the results directory
-    cp -rv $LOG_DIR $results_dir
-
-    write_results_header
-
-    write_repos_table
-
-    write_results_table
-
-    if [ "$PRODUCTIZE_SDK" == "true" ]
-    then
-        write_sdk_results_table
-    fi
-
-    write_results_footer
-
-    # TODO: Add log files to the report and be sure to copy the files to
-    #       the results_dir
-
-    # If BACKUP_RESULTS is not empty then copy the results_file to the
-    # directory it points to.
-    if [ "$BACKUP_RESULTS" != "" ]
-    then
-        mkdir -p $BACKUP_RESULTS
-        cp $results_file $BACKUP_RESULTS/
-    fi
-
-    # Lastly, for niceness sake let's create a link to the results in the
-    # SDK directory.
-    for m in $MACHINES
-    do
-        if [ -d $DEPLOY_ROOT/$m ]
-        then
-            ln -sf $results_file $DEPLOY_ROOT/$m/results.html
-        fi
-    done
-}
-
Signature · 1 line
2.7.4
Reviewed-by on v1 7/10
#24 lore raw

Re: [tisdk-build-scripts][PATCH 07/10] Remove ability to generate build/test report per machine

Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Quoted 315 lines

---
lib/oesdk/generate-report | 295
----------------------------------------------

1 file changed, 295 deletions(-)

delete mode 100644 lib/oesdk/generate-report

lib/oesdk/generate-report deleted +0 -3
deleted file mode 100644
index 86813ae..0000000
@@ -1,295 +0,0 @@
-#!/bin/bash
-
-# This script is intended to be called only from the top-level

build-oesdk.sh
-# script which parses the configuration file and sets necessary variables.

lib/oesdk/generate-report deleted +0 -4
-# So check if it is being called from any other context and if so exit.
-if [ "`basename $0`" != "build-oesdk.sh" ]
-then
- log $error_log echo "This is a helper script and should not be run

directly"
- exit 1

lib/oesdk/generate-report deleted +0 -46
-fi
-
-write_results_header() {
-cat >> $results_file << EOM
-<html>
-<head>
-<title>
-Status for `date +%D`
-</title>
-</head>
-<body>
-
-<h2>Status for `date +%D`</h2>
-
-<h2>BUILD_ID: $BUILD_ID</h2>
-
-<h2>Clean Build: $CLEAN_BUILD</h2>
-
-<h2>Clean Sources: $CLEAN_ALL</h2>
-EOM
-}
-
-write_results_footer() {
-cat >> $results_file << EOM
-
-<p>
-These builds were performed using the build-oesdk.sh script at:
-</p>
-<p>
-git://git.ti.com/arago-project/tisdk-build-scripts.git
-</p>
-
-<p>
-The configuration file passed to this script had the contents:
-</p>
-<p>
-EOM
-
-if [ "$RESULTS_CONFIG_COMMENTS" == "true" ]
-then
- filter=""
-else
- filter="/^[^#]/"
-fi
-
-awk "$filter { print \$0 \"<br>\"; }" $SCRIPTS_ROOT/$inputfile >>

$results_file

lib/oesdk/generate-report deleted +0 -164
-
-cat >> $results_file << EOM
-</p>
-
-</body>
-</html>
-EOM
-}
-
-write_repos_table() {
-cat >> $results_file << EOM
-<h2><u>Repository Revisions</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
- <tr>
- <th>Repository</th>
- <th>Git URL</th>
- <th>Branch</th>
- <th>Commit ID</th>
- <th>Layers</th>
- </tr>
-
-EOM
-
- while read line
- do
- # clean the parsing variables for each run
- name=""
- uri=""
- branch=""
- commit=""
- repo_layers=""
-
- # Skip empty lines
- if [ "x$line" = "x" ]
- then
- continue
- fi
-
- # Skip comment lines
- echo $line | grep -e "^#" > /dev/null
- if [ "$?" = "0" ]
- then
- continue
- fi
-
- # If the line starts with OECORE then skip it
- echo $line | grep -e "^OECORE.*=" > /dev/null
- if [ "$?" = "0" ]
- then
- continue
- fi
-
- name=`echo $line | cut -d, -f1`
- uri=`echo $line | cut -d, -f2`
- branch=`echo $line | cut -d, -f3`
- commit=`echo $line | cut -d, -f4`
- repo_layers=`echo $line | cut -d, -f5-`
-
-cat >> $results_file << EOM
- <tr>
- <td>$name</td>
- <td>$uri</td>
- <td>$branch</td>
- <td>$commit</td>
- <td>$repo_layers</td>
- </tr>
-EOM
- done < $CONFIG_FILE
-
-echo "</table>" >> $results_file
-}
-
-# Set the color of the status box. Basically if the status value has
-# "FAILED" in it anywhere then set the color to red, if the status
-# value is "SKIPPED" then set the colow to yellow, else set it to green
-set_status_color() {
- status="$1"
- if echo $status | grep "FAILED" > /dev/null 2>&1
- then
- echo "red"
- elif echo $status | grep "SKIPPED" > /dev/null 2>&1
- then
- echo "yellow"
- else
- echo "lime"
- fi
-}
-
-write_machine_results() {
- m="$1"
-
- build_result=`cat $LOG_DIR/$m-build-result.txt`
-
- if [ "$build_result" == "PASSED" ]
- then
- test_result=`cat $LOG_DIR/$m-test-result.txt`
- else
- test_result="SKIPPED"
- fi
-
- build_res_color=`set_status_color $build_result`
- test_res_color=`set_status_color $test_result`
-
-cat >> $results_file << EOM
- <tr>
- <td>$m</td>
- <td id="$m-build-result" bgcolor=$build_res_color>$build_result</td>
- <td id="$m-target-result" bgcolor=$test_res_color>$test_result</td>
- </tr>
-EOM
-
-}
-
-write_results_table() {
-cat >> $results_file << EOM
-<h2><u>Build and Target Test Results</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
- <tr>
- <th>Machine</th>
- <th>Build Result</th>
- <th>Target Test Result</th>
- </tr>
-EOM
-
- for m in $MACHINES
- do
- write_machine_results $m
- done
-
-echo "</table>" >> $results_file
-}
-
-write_sdk_machine_results() {
- m="$1"
-
- if [ -e "$LOG_DIR/$m-build-installer.txt" ]
- then
- installer_result=`cat $LOG_DIR/$m-build-installer.txt`
- else
- installer_result="SKIPPED"
- fi
-
- if [ -e "$LOG_DIR/$m-build-sdcard.txt" ]
- then
- sdcard_result=`cat $LOG_DIR/$m-build-sdcard.txt`
- else
- sdcard_result="SKIPPED"
- fi
-
- if [ -e "$LOG_DIR/$m-web-results.txt" ]
- then
- web_result=`cat $LOG_DIR/$m-web-results.txt`
- else
- web_result="SKIPPED"
- fi
-
- installer_res_color=`set_status_color $installer_result`
- sdcard_res_color=`set_status_color $sdcard_result`
- web_res_color=`set_status_color $web_result`
-
-cat >> $results_file << EOM
- <tr>
- <td>$m</td>
- <td id="$m-installer-result"

bgcolor=$installer_res_color>$installer_result</td>
- <td id="$m-sdcard-result" bgcolor=$sdcard_res_color>$sdcard_result</td>
- <td id="$m-web-result" bgcolor=$web_res_color>$web_result</td>
- </tr>

lib/oesdk/generate-report deleted +0 -74
-EOM
-
-}
-
-write_sdk_results_table() {
-cat >> $results_file << EOM
-<h2><u>SDK Build Results</u></h2>
-<table border=1 cellspacing=1 cellpadding=1>
- <tr>
- <th>Machine</th>
- <th>Installer Build</th>
- <th>SD Card Build</th>
- <th>Web Build</th>
- </tr>
-EOM
-
- for m in $MACHINES
- do
- write_sdk_machine_results $m
- done
-
-echo "</table>" >> $results_file
-}
-
-generate_report() {
- results_dir="$DEPLOY_ROOT/results/$BUILD_ID"
- results_file="$results_dir/results.html"
-
- if [ -e $results_dir ]
- then
- rm -rf $results_dir
- fi
-
- mkdir -p $results_dir
-
- # Copy all of the logs to the results directory
- cp -rv $LOG_DIR $results_dir
-
- write_results_header
-
- write_repos_table
-
- write_results_table
-
- if [ "$PRODUCTIZE_SDK" == "true" ]
- then
- write_sdk_results_table
- fi
-
- write_results_footer
-
- # TODO: Add log files to the report and be sure to copy the files to
- # the results_dir
-
- # If BACKUP_RESULTS is not empty then copy the results_file to the
- # directory it points to.
- if [ "$BACKUP_RESULTS" != "" ]
- then
- mkdir -p $BACKUP_RESULTS
- cp $results_file $BACKUP_RESULTS/
- fi
-
- # Lastly, for niceness sake let's create a link to the results in the
- # SDK directory.
- for m in $MACHINES
- do
- if [ -d $DEPLOY_ROOT/$m ]
- then
- ln -sf $results_file $DEPLOY_ROOT/$m/results.html
- fi
- done
-}
-
--

2.7.4

#25 lore raw

PATCH 8/10 Remove calls to packaging, reporting, testing and copying functionality

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 build-oesdk.sh | 47 -----------------------------------------------
 1 file changed, 47 deletions(-)
build-oesdk.sh +0 -47
index 038a7ab..fb5f725 100755
@@ -8,11 +8,8 @@ trap 'test -z "`jobs -p`" || kill `jobs -p` > /dev/null 2>&1; echo "I got a sign
 # script.
 source ./lib/oesdk/config-build-env
 source ./lib/common-functions
-source ./lib/run-opentest
 source ./lib/oesdk/bitbake-test-sdk-image
 source ./lib/oesdk/machine-specific-functions
-source ./lib/oesdk/package-sdks
-source ./lib/oesdk/generate-report
 
 # This variable holds the architectures that are being built based
 # on the machines.
@@ -193,48 +190,4 @@ done
 # Wait for all build and test processes to finish
 wait
 
-# Package the SDKs
-if [ "$PRODUCTIZE_SDK" == "true" ]
-then
-    package_sdks
-fi
-
-# Assemble the build report
-generate_report
-
-# If COPY_TO_WEB is set then copy to the WEB_HOST.  If we did not
-# productize the SDK then there is not much need to copy the files.
-if [ "$COPY_TO_WEB" == "true" ]
-then
-    if [ "$PRODUCTIZE_SDK" == "true" ]
-    then
-        echo "Copying productized images"
-        scp -r $DEPLOY_ROOT $WEB_HOST/
-        # If the copy went well then clean out the DEPLOY_ROOT directory
-        # If the CLEAN_AFTER_COPY variable is true.
-        # TODO: Maybe this should be cleaned by jenkins if I want that.
-        if [ "$?" == "0" ]
-        then
-            if [ "$CLEAN_AFTER_COPY" == "true" ]
-            then
-                rm -rf $DEPLOY_ROOT
-            fi
-        fi
-    fi
-
-    # If COPY_DEPLOY_TO_WEB is set then copy to the WEB_HOST.
-    if [ "$COPY_DEPLOY_TO_WEB" == "true" ]
-    then
-        echo "Copying deploy/ directory"
-        rsync -az --delete $BUILD_ROOT/build-*/arago-tmp*/deploy/ $WEB_HOST/deploy/
-    fi
-
-    # If COPY_GOLDEN_TO_WEB is set then copy to the WEB_HOST.
-    if [ "$COPY_GOLDEN_TO_WEB" == "true" ]
-    then
-        echo "Copying golden/ directory"
-        rsync -az --delete $BUILD_ROOT/build-*/golden/ $WEB_HOST/golden/
-    fi
-fi
-
 echo "Build Finished"
Signature · 1 line
2.7.4
#26 lore raw

PATCH 8/10 Remove calls to packaging, reporting, testing and copying functionality

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 build-oesdk.sh | 47 -----------------------------------------------
 1 file changed, 47 deletions(-)
build-oesdk.sh +0 -47
index 038a7ab..fb5f725 100755
@@ -8,11 +8,8 @@ trap 'test -z "`jobs -p`" || kill `jobs -p` > /dev/null 2>&1; echo "I got a sign
 # script.
 source ./lib/oesdk/config-build-env
 source ./lib/common-functions
-source ./lib/run-opentest
 source ./lib/oesdk/bitbake-test-sdk-image
 source ./lib/oesdk/machine-specific-functions
-source ./lib/oesdk/package-sdks
-source ./lib/oesdk/generate-report
 
 # This variable holds the architectures that are being built based
 # on the machines.
@@ -193,48 +190,4 @@ done
 # Wait for all build and test processes to finish
 wait
 
-# Package the SDKs
-if [ "$PRODUCTIZE_SDK" == "true" ]
-then
-    package_sdks
-fi
-
-# Assemble the build report
-generate_report
-
-# If COPY_TO_WEB is set then copy to the WEB_HOST.  If we did not
-# productize the SDK then there is not much need to copy the files.
-if [ "$COPY_TO_WEB" == "true" ]
-then
-    if [ "$PRODUCTIZE_SDK" == "true" ]
-    then
-        echo "Copying productized images"
-        scp -r $DEPLOY_ROOT $WEB_HOST/
-        # If the copy went well then clean out the DEPLOY_ROOT directory
-        # If the CLEAN_AFTER_COPY variable is true.
-        # TODO: Maybe this should be cleaned by jenkins if I want that.
-        if [ "$?" == "0" ]
-        then
-            if [ "$CLEAN_AFTER_COPY" == "true" ]
-            then
-                rm -rf $DEPLOY_ROOT
-            fi
-        fi
-    fi
-
-    # If COPY_DEPLOY_TO_WEB is set then copy to the WEB_HOST.
-    if [ "$COPY_DEPLOY_TO_WEB" == "true" ]
-    then
-        echo "Copying deploy/ directory"
-        rsync -az --delete $BUILD_ROOT/build-*/arago-tmp*/deploy/ $WEB_HOST/deploy/
-    fi
-
-    # If COPY_GOLDEN_TO_WEB is set then copy to the WEB_HOST.
-    if [ "$COPY_GOLDEN_TO_WEB" == "true" ]
-    then
-        echo "Copying golden/ directory"
-        rsync -az --delete $BUILD_ROOT/build-*/golden/ $WEB_HOST/golden/
-    fi
-fi
-
 echo "Build Finished"
Signature · 1 line
2.7.4
Reviewed-by on v1 8/10
#27 lore raw

Re: [tisdk-build-scripts][PATCH 08/10] Remove calls to packaging, reporting, testing and copying functionality

Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Quoted 74 lines

---
build-oesdk.sh | 47 -----------------------------------------------

1 file changed, 47 deletions(-)
build-oesdk.sh +0 -0
index 038a7ab..fb5f725 100755
@@ -8,11 +8,8 @@ trap 'test -z "`jobs -p`" || kill `jobs -p` > /dev/null

2>&1; echo "I got a sign

# script.
source ./lib/oesdk/config-build-env
source ./lib/common-functions
-source ./lib/run-opentest
source ./lib/oesdk/bitbake-test-sdk-image
source ./lib/oesdk/machine-specific-functions
build-oesdk.sh +0 -2
-source ./lib/oesdk/package-sdks
-source ./lib/oesdk/generate-report

# This variable holds the architectures that are being built based

# on the machines.
build-oesdk.sh +0 -0
@@ -193,48 +190,4 @@ done
 # Wait for all build and test processes to finish

wait

build-oesdk.sh +0 -34
-# Package the SDKs
-if [ "$PRODUCTIZE_SDK" == "true" ]
-then
- package_sdks
-fi
-
-# Assemble the build report
-generate_report
-
-# If COPY_TO_WEB is set then copy to the WEB_HOST. If we did not
-# productize the SDK then there is not much need to copy the files.
-if [ "$COPY_TO_WEB" == "true" ]
-then
- if [ "$PRODUCTIZE_SDK" == "true" ]
- then
- echo "Copying productized images"
- scp -r $DEPLOY_ROOT $WEB_HOST/
- # If the copy went well then clean out the DEPLOY_ROOT directory
- # If the CLEAN_AFTER_COPY variable is true.
- # TODO: Maybe this should be cleaned by jenkins if I want that.
- if [ "$?" == "0" ]
- then
- if [ "$CLEAN_AFTER_COPY" == "true" ]
- then
- rm -rf $DEPLOY_ROOT
- fi
- fi
- fi
-
- # If COPY_DEPLOY_TO_WEB is set then copy to the WEB_HOST.
- if [ "$COPY_DEPLOY_TO_WEB" == "true" ]
- then
- echo "Copying deploy/ directory"
- rsync -az --delete $BUILD_ROOT/build-*/arago-tmp*/deploy/

$WEB_HOST/deploy/
- fi

build-oesdk.sh +0 -9
-
- # If COPY_GOLDEN_TO_WEB is set then copy to the WEB_HOST.
- if [ "$COPY_GOLDEN_TO_WEB" == "true" ]
- then
- echo "Copying golden/ directory"
- rsync -az --delete $BUILD_ROOT/build-*/golden/ $WEB_HOST/golden/
- fi
-fi
-

echo "Build Finished"
--
2.7.4

#28 lore raw

PATCH 9/10 If no configs specified, initialize LOG_DIR correctly

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 build-oesdk.sh | 5 +++++
 1 file changed, 5 insertions(+)
build-oesdk.sh +5 -0
index fb5f725..9534d99 100755
@@ -22,6 +22,11 @@ CORTEX_MACHINE=""
 # List of all the dynamically created architecture lists
 LISTS=""
 
+if [ -z $LOG_DIR ]
+then
+    LOG_DIR="."
+fi
+
 usage() {
     echo "write something"
     exit 0
Signature · 1 line
2.7.4
#29 lore raw

PATCH 9/10 If no configs specified, initialize LOG_DIR correctly

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 build-oesdk.sh | 5 +++++
 1 file changed, 5 insertions(+)
build-oesdk.sh +5 -0
index fb5f725..9534d99 100755
@@ -22,6 +22,11 @@ CORTEX_MACHINE=""
 # List of all the dynamically created architecture lists
 LISTS=""
 
+if [ -z $LOG_DIR ]
+then
+    LOG_DIR="."
+fi
+
 usage() {
     echo "write something"
     exit 0
Signature · 1 line
2.7.4
Reviewed-by on v1 9/10
#30 lore raw

Re: [tisdk-build-scripts][PATCH 09/10] If no configs specified, initialize LOG_DIR correctly

Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Quoted 23 lines

---
build-oesdk.sh | 5 +++++

1 file changed, 5 insertions(+)
build-oesdk.sh +0 -0
index fb5f725..9534d99 100755
@@ -22,6 +22,11 @@ CORTEX_MACHINE=""
 # List of all the dynamically created architecture lists

LISTS=""

build-oesdk.sh +5 -0
+if [ -z $LOG_DIR ]
+then
+ LOG_DIR="."
+fi
+

usage() {
echo "write something"
exit 0
--
2.7.4

#31 lore raw

PATCH 10/10 Adjust default BUILD_DIR to be relative to SCRIPTS_DIR

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 configs/farm/arago-dunfell-next.txt | 2 +-
 configs/farm/arago-dunfell.txt      | 2 +-
 configs/farm/arago-master.txt       | 2 +-
 configs/farm/distroless-dunfell.txt | 2 +-
 configs/farm/distroless-master.txt  | 2 +-
 configs/farm/poky-dunfell.txt       | 2 +-
 configs/farm/poky-master.txt        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
configs/farm/arago-dunfell-next.txt +1 -1
index 5d8c6a2..74b1094 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell-next"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-next-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-dunfell.txt +1 -1
index dfa3afa..e099df2 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-master.txt +1 -1
index 22712dc..0779ded 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-dunfell.txt +1 -1
index 7a42300..16e0b69 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-master.txt +1 -1
index c6b85aa..9684f03 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-dunfell.txt +1 -1
index a39ad5a..7a45515 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-master.txt +1 -1
index 7b8032e..95d78d1 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
Signature · 1 line
2.7.4
#32 lore raw

PATCH 10/10 Adjust default BUILD_ROOT to be relative to SCRIPTS_ROOT

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 configs/farm/arago-dunfell-next.txt | 2 +-
 configs/farm/arago-dunfell.txt      | 2 +-
 configs/farm/arago-master.txt       | 2 +-
 configs/farm/distroless-dunfell.txt | 2 +-
 configs/farm/distroless-master.txt  | 2 +-
 configs/farm/poky-dunfell.txt       | 2 +-
 configs/farm/poky-master.txt        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
configs/farm/arago-dunfell-next.txt +1 -1
index 5d8c6a2..74b1094 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell-next"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-next-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-dunfell.txt +1 -1
index dfa3afa..e099df2 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-master.txt +1 -1
index 22712dc..0779ded 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-dunfell.txt +1 -1
index 7a42300..16e0b69 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-master.txt +1 -1
index c6b85aa..9684f03 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-dunfell.txt +1 -1
index a39ad5a..7a45515 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-master.txt +1 -1
index 7b8032e..95d78d1 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
Signature · 1 line
2.7.4
#33 lore raw

PATCH 10/10 Adjust default BUILD_DIR to be relative to SCRIPTS_DIR

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 configs/farm/arago-dunfell-next.txt | 2 +-
 configs/farm/arago-dunfell.txt      | 2 +-
 configs/farm/arago-master.txt       | 2 +-
 configs/farm/distroless-dunfell.txt | 2 +-
 configs/farm/distroless-master.txt  | 2 +-
 configs/farm/poky-dunfell.txt       | 2 +-
 configs/farm/poky-master.txt        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
configs/farm/arago-dunfell-next.txt +1 -1
index 5d8c6a2..74b1094 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell-next"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-next-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-dunfell.txt +1 -1
index dfa3afa..e099df2 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-master.txt +1 -1
index 22712dc..0779ded 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-dunfell.txt +1 -1
index 7a42300..16e0b69 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-master.txt +1 -1
index c6b85aa..9684f03 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-dunfell.txt +1 -1
index a39ad5a..7a45515 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-master.txt +1 -1
index 7b8032e..95d78d1 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
Signature · 1 line
2.7.4
Reviewed-by on v1 10/10
#34 lore raw

Re: [tisdk-build-scripts][PATCH 10/10] Adjust default BUILD_DIR to be relative to SCRIPTS_DIR

Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

Quoted 117 lines

---
configs/farm/arago-dunfell-next.txt | 2 +- configs/farm/arago-dunfell.txt | 2 +- configs/farm/arago-master.txt | 2 +- configs/farm/distroless-dunfell.txt | 2 +- configs/farm/distroless-master.txt | 2 +- configs/farm/poky-dunfell.txt | 2 +- configs/farm/poky-master.txt | 2 +-

7 files changed, 7 insertions(+), 7 deletions(-)
configs/farm/arago-dunfell-next.txt +1 -1
index 5d8c6a2..74b1094 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell-next"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-next-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
configs/farm/arago-dunfell.txt +1 -1
index dfa3afa..e099df2 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
configs/farm/arago-master.txt +0 -0

index 22712dc..0779ded 100644

configs/farm/arago-master.txt +1 -1
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-master-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
configs/farm/distroless-dunfell.txt +1 -1
index 7a42300..16e0b69 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-dunfell-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
configs/farm/distroless-master.txt +1 -1
index c6b85aa..9684f03 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-master-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
configs/farm/poky-dunfell.txt +0 -0

index a39ad5a..7a45515 100644

configs/farm/poky-dunfell.txt +1 -1
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-dunfell-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
configs/farm/poky-master.txt +1 -1
index 7b8032e..95d78d1 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 # - BUILD_ROOT/arm9-1/arago-tmp
 # - BUILD_ROOT/cortex-1/arago-tmp
 # - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-master-build"
 
 # This variable points to the base location where files will be extracted

for

# testing purposes. This should not be confused with the NFS root which
--
2.7.4
#35 lore raw

PATCH 10/10 Adjust default BUILD_ROOT to be relative to SCRIPTS_ROOT

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 configs/farm/arago-dunfell-next.txt | 2 +-
 configs/farm/arago-dunfell.txt      | 2 +-
 configs/farm/arago-master.txt       | 2 +-
 configs/farm/distroless-dunfell.txt | 2 +-
 configs/farm/distroless-master.txt  | 2 +-
 configs/farm/poky-dunfell.txt       | 2 +-
 configs/farm/poky-master.txt        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
configs/farm/arago-dunfell-next.txt +1 -1
index 5d8c6a2..74b1094 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell-next"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-next-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-dunfell.txt +1 -1
index dfa3afa..e099df2 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/arago-master.txt +1 -1
index 22712dc..0779ded 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-arago-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-arago-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-dunfell.txt +1 -1
index 7a42300..16e0b69 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/distroless-master.txt +1 -1
index c6b85aa..9684f03 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-distroless-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-distroless-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-dunfell.txt +1 -1
index a39ad5a..7a45515 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-dunfell"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-dunfell-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
configs/farm/poky-master.txt +1 -1
index 7b8032e..95d78d1 100644
@@ -62,7 +62,7 @@ SCRIPTS_ROOT="$PWD"
 #       - BUILD_ROOT/arm9-1/arago-tmp
 #       - BUILD_ROOT/cortex-1/arago-tmp
 #       - BUILD_ROOT/cortex-2/arago-tmp
-BUILD_ROOT="/OE/farm-poky-master"
+BUILD_ROOT="$SCRIPTS_ROOT/farm-poky-master-build"
 
 # This variable points to the base location where files will be extracted for
 # testing purposes.  This should not be confused with the NFS root which
Signature · 1 line
2.7.4