diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /scripts | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ipkg-build | 2 | ||||
-rw-r--r-- | scripts/make-ipkg-dir.sh | 6 | ||||
-rw-r--r-- | scripts/rstrip.sh | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build index 4c0f47143..378236b78 100644 --- a/scripts/ipkg-build +++ b/scripts/ipkg-build @@ -98,7 +98,7 @@ You probably want to remove them: " >&2 [ "$?" -ne 0 ] && PKG_ERROR=1 if [ -z "$section" ]; then echo "The Section field should have one of the following values:" >&2 - echo "admin, base, comm, editors, extras, games, graphics, kernel, libs, misc, net, text, web, x11" >&2 + echo "admin, base, comm, editors, extras, games, graphics, kernel, lang, libs, misc, net, text, web, x11" >&2 fi priority=`required_field Priority` diff --git a/scripts/make-ipkg-dir.sh b/scripts/make-ipkg-dir.sh index 08b48f59e..857076fb1 100644 --- a/scripts/make-ipkg-dir.sh +++ b/scripts/make-ipkg-dir.sh @@ -1,4 +1,4 @@ -BASE=http://waldemar-brodkorb.de +BASE=http://www.openadk.org TARGET=$1 CONTROL=$2 VERSION=$3 @@ -9,7 +9,9 @@ WD=$(pwd) mkdir -p "$TARGET/CONTROL" grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control" grep '^Maintainer' "$CONTROL" 2>&1 >/dev/null || \ - echo "Maintainer: Waldemar Brodkorb <mail@waldemar-brodkorb.de>" >> "$TARGET/CONTROL/control" + echo "Maintainer: Waldemar Brodkorb <wbx@openadk.org>" >> "$TARGET/CONTROL/control" +grep '^Priority' "$CONTROL" 2>&1 >/dev/null || \ + echo "Priority: optional" >> "$TARGET/CONTROL/control" grep '^Source' "$CONTROL" 2>&1 >/dev/null || { pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g") [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase" diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 453f0cc89..81f54e461 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -56,6 +56,6 @@ find $TARGETS -type f -a -exec file {} \; | \ continue ;; esac echo "$SELF: $V:$S" - #echo "+ $T $F" + echo "+ $T $F" eval "$T $F" done |