File: TODO

package info (click to toggle)
emdebian-tools 1.4.3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,112 kB
  • ctags: 274
  • sloc: perl: 6,297; xml: 4,828; sh: 1,902; php: 406; ansic: 189; makefile: 15
file content (131 lines) | stat: -rw-r--r-- 3,598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
TODO for bootstrap / pbuilder config.

(no particular order)

note: pbuilder bug - default mirror does not include deb-src version.
	also: gnupg needs the user directory and to be run once for
	dpkg-source! :-(
	also need apt-get build-dep if using emchain

inherit devscripts config from user so that -uc -us gets passed
use apt-cross to get target dependencies
use apt-get to install build dependencies

copy build log and built files out of jail/ before compressing
define parameters - inherit from pbuilderrc

These chroots have already been tested and instructions
exist in the Wiki. http://wiki.debian.org/EmDebian/CrossDebootstrap

sort out reboot
CONFIG_INIT
CONFIG_HALT

# Init Utilities
#
# CONFIG_INIT is not set
# CONFIG_FEATURE_USE_INITTAB is not set
# CONFIG_FEATURE_INIT_SCTTY is not set
# CONFIG_FEATURE_EXTRA_QUIET is not set
# CONFIG_FEATURE_INIT_COREDUMPS is not set
# CONFIG_FEATURE_INITRD is not set
# CONFIG_HALT is not set
# CONFIG_MESG is not set
config-deb - take settings from config-udeb

==============================

Balloon todo list
-------------------

Setting up libc6 (2.7-4em1) ...
/var/lib/dpkg/info/libc6.postinst: /var/lib/dpkg/info/libc6.postinst: 387: stat: not found

modprobe each one in /etc/modules

Setting date:
http://www.oreilly.com/catalog/debian/chapter/book/ch07_05.html
date
MMDDhhmm[
CC]
YY[.
ss]

The parts of the command argument have the following meanings:

MM

    A two-digit month, 01-12.
DD

    A two-digit day of month, 01-31.
hh

    A two-digit hour, 00-24.
mm

    A two-digit minute, 00-59.
CC

    An optional two-digit century; for example, 19 or 20.
YY

    A two-digit year; for example, 99 or 00.
ss

    An optional two-digit second, 00-59.

mkdir /sys
mount sys -t sysfs /sys

create a /etc/init.d/rcS and /etc/rcS.d/
(Need sysv-rc) ?


Add CONFIG_DISPLAY_TOPPOLY in kernel build.

$ grep perl usr/sbin/*
Binary file usr/sbin/chroot matches
usr/sbin/cleanup-info:#!/usr/bin/perl --
usr/sbin/dpkg-divert:#!/usr/bin/perl --
usr/sbin/dpkg-statoverride:#! /usr/bin/perl
Binary file usr/sbin/fbset matches
usr/sbin/install-info:#!/usr/bin/perl --
usr/sbin/mkboot:    bootpart=$(perl -ne 'print $1 if /^\s*boot\s*=\s*(\S*)/' /etc/lilo.conf)
usr/sbin/pam_getenv:#!/usr/bin/perl -w
Binary file usr/sbin/rdate matches
Binary file usr/sbin/udhcpd matches
usr/sbin/update-alternatives:#!/usr/bin/perl --
(debianutils: /usr/sbin/mkboot)

$ grep perl usr/bin/* | grep -v Binary
usr/bin/chkdupexe:#!/usr/bin/perl -w
usr/bin/chkdupexe:#  Distribute under gnu copyleft (included in perl package)
usr/bin/chkdupexe:#     - Made it possible to run with perl -w
usr/bin/chkdupexe:    die "NUTS! Personaly I think your perl or filesystem is broken.\n".
(util-linux)

Kernel command line:  noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttyS2,115200  rootfstype=yaffs2 cpufreq=59000-206400 machine_id=00000

balloon3_init_irq: chained handler installed - irq 126 automatically enabled


# grep oknodo /etc/init.d/S*
/etc/init.d/S10udev:    if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then
/etc/init.d/S10udev:    if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then
/etc/init.d/S10udev:    if start-stop-daemon --stop --name udevd --quiet --oknodo --retry 5; then

--retry is also not supported.

mkdir /mnt/sda1
mkdir /mnt/sda2

Add initscripts to get mountpoint for udev.

Call the various /etc/init.d/ scripts with invoke-rc.d ?
	/usr/sbin/invoke-rc.d: /usr/sbin/invoke-rc.d: 274: /sbin/runlevel: not found
	needs sysvinit and busybox doesn't have runlevels.

drop install-info from dpkg