diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/initscripts/initscripts-1.0/openmn | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/initscripts/initscripts-1.0/openmn')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/openmn/extractfs | 7 | ||||
-rwxr-xr-x | packages/initscripts/initscripts-1.0/openmn/packages | 63 | ||||
-rwxr-xr-x | packages/initscripts/initscripts-1.0/openmn/umountfs | 17 |
3 files changed, 0 insertions, 87 deletions
diff --git a/packages/initscripts/initscripts-1.0/openmn/extractfs b/packages/initscripts/initscripts-1.0/openmn/extractfs deleted file mode 100755 index 7e57dedd2d..0000000000 --- a/packages/initscripts/initscripts-1.0/openmn/extractfs +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts) -then - test "$VERBOSE" != no && echo "Copying /var filesystem..." - cp -a /boot/var / -fi diff --git a/packages/initscripts/initscripts-1.0/openmn/packages b/packages/initscripts/initscripts-1.0/openmn/packages deleted file mode 100755 index 2566487d2d..0000000000 --- a/packages/initscripts/initscripts-1.0/openmn/packages +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh -# Original author: ??? -# -# Additions by Steph Meslin-Weber: -# x Percentage display -# x Dot display of dependency installations -# - removed both of above -# - display is now X of Y packages and current package name being installed - -#. /etc/default/rcS - -reconfigure () { - pkg=$1 - path=$2 - isdependent=$3 - test -e "$path/info/$pkg.control" || return 1 - depends="`cat $path/info/$pkg.control|grep Depends|cut -d: -f2`" - - # make sure we haven't already installed this package - isthere=`cat /tmp/.configured.list|grep $pkg` - if test "$isthere" != ""; then - return 1 - fi - - if test "$depends" != ""; then - for dep in $depends; do - (echo $log|grep $dep >/dev/null 2>&1) || ( reconfigure $dep $path "$max" "$pkg" && log="$log $dep"; ) - done - fi - - echo -ne " ${pkg}" - - test -e "$path/info/$pkg.prerm" && $path/info/$pkg.prerm unconfigure >/dev/null 2>&1 - test -e "$path/info/$pkg.postinst" && $path/info/$pkg.postinst configure >/dev/null 2>&1 - - log="$log $pkg" - - # append the installed package name to the list - echo -ne "$pkg\n" >> /tmp/.configured.list - - echo - return 0 -} - -if test ! -e /etc/.configured; then - echo "Reconfiguring all packages installed to root:" - - # create unique packages list file - rm -f /tmp/.configured.list - touch /tmp/.configured.list - - log="" - - for control in /usr/lib/ipkg/info/*.control; do - package=`echo $control|sed -e 's,.*/,,g; s,\.control,,g;'` - (echo $log|grep $package >/dev/null 2>&1) || reconfigure $package /usr/lib/ipkg - done - - # cleanup unique packages list file - rm -f /tmp/.configured.list -fi - -test -f /usr/lib/ipkg/info/task-ramses || ipkg install task-ramses diff --git a/packages/initscripts/initscripts-1.0/openmn/umountfs b/packages/initscripts/initscripts-1.0/openmn/umountfs deleted file mode 100755 index 399194109b..0000000000 --- a/packages/initscripts/initscripts-1.0/openmn/umountfs +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh -# -# umountfs Turn off swap and unmount all local filesystems. -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -echo "Deactivating swap..." -swapoff -a - -# We leave /proc mounted. -echo "Unmounting local filesystems..." -umount -f -a -r - -mount -o remount,ro / - -: exit 0 |