From c2fbad3aac1e2829349d8451b502bca754bb35cf Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 6 Jan 2013 05:43:52 +0700 Subject: minikrebs/profiles: init -initial commit --- minikrebs/profiles/init | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'minikrebs/profiles/init') diff --git a/minikrebs/profiles/init b/minikrebs/profiles/init index f20e9b75..eb5fa2af 100755 --- a/minikrebs/profiles/init +++ b/minikrebs/profiles/init @@ -8,6 +8,7 @@ if [ ! -e Makefile ] ;then fi echo +rm -r bin/ || echo "no bindir, skipping removal" if [ -e ./custom_make ];then echo "Starting Custom Make" sh ./custom_make 2>/dev/null | while read line; do @@ -19,9 +20,20 @@ else fi echo -cat << EOF + +if [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin ]; +then + cat << EOF finished building You can use the following images: Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin EOF +else + cat << EOF +It seems like the factory image has not been created, it is most +likely that the image would be too big and does not fit into the tiny FLASH. + +Try removing modules from \`custom_make\` and retry building. +EOF +fi -- cgit v1.2.3