#!/bin/bash

source ${0%/*}/common.sh
cd_root

SYSROOT_FULL_DIR=$ROOT/raspbian/sysroot-full
SYSROOT_MINIMAL_DIR=$ROOT/raspbian/sysroot-minimal

for DIR in lib 'usr/include' 'usr/lib' 'opt/vc'; do
    mkdir -p $SYSROOT_MINIMAL_DIR/$DIR
    rsync -av $SYSROOT_FULL_DIR/$DIR $SYSROOT_MINIMAL_DIR/$DIR
done


#!/bin/bash

source ${0%/*}/common.sh
cd_root

SYSROOT_FULL_DIR=$ROOT/raspbian/sysroot-full
SYSROOT_MINIMAL_DIR=$ROOT/raspbian/sysroot-minimal

for DIR in 'lib' 'usr/include' 'usr/lib' 'opt/vc'; do
    mkdir -p $SYSROOT_MINIMAL_DIR/$DIR
    rsync -av $SYSROOT_FULL_DIR/$DIR/ $SYSROOT_MINIMAL_DIR/$DIR
done


Fix nested directories in sysroot-minimal
Fix nested directories in sysroot-minimal

Close #23
