From db96b7a11b60440ad2a3481c5e77eb3d8453ded5 Mon Sep 17 00:00:00 2001 From: Nicolas Aguirre Date: Sun, 17 Jun 2012 12:50:04 +0200 Subject: [PATCH] Add support for angstrom rootfs --- a1x-media-create.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/a1x-media-create.sh b/a1x-media-create.sh index 3aab1ff..6e4ad16 100755 --- a/a1x-media-create.sh +++ b/a1x-media-create.sh @@ -169,6 +169,10 @@ copyData () if [ -d rootfs.tmp/etc/init ]; then echo "Standard rootfs" sudo cp -a rootfs.tmp/* mntSDrootfs >> ${logfile} + elif [ -f rootfs.tmp/etc/angstrom-version ]; then + echo "Angstrom rootfs" + cat rootfs.tmp/etc/angstrom-version + sudo cp -a rootfs.tmp/* mntSDrootfs >> ${logfile} elif [ -d rootfs.tmp/binary/boot/filesystem.dir ]; then echo "Linaro rootfs" sudo cp -a rootfs.tmp/binary/boot/filesystem.dir/* mntSDrootfs >> ${logfile} -- 1.7.9.5