Differences between revisions 6 and 7
Revision 6 as of 2008-01-08 12:05:01
Size: 2193
Editor: NeilWilliams
Comment:
Revision 7 as of 2008-01-08 12:37:23
Size: 2287
Editor: NeilWilliams
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
 * '''startx''' - from the xinit package. A few problems here: startx is a bash script but this appears to be unnecessary, it could easily be /bin/sh. However, the script is generated within the xinit package (which itself ic compiled). It also requires /usr/bin/mcookie which comes from util-linux which brings in tzdata (which has not been split yet so is v.large). A dependency on xauth is also needed but that should be manageable. Finally, startx is just a convenience - it should be possible to do without it.  * '''startx''' - from the xinit package. A few problems here: startx is a bash script but this appears to be unnecessary, it could easily be /bin/sh. However, the script is generated within the xinit package (which itself ic compiled). It also requires /usr/bin/mcookie which comes from util-linux which brings in tzdata (which has not been split yet so is v.large). A dependency on xauth is also needed but that should be manageable. Finally, startx is just a convenience - it should be possible to do without it. (The script itself comments: Site administrators are STRONGLY urged to write nicer versions.)

This page is just somewhere to record issues with Emdebian packages, things that we come across during installation that we don't have time to fix there and then. e.g. calls in postinst to binaries that we don't install, calls with options that the busybox version doesn't support etc.

  • busybox and mktemp - although mktemp is installed (and supports 'mktemp -p'), busybox gets in the way and complains that the busybox version of mktemp does not support '-p'. No symlink exists for busybox - it seems to have some intrinsic hangup about handling mktemp. Passing the full path to the real mktemp is a workaround:

genesis:/# /bin/mktemp -p /tmp one.XXXXXX            
/tmp/one.ql3991
genesis:/# mktemp -p /tmp one.XXXXXX     
mktemp: invalid option -- p
BusyBox v1.1.3 (Debian 1:1.1.3-5em3) multi-call binary

Usage: mktemp [-dq] TEMPLATE

Creates a temporary file with its name based on TEMPLATE.
TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX).

Options:
        -d              Make a directory instead of a file
        -q              Fail silently if an error occurs
  • startx - from the xinit package. A few problems here: startx is a bash script but this appears to be unnecessary, it could easily be /bin/sh. However, the script is generated within the xinit package (which itself ic compiled). It also requires /usr/bin/mcookie which comes from util-linux which brings in tzdata (which has not been split yet so is v.large). A dependency on xauth is also needed but that should be manageable. Finally, startx is just a convenience - it should be possible to do without it. (The script itself comments: Site administrators are STRONGLY urged to write nicer versions.)

  • debconf and cdebconf : reminder. To install packages using cdebconf instead of debconf, copy one environment variable from the emsandbox implementation:

        DEBCONF_USE_CDEBCONF=true
        export DEBCONF_USE_CDEBCONF

(emsandbox sets this value via emsecondstage which calls the debootstrap suite script. Other debconf environment variables are also specified in the suite script. See /usr/lib/emdebian-tools/emdebian.crossd, /usr/lib/emdebian-tools/emdebian.gpe and /usr/lib/emdebian-tools/emdebian.gtk.