diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/adkinstall/Makefile | 4 | ||||
-rw-r--r-- | package/adkinstall/src/adkinstall | 31 | ||||
-rw-r--r-- | package/libiconv-tiny/Makefile | 2 |
3 files changed, 33 insertions, 4 deletions
diff --git a/package/adkinstall/Makefile b/package/adkinstall/Makefile index 3702ca698..1674d6d75 100644 --- a/package/adkinstall/Makefile +++ b/package/adkinstall/Makefile @@ -6,12 +6,12 @@ include ${ADK_TOPDIR}/rules.mk PKG_NAME:= adkinstall PKG_VERSION:= 2.0 PKG_RELEASE:= 3 -PKG_DESCR:= adk disk/flash installer +PKG_DESCR:= disk/flash installer PKG_SECTION:= base/misc PKG_DEPENDS:= mke2fs parted sfdisk dosfstools mksh PKG_CFLINE_ADKINSTALL:= select ADK_KERNEL_EXT4_FS -PKG_SYSTEM_DEPENDS:= mikrotik-rb532 lemote-yeelong pcengines-apu ibm-x40 +PKG_SYSTEM_DEPENDS:= mikrotik-rb532 lemote-yeelong pcengines-apu pcengines-alix ibm-x40 PKG_DEPENDS_PCENGINES_APU:= grub grub-tools PKG_DEPENDS_IBM_X40:= grub grub-tools NO_DISTFILES:= 1 diff --git a/package/adkinstall/src/adkinstall b/package/adkinstall/src/adkinstall index f0d901fdb..a67bcdaf4 100644 --- a/package/adkinstall/src/adkinstall +++ b/package/adkinstall/src/adkinstall @@ -44,6 +44,14 @@ EOF exit 1 } +function pcengines-alix-help { + cat >&2 <<EOF +Syntax: adkinstall <archive> + -f: filesystem (default ext4) + -h: help text +EOF + exit 1 +} case $target { (ibm-x40) @@ -92,6 +100,27 @@ case $target { archive=$1 fi ;; +(pcengines-alix) + cfgfssize=32768 + fs=ext4 + while getopts "f:" ch; do + case $ch in + f) + fs=$OPTARG + ;; + *) + pcengines-alix-help + exit 1 + ;; + esac + done + shift $((OPTIND - 1)) + if [ -z $1 ];then + pcengines-alix-help + else + archive=$1 + fi + ;; (mikrotik-rb532) cfgfssize=32768 nand=0 @@ -258,7 +287,7 @@ case $target { fix_perm /mnt umount /mnt ;; -(pcengines-apu) +(pcengines-apu|pcengines-alix) get_max_size /dev/sda create_label /dev/sda create_partition /dev/sda ext2 16385 $rootsize diff --git a/package/libiconv-tiny/Makefile b/package/libiconv-tiny/Makefile index 2889a58b9..7687128fa 100644 --- a/package/libiconv-tiny/Makefile +++ b/package/libiconv-tiny/Makefile @@ -10,7 +10,7 @@ PKG_HASH:= 1410d40697a5eda9de5e433edfbed540b66c3e1af7374b8507ab9c468b7d9012 PKG_DESCR:= iconv stub and replacement PKG_SECTION:= libs/misc PKG_URL:= http://www.openwrt.org/ -PKG_SITES:= http://www.openadk.org/distfiles/ +PKG_SITES:= http://distfiles.openadk.org/ PKG_OPTS:= dev devonly DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz |