[PATCH olpc-os-builder 04/14] Install olpc-update only if versioned file system layout is used
Sascha Silbe
silbe at activitycentral.com
Thu Mar 17 11:21:18 EDT 2011
olpc-update depends on the versioned layout, so on a system built with
versioned_fs=0 it's only a waste of space.
Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
---
modules/base/kspkglist.10.core.inc | 1 -
modules/base/kspkglist.11.core.sh | 8 ++++++++
2 files changed, 8 insertions(+), 1 deletions(-)
create mode 100755 modules/base/kspkglist.11.core.sh
diff --git a/modules/base/kspkglist.10.core.inc b/modules/base/kspkglist.10.core.inc
index d41c6a4..c2bb601 100644
--- a/modules/base/kspkglist.10.core.inc
+++ b/modules/base/kspkglist.10.core.inc
@@ -25,7 +25,6 @@ strace
olpc-utils
olpc-netutils
olpc-bootanim
-olpc-update
PolicyKit-olpc
ds-backup-client
olpc-powerd
diff --git a/modules/base/kspkglist.11.core.sh b/modules/base/kspkglist.11.core.sh
new file mode 100755
index 0000000..0744396
--- /dev/null
+++ b/modules/base/kspkglist.11.core.sh
@@ -0,0 +1,8 @@
+# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.
+
+. $OOB__shlib
+versioned_fs=$(read_config base versioned_fs)
+
+if [ "$versioned_fs" = 1 ]; then
+ echo olpc-update
+fi
--
1.7.4.1
More information about the Devel
mailing list