URI: 
       tadd global extra_packages - arm-sdk - os build toolkit for various embedded devices
  HTML git clone https://git.parazyd.org/arm-sdk
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 6842440a1730399ffa4803f7004218c302f694d4
   DIR parent 9f056db536e7c56885c9044ec6407cb38b11a5d0
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Tue, 11 Oct 2016 15:18:02 +0200
       
       add global extra_packages
       
       Diffstat:
         M .gitignore                          |       1 +
         M config                              |       3 +++
         M lib/helpers                         |      12 ++++++++++++
       
       3 files changed, 16 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/.gitignore b/.gitignore
       t@@ -1,2 +1,3 @@
        tmp
        PASSING
       +rsyncsdk.sh
   DIR diff --git a/config b/config
       t@@ -40,3 +40,6 @@ export PATH="$R/gcc/armv7-devuan-linux-gnueabihf/bin:$PATH:/sbin"
        ## static qemu arm binary
        qemu_bin="/usr/bin/qemu-arm-static" # Devuan
        #qemu_bin="/usr/bin/qemu-arm" # Gentoo
       +
       +## extra_packages for all images
       +extra_packages=(wpasupplicant rdate)
   DIR diff --git a/lib/helpers b/lib/helpers
       t@@ -104,6 +104,8 @@ copy-kernel-config() {
        
        write-fstab() {
                fn write-fstab
       +        req=(strapdir)
       +        ckreq || return 1
                cat <<EOF | sudo tee ${strapdir}/etc/fstab ${TEEVERBOSE}
        ## <file system>  <mount point> <type> <options>           <dump><pass>
        ## proc
       t@@ -116,3 +118,13 @@ proc              /proc         proc   nodev,noexec,nosuid    0    0
        /dev/mmcblk0p1    /boot         vfat   noauto                 0    0
        EOF
        }
       +
       +rdate-to-rclocal() {
       +        fn rdate-to-rclocal
       +        req=(strapdir)
       +        ckreq || return 1
       +
       +        notice "adding rdate to rc.local"
       +        sed -i -e "s/exit 0/rdate -s pool.ntp.org &/" $strapdir/etc/rc.local
       +        print "exit 0" | sudo tee -a $strapdir/etc/rc.local ${TEEVERBOSE}
       +}