Ubuntu Pastebin

Paste from ogra at Tue, 9 Aug 2016 15:41:04 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
411         dtbs=$(find lib/firmware -type d -name 'device-tree' -print0)
412         if [ -n "$dtbs" ]; then
413            mv "$dtbs" $TMPDIR/assets/dtbs
414            case $devarch in
415                raspi2)
416                    # ubuntu-device-flash does not like subdirs here, we need to tar it up
417                    if [ -e $TMPDIR/assets/dtbs/overlays ]; then
418                        tar -C $TMPDIR/assets/dtbs -f $TMPDIR/assets/dtbs/overlays.tgz -czv overlays
419                        rm -rf $TMPDIR/assets/dtbs/overlays
420                    fi
421                    ;;
Download as text