Send commitlog mailing list submissions to
commitlog@lists.openmoko.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
2. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
3. r4817 - developers/werner/myroot ([EMAIL PROTECTED])
4. r4818 - in trunk/src/target/opkg: . libopkg
([EMAIL PROTECTED])
5. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
6. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
7. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
--- Begin Message ---
conf/checksums.ini | 4 +
conf/distro/include/moko-autorev.inc | 2 +
conf/distro/include/sane-srcrevs.inc | 1 +
packages/netkit-telnet/files/cross-compile.patch | 40 +
.../files/netkit-telnet-debian_0.17-36.diff | 3443 ++++++++++++++++++++
packages/netkit-telnet/netkit-telnet_0.17.bb | 27 +
packages/tasks/task-openmoko-feed.bb | 4 +-
packages/wmiconfig/wmiconfig_svn.bb | 15 +
8 files changed, 3535 insertions(+), 1 deletions(-)
New commits:
commit 4fd3dda51843ac23ac74d4b3ed1b0e2caa2ac8de
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Nov 23 23:36:06 2008 +0100
task-openmoko-feed: Add netkit-telnet to the task
commit a2a82c503e159d246ec008d3bfb0ecef4eff24d1
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Nov 23 22:48:56 2008 +0100
netkit-telnet: Add a telnet package...
telnetd does not compile with the debian patch, telnet compiles
let us use that. This is not using update-alternatives as I think
it is not necessary as this is the only telnet provider we have.
The "buildsystem" is horrible... kick the configure to not run
tests...
commit 3c14a92653118e5d4bc22d89cd3d536d979452af
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sat Nov 22 16:59:59 2008 +0100
task-openmoko-feed: Add wmiconfig to the feed
wmiconfig is a tool that is using the ioctl interface
of the ath6k driver.
commit d724737924bf612827371613ffbfa68c5128ad2c
Author: Michael 'Mickey' Lauer <[EMAIL PROTECTED]>
Date: Sat Nov 22 16:52:18 2008 +0100
wmiconfig: new recipe; configuration utility for atheros wifi chipsets
--- End Message ---
--- Begin Message ---
packages/netkit-telnet/netkit-telnet_0.17.bb | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
New commits:
commit 643672035a9079abeef416660c686a59b802cb92
Author: Koen Kooi <[EMAIL PROTECTED]>
Date: Sun Nov 23 23:34:16 2008 +0100
netkit-telnet: use u-a so it doesn't conflict with busybox: [EMAIL
PROTECTED]:~# ls /usr/bin/telnet -la lrwxrwxrwx 1 root root 17 Oct 26 14:14
/usr/bin/telnet -> ../../bin/busybox
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-11-24 01:18:15 +0100 (Mon, 24 Nov 2008)
New Revision: 4817
Modified:
developers/werner/myroot/werner.init
Log:
Don't wipe out /etc/fstab ...
Modified: developers/werner/myroot/werner.init
===================================================================
--- developers/werner/myroot/werner.init 2008-11-22 18:57:37 UTC (rev
4816)
+++ developers/werner/myroot/werner.init 2008-11-24 00:18:15 UTC (rev
4817)
@@ -10,7 +10,6 @@
touch $mod_dir/modules.dep
# mounts
->/etc/fstab
mount -t proc none /proc
mount -t sysfs none /sys
mount -t tmpfs none /tmp
--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-11-24 08:44:12 +0100 (Mon, 24 Nov 2008)
New Revision: 4818
Modified:
trunk/src/target/opkg/configure.ac
trunk/src/target/opkg/libopkg/args.c
trunk/src/target/opkg/libopkg/args.h
trunk/src/target/opkg/libopkg/opkg_conf.c
trunk/src/target/opkg/libopkg/opkg_conf.h
trunk/src/target/opkg/libopkg/pkg.c
Log:
opkg: add a simple way to pass a path environment for pre/post scription
execution when in offline mode.
Thanks for Christopher Hall <[EMAIL PROTECTED]>
Modified: trunk/src/target/opkg/configure.ac
===================================================================
--- trunk/src/target/opkg/configure.ac 2008-11-24 00:18:15 UTC (rev 4817)
+++ trunk/src/target/opkg/configure.ac 2008-11-24 07:44:12 UTC (rev 4818)
@@ -1,6 +1,10 @@
# Process this file with autoconf to produce a configure script
AC_INIT(libopkg/libopkg.c)
-AM_INIT_AUTOMAKE([opkg], [0.1.5])
+
+AC_CONFIG_AUX_DIR([conf])
+AC_CONFIG_MACRO_DIR([m4])
+
+AM_INIT_AUTOMAKE([opkg], [0.1.6])
AM_CONFIG_HEADER(libopkg/config.h)
AC_CANONICAL_HOST
Modified: trunk/src/target/opkg/libopkg/args.c
===================================================================
--- trunk/src/target/opkg/libopkg/args.c 2008-11-24 00:18:15 UTC (rev
4817)
+++ trunk/src/target/opkg/libopkg/args.c 2008-11-24 07:44:12 UTC (rev
4818)
@@ -76,6 +76,7 @@
args->nodeps = ARGS_DEFAULT_NODEPS;
args->verbosity = ARGS_DEFAULT_VERBOSITY;
args->offline_root = ARGS_DEFAULT_OFFLINE_ROOT;
+ args->offline_root_path = ARGS_DEFAULT_OFFLINE_ROOT_PATH;
args->offline_root_pre_script_cmd =
ARGS_DEFAULT_OFFLINE_ROOT_PRE_SCRIPT_CMD;
args->offline_root_post_script_cmd =
ARGS_DEFAULT_OFFLINE_ROOT_POST_SCRIPT_CMD;
args->multiple_providers = 0;
@@ -88,6 +89,7 @@
void args_deinit(args_t *args)
{
free (args->offline_root);
+ free (args->offline_root_path);
free (args->offline_root_pre_script_cmd);
free (args->offline_root_post_script_cmd);
@@ -138,6 +140,8 @@
{"nodeps", 0, 0, ARGS_OPT_NODEPS},
{"offline", 1, 0, 'o'},
{"offline-root", 1, 0, 'o'},
+ {"offline-path", 1, 0, 'p'},
+ {"offline-root-path", 1, 0, 'p'},
{"test", 0, 0, ARGS_OPT_NOACTION},
{"tmp-dir", 1, 0, 't'},
{"verbosity", 2, 0, 'V'},
@@ -146,7 +150,7 @@
};
while (1) {
- c = getopt_long_only(argc, argv, "Ad:f:no:t:vV:", long_options,
&option_index);
+ c = getopt_long_only(argc, argv, "Ad:f:no:p:t:vV:", long_options,
&option_index);
if (c == -1)
break;
@@ -164,6 +168,9 @@
case 'o':
args->offline_root = strdup (optarg);
break;
+ case 'p':
+ args->offline_root_path = strdup (optarg);
+ break;
case 'n':
args->noaction = 1;
break;
@@ -294,8 +301,10 @@
printf(" directory name in a pinch).\n");
printf("\t-o <offline_root> Use <offline_root> as the root
directory for\n");
printf("\t-offline <offline_root> offline installation of packages.\n");
-
- printf("\tForce Options (use when opkg is too smart for its own
good):\n");
+ printf("\t-p <path> Path to utilities for runing
postinst\n");
+ printf("\t-offline-path <path> script in offline mode.\n");
+
+ printf("\nForce Options (use when opkg is too smart for its own
good):\n");
printf("\t-force-depends Make dependency checks warnings instead
of errors\n");
printf("\t Install/remove package in spite
of failed dependences\n");
printf("\t-force-defaults Use default options for questions asked
by opkg.\n");
Modified: trunk/src/target/opkg/libopkg/args.h
===================================================================
--- trunk/src/target/opkg/libopkg/args.h 2008-11-24 00:18:15 UTC (rev
4817)
+++ trunk/src/target/opkg/libopkg/args.h 2008-11-24 07:44:12 UTC (rev
4818)
@@ -40,6 +40,7 @@
int noreadfeedsfile;
int autoremove;
char *offline_root;
+ char *offline_root_path;
char *offline_root_pre_script_cmd;
char *offline_root_post_script_cmd;
char *cache;
@@ -58,6 +59,7 @@
#define ARGS_DEFAULT_FORCE_REMOVAL_OF_DEPENDENT_PACKAGES 0
#define ARGS_DEFAULT_FORCE_SPACE 0
#define ARGS_DEFAULT_OFFLINE_ROOT NULL
+#define ARGS_DEFAULT_OFFLINE_ROOT_PATH NULL
#define ARGS_DEFAULT_OFFLINE_ROOT_PRE_SCRIPT_CMD NULL
#define ARGS_DEFAULT_OFFLINE_ROOT_POST_SCRIPT_CMD NULL
#define ARGS_DEFAULT_NOACTION 0
Modified: trunk/src/target/opkg/libopkg/opkg_conf.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_conf.c 2008-11-24 00:18:15 UTC (rev
4817)
+++ trunk/src/target/opkg/libopkg/opkg_conf.c 2008-11-24 07:44:12 UTC (rev
4818)
@@ -63,6 +63,7 @@
{ "noaction", OPKG_OPT_TYPE_INT, &conf->noaction },
{ "nodeps", OPKG_OPT_TYPE_BOOL, &conf->nodeps },
{ "offline_root", OPKG_OPT_TYPE_STRING, &conf->offline_root },
+ { "offline_root_path", OPKG_OPT_TYPE_STRING, &conf->offline_root_path
},
{ "offline_root_post_script_cmd", OPKG_OPT_TYPE_STRING,
&conf->offline_root_post_script_cmd },
{ "offline_root_pre_script_cmd", OPKG_OPT_TYPE_STRING,
&conf->offline_root_pre_script_cmd },
{ "proxy_passwd", OPKG_OPT_TYPE_STRING, &conf->proxy_passwd },
@@ -266,6 +267,8 @@
opkg_conf_override_string(&conf->offline_root,
args->offline_root);
+ opkg_conf_override_string(&conf->offline_root_path,
+ args->offline_root_path);
opkg_conf_override_string(&conf->offline_root_pre_script_cmd,
args->offline_root_pre_script_cmd);
opkg_conf_override_string(&conf->offline_root_post_script_cmd,
@@ -338,6 +341,7 @@
hash_table_deinit(&conf->obs_file_hash);
opkg_conf_free_string(&conf->offline_root);
+ opkg_conf_free_string(&conf->offline_root_path);
opkg_conf_free_string(&conf->offline_root_pre_script_cmd);
opkg_conf_free_string(&conf->offline_root_post_script_cmd);
Modified: trunk/src/target/opkg/libopkg/opkg_conf.h
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_conf.h 2008-11-24 00:18:15 UTC (rev
4817)
+++ trunk/src/target/opkg/libopkg/opkg_conf.h 2008-11-24 07:44:12 UTC (rev
4818)
@@ -65,6 +65,7 @@
int force_removal_of_essential_packages;
int nodeps; /* do not follow dependences */
char *offline_root;
+ char *offline_root_path;
char *offline_root_pre_script_cmd;
char *offline_root_post_script_cmd;
int query_all;
Modified: trunk/src/target/opkg/libopkg/pkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/pkg.c 2008-11-24 00:18:15 UTC (rev 4817)
+++ trunk/src/target/opkg/libopkg/pkg.c 2008-11-24 07:44:12 UTC (rev 4818)
@@ -18,6 +18,7 @@
#include "includes.h"
#include <ctype.h>
#include <string.h>
+#include <stdbool.h>
#include <errno.h>
#include "pkg.h"
@@ -1494,8 +1495,24 @@
scripts when running with offline_root mode and/or a dest other
than '/'. I've been playing around with some clever chroot
tricks and I might come up with something workable. */
+ /*
+ * Attempt to provide a restricted environment for offline operation
+ * Need the following set as a minimum:
+ * OPKG_OFFLINE_ROOT = absolute path to root dir
+ * D = absolute path to root dir (for OE generated
postinst)
+ * PATH = something safe (a restricted set of utilities)
+ */
+
+ bool AllowOfflineMode = false;
if (conf->offline_root) {
setenv("OPKG_OFFLINE_ROOT", conf->offline_root, 1);
+ setenv("D", conf->offline_root, 1);
+ if (NULL == conf->offline_root_path || '\0' ==
conf->offline_root_path[0]) {
+ setenv("PATH", "/dev/null", 1);
+ } else {
+ setenv("PATH", conf->offline_root_path, 1);
+ AllowOfflineMode = true;
+ }
}
setenv("PKG_ROOT",
@@ -1506,7 +1523,7 @@
return 0;
}
- if (conf->offline_root) {
+ if (conf->offline_root && !AllowOfflineMode) {
fprintf(stderr, "(offline root mode: not running %s.%s)\n",
pkg->name, script);
free(path);
return 0;
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcrevs.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit b688012b25b6aae3665ad5e3758974a96a6a34e0
Author: John Lee <[EMAIL PROTECTED]>
Date: Mon Nov 24 16:14:19 2008 +0800
sane-srcrevs.inc: update om-settings to latest.
--- End Message ---
--- Begin Message ---
conf/checksums.ini | 8 ++++++++
packages/python/python-lightblue_0.3.3.bb | 10 ++++++++++
packages/python/python-pybluez_0.14.bb | 10 ++++++++++
3 files changed, 28 insertions(+), 0 deletions(-)
New commits:
commit bda965a6a00fa5d45039857e4dd6e82a22359810
Author: erin <[EMAIL PROTECTED]>
Date: Mon Nov 24 15:39:51 2008 +0800
checksums.ini: Add python-lightblue 0.33 and python-pybluez 0.14
commit cb117986c8ffa12b5c300299f7bb950d8023e0de
Author: erin <[EMAIL PROTECTED]>
Date: Mon Nov 24 15:35:10 2008 +0800
create python-lightblue bb recipe and update python-pybluez to version 0.14
--- End Message ---
--- Begin Message ---
packages/python/python-lightblue_0.3.3.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit dcba56a40f80f0e8a9b8024c5d989f1327525286
Author: erin <[EMAIL PROTECTED]>
Date: Mon Nov 24 16:41:21 2008 +0800
remove libopenobex dependency in python-lightblue recipe
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog