From ba5f9541711aa1b738f7fd5c89d219fe4259ce05 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 15 Apr 2012 15:21:55 +0000 Subject: [PATCH] [package] base-files: reformat banner to better work with varying version string lengths, do not set image options if menu is disabled (#11280) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31289 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/Makefile | 2 +- package/base-files/files/etc/banner | 4 +++- package/base-files/image-config.in | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index f3bfecaa7..892a31777 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/version.mk PKG_NAME:=base-files -PKG_RELEASE:=105 +PKG_RELEASE:=106 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host diff --git a/package/base-files/files/etc/banner b/package/base-files/files/etc/banner index 301861568..058cb5573 100644 --- a/package/base-files/files/etc/banner +++ b/package/base-files/files/etc/banner @@ -3,7 +3,9 @@ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M - ATTITUDE ADJUSTMENT (%C, %R) ---------- + ----------------------------------------------------- + ATTITUDE ADJUSTMENT (%C, %R) + ----------------------------------------------------- * 1/4 oz Vodka Pour all ingredients into mixing * 1/4 oz Gin tin with ice, strain into glass. * 1/4 oz Amaretto diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in index a9ec76a10..ac08c8da7 100644 --- a/package/base-files/image-config.in +++ b/package/base-files/image-config.in @@ -145,7 +145,7 @@ menuconfig VERSIONOPT config VERSION_DIST string prompt "Release distribution" if VERSIONOPT - default "OpenWrt" + default "OpenWrt" if VERSIONOPT help This is the name of the release distribution. If unspecified, it defaults to OpenWrt. @@ -168,7 +168,7 @@ menuconfig VERSIONOPT config VERSION_REPO string prompt "Release repository" if VERSIONOPT - default "http://downloads.openwrt.org/snapshots/trunk/%T/packages" + default "http://downloads.openwrt.org/snapshots/trunk/%T/packages" if VERSIONOPT help This is the repository address embedded in the image, it defaults to the trunk snapshot repo; the url may contain the following placeholders: