diff options
author | makefu <github@syntax-fehler.de> | 2013-01-06 05:43:52 +0700 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-01-06 05:43:52 +0700 |
commit | c2fbad3aac1e2829349d8451b502bca754bb35cf (patch) | |
tree | 4a9ed0c7173d1d291ce5884f2994fd4e83e91d2a /minikrebs/profiles/init | |
parent | e7a3f51ccc15dcc76d005f225599e3f32c3c42d7 (diff) |
minikrebs/profiles: init -initial commit
Diffstat (limited to 'minikrebs/profiles/init')
-rwxr-xr-x | minikrebs/profiles/init | 14 |
1 files changed, 13 insertions, 1 deletions
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 |