From 001bfd5f2b6890cafd209de4ea360927d4dd8a55 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 23 Feb 2013 15:55:49 +0100 Subject: minikrebs is now a submodule --- minikrebs | 1 + minikrebs/profiles/init | 47 ----------------------------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) create mode 160000 minikrebs delete mode 100755 minikrebs/profiles/init (limited to 'minikrebs/profiles/init') diff --git a/minikrebs b/minikrebs new file mode 160000 index 00000000..8fd46a7e --- /dev/null +++ b/minikrebs @@ -0,0 +1 @@ +Subproject commit 8fd46a7e3258bff753c42dc43fecfbbc853a685c diff --git a/minikrebs/profiles/init b/minikrebs/profiles/init deleted file mode 100755 index 0add700e..00000000 --- a/minikrebs/profiles/init +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash - -cd $(dirname $(readlink -f $0)) -if [ ! -e Makefile ] ;then - echo "ImageBuilder not checked out yet" - echo "try running ../prepare $$PROFILE" - exit 1 -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 - echo -n . - done -else - echo "No Custom Make Script exists, bailing out!" - exit 1 -fi - -echo - -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 -elif [ -e bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin ]; -then - cat << EOF -finished building -You can use the following images: - Factory : $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin - System Upgrade: $PWD/bin/ar71xx/openwrt-ar71xx-generic-tl-mr3020-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